:root {
    --bg: #071018;
    --bg-soft: rgba(10, 24, 36, 0.74);
    --panel: rgba(9, 18, 28, 0.78);
    --line: rgba(113, 248, 255, 0.24);
    --text: #e5fbff;
    --muted: #8fbdc6;
    --cyan: #70f8ff;
    --cyan-strong: #2ce6f6;
    --pink: #f45dff;
    --orange: #ff7a41;
    --shadow: 0 0 32px rgba(112, 248, 255, 0.16);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Rajdhani", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(244, 93, 255, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(44, 230, 246, 0.18), transparent 30%),
        linear-gradient(180deg, #04080d 0%, #09131b 50%, #050a10 100%);
    overflow-x: hidden;
}

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

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

.page-shell {
    position: relative;
    isolation: isolate;
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(112, 248, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 248, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 90%);
    opacity: 0.35;
}

.background-glow {
    position: fixed;
    z-index: -2;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}

.background-glow-left {
    top: 4rem;
    left: -10rem;
    background: var(--pink);
}

.background-glow-right {
    top: 14rem;
    right: -12rem;
    background: var(--cyan);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 1rem auto 0;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(112, 248, 255, 0.16);
    border-radius: 999px;
    background: rgba(4, 10, 15, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 24px rgba(112, 248, 255, 0.24);
}

.brand span,
.main-nav a,
.button,
.eyebrow,
.label,
.platform-note span,
.contact-label {
    font-family: "Oxanium", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand span {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-controller {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(112, 248, 255, 0.26);
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(244, 93, 255, 0.18), rgba(7, 16, 24, 0.94));
    box-shadow: inset 0 0 18px rgba(112, 248, 255, 0.12), 0 0 22px rgba(112, 248, 255, 0.18);
    flex-shrink: 0;
}

.brand-controller svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(112, 248, 255, 0.45));
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.main-nav a {
    font-size: 0.82rem;
    color: var(--muted);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(112, 248, 255, 0.4);
}

main {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.section-frame {
    position: relative;
    margin-top: 1.5rem;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(10, 21, 31, 0.88), rgba(7, 14, 21, 0.84)),
        var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 93, 255, 0.12), transparent 35%, rgba(112, 248, 255, 0.08));
    pointer-events: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    min-height: 78vh;
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    color: var(--cyan);
}

h1,
h2,
h3,
strong,
.card-index {
    font-family: "Oxanium", sans-serif;
}

h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.94;
    max-width: 11ch;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

h3 {
    margin: 0 0 0.8rem;
    font-size: 1.3rem;
}

p {
    margin: 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.5;
}

.hero-text {
    max-width: 58ch;
    margin-top: 1.25rem;
    font-size: 1.24rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #021015;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    box-shadow: 0 0 28px rgba(112, 248, 255, 0.22);
}

.button-secondary {
    border-color: rgba(112, 248, 255, 0.28);
    background: rgba(8, 19, 29, 0.7);
    color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(244, 93, 255, 0.42);
    box-shadow: 0 0 24px rgba(244, 93, 255, 0.12);
}

.signal-list {
    display: grid;
    gap: 0.65rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.signal-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text);
    font-size: 1rem;
}

.signal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--pink), var(--cyan));
    box-shadow: 0 0 12px rgba(112, 248, 255, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: min(100%, 31rem);
    padding: 1.1rem;
    border: 1px solid rgba(112, 248, 255, 0.22);
    border-radius: calc(var(--radius-lg) + 4px);
    background: linear-gradient(180deg, rgba(9, 20, 30, 0.92), rgba(7, 13, 20, 0.92));
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(244, 93, 255, 0.14);
    transform: translate(10px, 10px);
    z-index: -1;
}

.hero-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-family: "Oxanium", sans-serif;
    font-size: 0.74rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(112, 248, 255, 0.18);
}

.section-heading {
    display: grid;
    gap: 0.8rem;
    max-width: 64ch;
}

.section-heading.narrow {
    max-width: 50ch;
}

.featured-game,
.studio-section,
.contact-section,
.universe-section {
    display: grid;
    gap: 2rem;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.game-art-panel,
.game-info-panel,
.feature-card,
.contact-card {
    position: relative;
    border: 1px solid rgba(112, 248, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(6, 15, 23, 0.78);
    overflow: hidden;
}

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

.game-info-panel {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.info-block {
    padding: 1rem 1rem 1.15rem;
    border: 1px solid rgba(244, 93, 255, 0.16);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(13, 24, 35, 0.88), rgba(7, 14, 20, 0.9));
}

.label,
.platform-note span,
.contact-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    color: var(--cyan);
}

.info-block strong,
.platform-note strong,
.contact-card strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.platform-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.platform-note {
    min-width: 10rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(112, 248, 255, 0.14);
    border-radius: 999px;
    background: rgba(6, 14, 20, 0.84);
}

.studio-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.contact-card {
    padding: 1.3rem;
}

.feature-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 93, 255, 0.08), transparent 45%, rgba(112, 248, 255, 0.06));
    pointer-events: none;
}

.card-index {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--orange);
    font-size: 0.9rem;
}

.theme-band {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.theme-band span {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(112, 248, 255, 0.18);
    border-radius: 999px;
    background: rgba(7, 16, 24, 0.82);
    color: var(--text);
    font-family: "Oxanium", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.contact-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(244, 93, 255, 0.28);
    box-shadow: 0 0 28px rgba(112, 248, 255, 0.12);
}

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

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

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

    .hero {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: static;
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .brand {
        justify-content: center;
    }

    .brand-copy {
        gap: 0.55rem;
    }

    .brand-controller {
        width: 2.2rem;
        height: 2.2rem;
    }

    .main-nav {
        justify-content: center;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    p,
    .hero-text {
        font-size: 1rem;
    }

    .hero-card::after {
        transform: translate(0, 0);
    }

    .platform-strip {
        align-items: stretch;
    }

    .platform-strip .button,
    .platform-note {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}