:root {
    --bg-dark: #090a0f;
    --bg-card: rgba(22, 24, 34, 0.72);
    --red-main: #ff2442;
    --red-coral: #ff4b3a;
    --red-glow: rgba(255, 36, 66, 0.55);
    --amber-glow: rgba(255, 115, 36, 0.14);
    --violet-glow: rgba(145, 45, 255, 0.11);
    --lime-accent: #b4ff00;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.68);
    --glass-border: rgba(255, 255, 255, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

/* ЗАЩИТА ОТ КОПИРОВАНИЯ И ПЕРЕТАСКИВАНИЯ */
.no-select,
img,
video,
a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   ВЕРХНЯЯ ПАНЕЛЬ (Чистое адаптивное стекло без лишних градиентов)
   ========================================== */
.header {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    transition: top 0.35s ease;
}

.header.scrolled {
    top: 10px;
}

.header__container {
    max-width: 1320px;
    margin: 0 auto;
    height: 72px;
    padding: 0 22px;
    border-radius: 18px;
    background: rgba(20, 22, 30, 0.48);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
}

.header__divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.18);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: auto;
}

.header__link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 24px 0;
    transition: color 0.25s ease;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--red-main);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__link:hover,
.header__link.active {
    color: #fff;
}

.header__link:hover::after,
.header__link.active::after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Кнопки соцсетей без неона при наведении */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.header__mobile-actions {
    display: none;
}

/* КНОПКИ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn--header {
    padding: 11px 20px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(95deg, var(--red-main) 0%, var(--red-coral) 100%);
    box-shadow: 0 6px 20px rgba(255, 36, 66, 0.35);
}

.btn--header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 36, 66, 0.55);
}

.btn--lg {
    padding: 17px 34px;
    font-size: 16px;
    border-radius: 50px;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(95deg, var(--red-main) 0%, var(--red-coral) 100%);
    box-shadow: 0 10px 30px rgba(255, 36, 66, 0.42);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(255, 36, 66, 0.65);
}

.btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

/* БУРГЕР (3 ПОЛОСКИ НА МОБИЛКАХ) */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition-smooth);
}

.burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.burger.active {
    background: rgba(255, 36, 66, 0.2);
    border-color: var(--red-main);
}

.burger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 110px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Плавное затемнение книзу в #090a0f без резкой границы и без лишнего градиента сверху */
.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 10, 15, 0.28) 0%,
        rgba(9, 10, 15, 0.62) 60%,
        rgba(9, 10, 15, 0.94) 86%,
        #090a0f 100%
    );
}

/* Угловые красные лучи как на 1-м скрине */
.hero__corner {
    position: absolute;
    top: -40px;
    width: 260px;
    height: 140px;
    background: var(--red-main);
    filter: blur(2px);
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 50px var(--red-glow);
}

.hero__corner--left {
    left: -90px;
    transform: rotate(28deg);
    clip-path: polygon(0 0, 100% 45%, 0 100%);
}

.hero__corner--right {
    right: -90px;
    transform: rotate(-28deg);
    clip-path: polygon(100% 0, 0 45%, 100% 100%);
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}

/* Место для изображения калаша / оружия */
.hero__weapon {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
}

.hero__weapon-img {
    height: 54px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}

.hero__title {
    font-size: clamp(44px, 6vw, 82px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

/* Чистый красный цвет для слова ASIA без градиента и без неона */
.text-red-solid {
    color: var(--red-main);
}

.hero__subtitle {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    margin-bottom: 16px;
}

.hero__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Правая часть с машиной и красным неоновым сиянием */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero__car-glow {
    position: absolute;
    width: 78%;
    height: 68%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 30, 60, 0.68) 0%, rgba(255, 80, 40, 0.28) 48%, transparent 72%);
    filter: blur(42px);
    z-index: 0;
    pointer-events: none;
}

.hero__car-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 28px rgba(255, 36, 66, 0.35));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* ==========================================
   СЕКЦИЯ ГАЛЕРЕИ (Бесшовные градиентные переходы)
   ========================================== */
.gallery-section {
    position: relative;
    padding: 90px 0 100px;
    /* Верхний слой — плавная растушёвка краёв секции в #090a0f, чтобы не было линий стыка */
    background:
        linear-gradient(180deg, #090a0f 0%, transparent 22%, transparent 78%, #090a0f 100%),
        radial-gradient(circle at 18% 45%, var(--violet-glow) 0%, transparent 48%),
        radial-gradient(circle at 82% 55%, rgba(255, 36, 66, 0.13) 0%, transparent 50%),
        radial-gradient(circle at 50% 65%, var(--amber-glow) 0%, transparent 48%),
        #090a0f;
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-caption {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 8px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

/* Кнопки слайдера без неонового свечения при наведении */
.slider-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.gallery-slider-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Карточка галереи: строгий 16:9, отображает ПОЛНОЕ фото/видео без обрезки кусков */
.gallery-card {
    flex: 0 0 calc(68% - 12px);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #12141f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
    border-color: rgba(255, 59, 78, 0.55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 36, 66, 0.18);
}

.gallery-card__inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-card__backdrop {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    filter: blur(24px) brightness(0.45);
    z-index: 0;
    pointer-events: none;
}

.gallery-card__media {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card__media {
    transform: scale(1.02);
}

.gallery-card__badge,
.gallery-card__play {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(12, 14, 20, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card__badge,
.gallery-card:hover .gallery-card__play {
    background: var(--red-main);
    border-color: var(--red-main);
    box-shadow: 0 0 20px var(--red-glow);
    transform: scale(1.08);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    width: 34px;
    background: linear-gradient(90deg, var(--red-main), var(--red-coral));
    box-shadow: 0 0 12px var(--red-glow);
}

/* ==========================================
   СЕКЦИЯ "КАК НАЧАТЬ ИГРУ?" (Бесшовный переход)
   ========================================== */
.start-section {
    position: relative;
    padding: 90px 0 120px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #090a0f 0%, transparent 22%, transparent 80%, #07080c 100%),
        radial-gradient(circle at 78% 52%, rgba(255, 42, 75, 0.16) 0%, transparent 48%),
        radial-gradient(circle at 22% 65%, rgba(255, 136, 0, 0.09) 0%, transparent 45%),
        #090a0f;
}

.start__container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.start__sub-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 18px 0 36px;
}

.start__sub-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
}

.free-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(90deg, #b8ff01 0%, #89e900 100%);
    color: #0c1200;
    font-weight: 800;
    font-size: 15px;
    transform: rotate(-1.5deg);
    box-shadow: 0 8px 25px rgba(184, 255, 1, 0.28);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 38px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 42, 75, 0.4);
    transform: translateX(8px);
}

.step-item__num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-main), var(--red-coral));
    box-shadow: 0 0 16px var(--red-glow);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.step-item__text strong {
    color: #fff;
}

.start__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.btn--android {
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(95deg, var(--red-main) 0%, var(--red-coral) 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(255, 36, 66, 0.45);
    gap: 14px;
}

.btn--android:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 36, 66, 0.65);
}

.btn--android__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn--android__title {
    font-size: 17px;
    font-weight: 800;
}

.btn--android__sub {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
}

.btn--glass-outline {
    padding: 20px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
}

.btn--glass-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Правая часть секции: летающие скрины + персонаж */
.start__right {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.start__ambient-glow {
    position: absolute;
    width: 75%;
    height: 75%;
    bottom: 5%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 36, 66, 0.38) 0%, rgba(255, 115, 0, 0.15) 50%, transparent 72%);
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
}

.floating-screens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
    pointer-events: none;
}

.screen-card {
    position: absolute;
    width: 56%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
    background: #161822;
}

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

.screen-card--1 {
    top: 0;
    left: 2%;
    transform: rotate(-7deg);
}

.screen-card--2 {
    top: 16%;
    right: 0;
    transform: rotate(6deg);
}

.character-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.character-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.8));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   ПОДВАЛ (FOOTER)
   ========================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px 0;
    background: #07080c;
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__logo {
    height: 36px;
    width: auto;
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.footer__links a,
.footer__policy-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.25s ease;
}

.footer__links a:hover,
.footer__policy-btn:hover {
    color: #fff;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

/* ==========================================
   МОДАЛКА ПОЛИТИКИ И ЛАЙТБОКС ГАЛЕРЕИ
   ========================================== */
.modal,
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal.active,
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.modal__backdrop,
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 10, 0.82);
    backdrop-filter: blur(12px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    background: #131520;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(24px) scale(0.96);
    transition: var(--transition-smooth);
}

.modal.active .modal__dialog {
    transform: translateY(0) scale(1);
}

.modal__header {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal__header h3 {
    font-size: 18px;
    font-weight: 800;
}

.modal__close,
.lightbox__close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.modal__close:hover,
.lightbox__close:hover {
    background: var(--red-main);
}

.modal__body {
    padding: 24px 28px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

.modal__body h4 {
    color: #fff;
    margin: 16px 0 6px;
    font-size: 15px;
}

.modal__body h4:first-child {
    margin-top: 0;
}

.modal__body a {
    color: var(--red-coral);
}

.lightbox__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
}

.lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
}

.lightbox__media-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__media-box img,
.lightbox__media-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================
   ПЛАВНЫЕ АНИМАЦИИ ПОЯВЛЕНИЯ
   ========================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-45px);
}

.reveal-right {
    transform: translateX(45px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================
   АДАПТИВ ПОД ПЛАНШЕТЫ И МОБИЛКИ
   ========================================== */
@media (max-width: 1024px) {
    .hero__container,
    .start__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__weapon {
        justify-content: center;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons,
    .start__sub-row,
    .start__actions {
        justify-content: center;
    }

    .step-item {
        text-align: left;
    }

    .gallery-card {
        flex: 0 0 88%;
    }
}

@media (max-width: 860px) {
    .header__divider,
    .header__actions {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 86px;
        left: 20px;
        right: 20px;
        background: rgba(16, 18, 26, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 20px;
        padding: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px) scale(0.97);
        transition: var(--transition-smooth);
    }

    .header__nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .header__link {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 16px;
    }

    .header__link::after {
        display: none;
    }

    .header__link.active,
    .header__link:hover {
        background: rgba(255, 36, 66, 0.15);
        color: var(--red-coral);
    }

    .header__mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 118px 0 60px;
    }

    .gallery-card {
        flex: 0 0 100%;
        border-radius: 16px;
    }

    .gallery-card__badge,
    .gallery-card__play {
        width: 42px;
        height: 42px;
        top: 12px;
        left: 12px;
    }

    .step-item {
        border-radius: 22px;
        padding: 18px 20px;
    }

    .btn--android,
    .btn--glass-outline,
    .hero__buttons .btn {
        width: 100%;
    }

    .start__right {
        min-height: 360px;
    }
}