* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #14161c;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.navbar {
    background: #0d0f14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.navbar-inner > .navbar-brand {
    justify-self: start;
}

.navbar-inner > .discord-button {
    justify-self: end;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.navbar-brand img {
    display: block;
    width: 170px;
    height: auto;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.6rem;
    background: #5865f2;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.15s;
}

.discord-button:hover {
    background: #4752c4;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.8rem;
}

.discord-button-hero {
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
}

@media (max-width: 820px) {
    .hero-actions {
        justify-content: center;
    }
}

.navbar-brand:focus-visible,
.discord-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(13, 15, 20, 0.35) 0%, rgba(13, 15, 20, 0.15) 50%, rgba(13, 15, 20, 0.55) 100%),
        url("../assets/hero-bg.jpg") center / cover no-repeat;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
}

.hero-lead {
    max-width: 34rem;
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.lead-title {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.hero-lead b {
    color: #4cc3ff;
    font-weight: 700;
}

.hero-lead span {
    display: block;
    margin-top: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.hero-lead > p {
    margin: 0;
}

.hero-skin {
    height: min(62vh, 440px);
    width: auto;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
}

.copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.3rem;
    border: 0;
    border-radius: 0.7rem;
    background: #fff;
    color: #14161c;
    font: inherit;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s, background 0.15s;
}

.copy-button:hover {
    transform: translateY(-2px);
}

.copy-button.copied {
    background: #57f287;
}

.copy-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5b6070;
    padding-left: 0.7rem;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.copy-button.copied .copy-hint {
    color: #14361f;
}

.server-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.server-info li + li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 1.2rem;
    vertical-align: middle;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 820px) {
    .server-info {
        justify-content: center;
    }
}

.copy-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 820px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .hero-skin {
        height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .copy-button {
        transition: none;
    }
}

@media (max-width: 420px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar .discord-button span {
        display: none;
    }

    .navbar .discord-button {
        padding: 0.6rem;
    }
}

.modes {
    padding: 5rem 1.5rem;
    background: #14161c;
}

.modes-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.modes-title {
    margin: 0 0 0.6rem;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.modes-sub {
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.mode-card {
    padding: 1.6rem;
    border-radius: 0.9rem;
    background: #1c1f27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #4cc3ff;
    transition: transform 0.2s, border-color 0.2s;
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 195, 255, 0.5);
}

.mode-card-soon {
    border-top-style: dashed;
}

.mode-card-soon .mode-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modes-more {
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.mode-tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(76, 195, 255, 0.15);
    color: #4cc3ff;
    font-size: 0.8rem;
    font-weight: 700;
}

.mode-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: #fff;
}

.mode-card p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 820px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mode-card {
        transition: none;
    }
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.4rem;
}

.nav-links a {
    position: relative;
    display: block;
    padding: 0.5rem 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: #4cc3ff;
    box-shadow: 0 0 8px rgba(76, 195, 255, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-links a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .nav-links {
        gap: 0.6rem;
    }

    .nav-links a {
        padding: 0.4rem 0.4rem;
        font-size: 0.9rem;
    }

}

.mobile-menu {
    display: contents;
}

.mobile-menu > .nav-links {
    justify-self: center;
}

.mobile-menu > .discord-button {
    justify-self: end;
}

.menu-button {
    display: none;
}

@media (max-width: 680px) {
    .navbar {
        position: relative;
        z-index: 10;
    }

    .navbar-inner {
        position: relative;
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .menu-button {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.6rem;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.2s, opacity 0.2s;
    }

    .menu-button[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-button[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-button:focus-visible,
    .mobile-menu a:focus-visible {
        outline: 2px solid #4cc3ff;
        outline-offset: 3px;
    }

    .mobile-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        z-index: 20;
        display: none;
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.8rem;
        background: rgba(13, 15, 20, 0.98);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .mobile-menu .nav-links {
        flex-direction: column;
        gap: 0.25rem;
    }

    .mobile-menu .nav-links a {
        padding: 0.7rem 0.75rem;
        border-radius: 0.5rem;
    }

    .mobile-menu .nav-links a[aria-current="page"] {
        background: rgba(76, 195, 255, 0.12);
    }

    .mobile-menu .nav-links a::after {
        display: none;
    }

    .mobile-menu .discord-button {
        justify-content: center;
        width: 100%;
    }

    .mobile-menu .discord-button span {
        display: inline;
    }
}

:root {
    --blue: #4cc3ff;
    --blue-deep: #1f7ae0;
    --bg: #0a0f1c;
    --card: rgba(255, 255, 255, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #080c16;
    border-bottom: 1px solid rgba(76, 195, 255, 0.18);
}

.navbar-brand img {
    box-shadow: none;
}

.discord-button {
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
}

.discord-button:hover {
    transform: translateY(-2px);
}

.hero {
    background:
        linear-gradient(90deg, rgba(8, 12, 22, 0.78) 0%, rgba(8, 12, 22, 0.35) 55%, rgba(8, 12, 22, 0.1) 100%),
        linear-gradient(180deg, rgba(8, 12, 22, 0) 70%, rgba(8, 12, 22, 0.55) 100%),
        url("../assets/hero-bg.jpg") center / cover no-repeat;
}

.hero-skin {
    position: relative;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.hero-lead b {
    text-shadow: 0 0 14px rgba(76, 195, 255, 0.55);
}

.copy-button {
    box-shadow: 0 8px 26px rgba(76, 195, 255, 0.35);
}

.copy-button:hover {
    box-shadow: 0 10px 32px rgba(76, 195, 255, 0.55);
}

.discord-button-hero {
    box-shadow: 0 8px 26px rgba(88, 101, 242, 0.45);
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-hint svg {
    transition: transform 0.2s ease;
}

.scroll-hint:hover {
    background: rgba(76, 195, 255, 0.35);
}

.scroll-hint:hover svg {
    transform: translateY(3px);
}

.modes {
    position: relative;
    padding: 6rem 1.5rem 7rem;
    background:
        radial-gradient(600px 300px at 15% 260px, rgba(76, 195, 255, 0.14), transparent 70%),
        radial-gradient(600px 400px at 90% 100%, rgba(31, 122, 224, 0.18), transparent 70%),
        var(--bg);
}

.footer {
    position: relative;
    margin-top: 0;
    padding: 2.5rem 1.5rem 2rem;
    background: #070b15;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand img {
    border-radius: 50%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    position: relative;
    padding-bottom: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 2rem;
    margin: 0;
    padding: 1.2rem 0 0.2rem;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    width: min(520px, 100%);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, transform 0.2s;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    transition: color 0.2s, filter 0.2s;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-social a:hover svg {
    color: var(--blue);
    filter: drop-shadow(0 0 8px rgba(76, 195, 255, 0.6));
}

.footer-copy {
    margin: 0;
    max-width: 640px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: #fff;
}

.promo {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
    width: min(480px, calc(100vw - 2rem));
    padding-left: 90px;
    zoom: 0.85;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s;
}

.promo[hidden] { display: none; }

.promo.show {
    opacity: 1;
    transform: none;
}

.promo-skin {
    position: absolute;
    left: -6px;
    bottom: 0;
    width: 135px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.promo-card {
    position: relative;
    padding: 1.2rem 1.4rem 1.3rem 4.4rem;
    margin-left: 0;
    border-radius: 18px;
    border: 1px solid rgba(76, 195, 255, 0.35);
    background: linear-gradient(160deg, rgba(18, 30, 54, 0.96), rgba(8, 13, 26, 0.96));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(31, 122, 224, 0.2);
}

.promo-close {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    width: 28px;
    height: 28px;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.promo-close:hover { color: #fff; }

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 195, 255, 0.4);
    background: rgba(76, 195, 255, 0.12);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-tag i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

.promo-title {
    margin: 0.7rem 2rem 0.7rem 0;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #fff;
}

.promo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.promo-chips li {
    padding: 0.2rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(76, 195, 255, 0.3);
    background: rgba(76, 195, 255, 0.08);
    color: #bfe6ff;
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--blue-deep));
    color: #04101f;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(76, 195, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.promo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(76, 195, 255, 0.5);
}

@media (max-width: 560px) {
    .promo { right: 1rem; bottom: 1rem; padding-left: 0; }
    .promo-skin { display: none; }
    .promo-card { margin-left: 0; padding-left: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .promo { transition: none; }
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    top: -89px;
    height: 90px;
    overflow: hidden;
    pointer-events: none;
    color: var(--bg);
}

.aitch .wave { color: #0d1628; }
.footer .wave { color: #070b15; }

.wave svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.wave .wave-back {
    opacity: 0.45;
}

@media (max-width: 560px) {
    .wave { height: 50px; top: -49px; }
}

.aitch {
    position: relative;
    padding: 5rem 1.5rem 8.5rem;
    text-align: center;
    background:
        radial-gradient(600px 300px at 85% 260px, rgba(31, 122, 224, 0.2), transparent 70%),
        #0d1628;
}

.aitch-inner {
    max-width: 800px;
    margin: 0 auto;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(380px, 100%);
    padding: 0.5rem;
    border: 0;
    background: none;
    transition: transform 0.25s, filter 0.25s;
}

.partner-card:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 24px rgba(31, 122, 224, 0.5));
}

.partner-card img {
    width: 100%;
    height: auto;
    transform: translateX(-10px);
}

.creator-section {
    position: relative;
    padding: 6rem 1.5rem 7rem;
    background:
        radial-gradient(700px 360px at 80% 30%, rgba(31, 122, 224, 0.18), transparent 70%),
        #111b30;
}

.creator-section .wave {
    color: #111b30;
}

.creator-inner {
    max-width: 1220px;
    margin: 0 auto;
    text-align: center;
}

.creator-title {
    margin: 0 0 0.55rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(90deg, #fff 30%, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.creator-sub {
    margin: 0 auto;
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    text-align: center;
}

.creator-group-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 1100px;
    margin: 3.2rem auto 1.2rem;
    text-align: left;
}

.creator-group-head h3 {
    margin: 0;
    color: var(--blue);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.creator-group-head > span {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 999px;
    background: #171922;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 700;
}

.creator-group-head i {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
}

.creator-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    transition: height 0.25s ease;
}

.creator-grid::-webkit-scrollbar {
    display: none;
}

.creator-card {
    --rank: 255, 118, 200;
    position: relative;
    flex: 0 0 calc((100% - 2rem) / 3);
    width: 100%;
    max-width: none;
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(var(--rank), 0.25);
    border-radius: 1rem;
    background: var(--card);
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.creator-card.is-active {
    border-color: rgba(var(--rank), 0.85);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--rank), 0.25);
    z-index: 1;
}

.creator-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--rank), 0.8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--rank), 0.22);
}

.creator-avatar {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(var(--rank), 0.45);
    border-radius: 0.8rem;
    background: rgba(42, 18, 46, 0.85);
    image-rendering: pixelated;
}

.creator-card > div {
    min-width: 0;
}

.creator-prefix {
    display: inline-block;
    margin-top: 0.35rem;
    color: #ff76c8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.creator-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
}

.creator-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 22rem;
    margin: 1.6rem auto 0;
}

.creator-arrow {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.creator-arrow:hover {
    border-color: rgba(255, 118, 200, 0.65);
    background: rgba(255, 118, 200, 0.15);
    transform: translateY(-2px);
}

.creator-progress {
    position: relative;
    width: 12rem;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.creator-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff4cad, #ff9add);
}

@media (max-width: 520px) {
    .creator-grid {
        padding-inline: 0;
    }

    .creator-card {
        flex-basis: 100%;
        max-width: none;
    }

    .creator-card.is-active {
        transform: none;
    }

    .creator-controls {
        max-width: 18rem;
    }

    .creator-progress {
        width: 8rem;
    }
}

.page-section {
    min-height: calc(100vh - 65px);
    padding: 6rem 1.5rem;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(76, 195, 255, 0.14), transparent 70%),
        radial-gradient(600px 400px at 90% 100%, rgba(31, 122, 224, 0.18), transparent 70%),
        var(--bg);
}

.modes-inner {
    position: relative;
}

.modes-allay {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 170px;
    height: auto;
    pointer-events: none;
    image-rendering: pixelated;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1100px) {
    .modes-allay {
        position: static;
        display: block;
        margin: 0 auto 0.5rem;
        width: 110px;
    }
}

.modes-eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(76, 195, 255, 0.4);
    background: rgba(76, 195, 255, 0.1);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.modes-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    background: linear-gradient(90deg, #fff 30%, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modes-sub {
    max-width: 40rem;
    line-height: 1.6;
}

.mode-card {
    position: relative;
    padding: 2rem 1.7rem;
    border-radius: 1.1rem;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(76, 195, 255, 0.5);
    overflow: hidden;
}

.mode-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(260px 160px at 0% 0%, rgba(76, 195, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.mode-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 195, 255, 0.7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(76, 195, 255, 0.18);
}

.mode-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.1rem;
    border-radius: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 8px 20px rgba(31, 122, 224, 0.45);
}

.mode-icon img {
    display: block;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.mode-card-soon .mode-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.mode-tag {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    margin: 0;
}

.mode-card h3 {
    font-size: 1.5rem;
}

.modes-more {
    margin-top: 2.5rem;
    font-weight: 600;
    color: var(--blue);
}

.team-page {
    text-align: center;
}

.team-page .modes-sub {
    margin-left: auto;
    margin-right: auto;
}

.team-updated {
    margin: -1.5rem auto 0;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 170px));
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem auto 0;
}

.team-overview-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
    border: 1px solid rgba(76, 195, 255, 0.25);
    border-radius: 0.9rem;
    background: var(--card);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.team-overview-card strong {
    color: var(--blue);
    font-size: 1.8rem;
    line-height: 1;
}

.team-overview-card span {
    color: #aeb9ce;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 520px) {
    .team-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .team-overview-card {
        padding: 0.8rem 0.35rem;
    }

    .team-overview-card strong {
        font-size: 1.5rem;
    }

    .team-overview-card span {
        font-size: 0.65rem;
    }
}

.team-group {
    margin-top: 3.5rem;
}

.team-group-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto 1.8rem;
    text-align: left;
}

.team-group-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

.team-group-count {
    display: inline-grid;
    place-items: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: #cfd8ea;
}

.team-group-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
}

.team-group-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #8d98ae;
    text-align: right;
}

@media (max-width: 760px) {
    .team-group-head { flex-wrap: wrap; }
    .team-group-line { display: none; }
    .team-group-desc { flex-basis: 100%; text-align: left; }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
    justify-content: start;
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    --rank: 220, 50, 50;
    position: relative;
    padding: 3rem 0.8rem 0.9rem;
    border-radius: 1rem;
    background: var(--card);
    border: 1px solid rgba(var(--rank), 0.25);
    border-top: 1px solid rgba(var(--rank), 0.6);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.team-card-dev { --rank: 255, 85, 85; }

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(220px 180px at 50% 35%, rgba(var(--rank), 0.2), transparent 70%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--rank), 0.75);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--rank), 0.22);
}

.team-role {
    position: absolute;
    top: 0.8rem;
    left: 50%;
    z-index: 2;
    zoom: 0.75;
    width: 93px;
    height: auto;
    transform: translateX(-50%);
    image-rendering: pixelated;
}

.team-role-wide {
    width: 165px;
}

.team-role-medium {
    width: 129px;
}

.team-skin {
    position: relative;
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
}

.team-card h3 {
    position: relative;
    display: block;
    margin: 0.3rem 0.3rem 0;
    padding: 0.45rem 0.6rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(var(--rank), 0.55);
    background: linear-gradient(180deg, rgba(var(--rank), 0.22), rgba(var(--rank), 0.1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 14px rgba(var(--rank), 0.15);
    font-size: 1rem;
    color: #fff;
}

@media (max-width: 960px) {
    .team-grid { justify-content: center; }
}

@media (max-width: 480px) {
    .team-grid { justify-content: center; }
}

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal .reveal.visible {
    opacity: 1;
    transform: none;
}

.js-reveal .mode-card.visible:hover {
    transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 820px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(8, 12, 22, 0.6) 0%, rgba(8, 12, 22, 0.3) 60%, var(--bg) 100%),
            url("../assets/hero-bg.jpg") center / cover no-repeat;
    }

    .scroll-hint {
        display: none;
    }
}
