@font-face {
    font-family: 'BlackSyncFont';
    src: url('blacksync.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'BlackSyncFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --bg-base: #09090b;       
    --surface: rgba(20, 18, 26, 0.75); 
    --surface-solid: #18181b;
    --border-light: rgba(255, 255, 255, 0.1);
    --brand: #a548ff;         
    --brand-glow: rgba(165, 72, 255, 0.6);
    --brand-dark: #7a2acc;
    --brand-light: #c084fc;
    --text-h1: #ffffff;
    --text-p: #a1a1aa;
}

body {
    background-color: var(--bg-base);
    color: var(--text-h1);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    padding-top: 110px;
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #060608;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(150% at 50% 50%);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.5s ease;
}
#preloader.preloader-animate { clip-path: circle(0% at 50% 50%); }
#preloader.preloader-hidden { visibility: hidden; pointer-events: none; }

.loader-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.loader-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 25px rgba(165, 72, 255, 0.5);
}
.loader-title span { color: var(--brand); margin: 0; padding: 0; }

/* Курсор */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 24px; height: 28px;
    pointer-events: none;
    z-index: 1000000;
    transform: translate3d(0, 0, 0);
    transition: transform 0.12s ease-out;
    filter: drop-shadow(0 0 6px rgba(165, 72, 255, 0.7));
    will-change: left, top, transform;
}
.custom-cursor svg { width: 24px !important; height: 28px !important; display: block; }
.cursor-arrow-body {
    fill: rgba(25, 20, 35, 0.85);
    stroke: url(#neon-stroke);
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.cursor-hover .custom-cursor {
    transform: scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 0 10px #a548ff);
}
.cursor-hover .cursor-arrow-body { fill: rgba(165, 72, 255, 0.4); stroke: #ffffff; }

#trail-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 99998;
}

/* Фон */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}
.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.35;
    animation: float 18s infinite alternate ease-in-out;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.circle-1 { width: 450px; height: 450px; background: rgba(165, 72, 255, 0.14); top: -10%; left: -10%; }
.circle-2 { width: 500px; height: 500px; background: rgba(122, 42, 204, 0.12); bottom: -20%; right: -10%; animation-delay: -4s; animation-duration: 22s; }
.circle-3 { width: 350px; height: 350px; background: rgba(165, 72, 255, 0.12); top: 40%; left: 50%; animation-delay: -8s; animation-duration: 20s; }

@keyframes float {
    0% { transform: translate3d(0px, 0px, 0) scale(1); }
    50% { transform: translate3d(40px, -30px, 0) scale(1.04); }
    100% { transform: translate3d(20px, 40px, 0) scale(1.08); }
}

/* Бегущие строки на фоне */
.marquee-container-wrapper {
    position: absolute;
    left: 0; width: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    contain: paint layout;
}
.bg-kinetic-hero { top: 150px; transform: rotate(-2.5deg) scale(1.05); display: flex; flex-direction: column; gap: 12px; }
.bg-kinetic-features { top: 14%; transform: translateY(-50%) rotate(3.5deg) scale(1.05); display: flex; flex-direction: column; gap: 24px; }
.kinetic-row { 
    display: flex; 
    width: max-content; 
    white-space: nowrap; 
    will-change: transform; 
    transform: translate3d(0, 0, 0); 
}
.kinetic-row span {
    font-size: clamp(4.5rem, 7.5vw, 7.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 16px;
    display: inline-block;
    padding-right: 50px;
    line-height: 1.1;
    color: transparent !important;
    user-select: none;
}
.row-accent span { -webkit-text-stroke: 1.2px rgba(192, 132, 252, 0.35); }
.row-dim span { -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); }

.scroll-left { animation: move-left 35s linear infinite; }
.scroll-right { animation: move-right 35s linear infinite; }

@keyframes move-left { 
    0% { transform: translate3d(0, 0, 0); } 
    100% { transform: translate3d(-50%, 0, 0); } 
}
@keyframes move-right { 
    0% { transform: translate3d(-50%, 0, 0); } 
    100% { transform: translate3d(0, 0, 0); } 
}

/* Контейнер */
.container { max-width: 1260px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* ШАПКА */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    max-width: calc(100% - 40px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 24px;
    background: rgba(18, 16, 26, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-h1);
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 4px;
    margin-right: 10px;
}
.nav-brand img { height: 32px; width: auto; object-fit: contain; display: block; }
.brand-text-block {
    display: inline-flex;
    align-items: center;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    -webkit-text-stroke: 0.6px currentColor;
}
.brand-black { color: #ffffff; }
.brand-sync { 
    color: var(--brand); 
    text-shadow: 0 0 12px var(--brand-glow); 
    margin-left: 0; 
    padding-left: 0; 
}

/* Пункты меню */
.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}
.nav-link-btn {
    color: var(--text-p);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.nav-link-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.nav-link-btn.active {
    color: #ffffff;
    background: rgba(165, 72, 255, 0.2);
    border-color: rgba(165, 72, 255, 0.5);
    box-shadow: 0 0 12px rgba(165, 72, 255, 0.3);
}

/* Правый блок навигации */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 10px;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-icon-btn svg { width: 17px !important; height: 17px !important; fill: currentColor; }
.nav-icon-btn:hover {
    color: #ffffff;
    border-color: var(--brand);
    background: rgba(165, 72, 255, 0.25);
    box-shadow: 0 0 14px var(--brand-glow);
    transform: translateY(-2px);
}

.action-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 2px 6px;
    transition: all 0.2s ease;
}
.action-pill:hover {
    background: rgba(165, 72, 255, 0.2);
    border-color: var(--brand);
    box-shadow: 0 0 14px var(--brand-glow);
    transform: translateY(-2px);
}

.profile-pill-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    height: 34px;
    padding: 0 6px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none;
}
.profile-pill-btn svg { stroke: #ffffff !important; }

.nav-cta-btn {
    background: #ffffff;
    color: #09090b;
    padding: 0 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    border: none;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}
.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.4), 0 0 24px var(--brand-glow);
}

/* Hero */
.hero-section-wrapper { position: relative; width: 100%; overflow: hidden; padding-bottom: 90px; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 90px 0 50px 0; position: relative; z-index: 2; }
.status-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px; border-radius: 50px;
    background: rgba(165, 72, 255, 0.08); border: 1px solid rgba(165, 72, 255, 0.3);
    font-size: 13px; color: #d8b4fe; margin-bottom: 24px; letter-spacing: 0.5px;
    transition: all 0.25s ease;
}
.status-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(165, 72, 255, 0.6);
    box-shadow: 0 0 18px rgba(165, 72, 255, 0.3);
}
.badge-dot { width: 8px; height: 8px; background-color: #22c55e; border-radius: 50%; box-shadow: 0 0 8px #22c55e; }
.badge-divider { color: rgba(255, 255, 255, 0.2); }

.hero h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; letter-spacing: -1px; }
.hero h1 span {
    background: linear-gradient(135deg, var(--text-h1) 15%, #c084fc 60%, #a548ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-p); max-width: 600px; margin: 0 auto 35px auto; }
.download-action {
    display: inline-flex; align-items: center; gap: 15px; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    padding: 16px 40px; border-radius: 18px; text-decoration: none; color: #fff; font-size: 18px; font-weight: bold;
    box-shadow: 0 8px 25px var(--brand-glow); transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.15);
}
.download-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(165, 72, 255, 0.6);
    border-color: rgba(255,255,255,0.4);
}
.download-action svg { width: 24px !important; height: 24px !important; }

/* Виджеты */
.features-section-wrapper { position: relative; width: 100%; overflow: hidden; padding-top: 30px; }
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); text-transform: uppercase; margin-bottom: 40px; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; position: relative; z-index: 2; }
.widget {
    position: relative; background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 18, 28, 0.75) 100%);
    border-radius: 24px; padding: 36px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}
.widget:hover {
    border-color: rgba(165, 72, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(165, 72, 255, 0.2);
}

.w-wide { grid-column: span 2; }
.w-square { grid-column: span 1; }
.w-wide-content { display: flex; align-items: center; gap: 30px; }
.w-wide-text { flex: 1; }
.w-wide-visual {
    flex: 0 0 45%; height: 190px; background-color: rgba(0, 0, 0, 0.4); border-radius: 16px;
    border: 1px solid var(--border-light); background-size: cover; background-position: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}
.widget-icon {
    width: 50px; height: 50px; background: rgba(165, 72, 255, 0.15); border: 1px solid rgba(165, 72, 255, 0.3);
    border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.widget-icon img { width: 26px !important; height: 26px !important; object-fit: contain; display: block; }
.widget h3 { font-size: 1.5rem; margin-bottom: 12px; text-transform: uppercase; }
.widget p { color: var(--text-p); font-size: 15px; line-height: 1.55; }

/* Статистика */
.stats-section { margin-bottom: 90px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 18, 28, 0.75) 100%);
    border: 1px solid var(--border-light); border-radius: 20px; padding: 26px 20px; backdrop-filter: blur(12px);
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(165, 72, 255, 0.45); }
.stat-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.stat-icon img { width: 28px !important; height: 28px !important; object-fit: contain; display: block; }
.stat-number { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; font-family: monospace !important; color: var(--text-h1); line-height: 1; }
.stat-number span { color: var(--brand-light); }
.stat-label { font-size: 13px; color: var(--text-p); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }

/* ЛЕНТА ОТЗЫВОВ */
.reviews-section { 
    margin-bottom: 100px; 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    overflow: hidden;
}

.reviews-header-block { 
    text-align: center; 
    margin-bottom: 30px; 
}
.reviews-header-block p { 
    color: var(--text-p); 
    font-size: 1.05rem; 
    max-width: 600px; 
    margin: 0 auto; 
}

.reviews-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track-row { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px; 
    width: max-content !important; 
    will-change: transform;
}

.reviews-track-row.row-left { 
    animation: reviews-anim-left 35s linear infinite !important; 
}

.reviews-track-row.row-right { 
    animation: reviews-anim-right 35s linear infinite !important; 
}

.reviews-track-row:hover { 
    animation-play-state: paused !important; 
}

@keyframes reviews-anim-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes reviews-anim-right {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.review-card {
    background: var(--surface); border: 1px solid var(--border-light); border-radius: 20px; padding: 20px 24px;
    backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 12px; width: 380px; flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease, border-color 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(165, 72, 255, 0.5); }
.review-header-flex { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-user-left { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; color: #fff; flex-shrink: 0; }
.review-user-name { font-weight: bold; font-size: 15px; color: var(--text-h1); line-height: 1.2; }
.review-date-badge { font-size: 11px; color: #a1a1aa; background: rgba(255, 255, 255, 0.04); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.05); }
.review-badges-row { display: flex; align-items: center; gap: 10px; }
.neon-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: bold; }
.tag-recommend { color: #4ade80; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); }
.tag-normal { color: #fde047; background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.4); }
.tag-bad { color: #f87171; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); }
.review-rating { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.review-text { color: var(--text-p); font-size: 14px; line-height: 1.5; word-break: break-word; }
.no-reviews-box { text-align: center; padding: 40px 20px; color: var(--text-p); font-size: 16px; width: 100%; }

.reviews-controls-area { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 10px; }
.btn-outline-glow {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-light); color: var(--text-h1);
    padding: 12px 28px; border-radius: 50px; font-weight: bold; font-size: 14px; transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-glow svg { width: 18px !important; height: 18px !important; }
.btn-outline-glow:hover { border-color: var(--brand); background: rgba(165, 72, 255, 0.18); transform: translateY(-2px); }

.review-action-area { background: var(--surface-solid); border: 1px solid var(--border-light); border-radius: 24px; padding: 32px; text-align: center; max-width: 700px; width: 100%; position: relative; }
.btn-brand-solid {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 12px 30px;
    border-radius: 50px; border: none; font-weight: bold; font-size: 15px; transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden;
}
.btn-brand-solid svg { width: 18px !important; height: 18px !important; }
.btn-brand-solid:hover { transform: translateY(-2px); box-shadow: 0 0 20px var(--brand-glow); }
.btn-brand-solid.saved { background: linear-gradient(135deg, #16a34a, #15803d); }

.review-input-group { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.tag-picker-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag-choice-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-light); color: #a1a1aa; padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: bold; transition: all 0.2s ease; }
.tag-choice-btn:hover { transform: translateY(-2px); }
.tag-choice-btn.active[data-tag="Рекомендую"] { background: rgba(34, 197, 94, 0.2); color: #4ade80; border-color: #22c55e; }
.tag-choice-btn.active[data-tag="Нормально"] { background: rgba(234, 179, 8, 0.2); color: #fde047; border-color: #eab308; }
.tag-choice-btn.active[data-tag="Очень плохо"] { background: rgba(239, 68, 68, 0.2); color: #f87171; border-color: #ef4444; }
.textarea-wrapper { position: relative; width: 100%; }
.review-textarea { width: 100%; height: 110px; background: var(--bg-base); border: 1px solid var(--border-light); border-radius: 14px; padding: 14px 14px 28px 14px; color: var(--text-h1); font-size: 15px; resize: none; outline: none; transition: border-color 0.2s; }
.review-textarea:focus { border-color: var(--brand); }
.char-counter { position: absolute; bottom: 8px; right: 14px; font-size: 12px; color: #71717a; font-family: monospace !important; }
.char-counter.limit-near { color: #f59e0b; }
.char-counter.limit-reached { color: #ef4444; font-weight: bold; }
.rating-select { display: flex; align-items: center; gap: 8px; font-size: 20px; cursor: pointer; }
.star-rate { color: #4b5563; transition: transform 0.2s; }
.star-rate:hover { transform: scale(1.2); }
.star-rate.active { color: #fbbf24; }

/* Модальные окна */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 99999; opacity: 0; transition: opacity 0.25s ease; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-close-btn { position: absolute; top: 18px; right: 18px; background: transparent; border: none; color: var(--text-p); font-size: 20px; transition: all 0.2s; }
.modal-close-btn:hover { color: var(--text-h1); transform: rotate(90deg); }

.auth-modal, .profile-card, .download-modal-card {
    background: var(--surface-solid); border: 1px solid rgba(165, 72, 255, 0.45);
    border-radius: 28px; padding: 40px; width: 90%; max-width: 440px; text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative; transform: scale(0.96); transition: transform 0.25s ease;
}
.modal-overlay.open .auth-modal, .modal-overlay.open .profile-card, .modal-overlay.open .download-modal-card { transform: scale(1); }

.auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 15px; }
.form-control { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.form-control label { font-size: 13px; color: #d8b4fe; }
.form-control input { background: var(--bg-base); border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 16px; color: var(--text-h1); font-size: 15px; outline: none; transition: border-color 0.2s; }
.form-control input:focus { border-color: var(--brand); }

.profile-header-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 30px; color: #fff; margin: 0 auto; }
.profile-balance-badge { background: rgba(165, 72, 255, 0.1); border: 1px solid rgba(165, 72, 255, 0.3); border-radius: 18px; padding: 16px; margin: 10px 0; }
.profile-balance-num { font-size: 32px; font-weight: 900; color: var(--text-h1); font-family: monospace !important; margin-top: 4px; }
.profile-balance-num span { color: var(--brand-light); }

.dl-timer-wrap { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(165, 72, 255, 0.1); border: 2px solid rgba(165, 72, 255, 0.3); margin: 0 auto; }
.dl-timer-num { font-size: 2.2rem; font-weight: 900; font-family: monospace !important; color: var(--text-h1); }
.dl-file-info { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-light); border-radius: 14px; padding: 12px 18px; width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-p); margin: 15px 0; }
.dl-confirm-btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; opacity: 0.45; pointer-events: none; cursor: not-allowed !important; }
.dl-confirm-btn.active { opacity: 1; pointer-events: auto; cursor: none !important; }

.all-reviews-modal {
    background: var(--surface-solid); border: 1px solid rgba(165, 72, 255, 0.45);
    border-radius: 28px; padding: 36px 32px; width: 90%; max-width: 860px; max-height: 82vh;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    position: relative; transform: scale(0.96); transition: transform 0.25s ease;
    display: flex; flex-direction: column; overflow-y: auto;
}
.modal-overlay.open .all-reviews-modal { transform: scale(1); }

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; will-change: opacity, transform; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Плашки в углах */
.site-version-pill {
    position: fixed;
    bottom: 24px; left: 24px;
    z-index: 999;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(24, 24, 27, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
    user-select: none;
    transition: all 0.25s ease;
}
.site-version-pill:hover { color: #ffffff; border-color: rgba(165, 72, 255, 0.45); }

.bottom-right-stack {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Кнопка тех. поддержки */
.support-widget {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(24, 24, 27, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(165, 72, 255, 0.45);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}
.support-widget svg { 
    width: 19px !important; 
    height: 19px !important; 
    stroke: var(--brand-light); 
    fill: none !important;
}
.support-widget:hover {
    transform: translateY(-3px);
    border-color: #ffffff;
    background: rgba(165, 72, 255, 0.25);
    box-shadow: 0 10px 25px rgba(165, 72, 255, 0.5);
}

/* ФУТЕР В РАМКЕ */
.footer-wrapper-card { padding: 0 20px 50px 20px; position: relative; z-index: 2; }
.footer-card {
    background: #0d0d10; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 36px;
    padding: 40px 48px 30px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); 
    position: relative;
    overflow: hidden; 
}

.footer-grid-boxed { 
    display: grid; 
    grid-template-columns: 1.6fr 1fr 1fr 1.35fr; 
    gap: 32px; 
    margin-bottom: 26px; 
    align-items: start; 
}
.footer-brand-title { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 21px; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -0.5px; 
    color: #ffffff; 
    margin-bottom: 14px; 
    text-decoration: none; 
}
.footer-brand-title img { height: 28px !important; width: auto; object-fit: contain; }
.footer-tagline { 
    color: var(--text-p); 
    font-size: 13.5px; 
    line-height: 1.55; 
    max-width: 300px; 
    margin-bottom: 18px; 
}
.footer-social-row { display: flex; gap: 10px; }
.footer-round-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03); display: inline-flex; align-items: center; justify-content: center;
    color: #ffffff; text-decoration: none; transition: all 0.2s ease;
}
.footer-round-btn svg { width: 16px !important; height: 16px !important; fill: currentColor; }
.footer-round-btn:hover { background: rgba(165, 72, 255, 0.2); border-color: var(--brand); transform: translateY(-2px); }

.footer-nav-column h4 { 
    color: #ffffff; 
    font-size: 12.5px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 14px; 
    font-weight: 800; 
}

.footer-nav-column ul { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    padding: 0;
    margin: 0;
}
.footer-link-pill {
    color: #b4b4bb; 
    font-size: 12px; 
    font-weight: 700; 
    text-decoration: none; 
    letter-spacing: 0.3px; 
    padding: 2px 0;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: all 0.2s ease; 
}
.footer-link-pill:hover {
    color: #ffffff;
    transform: translateX(3px);
}
.footer-link-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--brand-light);
    flex-shrink: 0;
}
.footer-link-pill.email-link {
    text-transform: lowercase;
    font-size: 12px;
}

.footer-divider-line { height: 1px; background: rgba(255, 255, 255, 0.06); width: 100%; margin: 26px 0 24px; }

/* ПЛАТЁЖНЫЕ БАННЕРЫ И СПОСОБЫ ОПЛАТЫ */
.footer-payments-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 28px;
    flex-wrap: nowrap;
    width: 100%;
}

.payment-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-group-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.payment-badges-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
}

.payment-badges-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    gap: 12px;
}

/* БОЛЬШИЕ БАННЕРЫ 16:9 */
.payment-badge-box.banner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    margin: 0;
    display: block;
    width: 270px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.payment-badge-box.banner-card:hover {
    border-color: rgba(165, 72, 255, 0.55);
    transform: translateY(-2px);
}
.payment-badge-box.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* СПОСОБЫ ОПЛАТЫ */
.payment-badge-box.oplata-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    display: block;
    width: 140px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    transition: all 0.2s ease;
}
.payment-badge-box.oplata-card:hover {
    border-color: rgba(165, 72, 255, 0.45);
    transform: translateY(-2px);
}
.payment-badge-box.oplata-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-bottom-flex { display: flex; justify-content: flex-start; align-items: center; }
.footer-bottom-flex p { color: #71717a; font-size: 12px; font-weight: 500; }

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .navbar { width: calc(100% - 24px); padding: 8px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .w-wide, .w-square { grid-column: span 1; }
    .w-wide-content { flex-direction: column; text-align: left; }
    .w-wide-visual { width: 100%; height: 200px; }
    .footer-card { padding: 30px 20px 20px; border-radius: 24px; }
    .footer-grid-boxed { grid-template-columns: 1fr; gap: 26px; }
    .footer-payments-block { flex-direction: column; gap: 20px; }
    .payment-badge-box.banner-card { width: 100%; max-width: 270px; }
    .payment-badges-grid-3x3 { grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 360px; }
    .payment-badge-box.oplata-card { width: 100%; }
    .site-version-pill { display: none !important; }
}