:root {
    --sat: env(safe-area-inset-top);
    --sab: env(safe-area-inset-bottom);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif;
    background-color: #000000;
    color: #ffffff;
    letter-spacing: -0.01em;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
}

/* ============================== */
/* FLOW SIGNATURE AMBIENT & HEADER */
/* ============================== */
#flow-cursor-glow {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 480px;
    height: 480px;
    margin: -240px 0 0 -240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.018) 38%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.35s ease;
    will-change: transform, opacity;
}

#landing-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

#landing-header.scrolled {
    background: rgba(6, 7, 9, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

#landing-scroll-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1.5px;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 3;
}

@property --ba {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes flowBorderSpin {
    to {
        --ba: 360deg;
    }
}

.flow-nav-pill {
    position: relative;
    border-radius: 9999px;
    background: rgba(14, 15, 17, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transform: translateZ(0);
}

.flow-nav-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(from var(--ba), transparent 0 60%, rgba(255, 255, 255, 0.65) 74%, transparent 88%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: flowBorderSpin 6s linear infinite;
    will-change: transform;
}

.flow-nav-ind {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 16px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.28s cubic-bezier(.22, 1.25, .36, 1), width 0.24s cubic-bezier(.22, 1, .36, 1), opacity 0.18s ease;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

.flow-nav-ind::after {
    content: '';
    position: absolute;
    left: 28%;
    right: 28%;
    bottom: -1px;
    height: 1.5px;
    border-radius: 1px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
}

/* ============================== */
/* HERO HORIZON & FLUTED RAYS     */
/* ============================== */
@keyframes flowHorizonBreathe {
    0%, 100% {
        opacity: 0.85;
        transform: translate3d(-50%, 0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate3d(-50%, -6px, 0) scale(1.03);
    }
}

@keyframes flowEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flow-horizon-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.flow-hero-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 74% 58% at 50% 34%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.045) 45%, transparent 78%);
    pointer-events: none;
}

.flow-horizon-arc {
    position: absolute;
    left: 50%;
    top: 18%;
    width: 1480px;
    max-width: 195vw;
    transform: translate3d(-50%, 0, 0);
    mix-blend-mode: screen;
    animation: flowHorizonBreathe 9s cubic-bezier(.22, 1, .36, 1) infinite;
    will-change: transform, opacity;
}

.flow-fluted-rays {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0px,
        rgba(255, 255, 255, 0.032) 1px,
        rgba(255, 255, 255, 0) 48px
    );
    mask-image: radial-gradient(ellipse 84% 72% at 50% 36%, #000 14%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 84% 72% at 50% 36%, #000 14%, transparent 80%);
}

.flow-hero-title {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.62) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 24px 80px rgba(255, 255, 255, 0.12);
}

.flow-hero-in {
    animation: flowEnter 0.72s cubic-bezier(.22, 1, .36, 1) both;
}

/* ============================== */
/* INTERACTIVE CHARACTER STAGE    */
/* ============================== */
.mirovye-stage-shell {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
}

.mirovye-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 765;
    border-radius: 32px;
    overflow: visible;
    cursor: pointer;
    isolation: isolate;
}

/* Subtle floor reflection & seamless obsidian fade at edges */
.mirovye-stage-backdrop {
    position: absolute;
    inset: -2% -4% 0 -4%;
    background:
        radial-gradient(62% 52% at 50% 56%, rgba(255, 255, 255, 0.065) 0%, transparent 72%),
        radial-gradient(75% 18% at 50% 93%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 48%, transparent 76%);
    pointer-events: none;
    z-index: 1;
}

/* Dynamic character spotlight column behind active person */
.mirovye-char-beam {
    position: absolute;
    top: -12%;
    bottom: 4%;
    width: 34%;
    left: 50%;
    transform: translate3d(-50%, 0, 0) scale(0.92);
    border-radius: 50%;
    background: radial-gradient(
        ellipse 52% 62% at 50% 52%,
        rgba(var(--beam-rgb, 255, 255, 255), 0.24) 0%,
        rgba(var(--beam-rgb, 255, 255, 255), 0.07) 45%,
        transparent 74%
    );
    filter: blur(26px);
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    transition: left 0.42s cubic-bezier(.22, 1, .36, 1), opacity 0.34s ease, transform 0.42s cubic-bezier(.22, 1, .36, 1);
}

.mirovye-char-beam.active {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1.06);
}

.char-layer-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition:
        transform 0.42s cubic-bezier(.22, 1, .36, 1),
        filter 0.36s cubic-bezier(.22, 1, .36, 1),
        opacity 0.36s ease;
    will-change: transform, filter;
}

.char-layer-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    transition: filter 0.36s cubic-bezier(.22, 1, .36, 1);
}

/* Idle state z-index ordering (dog sits in front of legs) */
.char-layer-wrap[data-char="ruslan"] { z-index: 11; }
.char-layer-wrap[data-char="sasha"] { z-index: 12; }
.char-layer-wrap[data-char="ilya"] { z-index: 13; }
.char-layer-wrap[data-char="kostya"] { z-index: 14; }
.char-layer-wrap[data-char="dog"] { z-index: 20; }

/* When stage has an active hovered/selected character */
.mirovye-stage.has-active .char-layer-wrap:not(.is-active) {
    filter: brightness(0.36) saturate(0.72) contrast(0.96);
    transform: scale(0.988);
}

/* Active character scales up smoothly & lights up with contour halo */
.mirovye-stage.has-active .char-layer-wrap.is-active {
    z-index: 24;
    transform: scale(1.078) translate3d(0, -1%, 0);
}

/* Keep dog visually in front of Ilya/Sasha shins when Ilya/Sasha is active, unless dog itself is active */
.mirovye-stage.has-active[data-active="dog"] .char-layer-wrap[data-char="dog"] {
    z-index: 32;
    transform: scale(1.13) translate3d(0, -1.4%, 0);
}

.mirovye-stage.has-active:not([data-active="dog"]) .char-layer-wrap[data-char="dog"] {
    z-index: 26;
}

.char-layer-wrap.is-active .char-layer-img {
    filter:
        brightness(1.12)
        contrast(1.06)
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.42))
        drop-shadow(0 0 38px rgba(var(--char-rgb, 255, 255, 255), 0.38));
}

/* Soft bottom vignette into pure black Flow ground */
.mirovye-stage-floor-fade {
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: -2%;
    height: 18%;
    background: linear-gradient(to top, #000000 18%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
    pointer-events: none;
    z-index: 28;
}

/* Floating Dossier HUD on Hover */
.mirovye-hud {
    position: absolute;
    top: 14%;
    width: 320px;
    max-width: calc(100% - 24px);
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.96);
    transition:
        opacity 0.28s cubic-bezier(.22, 1, .36, 1),
        transform 0.34s cubic-bezier(.22, 1, .36, 1),
        left 0.35s cubic-bezier(.22, 1, .36, 1),
        right 0.35s cubic-bezier(.22, 1, .36, 1);
}

.mirovye-hud.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.mirovye-hud[data-side="left"] {
    left: 2%;
    right: auto;
}

.mirovye-hud[data-side="right"] {
    right: 2%;
    left: auto;
}

@media (min-width: 1180px) {
    .mirovye-hud {
        width: 300px;
        top: 15%;
    }
    .mirovye-hud[data-side="left"] {
        left: -16%;
    }
    .mirovye-hud[data-side="right"] {
        right: -16%;
    }
}

.mirovye-hud-card {
    position: relative;
    border-radius: 26px;
    padding: 20px 22px;
    background: rgba(10, 10, 14, 0.84);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.88),
        0 0 40px rgba(var(--hud-rgb, 255, 255, 255), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.mirovye-hud-card::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(var(--hud-rgb, 255, 255, 255), 0.35) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gta-stat-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.gta-stat-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), #ffffff);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transition: width 0.45s cubic-bezier(.22, 1, .36, 1);
}

/* ============================== */
/* FLOW BENTO CARDS & REVEALS     */
/* ============================== */
.flow-bento-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.065) 0%, rgba(12, 12, 14, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    transition: border-color 0.25s cubic-bezier(.22, 1, .36, 1), transform 0.25s cubic-bezier(.22, 1, .36, 1), box-shadow 0.25s cubic-bezier(.22, 1, .36, 1);
}

.flow-bento-card > * {
    position: relative;
    z-index: 1;
}

.flow-bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(255, 255, 255, 0.085), transparent 46%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.flow-bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    z-index: 2;
    background: radial-gradient(280px circle at var(--x, 50%) var(--y, 0%), rgba(255, 255, 255, 0.55), transparent 52%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.flow-bento-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.flow-bento-card:hover::before,
.flow-bento-card:hover::after {
    opacity: 1;
}

.flow-bento-card.is-selected {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.7), 0 0 36px rgba(255, 255, 255, 0.07);
}

.flow-reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.975);
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.flow-d1 { transition-delay: 90ms; }
.flow-d2 { transition-delay: 180ms; }
.flow-d3 { transition-delay: 270ms; }
.flow-d4 { transition-delay: 360ms; }

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

/* FAQ Accordion */
.flow-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-faq-ans {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(.22, 1, .36, 1);
}

.flow-faq-item.open .flow-faq-ans {
    grid-template-rows: 1fr;
}

.flow-faq-inner {
    overflow: hidden;
    min-height: 0;
}

.flow-faq-chev {
    transition: transform 0.22s cubic-bezier(.22, 1, .36, 1);
}

.flow-faq-item.open .flow-faq-chev {
    transform: rotate(180deg);
}

/* Dossier Modal (like Flow auth-modal-backdrop) */
#dossier-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px;
}

#dossier-modal-backdrop.open {
    display: flex;
}

@keyframes flowModalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#dossier-modal-backdrop.open #dossier-card {
    animation: flowModalIn 0.28s cubic-bezier(.22, 1, .36, 1) both;
}

#dossier-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0a0a0c 0%, #000000 100%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
}

#dossier-card::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    z-index: 2;
    background: conic-gradient(from var(--ba, 0deg), rgba(255, 255, 255, 0.06) 0deg, rgba(255, 255, 255, 0.06) 65deg, rgba(255, 255, 255, 0.65) 92deg, rgba(255, 255, 255, 0.12) 128deg, rgba(255, 255, 255, 0.06) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    animation: flowBorderSpin 8s linear infinite;
}

/* Equalizer bars animation on sound hover pulse */
.eq-bar {
    width: 2.5px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.15s ease;
}

@keyframes eqBeat {
    0% { transform: scaleY(0.5); }
    40% { transform: scaleY(1.45); }
    100% { transform: scaleY(0.75); }
}

#sound-toggle-btn.is-pulsing .eq-bar:nth-child(1) { animation: eqBeat 0.34s ease; }
#sound-toggle-btn.is-pulsing .eq-bar:nth-child(2) { animation: eqBeat 0.34s ease 0.05s; }
#sound-toggle-btn.is-pulsing .eq-bar:nth-child(3) { animation: eqBeat 0.34s ease 0.1s; }

/* Responsive floating HUD docks beneath stage on mobile/tablets */
@media (max-width: 900px) {
    .mirovye-hud {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
        transform: translate3d(0, 8px, 0);
    }
    .mirovye-hud.visible {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .flow-horizon-arc { animation: none; }
}

/* ============================== */
/* PER-CHARACTER SCENE FX LAYER   */
/* ============================== */
.mirovye-scene-fx {
    position: absolute;
    inset: -6% -12% 0 -12%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(ellipse 88% 86% at 50% 54%, #000 56%, transparent 98%);
    mask-image: radial-gradient(ellipse 88% 86% at 50% 54%, #000 56%, transparent 98%);
}

.scene-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.45s cubic-bezier(.22, 1, .36, 1), transform 0.55s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.scene-layer.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* --- 1. РУСЛАН: МОСКВА-СИТИ + СОЛНЦЕ + MOSCOW MOSCOW FLOW FLOW --- */
.ruslan-sky-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 68% 54% at 48% 58%, rgba(251, 146, 60, 0.24) 0%, rgba(245, 158, 11, 0.08) 42%, transparent 74%),
        radial-gradient(ellipse 52% 40% at 30% 45%, rgba(167, 243, 208, 0.1) 0%, transparent 70%);
}

.ruslan-sun-wrap {
    position: absolute;
    left: 50%;
    top: 22%;
    width: 34%;
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
    pointer-events: none;
}

.ruslan-sun {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg, #fffbeb 0%, #fde047 26%, #fb923c 64%, #ea580c 100%);
    box-shadow: 0 0 70px rgba(251, 146, 60, 0.55), 0 0 130px rgba(245, 158, 11, 0.28);
    overflow: hidden;
    opacity: 0.88;
}

.sun-slice {
    position: absolute;
    left: -5%;
    right: -5%;
    background: #070709;
    opacity: 0.78;
}

.ruslan-slogan {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.ruslan-slogan-main {
    font-size: clamp(1rem, 2.7vw, 2.05rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #fde68a 60%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 18px rgba(251, 146, 60, 0.45));
}

.ruslan-slogan-sub {
    font-size: clamp(0.65rem, 1.3vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 4px;
    text-shadow: 0 0 16px rgba(253, 224, 71, 0.55);
}

.ruslan-city-svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
    width: 100%;
    height: 62%;
    z-index: 3;
}

@keyframes cityBlink {
    0%, 100% { opacity: 0.92; }
    50% { opacity: 0.45; }
}

.city-lights {
    animation: cityBlink 3.6s ease-in-out infinite;
}

/* --- 2. САША: АРМИЯ (СОЛДАТЫ, ТАНКИ, ВЕРТОЛЁТЫ, ИСТРЕБИТЕЛИ, ПРОЖЕКТОРЫ) --- */
.sasha-tactical-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 68% 50% at 46% 62%, rgba(253, 224, 71, 0.16) 0%, rgba(234, 88, 12, 0.08) 45%, transparent 74%),
        radial-gradient(ellipse 80% 30% at 50% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

@keyframes beamSweep1 {
    0%, 100% { transform: rotate(-22deg); }
    50% { transform: rotate(-8deg); }
}

@keyframes beamSweep2 {
    0%, 100% { transform: rotate(22deg); }
    50% { transform: rotate(6deg); }
}

.sasha-searchlight {
    position: absolute;
    bottom: 10%;
    width: 11%;
    height: 92%;
    transform-origin: bottom center;
    background: linear-gradient(to top, rgba(253, 224, 71, 0.24) 0%, rgba(255, 255, 255, 0.07) 48%, transparent 96%);
    clip-path: polygon(44% 100%, 56% 100%, 100% 0%, 0% 0%);
    filter: blur(4px);
}

.sasha-beam-1 { left: 16%; animation: beamSweep1 5.2s ease-in-out infinite; }
.sasha-beam-2 { left: 45%; opacity: 0.7; transform: rotate(4deg); }
.sasha-beam-3 { right: 16%; animation: beamSweep2 4.8s ease-in-out infinite; }

.sasha-air-svg {
    position: absolute;
    top: 4%;
    left: 0;
    width: 100%;
    height: 55%;
}

.sasha-ground-svg {
    position: absolute;
    bottom: 6%;
    left: 0;
    width: 100%;
    height: 44%;
}

@keyframes rotorSpin {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(0.2); opacity: 0.25; }
}

.heli-rotor {
    transform-box: fill-box;
    transform-origin: center;
    animation: rotorSpin 0.14s linear infinite;
}

@keyframes heliHover {
    0%, 100% { transform: translate(245px, 148px); }
    50% { transform: translate(245px, 140px); }
}

@keyframes heliHover2 {
    0%, 100% { transform: translate(768px, 134px); }
    50% { transform: translate(768px, 142px); }
}

.sasha-heli-1 { animation: heliHover 3.4s ease-in-out infinite; }
.sasha-heli-2 { animation: heliHover2 3.8s ease-in-out infinite; }

/* --- 3. ИЛЬЯ: ШЕСТ, PLAYBOY, СТРИПТИЗ-КЛУБ, ЗАЖИГАЛКА, ГЕНДЕРЫ --- */
.ilya-club-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 56% 52% at 62% 48%, rgba(236, 72, 153, 0.22) 0%, rgba(168, 85, 247, 0.1) 46%, transparent 74%),
        radial-gradient(ellipse 40% 34% at 32% 35%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.ilya-pole-wrap {
    position: absolute;
    left: 61%;
    top: 2%;
    bottom: 6%;
    width: 80px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ilya-pole {
    position: relative;
    width: 9px;
    flex: 1;
    border-radius: 999px;
    background: linear-gradient(90deg, #52525b 0%, #ffffff 35%, #a1a1aa 65%, #ffffff 90%, #3f3f46 100%);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.42), 0 0 42px rgba(244, 114, 182, 0.35);
    overflow: hidden;
}

@keyframes poleSheen {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(350%); }
}

.ilya-pole-sheen {
    position: absolute;
    left: 0;
    right: 0;
    height: 28%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95), rgba(244, 114, 182, 0.7), transparent);
    animation: poleSheen 2.4s linear infinite;
}

.ilya-pole-stage-ring {
    width: 96px;
    height: 18px;
    border-radius: 50%;
    margin-top: -6px;
    border: 2px solid rgba(244, 114, 182, 0.75);
    background: radial-gradient(ellipse at center, rgba(244, 114, 182, 0.35), transparent 72%);
    box-shadow: 0 0 26px rgba(244, 114, 182, 0.55);
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.7; }
}

.ilya-club-sign {
    position: absolute;
    left: 14%;
    top: 16%;
    animation: neonFlicker 5s infinite;
}

.ilya-club-sign-inner {
    padding: 9px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(244, 114, 182, 0.85);
    background: rgba(24, 8, 22, 0.72);
    box-shadow: 0 0 24px rgba(236, 72, 153, 0.45), inset 0 0 14px rgba(236, 72, 153, 0.22);
}

.ilya-playboy-wrap {
    position: absolute;
    right: 17%;
    top: 13%;
    width: 11%;
    min-width: 68px;
    filter: drop-shadow(0 0 18px rgba(244, 114, 182, 0.75));
    animation: floatIcon 4s ease-in-out infinite;
}

.ilya-playboy-svg {
    width: 100%;
    height: auto;
}

.ilya-lighter-wrap {
    position: absolute;
    left: 17%;
    bottom: 18%;
    width: 10%;
    min-width: 60px;
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.55));
    animation: floatIcon 4.6s ease-in-out infinite reverse;
}

.ilya-lighter-svg {
    width: 100%;
    height: auto;
}

@keyframes flameFlicker {
    0%, 100% { transform: scaleY(1) skewX(0deg); }
    25% { transform: scaleY(1.08) skewX(-3deg); }
    50% { transform: scaleY(0.93) skewX(3deg); }
    75% { transform: scaleY(1.05) skewX(-2deg); }
}

.ilya-flame {
    transform-origin: 55px 56px;
    animation: flameFlicker 0.38s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-9px) rotate(3deg); }
}

.ilya-genders .gender-icon {
    position: absolute;
    width: 5.8%;
    min-width: 36px;
}

.ilya-genders .g-female {
    right: 16%;
    bottom: 24%;
    filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.85));
    animation: floatIcon 3.8s ease-in-out infinite;
}

.ilya-genders .g-male {
    left: 29%;
    top: 38%;
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.85));
    animation: floatIcon 4.2s ease-in-out infinite 0.5s;
}

.ilya-genders .g-trans {
    right: 26%;
    top: 34%;
    filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.85));
    animation: floatIcon 4.5s ease-in-out infinite 0.9s;
}

/* --- 4. КОСТЯ: СМЕРЧ + ЗАСАСЫВАЕМЫЕ ДОМА, МАШИНЫ, ДЕРЕВЬЯ --- */
.kostya-storm-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 58% at 72% 48%, rgba(125, 211, 252, 0.2) 0%, rgba(56, 189, 248, 0.08) 46%, transparent 74%);
}

.kostya-tornado-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* --- 5. БУЛЬДОГ: ОРЕОЛ ХРАНИТЕЛЯ --- */
.dog-guardian-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 42% 38% at 53% 76%, rgba(251, 146, 60, 0.25) 0%, rgba(253, 224, 71, 0.09) 46%, transparent 74%);
}

