/* =====================================================
   KH ESPORTS CHAMPIONSHIP 2026
   MASTER STYLESHEET
===================================================== */


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    min-height: 100vh;

    background: #07080d;
    color: #f4f5f7;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

section {
    scroll-margin-top: 86px;
}


/* =====================================================
   ROOT
===================================================== */

:root {

    --bg: #07080d;
    --bg-soft: #0b0d13;
    --panel: #0e1017;
    --panel-2: #11131b;

    --white: #f4f5f7;
    --muted: #8d94a5;
    --muted-2: #5f6675;

    --purple: #a855f7;
    --purple-light: #c084fc;

    --cyan: #22d3ee;
    --cyan-light: #67e8f9;

    --border: rgba(255,255,255,0.08);
    --border-purple: rgba(168,85,247,0.28);

    --max-width: 1320px;

    --nav-height: 78px;
}


/* =====================================================
   GLOBAL BACKGROUND
===================================================== */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -3;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(168,85,247,0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 40%,
            rgba(34,211,238,0.055),
            transparent 28%
        );
}

body::after {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    opacity: 0.035;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.5) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.5) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 75%
        );
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: var(--nav-height);

    z-index: 1000;

    background:
        rgba(7,8,13,0.52);

    border-bottom:
        1px solid
        rgba(255,255,255,0.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar.scrolled {
    background:
        rgba(7,8,13,0.91);

    border-bottom-color:
        rgba(168,85,247,0.18);

    box-shadow:
        0 12px 45px
        rgba(0,0,0,0.28);
}

.nav-container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 34px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: inline-flex;

    align-items: baseline;

    gap: 8px;

    flex-shrink: 0;
}

.logo-kh {
    font-size: 24px;
    line-height: 1;

    font-weight: 950;

    letter-spacing: -0.08em;

    background:
        linear-gradient(
            135deg,
            #ffffff 10%,
            #c084fc 55%,
            #22d3ee 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    transition:
        filter 0.25s ease,
        transform 0.25s ease;
}

.logo-text {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.22em;

    color: var(--muted);
}

.logo:hover .logo-kh {
    filter:
        drop-shadow(
            0 0 13px
            rgba(168,85,247,0.5)
        );

    transform: translateY(-1px);
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.nav-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: clamp(18px, 2.1vw, 32px);

    flex: 1;
}

.nav-links a {
    position: relative;

    padding: 9px 0;

    color: var(--muted);

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 0.16em;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--cyan)
        );

    transform:
        translateX(-50%)
        scaleX(0);

    transform-origin: center;

    opacity: 0;

    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    transform:
        translateX(-50%)
        scaleX(1);

    opacity: 1;
}


/* =====================================================
   REGISTER BUTTON
===================================================== */

.nav-button {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 112px;
    height: 40px;

    padding: 0 18px;

    overflow: hidden;

    border:
        1px solid
        rgba(168,85,247,0.42);

    background:
        linear-gradient(
            100deg,
            rgba(168,85,247,0.13),
            rgba(34,211,238,0.055)
        );

    color: var(--white);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.16em;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.nav-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.28),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.55s ease;
}

.nav-button:hover {
    border-color:
        rgba(168,85,247,0.75);

    background:
        linear-gradient(
            100deg,
            rgba(168,85,247,0.2),
            rgba(34,211,238,0.09)
        );

    transform: translateY(-1px);
}

.nav-button:hover::before {
    left: 150%;
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {
    display: none;

    position: relative;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255,255,255,0.1);

    background:
        rgba(255,255,255,0.025);

    cursor: pointer;

    z-index: 1101;
}

.menu-toggle span {
    position: absolute;

    left: 11px;

    width: 19px;
    height: 1px;

    background: var(--white);

    transition:
        top 0.28s ease,
        transform 0.28s ease,
        opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
    top: 15px;
}

.menu-toggle span:nth-child(2) {
    top: 21px;
}

.menu-toggle span:nth-child(3) {
    top: 27px;
}

.menu-toggle.open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    position: fixed;

    top: var(--nav-height);
    left: 0;
    right: 0;

    z-index: 999;

    padding: 18px 20px 24px;

    background:
        rgba(7,8,13,0.97);

    border-bottom:
        1px solid
        rgba(168,85,247,0.18);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,0.4);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.mobile-menu-inner {
    width: min(100%, 600px);

    margin: 0 auto;
}

.mobile-menu-label {
    display: block;

    margin-bottom: 12px;

    color: var(--muted-2);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.22em;
}

.mobile-links {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}

.mobile-links a {
    min-height: 52px;

    display: flex;

    align-items: center;

    padding: 0 15px;

    border:
        1px solid
        rgba(255,255,255,0.075);

    background:
        rgba(255,255,255,0.025);

    color: var(--muted);

    font-size: 9px;

    font-weight: 750;

    letter-spacing: 0.14em;

    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.mobile-links a:hover,
.mobile-links a.active {
    color: var(--white);

    border-color:
        rgba(168,85,247,0.42);

    background:
        rgba(168,85,247,0.08);
}

.mobile-register {
    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 9px;

    border:
        1px solid
        rgba(168,85,247,0.42);

    background:
        linear-gradient(
            100deg,
            rgba(168,85,247,0.13),
            rgba(34,211,238,0.06)
        );

    color: var(--white);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 0.18em;
}

.menu-backdrop {
    position: fixed;

    inset: 0;

    z-index: 998;

    background:
        rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 100svh;

    padding:
        calc(var(--nav-height) + 100px)
        max(24px, 5vw)
        80px;

    display: flex;

    align-items: center;

    overflow: hidden;

    border-bottom:
        1px solid
        rgba(255,255,255,0.06);
}

.hero-grid {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(34,211,238,0.035) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 78%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: -320px;
    top: 5%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168,85,247,0.14),
            transparent 68%
        );

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -300px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34,211,238,0.08),
            transparent 68%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(
        100%,
        1050px
    );

    margin: 0 auto;
}

.eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.28em;
}

.eyebrow span {
    width: 30px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--cyan)
        );
}

.hero h1 {
    display: flex;

    flex-direction: column;

    line-height: 0.84;

    text-transform: uppercase;

    letter-spacing: -0.055em;
}

.hero h1 span {
    font-size: clamp(
        42px,
        7vw,
        92px
    );

    font-weight: 900;

    color: rgba(255,255,255,0.9);
}

.hero h1 strong {
    font-size: clamp(
        64px,
        11vw,
        150px
    );

    font-weight: 950;

    color: var(--white);
}

.hero h1 em {
    font-size: clamp(
        28px,
        5vw,
        68px
    );

    font-style: normal;

    font-weight: 500;

    letter-spacing: 0.02em;

    background:
        linear-gradient(
            100deg,
            var(--purple-light),
            var(--cyan-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero h1 small {
    margin-top: 14px;

    font-size: clamp(
        13px,
        1.8vw,
        22px
    );

    font-weight: 800;

    letter-spacing: 0.52em;

    color: var(--muted);
}

.hero-tagline {
    margin-top: 34px;

    color: var(--white);

    font-size: clamp(
        10px,
        1.1vw,
        13px
    );

    font-weight: 850;

    letter-spacing: 0.28em;
}

.hero-description {
    max-width: 560px;

    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


/* =====================================================
   BUTTONS
===================================================== */

.primary-button,
.secondary-button {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 0 20px;

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 0.15em;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.primary-button {
    border:
        1px solid
        rgba(168,85,247,0.5);

    background:
        linear-gradient(
            100deg,
            rgba(168,85,247,0.18),
            rgba(34,211,238,0.08)
        );
}

.primary-button span {
    font-size: 15px;
}

.secondary-button {
    border:
        1px solid
        rgba(255,255,255,0.1);

    color: var(--muted);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.primary-button:hover {
    border-color:
        rgba(168,85,247,0.8);
}

.secondary-button:hover {
    border-color:
        rgba(255,255,255,0.25);

    color: var(--white);
}


/* =====================================================
   HERO SIDE
===================================================== */

.hero-side {
    position: absolute;

    right: 5vw;
    top: 50%;

    transform:
        translateY(-50%);

    z-index: 2;
}

.vertical-label {
    writing-mode: vertical-rl;

    color: var(--muted-2);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.3em;
}


/* =====================================================
   HERO BOTTOM
===================================================== */

.hero-bottom {
    position: absolute;

    left: 5vw;
    right: 5vw;
    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 28px;

    z-index: 2;
}

.hero-date {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.hero-date span {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.2em;
}

.hero-date strong {
    color: var(--white);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.hero-divider {
    width: 1px;
    height: 30px;

    background:
        rgba(255,255,255,0.12);
}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-left:
        1px solid var(--border);

    border-top:
        1px solid var(--border);

    border-right:
        1px solid var(--border);
}

.stat-card {
    min-height: 130px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 8px;

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.012);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-number {
    color: var(--white);

    font-size: clamp(
        24px,
        3vw,
        38px
    );

    font-weight: 900;

    letter-spacing: -0.04em;
}

.stat-label {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.2em;
}


/* =====================================================
   GENERAL SECTION
===================================================== */

.section {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;

    padding:
        120px 0;
}

.section-heading {
    display: flex;

    align-items: flex-start;

    gap: 22px;

    margin-bottom: 58px;
}

.section-index {
    padding-top: 7px;

    color: var(--purple-light);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.2em;
}

.section-kicker {
    margin-bottom: 9px;

    color: var(--muted-2);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.25em;
}

.section-heading h2 {
    color: var(--white);

    font-size: clamp(
        32px,
        5vw,
        64px
    );

    line-height: 0.95;

    font-weight: 900;

    letter-spacing: -0.055em;
}

.section-heading h2 span {
    background:
        linear-gradient(
            100deg,
            var(--purple-light),
            var(--cyan-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* =====================================================
   ABOUT
===================================================== */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    gap: 90px;
}

.about-main {
    max-width: 780px;
}

.about-main p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.9;
}

.about-main .large-text {
    margin-bottom: 28px;

    color: var(--white);

    font-size: clamp(
        18px,
        2.2vw,
        27px
    );

    line-height: 1.5;

    letter-spacing: -0.015em;
}

.about-objectives {
    border-top:
        1px solid var(--border);
}

.objective {
    min-height: 76px;

    display: grid;

    grid-template-columns: 38px 1fr;

    align-items: center;

    gap: 10px;

    border-bottom:
        1px solid var(--border);
}

.objective span {
    color: var(--purple-light);

    font-size: 8px;

    font-weight: 800;
}

.objective p {
    color: var(--white);

    font-size: 11px;

    font-weight: 650;

    letter-spacing: 0.02em;
}


/* =====================================================
   TITLES
===================================================== */

.title-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.title-card {
    position: relative;

    min-height: 430px;

    padding: 34px;

    display: flex;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.012)
        );

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;
}

.title-card::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    right: -150px;
    bottom: -150px;

    opacity: 0.55;

    transition:
        transform 0.45s ease;
}

.hok-card::before {
    background:
        radial-gradient(
            circle,
            rgba(168,85,247,0.2),
            transparent 70%
        );
}

.mlbb-card::before {
    background:
        radial-gradient(
            circle,
            rgba(34,211,238,0.15),
            transparent 70%
        );
}

.title-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(168,85,247,0.32);
}

.title-card:hover::before {
    transform: scale(1.25);
}

.title-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color: var(--muted-2);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.18em;
}

.title-content {
    position: relative;

    z-index: 2;

    margin-top: auto;
}

.title-kicker {
    margin-bottom: 15px;

    color: var(--muted-2);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.22em;
}

.title-content h3 {
    margin-bottom: 22px;

    color: var(--white);

    font-size: clamp(
        38px,
        5vw,
        66px
    );

    line-height: 0.86;

    font-weight: 950;

    letter-spacing: -0.055em;
}

.title-content h3 span {
    background:
        linear-gradient(
            100deg,
            var(--purple-light),
            var(--cyan-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.title-content > p:not(.title-kicker) {
    color: var(--muted);

    font-size: 8px;

    font-weight: 750;

    letter-spacing: 0.17em;
}

.title-meta {
    display: flex;

    gap: 42px;

    margin-top: 30px;
}

.title-meta div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.title-meta strong {
    color: var(--white);

    font-size: 18px;

    font-weight: 850;
}

.title-meta span {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.18em;
}

.card-arrow {
    position: absolute;

    right: 28px;
    bottom: 26px;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,0.1);

    color: var(--white);

    font-size: 17px;
}


/* =====================================================
   TOURNAMENT
===================================================== */

.format-flow {
    display: flex;

    align-items: stretch;

    width: 100%;

    overflow-x: auto;

    padding-bottom: 12px;

    scrollbar-width: thin;
}

.format-step {
    min-width: 155px;

    padding: 22px 18px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.018);
}

.format-step span {
    color: var(--purple-light);

    font-size: 8px;

    font-weight: 800;
}

.format-step strong {
    color: var(--white);

    font-size: 10px;

    font-weight: 850;

    white-space: nowrap;
}

.format-step small {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 750;

    letter-spacing: 0.08em;
}

.final-step {
    border-color:
        rgba(34,211,238,0.25);

    background:
        linear-gradient(
            145deg,
            rgba(168,85,247,0.08),
            rgba(34,211,238,0.045)
        );
}

.flow-line {
    width: 30px;

    flex: 0 0 30px;

    align-self: center;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.35),
            rgba(34,211,238,0.35)
        );
}

.format-features {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 40px;
}

.feature-card {
    padding: 24px;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.018);
}

.feature-card span {
    color: var(--white);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 0.15em;
}

.feature-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


/* =====================================================
   SCHEDULE
===================================================== */

.schedule-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.schedule-card {
    min-height: 170px;

    display: grid;

    grid-template-columns: 110px 1fr;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.018);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(168,85,247,0.3);
}

.schedule-date {
    padding: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-right:
        1px solid var(--border);
}

.schedule-date span,
.schedule-date small {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.18em;
}

.schedule-date strong {
    margin: 4px 0;

    color: var(--white);

    font-size: 42px;

    line-height: 1;

    font-weight: 900;
}

.schedule-info {
    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.schedule-game {
    color: var(--purple-light);

    font-size: 7px;

    font-weight: 850;

    letter-spacing: 0.2em;
}

.schedule-info h3 {
    margin: 8px 0;

    color: var(--white);

    font-size: 25px;

    font-weight: 900;

    letter-spacing: -0.03em;
}

.schedule-info p {
    color: var(--muted);

    font-size: 10px;
}

.venue-banner {
    margin-top: 14px;

    min-height: 86px;

    padding: 20px 26px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border:
        1px solid
        rgba(168,85,247,0.2);

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.07),
            rgba(34,211,238,0.035)
        );
}

.venue-banner span {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.2em;
}

.venue-banner strong {
    color: var(--white);

    font-size: 15px;

    font-weight: 850;

    letter-spacing: 0.08em;
}


/* =====================================================
   PRIZES
===================================================== */

.prize-total {
    padding: 42px;

    text-align: center;

    border:
        1px solid
        rgba(168,85,247,0.2);

    background:
        radial-gradient(
            circle at center,
            rgba(168,85,247,0.08),
            rgba(255,255,255,0.015) 60%
        );
}

.prize-total span,
.prize-total small {
    display: block;

    color: var(--muted-2);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.22em;
}

.prize-total strong {
    display: block;

    margin: 12px 0;

    font-size: clamp(
        46px,
        7vw,
        82px
    );

    line-height: 1;

    font-weight: 950;

    letter-spacing: -0.05em;

    background:
        linear-gradient(
            100deg,
            #ffffff,
            var(--purple-light),
            var(--cyan-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.prize-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 12px;
}

.prize-card {
    min-height: 190px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.018);
}

.prize-card > span {
    color: var(--muted-2);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.prize-card strong {
    margin: 13px 0 5px;

    color: var(--white);

    font-size: 30px;

    font-weight: 900;

    letter-spacing: -0.04em;
}

.prize-card p {
    color: var(--muted);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.16em;
}

.fmvp-card {
    border-color:
        rgba(34,211,238,0.2);

    background:
        linear-gradient(
            145deg,
            rgba(34,211,238,0.055),
            rgba(168,85,247,0.045)
        );
}


/* =====================================================
   RULES
===================================================== */

.rules-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.rule {
    min-height: 180px;

    padding: 26px;

    display: grid;

    grid-template-columns: 40px 1fr;

    gap: 16px;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,0.018);
}

.rule > span {
    color: var(--purple-light);

    font-size: 8px;

    font-weight: 800;
}

.rule h3 {
    color: var(--white);

    font-size: 12px;

    font-weight: 850;

    letter-spacing: 0.08em;
}

.rule p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.75;
}


/* =====================================================
   REGISTRATION
===================================================== */

.register-section {
    position: relative;

    min-height: 550px;

    padding:
        120px 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.register-grid {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(34,211,238,0.05) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black,
            transparent 72%
        );
}

.register-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168,85,247,0.14),
            transparent 68%
        );
}

.register-content {
    position: relative;

    z-index: 2;

    width: min(
        100%,
        760px
    );

    text-align: center;
}

.register-content h2 {
    font-size: clamp(
        55px,
        9vw,
        120px
    );

    line-height: 0.82;

    font-weight: 950;

    letter-spacing: -0.065em;
}

.register-content h2 span {
    background:
        linear-gradient(
            100deg,
            var(--purple-light),
            var(--cyan-light)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.register-content > p:not(.section-kicker) {
    max-width: 480px;

    margin: 24px auto 28px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 65px 0 25px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom:
        1px solid var(--border);
}

.footer-logo {
    color: var(--white);

    font-size: 24px;

    font-weight: 950;

    letter-spacing: -0.05em;
}

.footer-logo span {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: 0.22em;
}

.footer-main > div:first-child p {
    margin-top: 10px;

    color: var(--muted-2);

    font-size: 9px;
}

.footer-info {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-info span {
    color: var(--muted-2);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.2em;
}

.footer-info strong {
    color: var(--white);

    font-size: 9px;

    line-height: 1.7;

    letter-spacing: 0.08em;
}

.footer-bottom {
    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted-2);

    font-size: 7px;

    font-weight: 750;

    letter-spacing: 0.16em;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    :root {
        --nav-height: 72px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 8px;
        letter-spacing: 0.11em;
    }

    .nav-button {
        min-width: 96px;
    }

    .hero h1 strong {
        font-size: clamp(
            60px,
            12vw,
            120px
        );
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .format-flow {
        overflow-x: auto;
    }

    .format-step {
        min-width: 145px;
    }

    .prize-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   TABLET / IPAD
===================================================== */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;

        margin-left: auto;
    }

    .nav-button {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-container {
        gap: 12px;
    }

    .hero {
        min-height: 850px;
    }

    .hero-side {
        display: none;
    }

    .hero-content {
        padding-bottom: 100px;
    }

    .stats-section {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .title-grid {
        grid-template-columns: 1fr;
    }

    .title-card {
        min-height: 390px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .format-features {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-main > div:first-child {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {

    :root {
        --nav-height: 68px;
    }

    html {
        scroll-padding-top: 74px;
    }

    section {
        scroll-margin-top: 74px;
    }

    .nav-container {
        width:
            calc(100% - 32px);
    }

    .logo-kh {
        font-size: 22px;
    }

    .logo-text {
        font-size: 8px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        min-height: 760px;

        padding:
            calc(var(--nav-height) + 80px)
            20px
            95px;
    }

    .hero h1 strong {
        font-size:
            clamp(54px, 18vw, 86px);
    }

    .hero h1 span {
        font-size:
            clamp(35px, 11vw, 58px);
    }

    .hero h1 em {
        font-size:
            clamp(24px, 7.5vw, 38px);
    }

    .hero h1 small {
        font-size: 10px;
        letter-spacing: 0.38em;
    }

    .hero-tagline {
        margin-top: 28px;

        font-size: 8px;

        line-height: 1.7;

        letter-spacing: 0.2em;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.75;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;

        gap: 8px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-bottom {
        left: 20px;
        right: 20px;
        bottom: 20px;

        gap: 16px;
    }

    .hero-date {
        min-width: 0;
    }

    .hero-date span {
        font-size: 6px;
        letter-spacing: 0.12em;
    }

    .hero-date strong {
        font-size: 7px;
        letter-spacing: 0.08em;
    }

    .hero-divider {
        height: 25px;
    }

    .stats-section {
        width:
            calc(100% - 32px);
    }

    .stat-card {
        min-height: 105px;

        padding: 18px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 6px;
        line-height: 1.5;
    }

    .section {
        width:
            calc(100% - 32px);

        padding:
            82px 0;
    }

    .section-heading {
        gap: 13px;

        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 35px;
    }

    .section-kicker {
        font-size: 7px;
    }

    .about-main .large-text {
        font-size: 18px;
        line-height: 1.55;
    }

    .about-main p {
        font-size: 12px;
    }

    .title-card {
        min-height: 360px;

        padding: 25px;
    }

    .title-content h3 {
        font-size: 45px;
    }

    .title-meta {
        gap: 25px;
    }

    .title-meta strong {
        font-size: 15px;
    }

    .format-flow {
        margin-right: -16px;

        padding-right: 16px;
    }

    .format-step {
        min-width: 140px;
    }

    .schedule-card {
        grid-template-columns: 88px 1fr;
    }

    .schedule-date {
        padding: 14px;
    }

    .schedule-date strong {
        font-size: 34px;
    }

    .schedule-info {
        padding: 18px;
    }

    .schedule-info h3 {
        font-size: 21px;
    }

    .venue-banner {
        min-height: auto;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

    .prize-total {
        padding: 32px 20px;
    }

    .prize-grid {
        grid-template-columns: 1fr;
    }

    .prize-card {
        min-height: 145px;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .rule {
        min-height: auto;

        padding: 22px;
    }

    .register-section {
        min-height: 500px;

        padding:
            90px 20px;
    }

    .register-content h2 {
        font-size:
            clamp(52px, 16vw, 78px);
    }

    .register-content > p:not(.section-kicker) {
        font-size: 12px;
    }

    .footer {
        width:
            calc(100% - 32px);
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-main > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        line-height: 1.6;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 500px) {

    .mobile-links {
        grid-template-columns: 1fr;
    }

    .mobile-links a {
        min-height: 48px;
    }

    .hero {
        min-height: 735px;
    }

    .hero-bottom {
        display: grid;

        grid-template-columns:
            1fr 1px 1fr;

        align-items: center;

        gap: 10px;
    }

    .hero-date strong {
        white-space: nowrap;
    }

    .hero-divider {
        height: 34px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-card {
        min-height: 98px;

        padding: 14px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .title-card {
        min-height: 335px;
    }

    .title-content h3 {
        font-size: 39px;
    }

    .title-meta {
        gap: 18px;
    }

    .title-meta strong {
        font-size: 14px;
    }

    .title-meta span {
        font-size: 6px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 360px) {

    .hero h1 strong {
        font-size: 51px;
    }

    .hero h1 em {
        font-size: 22px;
    }

    .hero-date strong {
        font-size: 6px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .title-content h3 {
        font-size: 35px;
    }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
