@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap');

:root {
    --bg: #08090b;
    --surface: #111319;
    --surface-strong: #191c25;
    --line: rgba(255, 255, 255, 0.12);
    --text: #f5f7fb;
    --muted: #aeb6c7;
    --cyan: #16d9e3;
    --red: #ff4b5f;
    --green: #5fe08d;
    --amber: #ffc857;
    --container: 1180px;
    --header: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Outfit", system-ui, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

button {
    font: inherit;
}

h1,
h2,
h3,
.logo {
    font-family: "Rajdhani", "Outfit", sans-serif;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    height: var(--header);
    background: rgba(8, 9, 11, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
    background: rgba(8, 9, 11, 0.94);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    font-size: 1.55rem;
    color: var(--text);
    white-space: nowrap;
}

.logo span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: calc(var(--header) + 86px) 0 66px;
}

.hero-video,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.04);
    animation: slowZoom 16s var(--ease) infinite alternate;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.62) 44%, rgba(8, 9, 11, 0.28) 100%),
        linear-gradient(0deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.12) 58%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(4.1rem, 11vw, 8.9rem);
}

.hero-copy {
    max-width: 620px;
    margin-top: 22px;
    color: #d7dce8;
    font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.store-strip,
.platform-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 32px;
}

.btn,
.platform-actions a,
.contact-actions a,
.store-strip a,
.studio-panel a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.btn {
    padding: 13px 18px;
}

.btn.primary {
    background: var(--cyan);
    color: #021013;
}

.btn.ghost,
.store-strip a,
.platform-actions a,
.contact-actions a,
.studio-panel a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    color: var(--text);
}

.btn:hover,
.store-strip a:hover,
.platform-actions a:hover,
.contact-actions a:hover,
.studio-panel a:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 217, 227, 0.65);
}

.store-strip {
    margin-top: 46px;
}

.store-strip a {
    padding: 11px 14px;
    color: #dce3f0;
}

.snapshot {
    background: #0d0f14;
    border-block: 1px solid var(--line);
}

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

.snapshot-grid div {
    padding: 26px 30px;
    border-left: 1px solid var(--line);
}

.snapshot-grid div:last-child {
    border-right: 1px solid var(--line);
}

.snapshot strong,
.snapshot span {
    display: block;
}

.snapshot strong {
    color: var(--text);
    font-size: 1.02rem;
}

.snapshot span {
    color: var(--muted);
    margin-top: 5px;
    font-size: 0.92rem;
}

.section {
    padding: 96px 0;
}

.subpage-main {
    padding-top: var(--header);
}

.subpage-hero {
    position: relative;
    min-height: 64svh;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 120px 0 64px;
    background: var(--surface);
}

.subpage-hero img,
.subpage-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.08) contrast(1.02);
}

.subpage-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.72) 54%, rgba(8, 9, 11, 0.35) 100%),
        linear-gradient(0deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.16) 65%);
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
}

.subpage-hero h1 {
    max-width: 840px;
    font-size: clamp(3.2rem, 9vw, 7.4rem);
}

.subpage-hero p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 18px;
    color: #d7dce8;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.prose {
    display: grid;
    gap: 24px;
}

.content-panel,
.info-panel,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.content-panel {
    padding: 30px;
}

.content-panel h2,
.info-panel h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 5vw, 3.1rem);
}

.content-panel h3 {
    margin: 18px 0 8px;
    font-size: 1.55rem;
}

.content-panel p,
.content-panel li,
.info-panel p,
.faq-item p {
    color: var(--muted);
}

.content-panel ul {
    display: grid;
    gap: 10px;
    margin-left: 18px;
}

.info-panel {
    position: sticky;
    top: calc(var(--header) + 18px);
    display: grid;
    gap: 12px;
    padding: 24px;
}

.info-list {
    display: grid;
    gap: 10px;
    margin: 8px 0 10px;
}

.info-list div {
    display: grid;
    gap: 2px;
}

.info-list strong {
    color: var(--text);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.page-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.page-link-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform 220ms var(--ease), border-color 220ms ease;
}

.page-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 217, 227, 0.65);
}

.page-link-card h3 {
    font-size: 1.55rem;
}

.page-link-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.94rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 22px;
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading.compact {
    max-width: 660px;
}

.section-heading h2 {
    font-size: clamp(2.7rem, 7vw, 5rem);
}

.section-heading p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.04rem;
}

.featured-section {
    background: linear-gradient(180deg, #08090b 0%, #0f1015 100%);
}

.featured-game {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    min-height: 560px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.featured-media,
.game-card,
.reel-card {
    position: relative;
    overflow: hidden;
}

.featured-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.tag {
    width: fit-content;
    display: inline-flex;
    padding: 6px 9px;
    color: #061114;
    background: var(--amber);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-copy h3 {
    margin-top: 20px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.featured-copy p {
    margin: 20px 0 26px;
    color: var(--muted);
}

.platform-actions a {
    padding: 10px 13px;
}

.library-section {
    background: #08090b;
}

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

.game-card {
    isolation: isolate;
    display: flex;
    align-items: end;
    min-height: 360px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.game-card.wide {
    grid-column: span 2;
}

.game-card.tall {
    grid-row: span 2;
}

.game-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.05) 0%, rgba(8, 9, 11, 0.72) 46%, rgba(8, 9, 11, 0.96) 100%);
}

.game-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.18);
}

.game-content {
    width: 100%;
    padding: 22px;
}

.game-content h3 {
    margin-top: 12px;
    font-size: 1.75rem;
}

.game-content p {
    margin: 10px 0 16px;
    color: #d0d6e2;
    font-size: 0.94rem;
}

.game-content .platform-actions a {
    width: 42px;
    height: 42px;
    padding: 0;
}

.reel-section {
    background: #101217;
}

.reel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.reel-card {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms var(--ease);
}

.reel-card:hover video {
    transform: scale(1.06);
}

.reel-card h3 {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 7px 10px;
    background: rgba(8, 9, 11, 0.76);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 1.18rem;
}

.studio-section {
    background: #08090b;
}

.studio-grid,
.contact-grid,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 46px;
    align-items: start;
}

.studio-copy h2,
.contact-grid h2 {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.studio-copy p:not(.eyebrow),
.contact-grid p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.04rem;
}

.studio-panel {
    display: grid;
    gap: 12px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.studio-panel h3 {
    margin-bottom: 8px;
    font-size: 1.7rem;
}

.studio-panel a,
.contact-actions a {
    justify-content: flex-start;
    padding: 13px 15px;
    text-transform: none;
}

.contact-section {
    background: linear-gradient(180deg, #111319 0%, #08090b 100%);
    border-top: 1px solid var(--line);
}

.contact-actions {
    display: grid;
}

.site-footer {
    padding: 48px 0 28px;
    background: #050608;
    border-top: 1px solid var(--line);
}

.footer-grid {
    align-items: center;
}

.site-footer p {
    max-width: 430px;
    margin-top: 10px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--text);
}

.copyright {
    width: min(100% - 40px, var(--container));
    margin: 34px auto 0;
    color: #71798a;
    font-size: 0.84rem;
    text-align: center;
}

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

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

@keyframes slowZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

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

    .featured-game {
        min-height: 0;
    }

    .featured-media {
        min-height: 420px;
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 360px;
    }

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

    .content-grid,
    .page-links-grid {
        grid-template-columns: 1fr;
    }

    .info-panel {
        position: static;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    :root {
        --header: 68px;
    }

    .container {
        width: min(100% - 28px, var(--container));
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: var(--header);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 12px 14px 24px;
        background: rgba(8, 9, 11, 0.98);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        transition: transform 260ms var(--ease);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        padding: 16px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.05rem;
    }

    .hero {
        min-height: 92svh;
        padding-bottom: 42px;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 19vw, 5rem);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .store-strip a {
        flex: 1 1 145px;
    }

    .snapshot-grid div {
        border-right: 1px solid var(--line);
        padding: 22px 20px;
    }

    .section {
        padding: 72px 0;
    }

    .featured-media {
        min-height: 300px;
    }

    .featured-copy {
        padding: 28px;
    }

    .game-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 390px;
    }

    .game-card.wide,
    .game-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .contact-actions a,
    .studio-panel a {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
