/* Global Design Tokens */
:root {
    --bg-color: #0d1b2a;
    /* Deep primary slate */
    --bg-color-alt: #1b263b;
    --text-white: #e2e4f6;
    --text-muted: #a0a0a0;
    --brand-accent: #00ffe7;
    --color-creatives: #2ecc71;
    --color-gamers: #fabc2a;
    --color-creators: #ee6055;
    --font-main: 'Young Serif', serif;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
.main-heading,
.swiss-h2,
.secondary-heading {
    font-family: var(--font-main);
    font-weight: 400;
}

body {
    background-color: var(--bg-color) !important;
    color: var(--text-white);
    font-family: var(--font-ui);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Swiss Grid System - Inherited from style.css to avoid duplication */
.swiss-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphic Navigation */
.main-nav {
    min-height: var(--nav-height);
    height: auto;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    /* Vertical padding for wrapped items */
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    column-gap: 2rem;
    row-gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    /* Restored horizontal padding for better hover/active visual */
    position: relative;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--brand-accent);
    /* Added brand accent color for active state instead of line */
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

/* Buttons (Premium) */
.btn-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5rem;
    font-family: var(--font-ui);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: var(--brand-accent);
    color: var(--bg-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 231, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Page Spacing */
.section-spacing {
    padding: 6rem 0;
}

.section-spacing-sm {
    padding: 3rem 0;
}

.top-section {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 6rem;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.hero-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center everything vertically */
    position: relative;
    overflow: hidden;
    /* Prevent earth from causing scrollbars */
}

.logo-container {
    margin-bottom: 0.5rem;
}

.logo-container img {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
}

.hero-section {
    max-width: var(--swiss-container-max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    position: relative;
    z-index: 10;
    padding: calc(var(--nav-height) + 6rem) 2rem 8rem;
    /* Increased top padding to clear fixed nav with breathing room */
    min-height: 100vh;
    /* Grow if needed on tiny screens */
    margin: 0 auto;
}

.logo-container img {
    height: 80px;
    width: auto;
}

.main-heading, .secondary-heading {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.2;
    font-weight: 400;
}

.main-heading {
    max-width: 70%;
}

.creatives {
    color: var(--color-creatives);
    position: relative;
    display: inline-block;
}

.gamers {
    color: var(--color-gamers);
    position: relative;
    display: inline-block;
}

.creators {
    color: var(--color-creators);
    position: relative;
    display: inline-block;
}

/* Organic Star Path Animation (Pure Vector Morphing) */
.star-path {
    fill: #e2e4f6;
    shape-rendering: geometricPrecision;
    /* Removed transition to ensure instant pixel-perfect render updates */
}

/* Star 1: Creative Main */
@keyframes wiggle-1 {

    0%,
    100% {
        d: path("M16.91,62.48c2.45,1.35,5.25,1.13,7.68-.14,2.64-1.38,4.34-3.83,5.28-6.6,1.04-3.07,1.09-6.4,1.23-9.6.17-3.97.33-7.93.5-11.9.07-1.65-2.71-2.09-2.95-.4-1.11,7.81-.78,15.78,1.2,23.44.37,1.43.82,2.93,1.97,3.93,1.4,1.23,3.23,1.08,4.94.86,4.07-.53,8.14-1.06,12.21-1.6l-1.06-2.56c-1.49,1.87-4.08,1.61-6.23,1.49-2.46-.14-5.14-.45-7.44.65-3.27,1.56-3.41,5.13-3.6,8.3-.26,4.49-.52,8.98-.79,13.46l2.95-.4c-.73-4.15.34-8.41-.56-12.56-.64-2.95-2.3-6-5.12-7.36-1.75-.84-3.65-.84-5.55-.67-2.18.19-4.36.4-6.54.6-4.54.42-9.07.84-13.61,1.25-1.91.18-1.92,3.18,0,3,4.05-.37,8.1-.75,12.15-1.12,2.02-.19,4.05-.37,6.07-.56,1.81-.17,3.94-.64,5.7,0,2.64.94,3.84,4.07,4.17,6.63.49,3.86-.29,7.73.39,11.59.31,1.74,2.85,1.2,2.95-.4.25-4.24.49-8.48.74-12.72.1-1.66-.14-4,.86-5.44.55-.79,1.43-1.13,2.35-1.29,4.29-.73,9.99,1.74,13.22-2.33.69-.86.39-2.75-1.06-2.56-3.5.46-7,.92-10.5,1.37-1.17.15-3.45.88-4.54.21s-1.27-2.86-1.53-3.96c-1.54-6.68-1.83-13.67-.86-20.45l-2.95-.4c-.13,3.22-.27,6.44-.4,9.67-.12,2.87-.08,5.81-.6,8.64-.44,2.39-1.29,4.81-3.24,6.38-1.65,1.33-3.98,2.03-5.93.96-1.69-.93-3.21,1.66-1.51,2.59h0Z");
    }

    50% {
        d: path("M17.41,61.98c2.45,1.35,5.25,1.13,7.68-.14,2.64-1.38,4.34-3.83,5.28-6.6,1.04-3.07,1.09-6.4,1.23-9.6.17-3.97,0.33-7.93,0.5-11.9,0.07-1.65-2.71-2.09-2.95-.4-1.11,7.81-0.78,15.78,1.2,23.44,0.37,1.43,0.82,2.93,1.97,3.93,1.4,1.23,3.23,1.08,4.94,0.86,4.07-0.53,8.14-1.06,12.21-1.6l-1.06-2.56c-1.49,1.87-4.08,1.61-6.23,1.49-2.46-0.14-5.14-0.45-7.44,0.65-3.27,1.56-3.41,5.13-3.6,8.3-0.26,4.49-0.52,8.98-0.79,13.46l2.95-0.4c-0.73-4.15,0.34-8.41-0.56-12.56-0.64-2.95-2.3-6-5.12-7.36-1.75-0.84-3.65-0.84-5.55-0.67-2.18,0.19-4.36,0.4-6.54,0.6-4.54,0.42-9.07,0.84-13.61,1.25-1.91,0.18-1.92,3.18,0,3,4.05-0.37,8.1-0.75,12.15-1.12,2.02-0.19,4.05-0.37,6.07-0.56,1.81-0.17,3.94-0.64,5.7,0,2.64,0.94,3.84,4.07,4.17,6.63,0.49,3.86-0.29,7.73,0.39,11.59,0.31,1.74,2.85,1.2,2.95-0.4,0.25-4.24,0.49-8.48,0.74-12.72,0.1-1.66-0.14-4,0.86-5.44,0.55-0.79,1.43-1.13,2.35-1.29,4.29-0.73,9.99,1.74,13.22-2.33,0.69-0.86,0.39-2.75-1.06-2.56-3.5,0.46-7,0.92-10.5,1.37-1.17,0.15-3.45,0.88-4.54,0.21s-1.27-2.86-1.53-3.96c-1.54-6.68-1.83-13.67-0.86-20.45l-2.95-0.4c-0.13,3.22-0.27,6.44-0.4,9.67-0.12,2.87-0.08,5.81-0.6,8.64-0.44,2.39-1.29,4.81-3.24,6.38-1.65,1.33-3.98,2.03-5.93,0.96-1.69-0.93-3.21,1.66-1.51,2.59h0Z");
    }
}

/* Star 2: Creative Tiny */
@keyframes wiggle-2 {

    0%,
    100% {
        d: path("M141,10.23c1.79,1.9,4.18,2.97,6.77,3.17.73.06,1.39-.61,1.47-1.3.09-.77-.35-1.39-1.07-1.65-2.42-.87-5.27-.25-7.12,1.54s-2.5,4.65-1.71,7.08c.53,1.62,2.86,1.31,2.95-.4.14-2.81-.01-5.9-1.98-8.11-1.69-1.9-4.63-2.72-6.89-1.36-1.37.82-.65,2.64.76,2.8,5,.55,9.29-4.78,8.03-9.54-.45-1.68-2.86-1.25-2.95.4-.18,3.29,1.17,6.58,3.62,8.79,1.43,1.29,3.56-.82,2.12-2.12-1.9-1.72-2.88-4.11-2.74-6.67l-2.95.4c.8,3.04-2.12,6.07-5.14,5.74l.76,2.8c1.17-.7,2.67.06,3.41,1.1,1.16,1.62,1.04,3.9.95,5.78l2.95-.4c-.48-1.46-.18-3.06.94-4.16s2.78-1.28,4.2-.77l.4-2.95c-1.8-.14-3.42-.99-4.65-2.29-1.33-1.41-3.44.71-2.12,2.12h0Z");
    }

    50% {
        d: path("M141.5,9.73c1.79,1.9,4.18,2.97,6.77,3.17.73.06,1.39-0.61,1.47-1.3,0.09-0.77-0.35-1.39-1.07-1.65-2.42-0.87-5.27-0.25-7.12,1.54s-2.5,4.65-1.71,7.08c0.53,1.62,2.86,1.31,2.95-0.4,0.14-2.81-0.01-5.9-1.98-8.11-1.69-1.9-4.63-2.72-6.89-1.36-1.37,0.82-0.65,2.64,0.76,2.8,5,0.55,9.29-4.78,8.03-9.54-0.45-1.68-2.86-1.25-2.95,0.4-0.18,3.29,1.17,6.58,3.62,8.79,1.43,1.29,3.56-0.82,2.12-2.12-1.9-1.72-2.88-4.11-2.74-6.67l-2.95,0.4c0.8,3.04-2.12,6.07-5.14,5.74l0.76,2.8c1.17-0.7,2.67,0.06,3.41,1.1,1.16,1.62,1.04,3.9,0.95,5.78l2.95-0.4c-0.48-1.46-0.18-3.06,0.94-4.16s2.78-1.28,4.2-0.77l0.4-2.95c-1.8-0.14-3.42-0.99-4.65-2.29-1.33-1.41-3.44,0.71-2.12,2.12h0Z");
    }
}

/* Star 3: Gamer Main */
@keyframes wiggle-3 {

    0%,
    100% {
        d: path("M101.5,63.32c1.77-1.25,3.79-.92,5.79-1.44,1.66-.43,3.12-1.4,4.15-2.76,2.69-3.53,1.74-8.23,2.94-12.26l-2.95-.4c-.11,2.56-.12,5.13,0,7.69.09,2.06.06,4.42.97,6.31.86,1.77,2.54,2.45,4.42,2.27,2.46-.24,4.92-.78,7.36-1.19,1.65-.27,1.29-3.11-.4-2.95-2.41.23-4.8.67-7.12,1.37-1.91.57-4.17,1.17-5.68,2.55-3.24,2.95-1.76,7.8-2.91,11.54l2.89.8c.74-3.47,1.91-8.3-.56-11.36-1.05-1.3-2.57-1.81-4.17-1.99-2.28-.26-4.59-.32-6.87-.47-1.93-.13-1.92,2.88,0,3s3.65.23,5.47.35c1.08.07,2.43.05,3.21.94.87.99.84,2.61.78,3.84-.08,1.65-.41,3.28-.75,4.89-.4,1.88,2.32,2.65,2.89.8s.59-3.61.69-5.44c.08-1.5.11-3.37,1.21-4.54s3.14-1.57,4.6-2.01c2.06-.62,4.18-1.05,6.32-1.26l-.4-2.95c-1.93.32-3.86.64-5.78.95-.58.09-1.5.38-2.05.08-.6-.32-.72-1.28-.82-1.88-.66-3.65-.44-7.65-.28-11.34.07-1.72-2.47-1.99-2.95-.4-.55,1.86-.69,3.78-.87,5.7s-.37,3.97-1.54,5.53c-.88,1.18-2.16,1.7-3.58,1.87-2,.24-3.81.36-5.52,1.56-1.56,1.11-.07,3.71,1.51,2.59h0Z");
    }

    50% {
        d: path("M102,62.82c1.77-1.25,3.79-0.92,5.79-1.44,1.66-0.43,3.12-1.4,4.15-2.76,2.69-3.53,1.74-8.23,2.94-12.26l-2.95-0.4c-0.11,2.56-0.12,5.13,0,7.69,0.09,2.06,0.06,4.42,0.97,6.31,0.86,1.77,2.54,2.45,4.42,2.27,2.46-0.24,4.92-0.78,7.36-1.19,1.65-0.27,1.29-3.11-0.4-2.95-2.41,0.23-4.8,0.67-7.12,1.37-1.91,0.57-4.17,1.17-5.68,2.55-3.24,2.95-1.76,7.8-2.91,11.54l2.89,0.8c0.74-3.47,1.91-8.3-0.56-11.36-1.05-1.3-2.57-1.81-4.17-1.99-2.28-0.26-4.59-0.32-6.87-0.47-1.93-0.13-1.92,2.88,0,3s3.65,0.23,5.47,0.35c1.08,0.07,2.43,0.05,3.21,0.94,0.87,0.99,0.84,2.61,0.78,3.84-0.08,1.65-0.41,3.28-0.75,4.89-0.4,1.88,2.32,2.65,2.89,0.8s0.59-3.61,0.69-5.44c0.08-1.5,0.11-3.37,1.21-4.54s3.14-1.57,4.6-2.01c2.06-0.62,4.18-1.05,6.32-1.26l-0.4-2.95c-1.93,0.32-3.86,0.64-5.78,0.95-0.58,0.09-1.5,0.38-2.05,0.08-0.6-0.32-0.72-1.28-0.82-1.88-0.66-3.65-0.44-7.65-0.28-11.34,0.07-1.72-2.47-1.99-2.95-0.4-0.55,1.86-0.69,3.78-0.87,5.7s-0.37,3.97-1.54,5.53c-0.88,1.18-2.16,1.7-3.58,1.87-2,0.24-3.81,0.36-5.52,1.56-1.56,1.11-0.07,3.71,1.51,2.59h0Z");
    }
}

/* Star 4: Gamer Tiny */
@keyframes wiggle-4 {

    0%,
    100% {
        d: path("M14.81,14.12c3.07-2.88,4.84-6.74,5.16-10.92.14-1.79-2.41-1.9-2.95-.4-1.38,3.81-.46,8.32,2.38,11.24s7.33,3.93,11.17,2.67c1.62-.53,1.31-2.86-.4-2.95-4.54-.22-9.69-.08-13.26,3.13-2.89,2.6-4.26,7.07-2.16,10.55.83,1.37,2.64.65,2.8-.76.89-7.91-7.5-14.84-15.09-12.82-1.68.45-1.26,2.85.4,2.95,5.41.3,10.78-1.91,14.42-5.93,1.29-1.43-.82-3.56-2.12-2.12-3.15,3.48-7.61,5.31-12.3,5.05l.4,2.95c5.87-1.56,11.96,3.99,11.29,9.92l2.8-.76c-1.51-2.51-.03-5.73,2.17-7.31,3.02-2.17,7.12-2.04,10.65-1.86l-.4-2.95c-2.86.94-6.13.3-8.26-1.9s-2.63-5.49-1.61-8.32l-2.95-.4c-.26,3.39-1.81,6.48-4.28,8.8-1.41,1.32.71,3.44,2.12,2.12h0Z");
    }

    50% {
        d: path("M14.31,14.62c3.07-2.88,4.84-6.74,5.16-10.92,0.14-1.79-2.41-1.9-2.95-0.4-1.38,3.81-0.46,8.32,2.38,11.24s7.33,3.93,11.17,2.67c1.62-0.53,1.31-2.86-0.4-2.95-4.54-0.22-9.69-0.08-13.26,3.13-2.89,2.6-4.26,7.07-2.16,10.55,0.83,1.37,2.64,0.65,2.8-0.76,0.89-7.91-7.5-14.84-15.09-12.82-1.68,0.45-1.26,2.85,0.4,2.95,5.41,0.3,10.78-1.91,14.42-5.93,1.29-1.43-0.82-3.56-2.12-2.12-3.15,3.48-7.61,5.31-12.3,5.05l0.4,2.95c5.87-1.56,11.96,3.99,11.29,9.92l2.8-0.76c-1.51-2.51-0.03-5.73,2.17-7.31,3.02-2.17,7.12-2.04,10.65-1.86l-0.4-2.95c-2.86,0.94-6.13,0.3-8.26-1.9s-2.63-5.49-1.61-8.32l-2.95-0.4c-0.26,3.39-1.81,6.48-4.28,8.8-1.41,1.32,0.71,3.44,2.12,2.12h0Z");
    }
}

/* Star 5: Creator Main */
@keyframes wiggle-5 {

    0%,
    100% {
        d: path("M89.74,58.35c2.2.59,4.72.82,6.64-.65,2.46-1.88,2.8-5.41,2.82-8.27h-3c.1,2.58.52,5.33,2.25,7.36,1.42,1.67,3.63,2.24,5.74,2,.8-.09,1.5-.62,1.5-1.5,0-.82-.69-1.49-1.5-1.5-2.07-.01-4.08.88-5.49,2.39-1.81,1.93-2.53,4.53-2.55,7.13h3c-.07-2.69-.73-5.48-2.7-7.43-1.68-1.67-3.98-2.39-6.3-2.48-1.93-.08-1.93,2.92,0,3,1.56.06,3.09.51,4.18,1.6,1.33,1.33,1.77,3.38,1.82,5.31s2.98,1.94,3,0c.02-1.79.44-3.69,1.67-5.01.49-.53.98-.9,1.69-1.21.44-.19,1.16-.31,1.68-.31v-3c-.89.1-1.51.07-2.18-.11-.28-.08-.42-.14-.82-.41-.08-.05-.39-.33-.62-.6-.32-.39-.71-1.25-.9-1.93-.31-1.08-.42-2.19-.47-3.31-.08-1.92-2.98-1.94-3,0-.01,1.37-.09,2.74-.5,4.05-.15.48-.26.72-.56,1.22-.09.15-.42.51-.58.63s-.55.3-.66.33c-.18.04-.35.09-.53.13s.26-.01-.04,0c-.11,0-.21.01-.32.02-.2,0-.4,0-.59,0-.1,0-.71-.08-.43-.04-.49-.07-.97-.19-1.45-.32-1.87-.5-2.66,2.39-.8,2.89h0Z");
    }

    50% {
        d: path("M90.24,57.85c2.2,0.59,4.72,0.82,6.64-0.65,2.46-1.88,2.8-5.41,2.82-8.27h-3c0.1,2.58,0.52,5.33,2.25,7.36,1.42,1.67,3.63,2.24,5.74,2,0.8-0.09,1.5-0.62,1.5-1.5,0-0.82-0.69-1.49-1.5-1.5-2.07-0.01-4.08,0.88-5.49,2.39-1.81,1.93-2.53,4.53-2.55,7.13h3c-0.07-2.69-0.73-5.48-2.7-7.43-1.68-1.67-3.98-2.39-6.3-2.48-1.93-0.08-1.93,2.92,0,3,1.56,0.06,3.09,0.51,4.18,1.6,1.33,1.33,1.77,3.38,1.82,5.31s2.98,1.94,3,0c0.02-1.79,0.44-3.69,1.67-5.01,0.49-0.53,0.98-0.9,1.69-1.21,0.44-0.19,1.16-0.31,1.68-0.31v-3c-0.89,0.1-1.51,0.07-2.18-0.11-0.28-0.08-0.42-0.14-0.82-0.41-0.08-0.05-0.39-0.33-0.62-0.6-0.32-0.39-0.71-1.25-0.9-1.93-0.31-1.08-0.42-2.19-0.47-3.31-0.08-1.92-2.98-1.94-3,0-0.01,1.37-0.09,2.74-0.5,4.05-0.15,0.48-0.26,0.72-0.56,1.22-0.09,0.15-0.42,0.51-0.58,0.63s-0.55,0.3-0.66,0.33c-0.18,0.04-0.35,0.09-0.53,0.13s0.26-0.01-0.04,0c-0.11,0-0.21,0.01-0.32,0.02-0.2,0-0.4,0-0.59,0-0.1,0-0.71-0.08-0.43-0.04-0.49-0.07-0.97-0.19-1.45-0.32-1.87-0.5-2.66,2.39-0.8,2.89h0Z");
    }
}

/* Star 6: Creator Secondary */
@keyframes wiggle-6 {

    0%,
    100% {
        d: path("M133.05,10.26c2.88.45,6.13.26,8.09-2.2,1.47-1.85,1.84-4.32,1.59-6.62-.21-1.9-2.87-1.96-3,0s-.24,4.2.94,5.86c1.33,1.86,3.64,2.49,5.77,2.95l.4-2.95c-2.49-.08-4.86.97-6.09,3.21-1,1.83-1.2,4.02-.79,6.04l2.89-.8c-1.1-4.2-4.7-7.63-9-8.39-.8-.14-1.62.22-1.85,1.05-.2.72.25,1.7,1.05,1.85,3.31.59,6.05,3.02,6.91,6.29.49,1.88,3.27,1.08,2.89-.8-.01-.07-.09-.6-.05-.22-.02-.18-.03-.35-.04-.53-.02-.37,0-.74.03-1.11.02-.18.02-.19,0-.03.01-.09.03-.19.05-.28.04-.19.08-.38.13-.56s.11-.37.18-.55c.06-.17.07-.18.01-.04.04-.09.08-.18.13-.26.09-.17.19-.34.29-.5.05-.08.11-.16.17-.24-.08.11-.07.1.04-.03.34-.37.34-.38.73-.61.66-.39,1.44-.5,2.33-.47,1.67.05,2.07-2.59.4-2.95-.56-.12-1.11-.25-1.66-.4-.22-.06-.44-.13-.66-.21-.11-.04-.61-.24-.43-.16-.17-.08-.34-.16-.5-.25-.1-.06-.48-.31-.38-.23.11.08-.19-.17-.25-.23-.06-.05-.1-.11-.16-.17-.14-.14.18.29,0,0-.08-.13-.15-.26-.23-.38-.09-.15-.03-.06.01.05-.03-.07-.06-.15-.08-.22-.05-.18-.1-.35-.14-.53-.02-.08-.03-.17-.05-.25-.04-.23.02.24,0,0-.1-.97-.05-1.94.02-2.9h-3c.05.43.08.87.08,1.31,0,.22,0,.45-.02.67,0,.11-.09.7-.04.4-.07.44-.18.87-.32,1.29-.01.03-.14.37-.07.19s-.09.18-.09.18c-.1.19-.21.38-.33.56-.07.11-.09.13,0,.01-.08.1-.17.2-.26.3-.08.09-.5.45-.3.3-.19.14-.39.26-.59.37-.08.05-.17.09-.26.13.21-.09-.1.03-.14.04-1.14.36-2.28.38-3.54.18-.8-.13-1.61.2-1.85,1.05-.2.71.24,1.72,1.05,1.85h0Z");
    }

    50% {
        d: path("M132.55,10.76c2.88,0.45,6.13,0.26,8.09-2.2,1.47-1.85,1.84-4.32,1.59-6.62-0.21-1.9-2.87-1.96-3,0s-0.24,4.2,0.94,5.86c1.33,1.86,3.64,2.49,5.77,2.95l0.4-2.95c-2.49-0.08-4.86,0.97-6.09,3.21-1,1.83-1.2,4.02-0.79,6.04l2.89-0.8c-1.1-4.2-4.7-7.63-9-8.39-0.8-0.14-1.62,0.22-1.85,1.05-0.2,0.72,0.25,1.7,1.05,1.85,3.31,0.59,6.05,3.02,6.91,6.29,0.49,1.88,3.27,1.08,2.89-0.8-0.01-0.07-0.09-0.6-0.05-0.22-0.02-0.18-0.03-0.35-0.04-0.53-0.02-0.37,0-0.74,0.03-1.11,0.02-0.18,0.02-0.19,0-0.03,0.01-0.09,0.03-0.19,0.05-0.28,0.04-0.19,0.08-0.38,0.13-0.56s0.11-0.37,0.18-0.55c0.06-0.17,0.07-0.18,0.01-0.04,0.04-0.09,0.08-0.18,0.13-0.26,0.09-0.17,0.19-0.34,0.29-0.5,0.05-0.08,0.11-0.16,0.17-0.24-0.08,0.11-0.07,0.1,0.04-0.03,0.34-0.37,0.34-0.38,0.73-0.61,0.66-0.39,1.44-0.5,2.33-0.47,1.67,0.05,2.07-2.59,0.4-2.95-0.56-0.12-1.11-0.25-1.66-0.4-0.22-0.06-0.44-0.13-0.66-0.21-0.11-0.04-0.61-0.24-0.43-0.16-0.17-0.08-0.34-0.16-0.5-0.25-0.1-0.06-0.48-0.31-0.38-0.23,0.11,0.08-0.19-0.17-0.25-0.23-0.06-0.05-0.1-0.11-0.16-1.17-0.14-0.14,0.18,0.29,0,0-0.08-0.13-0.15-0.26-0.23-0.38-0.09-0.15-0.03-0.06,0.01,0.05-0.03-0.07-0.06-0.15-0.08-0.22-0.05-0.18-0.1-0.35-0.14-0.53-0.02-0.08-0.03-0.17-0.05-0.25-0.04-0.23,0.02,0.24,0,0-0.1-0.97-0.05-1.94,0.02-2.9h-3c0.05,0.43,0.08,0.87,0.08,1.31,0,0.22,0,0.45-0.02,0.67,0,0.11-0.09,0.7-0.04,0.4-0.07,0.44-0.18,0.87-0.32,1.29-0.01,0.03-0.14,0.37-0.07,0.19s-0.09,0.18-0.09,0.18c-0.1,0.19-0.21,0.38-0.33,0.56-0.07,0.11-0.09,0.13,0,0.01-0.08,0.1-0.17,0.2-0.26,0.3-0.08,0.09-0.5,0.45-0.3,0.3-0.19,1.14-0.39,1.26-0.59,1.37-0.08,0.05-0.17,0.09-0.26,0.13,0.21-0.09-0.1,0.03-0.14,0.04-1.14,0.36-2.28,0.38-3.54,0.18-0.8-0.13-1.61,0.2-1.85,1.05-0.2,0.71,0.24,1.72,1.05,1.85h0Z");
    }
}

/* Star 7: Creator Tiny */
@keyframes wiggle-7 {

    0%,
    100% {
        d: path("M1.1,20.6c3.31.68,6.41-.93,8.39-3.56,2.24-3,2.54-6.93,2.8-10.54h-3c.85,7.6,7.69,13.8,15.42,13.55,1.77-.06,1.93-2.34.4-2.95-3.82-1.51-8.59-.41-11.27,2.74s-3.14,8.2-.9,11.89c.72,1.18,2.95.8,2.8-.76-.71-7.21-6.97-13.12-14.27-13.17-1.93-.01-1.93,2.99,0,3,5.55.04,10.73,4.59,11.27,10.17l2.8-.76c-1.58-2.61-1.45-6.21.66-8.51s5.34-2.81,8.12-1.71l.4-2.95c-5.97.2-11.75-4.52-12.42-10.55-.21-1.9-2.86-1.96-3,0-.19,2.74-.36,5.69-1.78,8.12-1.11,1.9-3.3,3.56-5.61,3.09-1.88-.39-2.69,2.51-.8,2.89h0Z");
    }

    50% {
        d: path("M1.6,20.1c3.31,0.68,6.41-0.93,8.39-3.56,2.24-3,2.54-6.93,2.8-10.54h-3c0.85,7.6,7.69,13.8,15.42,13.55,1.77-0.06,1.93-2.34,0.4-2.95-3.82-1.51-8.59-0.41-11.27,2.74s-3.14,8.2-0.9,11.89c0.72,1.18,2.95,0.8,2.8-0.76-0.71-7.21-6.97-13.12-14.27-13.17-1.93-0.01-1.93,2.99,0,3,5.55,0.04,10.73,4.59,11.27,10.17l2.8-0.76c-1.58-2.61-1.45-6.21,0.66-8.51s5.34-2.81,8.12-1.71l0.4-2.95c-5.97,0.2-11.75-4.52-12.42-10.55-0.21-1.9-2.86-1.96-3,0-0.19,2.74-0.36,5.69-1.78,8.12-1.11,1.9-3.3,3.56-5.61,3.09-1.88-0.39-2.69,2.51-0.8,2.89h0Z");
    }
}

.star-path-1 {
    animation: wiggle-1 2s ease-in-out infinite alternate;
}

.star-path-2 {
    animation: wiggle-2 1.8s ease-in-out infinite alternate-reverse;
}

.star-path-3 {
    animation: wiggle-3 2.2s ease-in-out infinite alternate;
}

.star-path-4 {
    animation: wiggle-4 1.5s ease-in-out infinite alternate-reverse;
}

.star-path-5 {
    animation: wiggle-5 2.5s ease-in-out infinite alternate;
}

.star-path-6 {
    animation: wiggle-6 1.7s ease-in-out infinite alternate-reverse;
}

.star-path-7 {
    animation: wiggle-7 2s ease-in-out infinite alternate;
}

/* Specific sparkle groups positioning */
.sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    overflow: visible !important;
    transform-origin: center;
    /* Removed all scaling animations to maintain crystal-sharp pixel alignment */
}

.creative-sparkle {
    width: 2.6em;
    left: 0.6em;
    animation-delay: 0s;
}

.gamers-sparkle {
    width: 2.6em;
    top: -0.1em;
    right: 0.5em;
    animation-delay: -1.5s;
}

.creators-sparkle {
    width: 2.6em;
    bottom: -0.03em;
    right: 0.8em;
    animation-delay: -3s;
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 24px;
    height: auto;
}

/* Journey Sections */
.visual-voyage {
    width: 100%;
    height: 60vh;
    /* Controlled space for revealing the world */
    position: relative;
    background: transparent;
}

.earth-section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 1;
    opacity: 0;
    /* Fully hidden initially */
    transform: translateY(150px) scale(0.85);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(30px);
    pointer-events: none;
}

.earth-section.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.earth-icon {
    width: 200px;
    max-width: 120vw;
    height: auto;
    opacity: 1;
    display: block;
}

/* Community & Directory - Unified Layouts */

/* Community Specifics */
/* Members Slider Section */
.members-slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

p a:visited {
    color: var(--brand-accent);
    text-decoration: none;
}

btn-primary:visited {
    color: var(--text-white);
    text-decoration: none;
}   

.members-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* This MUST be hidden to clip the track */
    border-radius: 1.5rem;
}

.members-slider::before,
.members-slider::after {
    display: none;
    /* Removed intrusive "weird box" fades */
}

.members-track {
    display: flex;
    width: 100%;
    /* Important: track width is relative to container */
    padding: 1rem 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.member-card {
    width: 100% !important;
    min-width: 100% !important;
    flex-shrink: 0;
    padding: 3rem;
    background: var(--bg-color-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    transition: all 0.4s ease;
}

.member-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 180px;
    flex-shrink: 0;
}

.member-card-center {
    flex: 1;
}

.member-card-right {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
}

/* Mobile responsive styles for member cards */
@media (max-width: 768px) {
    .member-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .member-card-left {
        width: 100%;
        align-items: center;
    }

    .member-card-center {
        width: 100%;
        text-align: center;
    }

    .member-card-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-description {
        font-size: 1rem;
    }
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.member-name {
    font-family: var(--font-ui);
    /* Restored to UI font as per user request */
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-white);
}

.member-title {
    font-size: 0.9rem;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.member-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .community-layout {
        grid-template-columns: 1fr;
    }
}

.sidebar-section {
    background: var(--bg-color-alt);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.sidebar-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--brand-accent);
    font-weight: 700;
}

/* Community Updates Styling */
.community-update {
    background: var(--bg-color-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.community-update:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.community-update-title {
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.community-update-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.community-update-category {
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.community-update-content {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.community-update-content p {
    margin-bottom: 1rem;
}

.community-update-list {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.community-update-list li {
    margin-bottom: 0.5rem;
    position: relative;
    list-style: none;
}

.community-update-list li::before {
    content: "•";
    color: var(--brand-accent);
    position: absolute;
    left: -1.2rem;
    font-weight: bold;
}

.community-update-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.community-update-tag {
    font-size: 0.75rem;
    color: var(--brand-accent);
    opacity: 0.8;
}

/* Directory Specifics */
.directory-search {
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle glass background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    color: var(--text-white);
    font-family: var(--font-ui);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.directory-search:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--brand-accent);
    box-shadow: 0 0 30px rgba(0, 255, 231, 0.1);
}

.directory-filter-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.directory-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.directory-filter-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5rem;
    color: var(--text-white);
    font-size: 0.85rem;
    font-family: var(--font-ui);
    transition: all 0.3s ease;
    cursor: pointer;
}

.directory-filter-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.directory-filter-tag.active {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--bg-color);
}

.directory-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.directory-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .directory-card {
        flex-direction: row;
        min-height: 400px;
    }
}

.directory-card-sidebar {
    width: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .directory-card-sidebar {
        width: 320px;
        flex-shrink: 0;
    }
}

.directory-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.directory-card-name {
    font-size: 1.5rem;
    color: var(--text-white);
}

.directory-card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.directory-card-main {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: transparent !important;
}

.directory-slider-container,
.slider-track,
.slider-slide {
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    /* Removed restrictive width/overflow to allow JS transform sliding */
}

.slider-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Common Helper Classes for JS Content */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--text-white);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.vertical-rhythm-sm>*+* {
    margin-top: 0.75rem;
}

.swiss-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.logo-img-inline {
    height: 2.5rem;
    max-width: 140px;
}

/* Directory Dynamic Components */
.directory-sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.directory-tags-section {
    margin-top: 1rem;
}

.directory-section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.directory-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.directory-role-tag,
.directory-industry-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: var(--text-white);
}

.directory-role-tag {
    background: rgba(0, 255, 231, 0.1);
    border-color: rgba(0, 255, 231, 0.2);
    color: var(--brand-accent);
}

.directory-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.directory-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.directory-card-link svg {
    width: 16px;
    height: 16px;
}

.directory-card-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-accent);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--brand-accent);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--brand-accent);
    color: var(--bg-color);
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

.directory-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.directory-filter-tag {
    padding: 0.5rem 1.25rem;
    background: var(--bg-color-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5rem;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.directory-filter-tag:hover,
.directory-filter-tag.active {
    background: var(--brand-accent);
    color: var(--bg-color);
    border-color: var(--brand-accent);
}

.directory-results-count {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .nav-links {
        column-gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        /* Stack logo over links */
        justify-content: center;
        gap: 0.75rem;
    }

    .main-nav {
        padding: 1rem 0;
    }

    .nav-links {
        column-gap: 0.5rem;
        row-gap: 0.5rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero-section {
        justify-content: flex-start;
        /* Start from top to avoid header overlap */
        padding-top: 15rem;
        /* Sufficient space for wrapped mobile nav */
        gap: 1.25rem;
        padding-bottom: 2rem;
    }

    .logo-container img {
        height: 50px;
        /* Even smaller logo for mobile */
    }

    .main-heading, .secondary-heading {
        font-size: 2.2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .btn-wrapper {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        column-gap: 0.25rem;
    }

    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding-top: 13rem;
        gap: 1rem;
    }

    .main-heading, .secondary-heading {
        font-size: 1.8rem;
    }

    .logo-container img {
        height: 40px;
    }
}

/* Members Grid Page */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

.member-grid-card {
    background: var(--bg-color-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.member-grid-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-accent);
    box-shadow: 0 20px 40px rgba(0, 255, 231, 0.15);
}

.member-grid-card.expanded {
    grid-column: 1 / -1;
    cursor: default;
    transform: translateY(0);
    padding: 3rem;
    max-height: none;
    z-index: 100;
}

.member-grid-card.expanded:hover {
    transform: translateY(0);
}

.member-grid-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.member-grid-card.expanded .member-grid-avatar {
    width: 150px;
    height: 150px;
    border-color: var(--brand-accent);
}

.member-grid-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.member-grid-role {
    font-size: 0.9rem;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.member-grid-role--founder {
    color: #85d600;
    opacity: 1;
}

.member-grid-role--admin {
    color: var(--color-gamers);
    opacity: 1;
}

.member-grid-role--supermod {
    color: #a78bfa;
    opacity: 1;
}

.member-grid-role--mod {
    color: #5588d1;
    opacity: 1;
}

.member-grid-expanded-content {
    display: none;
    width: 100%;
    margin-top: 1.5rem;
}

.member-grid-card.expanded .member-grid-expanded-content {
    display: block;
    animation: fadeInContent 0.4s ease-out 0.2s both;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-grid-bio {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.member-grid-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-grid-detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-grid-detail-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    font-weight: 700;
}

.member-grid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.member-grid-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 231, 0.1);
    border: 1px solid rgba(0, 255, 231, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--brand-accent);
    font-weight: 500;
}

.member-grid-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.member-grid-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.member-grid-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    transform: translateY(-2px);
}

.member-grid-social-icon {
    width: 18px;
    height: 18px;
}

.member-grid-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-grid-card.expanded .member-grid-close {
    display: flex;
}

.member-grid-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

/* Live badge on member cards */
.member-grid-live-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem 0.25rem 0.5rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.45);
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f87171;
    text-decoration: none;
    z-index: 10;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.member-grid-live-badge:hover {
    background: rgba(220, 38, 38, 0.28);
    border-color: rgba(220, 38, 38, 0.7);
    color: #fca5a5;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #f87171;
    border-radius: 50%;
    flex-shrink: 0;
    animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Utility: full-width element (used by community.html ko-fi button) */
.w-full { width: 100%; }

/* ============================================================
   CATEGORISED NAV — hamburger + dropdown menus (2026)
   Mobile-first: hamburger visible by default, hidden on desktop
   ============================================================ */

/* Hamburger button */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, transform 0.25s ease;
    pointer-events: none;
}

.nav-hamburger.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-hamburger:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 4px;
}

/* Override old flex-direction:column stacking on mobile — always row */
.nav-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    min-height: var(--nav-height);
}

/* Nav links: hidden on mobile by default */
.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

/* Mobile menu open panel */
.nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.5rem 1.25rem 2rem;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999;
}

body.nav-open {
    overflow: hidden;
}

/* Nav group: top-level item wrapping a button + dropdown */
.nav-group {
    position: relative;
    list-style: none;
}

.nav-group-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-ui);
    opacity: 0.8;
    padding: 0.875rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    text-align: left;
    transition: color 0.2s ease, opacity 0.2s ease;
    border-radius: 0.375rem;
    line-height: 1;
}

.nav-group-btn:hover,
.nav-group.open > .nav-group-btn,
.nav-group.has-active > .nav-group-btn {
    opacity: 1;
    color: var(--brand-accent);
}

.nav-group-btn:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.nav-chevron {
    display: inline-block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.65;
    transition: transform 0.25s ease;
    font-size: 0;
    margin-top: -2px;
}

.nav-group.open .nav-chevron {
    transform: rotate(225deg);
}

/* Dropdown: mobile accordion by default */
.nav-dropdown {
    list-style: none;
    margin: 0 0 0.25rem 1.25rem;
    padding: 0 0 0 0.75rem;
    border-left: 2px solid rgba(0, 255, 231, 0.2);
    display: none;
    flex-direction: column;
}

.nav-group.open > .nav-dropdown {
    display: flex;
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown .nav-link {
    display: block;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    opacity: 0.7;
    border-radius: 0.25rem;
    width: 100%;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-dropdown .nav-link:hover,
.nav-dropdown .nav-link.active {
    opacity: 1;
    color: var(--brand-accent);
}

.nav-dropdown .nav-link.active {
    background: rgba(0, 255, 231, 0.06);
}

/* Desktop (>=769px): hamburger hidden, links as flex row, dropdowns float */
@media (min-width: 769px) {
    .nav-hamburger {
        display: none;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 0;
        position: static;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        overflow: visible;
        bottom: auto;
    }

    .nav-group-btn {
        width: auto;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .nav-dropdown {
        position: absolute;
        top: calc(100% + 0.625rem);
        left: 50%;
        transform: translateX(-50%);
        min-width: 170px;
        background: rgba(10, 18, 32, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 0.875rem;
        padding: 0.375rem;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
        z-index: 1002;
        margin: 0;
        border-left: none;
        flex-direction: column;
    }

    .nav-group.open > .nav-dropdown {
        display: flex;
    }

    .nav-dropdown .nav-link {
        white-space: nowrap;
        border-radius: 0.5rem;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .nav-dropdown .nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
    }
}

/* ============================================================
   HERO — subheadline + stacking CTAs
   ============================================================ */

.hero-subheadline {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    text-align: center;
    line-height: 1.65;
}

/* Fix hero spacing on mobile — center content, balanced padding */
@media (max-width: 768px) {
    .hero-section {
        justify-content: center !important;
        padding-top: calc(var(--nav-height) + 4rem) !important;
        /* padding-bottom must be large enough that centered content never overlaps
           the scroll-down indicator at position: absolute; bottom: 3rem */
        padding-bottom: 7rem !important;
        gap: 1.5rem;
        min-height: 100svh;
    }

    .logo-container {
        display: none;
    }

    /* Let the heading scale with viewport width and use full available width */
    .main-heading {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
        max-width: 100%;
    }

    .hero-subheadline {
        font-size: 0.95rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: calc(var(--nav-height) + 3rem) !important;
        padding-bottom: 7rem !important;
        gap: 1.25rem;
    }

    .main-heading {
        font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    }

    .hero-subheadline {
        font-size: 0.875rem;
    }
}

/* CTA group: stacked on mobile, inline on wider screens */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 300px;
    align-items: stretch;
}

.hero-cta-group .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-cta-group {
        flex-direction: row;
        max-width: none;
        width: auto;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: auto;
    }
}

/* ============================================================
   CHOOSE YOUR SPACE — index.html card grid
   ============================================================ */

.spaces-section {
    padding: 5rem 0 6rem;
}

.spaces-section .spaces-heading {
    margin-bottom: 2.5rem;
}

.spaces-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .spaces-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.space-card {
    background: rgba(27, 38, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.space-card:hover {
    border-color: rgba(0, 255, 231, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.space-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--brand-accent);
    display: flex;
    align-items: center;
}

.space-card-title {
    font-family: var(--font-main);
    font-size: 1.35rem;
    color: var(--text-white);
    margin: 0;
    font-weight: 400;
}

.space-card-desc {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.space-card-link {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
    margin-top: 0.25rem;
}

.space-card-link:hover {
    gap: 0.5rem;
}

/* ============================================================
   ABOUT / ETHOS — community.html article layout
   ============================================================ */

.about-hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 3rem;
}

.about-article {
    width: 100%;
}

.about-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-section:last-child,
.about-section--last {
    border-bottom: none;
    padding-bottom: 3rem;
}

/* Brook feature callout */
.brook-callout {
    background: var(--bg-color-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    padding: 1.75rem 2rem;
}

.brook-callout-header {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.brook-callout-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    opacity: 0.8;
}

.brook-callout-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-white);
    margin: 0;
}

.brook-callout-body {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.125rem;
}

.brook-callout-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.brook-callout-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.about-section-heading {
    font-family: var(--font-main);
    font-size: 1.85rem;
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.about-lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.875rem;
    max-width: 72ch;
}

.about-lead:last-child {
    margin-bottom: 0;
}

.about-lead a {
    color: var(--brand-accent);
    text-decoration: none;
}

.about-lead a:hover {
    text-decoration: underline;
}

.about-who-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 560px) {
    .about-who-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.who-card {
    padding: 1.375rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    background: var(--bg-color-alt);
}

.who-card-label {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.5rem;
    display: block;
}

.who-card-label.creatives { color: var(--color-creatives); }
.who-card-label.gamers    { color: var(--color-gamers); }
.who-card-label.creators  { color: var(--color-creators); }

.who-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.about-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1.75rem;
}

@media (min-width: 480px) {
    .about-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.members-footer {
    margin-top: auto;
    padding: 2rem 0;
}

.members-footer a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.members-footer a:hover,
.members-footer a:visited {
    color: var(--brand-accent);
    text-decoration: none;
}