* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #090909;
    --surface: #141414;
    --surface-2: #1f1f1f;
    --line: #2e2e2e;
    --white: #f5f5f5;
    --muted: #b4b4b4;
    --accent: #8b3dff;
    --accent-soft: #ba8cff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

.ambient-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 15%, rgba(139, 61, 255, 0.22), transparent 28%),
        radial-gradient(circle at 84% 22%, rgba(139, 61, 255, 0.17), transparent 26%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.03) 20%, transparent 20%, transparent 40%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.03) 60%, transparent 60%);
    opacity: 0.9;
}

.container {
    width: min(1160px, calc(100% - 2.2rem));
    margin-inline: auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 9, 0.88);
    backdrop-filter: blur(9px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
}

.logo-mark {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: linear-gradient(155deg, #181818, #0f0f0f);
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1.5px;
}

nav {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.4rem;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.86rem;
    letter-spacing: 0.7px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--white);
}

.hamburger {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: linear-gradient(135deg, #2a1a4a, #1a0f2e);
    color: var(--white);
    font-size: 1.6rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(139, 61, 255, 0.4);
    transform: scale(1.08);
}

.hero {
    padding-top: 4rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.hero-copy h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.2rem, 9vw, 7.4rem);
    line-height: 0.96;
    letter-spacing: 1.8px;
    margin-block: 0.8rem 1rem;
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-kicker,
.section-kicker,
.panel-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--muted);
}

.hero-description {
    max-width: 58ch;
    color: #d6d6d6;
    margin-bottom: 1.7rem;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 0.82rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(140deg, var(--accent), var(--accent-soft));
    box-shadow: 0 10px 24px rgba(139, 61, 255, 0.3);
}

.btn-ghost {
    color: var(--white);
    background: transparent;
    border: 1px solid var(--line);
}

.btn-small {
    margin-top: 1rem;
    background: var(--white);
    color: #0d0d0d;
    padding: 0.65rem 1rem;
}

.hero-panel {
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #131313 0%, #1b1b1b 100%);
    padding: 1.3rem;
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 61, 255, 0.38), transparent 65%);
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
    margin: 1.1rem 0;
}

.team-tag {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--accent);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.team-name {
    font-weight: 700;
}

.versus {
    font-family: 'Bebas Neue', sans-serif;
    color: #888;
    font-size: 1.45rem;
}

.panel-meta {
    color: #cdcdcd;
    font-size: 0.95rem;
}

.ticker-wrap {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 2rem;
    padding: 0.9rem 0;
    min-width: 200%;
    animation: ticker 18s linear infinite;
}

.ticker-track span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1.4px;
    color: var(--muted);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section {
    padding: 4.6rem 0;
}

.section-contrast {
    background: linear-gradient(180deg, #101010, #0c0c0c);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.section-head h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.7rem);
    letter-spacing: 1.2px;
}

.section-head {
    margin-bottom: 1.5rem;
}

.match-grid,
.team-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.match-card,
.team-card,
.shop-card {
    border: 1px solid var(--line);
    background: linear-gradient(155deg, #151515, #111111);
    padding: 1.1rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.match-card:hover,
.team-card:hover,
.shop-card:hover {
    transform: translateY(-4px);
    border-color: #4a4a4a;
}

.game-pill,
.team-mode {
    display: inline-block;
    color: #fff;
    background: var(--accent);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.7px;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.7rem;
}

.match-card h3,
.team-card h3,
.shop-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.match-time,
.price {
    margin-top: 0.8rem;
    color: var(--accent-soft);
    font-weight: 700;
}

.team-card ul {
    margin-left: 1rem;
    color: #d2d2d2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.2rem;
    align-items: start;
}

.contact-copy h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: 1px;
    line-height: 1;
    margin: 0.55rem 0 0.8rem;
}

.contact-line {
    margin-top: 1rem;
    color: var(--accent-soft);
    font-weight: 700;
}

.contact-form {
    border: 1px solid var(--line);
    background: #121212;
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #0d0d0d;
    color: var(--white);
    border: 1px solid #252525;
    padding: 0.8rem 0.85rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 1px solid #404040;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 1.3rem 0 1.8rem;
    color: #a9a9a9;
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .match-grid,
    .team-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hamburger {
        display: block;
    }

    nav {
        order: 3;
        width: 100%;
    }

    .nav-menu {
        display: none;
        width: 100%;
        padding-bottom: 0.8rem;
        flex-direction: column;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .hero {
        padding-top: 2rem;
    }

    .match-grid,
    .team-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .ticker-track span {
        font-size: 1.12rem;
    }
}
