:root {
    --bg: #070914;
    --bg-soft: #11172a;
    --surface: rgba(16, 24, 43, 0.72);
    --surface-strong: rgba(22, 32, 55, 0.92);
    --line: rgba(185, 213, 255, 0.18);
    --text: #f3f7ff;
    --muted: #aab8ce;
    --cyan: #52ead2;
    --gold: #ffd36d;
    --rose: #ff7da8;
    --blue: #85a7ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 14% 18%, rgba(82, 234, 210, 0.18), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(255, 125, 168, 0.13), transparent 26%),
        radial-gradient(circle at 72% 80%, rgba(133, 167, 255, 0.12), transparent 30%),
        var(--bg);
    background-size: 42px 42px, 42px 42px, auto, auto, auto, auto;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 36%, rgba(82, 234, 210, 0.04));
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

#starfield {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.static-orbit {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.static-orbit::before,
.static-orbit::after {
    position: absolute;
    width: 44vmax;
    height: 44vmax;
    border: 1px solid rgba(82, 234, 210, 0.18);
    border-radius: 50%;
    content: "";
    animation: orbitPulse 8s ease-in-out infinite;
}

.static-orbit::before {
    top: 7%;
    right: -12%;
}

.static-orbit::after {
    bottom: -18%;
    left: -12%;
    border-color: rgba(255, 211, 109, 0.14);
    animation-delay: -3s;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(7, 9, 20, 0.78);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    box-shadow: 0 0 22px rgba(82, 234, 210, 0.45);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    min-width: 72px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
}

.section-band {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 92px 0;
}

.hero {
    display: flex;
    min-height: calc(100vh - 84px);
    align-items: center;
    padding-top: 54px;
}

.hero-copy {
    width: 100%;
}

.hero h1,
.hero .hero-text {
    max-width: none;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.hero-text,
.section-heading p,
.contact-copy p,
.legal-hero p,
.legal-card p {
    color: var(--muted);
}

.hero-text {
    max-width: 700px;
    margin-bottom: 30px;
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
.copy-button {
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    text-decoration: none;
}

.button.primary {
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    box-shadow: 0 16px 34px rgba(82, 234, 210, 0.24);
}

.button.secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.copy-button:hover {
    color: #07101b;
    background: var(--cyan);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.game-card {
    display: grid;
    grid-template-rows: 210px 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(82, 234, 210, 0.56);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card div {
    padding: 18px;
}

.game-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.game-tag {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: stretch;
}

.contact-card,
.legal-card,
.info-grid {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 28px;
}

.contact-card span,
.contact-card p {
    color: var(--muted);
}

.contact-card a {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
}

.copy-button {
    width: fit-content;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    overflow: hidden;
}

.info-grid div {
    min-height: 136px;
    padding: 22px;
    background: rgba(7, 9, 20, 0.54);
}

.info-grid dt {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-grid dd {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 42px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer a {
    color: var(--text);
    text-decoration: none;
}

.legal-page {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 84px 0 72px;
}

.legal-hero {
    margin-bottom: 28px;
}

.legal-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.legal-card {
    padding: 34px;
}

.legal-card section + section {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.legal-card h2 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.legal-card p {
    margin-bottom: 0;
}

.legal-card a {
    color: var(--cyan);
    font-weight: 800;
}

.reveal {
    transform: translateY(18px);
    opacity: 0;
    transition: transform 700ms ease, opacity 700ms ease;
}

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

@keyframes orbitPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.95;
    }
}

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

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

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

@media (max-width: 680px) {
    .site-header {
        align-items: stretch;
        border-radius: 8px;
        flex-direction: column;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .site-nav a {
        min-width: 0;
    }

    .section-band {
        padding: 64px 0;
    }

    .hero {
        padding-top: 48px;
    }

    h1 {
        font-size: 3rem;
    }

    .game-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        grid-template-rows: 190px 1fr;
    }

    .contact-card,
    .legal-card {
        padding: 22px;
    }

    .site-footer {
        flex-direction: column;
    }
}
