﻿:root {
    --bg-0: #12091e;
    --bg-1: #1f0f32;
    --bg-2: #081927;
    --text-main: #f2f3ff;
    --text-muted: #b7bfd1;
    --line: rgba(255, 255, 255, 0.14);
    --cyan: #39f7ff;
    --gold: #ffd257;
    --magenta: #ff5d9e;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --radius-lg: 22px;
    --radius-md: 16px;
    --shell: 1160px;
}

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

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 93, 158, 0.22), transparent 36%),
        radial-gradient(circle at 88% 10%, rgba(57, 247, 255, 0.18), transparent 32%),
        linear-gradient(155deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
    color: var(--text-main);
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    line-height: 1.55;
    position: relative;
    overflow-x: hidden;
}

.backdrop-grid,
.backdrop-glow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -2;
}

.backdrop-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
}

.backdrop-glow {
    z-index: -1;
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 210, 87, 0.34), transparent 42%),
        radial-gradient(circle at 50% 120%, rgba(57, 247, 255, 0.2), transparent 48%);
    animation: glowShift 7s ease-in-out infinite alternate;
}

@keyframes glowShift {
    from {
        transform: scale(1) translateY(0);
        opacity: 0.82;
    }
    to {
        transform: scale(1.06) translateY(-10px);
        opacity: 1;
    }
}

a {
    color: inherit;
}

.shell {
    width: min(100% - 2.6rem, var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(13, 8, 25, 0.68);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.8rem;
}

.brand {
    display: inline-flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(7, 7, 7, 0.35);
    box-shadow: var(--shadow);
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    font-weight: 700;
}

.brand-name {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(1rem, 1.2vw + 0.65rem, 1.42rem);
    letter-spacing: 0.04em;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.96rem;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.11);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--cyan), #78ffd8);
    color: #04131e;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
}

.hero {
    padding-block: clamp(2rem, 5vw, 4.8rem) 1.2rem;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 1.2rem;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.game-card,
.about-panel,
.ticker-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(5, 9, 18, 0.5);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(1.6rem, 3.2vw, 2.8rem);
}

.hero-kicker {
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.74rem;
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.hero-copy > p {
    color: var(--text-muted);
    max-width: 56ch;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #1a1000;
    background: linear-gradient(135deg, var(--gold), #ffe992);
    box-shadow: 0 10px 26px rgba(255, 210, 87, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.hero-panel {
    padding: clamp(1.3rem, 2.2vw, 2rem);
    background:
        linear-gradient(150deg, rgba(57, 247, 255, 0.08), rgba(255, 93, 158, 0.1)),
        rgba(5, 9, 18, 0.42);
}

.hero-panel h2 {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.58rem);
    margin-bottom: 1rem;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.hero-panel li {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    gap: 0.2rem;
}

.hero-panel span {
    color: var(--text-muted);
    font-size: 0.83rem;
}

.hero-panel strong {
    font-size: 1.03rem;
}

.ticker-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1.3rem;
}

.ticker-label {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-family: 'Bungee', Impact, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--magenta), #ff9fc9);
    color: #2d0214;
}

.ticker-track {
    overflow: hidden;
    padding: 0.45rem 0;
}

.ticker-move {
    display: inline-flex;
    align-items: center;
    gap: 2.2rem;
    white-space: nowrap;
    min-width: 200%;
    animation: tickerRoll 22s linear infinite;
}

.ticker-move span {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.85rem;
}

@keyframes tickerRoll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.section-block {
    padding-block: 0.5rem 2.2rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

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

.featured-grid,
.games-grid {
    display: grid;
    gap: 1rem;
}

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

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

.game-link {
    text-decoration: none;
}

.game-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.23s ease, border-color 0.23s ease;
    position: relative;
}

.game-card::before,
.game-card::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2d2d35;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.game-card::before {
    top: 8px;
    left: 8px;
}

.game-card::after {
    top: 8px;
    right: 8px;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.game-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.07) 0,
        rgba(255, 255, 255, 0.07) 1px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.2;
    pointer-events: none;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.chip {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.32rem 0.56rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #ff9d42);
    color: #1e1100;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 3;
}

.chip-new {
    background: linear-gradient(135deg, var(--magenta), #ffa7ca);
    color: #2b0314;
}

.live-dot {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #001e10;
    background: #3cff9d;
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
}

.live-dot::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.35rem;
    background: #00a855;
    animation: pulseLive 1.2s ease-in-out infinite;
}

@keyframes pulseLive {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.game-info {
    padding: 1rem;
}

.game-info h3 {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(1.08rem, 1.3vw, 1.28rem);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 0.75rem;
}

.play-link {
    font-weight: 700;
    color: var(--cyan);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2.2rem;
    padding-block: 2rem;
    background: rgba(6, 7, 12, 0.55);
}

.footer-inner {
    text-align: center;
    color: var(--text-muted);
}

.disclaimer {
    margin-bottom: 0.45rem;
}

.about-main {
    padding-block: clamp(1.5rem, 4vw, 4rem);
}

.about-panel {
    padding: clamp(1.3rem, 3vw, 2.4rem);
    background:
        linear-gradient(140deg, rgba(57, 247, 255, 0.07), rgba(255, 93, 158, 0.11)),
        rgba(7, 10, 16, 0.58);
}

.about-panel h1 {
    font-family: 'Bungee', Impact, sans-serif;
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.about-panel p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 72ch;
}

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

.discord-link {
    color: var(--cyan);
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .ticker-wrap {
        grid-template-columns: 1fr;
    }

    .ticker-label {
        justify-content: center;
        padding: 0.55rem;
    }

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

@media (max-width: 680px) {
    .shell {
        width: min(100% - 1.4rem, var(--shell));
    }

    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .top-nav {
        justify-content: space-between;
    }

    .featured-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
}
