:root {
    --bg: #070a19;
    --bg2: #0a1022;
    --surface: #10162b;
    --surface2: #151d36;
    --text: #f3f5ff;
    --muted: #a4abc7;
    --line: rgba(164, 176, 220, .16);
    --cyan: #00e7f2;
    --cyan2: #39a9ff;
    --pink: #ff00c7;
    --pink2: #ff4f7f;
    --max: 1180px;
    --shadow: 0 30px 80px rgba(0, 0, 0, .46)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 75% 8%, rgba(0, 231, 242, .07), transparent 28%), linear-gradient(180deg, var(--bg), #060816 50%, #080b18);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

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

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

button {
    font: inherit
}

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

.narrow {
    max-width: 820px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.section {
    padding: 110px 0
}

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

.section-heading {
    max-width: 100%;
    margin-bottom: 48px
}

.section-heading--center {
    text-align: center;
    margin-inline: auto
}

.section-heading h2,
.page-hero h1,
.game-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.025em;
    margin: 0
}

.section-heading h2 {
    font-size: clamp(2.15rem, 4.5vw, 4rem)
}

.section-heading>p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
    margin-top: 25px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .25s
}

.button--primary {
    background: linear-gradient(105deg, var(--cyan2), var(--pink));
    color: #07101c;
    box-shadow: 0 14px 34px rgba(255, 0, 199, .22)
}

.button:hover {
    transform: translateY(-3px)
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: .3s
}

.site-header.scrolled {
    background: rgba(7, 10, 25, .84);
    border-color: var(--line);
    backdrop-filter: blur(18px)
}

.header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    width: 108px;
    height: 78px;
    object-fit: contain
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #dce1f5;
    font-size: .92rem;
    font-weight: 700
}

.site-nav>a,
.nav-dropdown-toggle {
    position: relative;
    color: #c8cee4
}

.site-nav>a::after,
.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    transform: scaleX(0);
    transition: .2s
}

.site-nav>a:hover::after,
.nav-dropdown-toggle:hover::after {
    transform: scaleX(1)
}

.nav-dropdown {
    position: relative
}

.nav-dropdown-toggle {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -20px;
    width: 280px;
    padding: 10px;
    background: rgba(13, 18, 38, .98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: .2s
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    translate: 0
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #cfd5e9
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, .06);
    color: white
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px 0;
    background: #fff;
    transition: .25s
}

.home-hero {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 50px;
    isolation: isolate;
    overflow: hidden
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(transparent, var(--bg));
    z-index: -1
}

.hero-layout {
    display: grid;
    grid-template-columns: .76fr 1.24fr;
    align-items: center;
    min-height: 680px
}

.hero-brand {
    position: relative;
    z-index: 5
}

.hero-brand img {
    width: min(360px, 90%);
    filter: drop-shadow(0 0 28px rgba(0, 231, 242, .15))
}

.hero-collage {
    position: relative;
    height: 670px
}

.hero-shot,
.hero-character {
    position: absolute
}

.hero-shot {
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .7));
    transition: transform .45s
}

.hero-shot--one {
    width: 70%;
    right: 2%;
    top: 3%;
    z-index: 3
}

.hero-shot--two {
    width: 68%;
    left: 1%;
    top: 35%;
    z-index: 2
}

.hero-shot--three {
    width: 64%;
    left: -10%;
    bottom: 0;
    z-index: 1
}

.hero-character {
    height: 98%;
    right: -2%;
    bottom: -6%;
    z-index: 4;
    filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .72))
}

.hero-collage:hover .hero-shot--one {
    transform: translateY(-5px) rotate(.5deg)
}

.hero-collage:hover .hero-shot--two {
    transform: translateX(-5px)
}

.hero-collage:hover .hero-shot--three {
    transform: translateY(5px) rotate(-.5deg)
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .13;
    z-index: -1
}

.hero-glow--one {
    width: 480px;
    height: 480px;
    background: var(--cyan);
    right: 9%;
    top: 12%
}

.hero-glow--two {
    width: 380px;
    height: 380px;
    background: var(--pink);
    left: 15%;
    bottom: 2%
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 30px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px
}

.scroll-indicator span {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--cyan);
    transform: translateX(-50%);
    animation: scrollDot 1.7s infinite
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        translate: 0 0
    }

    30% {
        opacity: 1
    }

    100% {
        opacity: 0;
        translate: 0 17px
    }
}

.games-section {
    background: linear-gradient(180deg, rgba(9, 13, 30, .35), rgba(14, 19, 41, .5))
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.game-card {
    background: linear-gradient(155deg, rgba(20, 28, 55, .9), rgba(8, 12, 28, .96));
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .3s
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 231, 242, .35)
}

.game-card-media {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #050817
}

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

.game-card:hover .game-card-media img {
    transform: scale(1.035)
}

.game-card-body {
    padding: 30px
}

.game-kicker {
    color: var(--cyan);
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .14em;
    margin: 0 0 8px
}

.game-card h3 {
    font-family: Georgia, serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    line-height: 1.15;
    margin: 0 0 16px;
    color: #fff
}

.game-card-body>p {
    color: var(--muted)
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0
}

.chips span {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .75rem;
    color: #d5daeb
}

.text-link {
    display: inline-flex;
    gap: 8px;
    color: var(--cyan);
    font-weight: 800
}

.text-link::after {
    content: "→"
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.feature-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 260px;
    background: rgba(16, 22, 43, .75);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden
}

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

.feature-card div {
    padding: 28px
}

.feature-card span {
    font-size: .72rem;
    color: var(--pink);
    font-weight: 900
}

.feature-card h3 {
    font-family: Georgia, serif;
    font-size: 1.55rem;
    margin: 8px 0 12px
}

.feature-card p {
    color: var(--muted);
    margin: 0
}

.about-section {
    position: relative
}

.about-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center
}

.about-copy h2 {
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    margin: 0 0 24px
}

.about-copy p {
    color: var(--muted);
    font-size: 1.06rem
}

.about-copy .button {
    margin-top: 18px
}

.about-visual {
    min-height: 450px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: radial-gradient(circle, rgba(0, 231, 242, .13), transparent 50%), linear-gradient(160deg, var(--surface2), var(--bg));
    box-shadow: var(--shadow)
}

.about-logo {
    text-align: center
}

.about-logo img {
    width: 300px;
    margin: auto
}

.about-logo p {
    color: var(--muted);
    letter-spacing: .08em
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 42px
}

.footer-logo img {
    width: 150px
}

.footer-grid h2 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #fff;
    margin: 10px 0 18px
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: var(--muted);
    font-size: .9rem;
    margin: 0 0 10px
}

.footer-grid a:hover {
    color: var(--cyan)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 22px;
    color: #6f7796;
    font-size: .8rem
}

.game-hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 150px 0 80px;
    overflow: hidden;
    isolation: isolate
}

.game-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2
}

.game-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.42) saturate(1.15)
}

.game-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 7, 18, .98) 0%, rgba(4, 7, 18, .82) 45%, rgba(4, 7, 18, .12) 72%), linear-gradient(0deg, var(--bg), transparent 45%);
    z-index: -1
}

.game-hero-layout {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: end
}

.game-hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 2
}

.game-hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 22px
}

.game-hero-copy>p:not(.eyebrow) {
    font-size: 1.15rem;
    color: #c6cce0;
    max-width: 52ch
}

.game-hero-character {
    height: 600px;
    position: relative
}

.game-hero-character img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .7))
}

.game-page--detective .game-hero-character {
    height: 500px
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(13, 18, 38, .84);
    backdrop-filter: blur(10px);
    transition: .25s
}

.store-button:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 231, 242, .5)
}

.store-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: linear-gradient(145deg, var(--cyan2), var(--pink));
    color: #07101c
}

.store-button small {
    display: block;
    color: var(--muted);
    font-size: .67rem
}

.store-button strong {
    font-size: .95rem
}

.store-button--disabled {
    opacity: .58;
    cursor: not-allowed
}

.split-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.rich-copy p {
    color: #bdc4dc;
    font-size: 1.05rem;
    margin: 0 0 18px
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.features-list li {
    display: flex;
    gap: 20px;
    padding: 25px;
    border: 1px solid var(--line);
    background: rgba(16, 22, 43, .7);
    border-radius: 20px
}

.features-list li>span {
    font-size: .74rem;
    color: var(--pink);
    font-weight: 900
}

.features-list h3 {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 8px
}

.features-list p {
    color: var(--muted);
    margin: 0
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.gallery-grid a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #050817
}

.gallery-grid a:first-child {
    grid-column: 1/-1
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: cover;
    transition: .4s
}

.gallery-grid a:hover img {
    transform: scale(1.025)
}

.faq-list details,
.support-card details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0
}

.faq-list summary,
.support-card summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 1.04rem
}

.faq-list p,
.support-card details p {
    color: var(--muted)
}

.support-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface)
}

.content-page {
    min-height: 70vh
}

.page-hero {
    padding: 190px 0 90px;
    background: radial-gradient(circle at 70% 20%, rgba(0, 231, 242, .12), transparent 30%), linear-gradient(180deg, var(--bg2), var(--bg))
}

.page-hero.full-height {
    min-height: 70vh;
    display: flex;
    align-items: center
}

.page-hero h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
    margin: 0 0 18px
}

.page-hero p {
    color: var(--muted);
    font-size: 1.1rem
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.support-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface)
}

.support-card h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    margin-top: 0
}

.support-card li {
    margin-bottom: 10px;
    color: var(--muted)
}

.support-card .button {
    margin-top: 20px
}

.legal-copy {
    max-width: 860px
}

.legal-copy h2 {
    font-family: Georgia, serif;
    font-size: 1.75rem;
    margin: 42px 0 12px
}

.legal-copy p,
.legal-copy li {
    color: #bbc2d8
}

.legal-copy a {
    color: var(--cyan)
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s, transform .7s
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:980px) {
    .site-nav {
        position: fixed;
        inset: 92px 0 auto;
        background: rgba(7, 10, 25, .98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        padding: 18px 24px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateY(-130%);
        transition: .3s
    }

    .site-nav.open {
        transform: none
    }

    .site-nav>a,
    .nav-dropdown-toggle {
        display: block;
        padding: 14px 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--line)
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        translate: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 5px 15px;
        display: none
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block
    }

    .nav-toggle {
        display: block
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: 760px
    }

    .hero-brand {
        position: absolute;
        left: 40px;
        top: 150px;
        z-index: 5
    }

    .hero-brand img {
        width: 230px
    }

    .hero-collage {
        height: 650px;
        margin-top: 130px
    }

    .games-grid,
    .feature-grid,
    .about-layout,
    .split-layout,
    .support-grid {
        grid-template-columns: 1fr
    }

    .about-layout,
    .split-layout {
        gap: 40px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .game-hero-layout {
        grid-template-columns: 1fr
    }

    .game-hero-character {
        position: absolute;
        right: -12%;
        bottom: 0;
        width: 60%;
        opacity: .5;
        z-index: 0
    }

    .game-hero-copy {
        z-index: 1
    }

    .game-hero::after {
        background: linear-gradient(90deg, rgba(4, 7, 18, .98), rgba(4, 7, 18, .7)), linear-gradient(0deg, var(--bg), transparent 45%)
    }
}

@media(max-width:680px) {
    .container {
        width: min(calc(100% - 28px), var(--max))
    }

    .section {
        padding: 78px 0
    }

    .header-inner {
        height: 78px
    }

    .brand img {
        width: 88px;
        height: 65px
    }

    .site-nav {
        inset: 78px 0 auto
    }

    .home-hero {
        min-height: 780px;
        padding-top: 100px
    }

    .hero-layout {
        min-height: 680px
    }

    .hero-brand {
        left: 24px;
        top: 120px
    }

    .hero-brand img {
        width: 180px
    }

    .hero-collage {
        height: 570px;
        margin-top: 155px
    }

    .hero-shot--one {
        width: 78%;
        right: -6%;
        top: 5%
    }

    .hero-shot--two {
        width: 80%;
        left: -8%;
        top: 34%
    }

    .hero-shot--three {
        width: 78%;
        left: -12%;
        bottom: 2%
    }

    .hero-character {
        height: 92%;
        right: -24%;
        bottom: -7%
    }

    .games-grid {
        gap: 20px
    }

    .game-card-body {
        padding: 24px
    }

    .feature-card {
        grid-template-columns: 1fr
    }

    .feature-card img {
        height: 190px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column
    }

    .game-hero {
        min-height: 700px;
        padding-top: 130px
    }

    .game-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.6rem)
    }

    .game-hero-character {
        width: 90%;
        right: -40%;
        opacity: .42
    }

    .store-row {
        flex-direction: column;
        align-items: stretch
    }

    .store-button {
        width: 100%
    }

    .features-list,
    .gallery-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid a:first-child {
        grid-column: auto
    }

    .support-cta {
        flex-direction: column;
        align-items: flex-start
    }

    .page-hero {
        padding: 150px 0 70px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* =========================================================
   РУЧНАЯ НАСТРОЙКА HERO-БЛОКА — КОМПЬЮТЕР
   ========================================================= */

@media (min-width: 981px) {

    /* Весь логотип слева */
    .hero-brand {
        position: relative;

        /* Положительное значение — вправо */
        left: -25%;

        /* Положительное значение — вниз */
        top: -10%;
    }

    /* Размер логотипа */
    .hero-brand img {
        width: 360px;
    }

    /* Вся композиция справа целиком */
    .hero-collage {
        position: relative;

        /* Сдвиг всей композиции вправо */
        left: 20%;

        /* Сдвиг всей композиции вниз */
        top: 4%;

        /* Общая высота области с изображениями */
        height: 1000px;
    }

    /* Верхний скриншот */
    .hero-shot--one {
        width: 75%;
        right: 50%;
        top: 1%;
    }

    /* Центральный скриншот */
    .hero-shot--two {
        width: 75%;
        left: -34%;
        top: 30%;
    }

    /* Нижний скриншот */
    .hero-shot--three {
        width: 75%;
        left: -45%;
        bottom: 6%;
    }

    /* Венди */
    .hero-character {
        height: 98%;
        right: -5%;
        bottom: 5%;
    }
}