/* --- TITANWAY — PTS PROTOCOL CORE STYLES --- */
:root {
    --red: #ff4e4e;
    --dark-red: #8b1c1c;
    --bg: #030508;
    --panel: rgba(13, 17, 23, 0.95);
    --gold: #f0ad4e;
    --blue: #00c6ff; /* Системные уведомления */
    --trust-body: rgba(212, 220, 232, 0.96);
    --trust-muted: rgba(165, 180, 200, 0.92);
    --glow-red: rgba(255, 78, 78, 0.35);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);
    --dur-page: 0.55s;
    --dur-ui: 0.35s;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body, html {
    margin: 0; padding: 0;
    background-color: var(--bg);
    color: #e6e6e6;
    font-family: 'Segoe UI', 'Roboto Mono', monospace;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

body {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    transition: color var(--dur-ui) var(--ease-smooth), opacity var(--dur-ui) var(--ease-smooth), text-shadow var(--dur-ui) var(--ease-smooth);
}

/* Не трогаем .motion-allow — иначе глушатся тряска логотипа и CSS-звёзды */
@media (prefers-reduced-motion: reduce) {
    *:not(:is(.motion-allow, .motion-allow *))::before,
    *:not(:is(.motion-allow, .motion-allow *))::after,
    *:not(:is(.motion-allow, .motion-allow *)) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Фон: CSS-слой + canvas (двойная гарантия движения) */
.tw-bg-motion {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bg-css-stars {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    opacity: 0.72;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.55) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 60%, rgba(200, 230, 255, 0.45) 50%, transparent 50%),
        radial-gradient(2px 2px at 70% 30%, rgba(255, 255, 255, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 75%, rgba(255, 220, 200, 0.3) 50%, transparent 50%);
    background-size: 220px 220px, 180px 180px, 320px 320px, 260px 260px;
    background-position: 0 0, 40px 80px, 120px 40px, 200px 200px;
    animation: bg-css-stars-drift 42s linear infinite;
}

@keyframes bg-css-stars-drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-120px, -180px) rotate(2deg); }
}

#bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    pointer-events: none;
    opacity: 0.92;
}

.main-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

header {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.99) 0%, rgba(13, 17, 23, 0.92) 100%);
    border-bottom: 2px solid var(--dark-red);
    padding: 15px 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 78, 78, 0.15);
}

header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0.35;
    pointer-events: none;
    animation: header-edge-pulse 6s ease-in-out infinite;
}

@keyframes header-edge-pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.logo-box { 
    border: 2px solid var(--red); 
    padding: 3px 10px; 
    font-weight: 900; 
    box-shadow: 0 0 15px rgba(255, 78, 78, 0.2); 
}
.logo-text { font-weight: 900; letter-spacing: 2px; }

.logo-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: filter 0.25s var(--ease-smooth);
}

.logo-cluster:hover {
    animation: logo-brand-shake 0.55s var(--ease-out-expo) both;
    filter: drop-shadow(0 0 12px rgba(255, 78, 78, 0.35));
}

.logo-cluster:hover .logo-box {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 78, 78, 0.45);
}

@keyframes logo-brand-shake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    12% { transform: translate(-4px, 2px) rotate(-0.8deg); }
    24% { transform: translate(4px, -3px) rotate(0.6deg); }
    36% { transform: translate(-3px, -2px) rotate(-0.4deg); }
    48% { transform: translate(3px, 2px) rotate(0.5deg); }
    60% { transform: translate(-2px, 1px) rotate(-0.25deg); }
    72% { transform: translate(2px, -1px) rotate(0.2deg); }
}

.nav-bar {
    padding: 0.35rem 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-external-link {
    text-decoration: none;
    display: inline-flex;
}

.nav-links button {
    background: transparent; border: 1px solid #333; color: #888; padding: 8px 15px; cursor: pointer;
    text-transform: uppercase; font-size: 11px; font-weight: bold; transition: color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease-out-expo), transform 0.2s; margin-left: 5px;
    border-radius: 2px;
}

.nav-links button:hover {
    color: #ccc;
    border-color: rgba(255, 78, 78, 0.45);
    box-shadow: 0 0 12px rgba(255, 78, 78, 0.12);
}

.nav-links button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.nav-links button.active { 
    border-color: var(--red); 
    color: #fff; 
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.3); 
    background: rgba(255, 62, 62, 0.1); 
    position: relative;
}

.nav-links button.active::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 3px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    box-shadow: 0 0 10px rgba(255, 78, 78, 0.6);
    pointer-events: none;
}

/* --- ГЕРОИ НА ГЛАВНОЙ (кроссфейд между портретами) --- */
.hero-selection-area {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: -15px;
    position: relative;
    z-index: 1;
}

.mini-hero {
    width: 100px;
    text-align: center;
    opacity: 0.6;
    transition: opacity var(--dur-ui) var(--ease-smooth), transform var(--dur-ui) var(--ease-smooth), filter var(--dur-ui) var(--ease-smooth);
}

.mini-hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 256 / 144;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.35);
}

.mini-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.85s var(--ease-smooth), transform 0.9s var(--ease-out-expo);
    transform: scale(1.06);
}

.mini-hero-img.is-visible {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.mini-hero.featured {
    width: 130px;
    opacity: 1;
    transform: translateY(-10px);
    animation: hero-float 5.5s ease-in-out infinite;
}

.mini-hero.featured .mini-hero-frame {
    border: 2px solid var(--red);
    box-shadow: 0 0 22px rgba(255, 78, 78, 0.38);
}

@keyframes hero-float {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-15px); }
}

.hero-wr {
    font-size: 10px;
    color: var(--gold);
    margin-top: 6px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: opacity 0.45s var(--ease-smooth);
}

.hero-wr.hero-wr--muted {
    opacity: 0.25;
}

@media (prefers-reduced-motion: reduce) {
    .mini-hero-img {
        transition: none;
        transform: none;
    }
}

/* --- БЕГУЩАЯ СТРОКА + ВИТРИНА ГЕРОЕВ (ПРЕСЕТЫ) --- */
.hero-marquee {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto 1rem;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(255, 78, 78, 0.15);
    border-bottom: 1px solid rgba(255, 78, 78, 0.1);
    background: linear-gradient(90deg, transparent, rgba(255, 62, 62, 0.06), transparent);
}

.hero-marquee__inner {
    display: flex;
    width: max-content;
    animation: hero-marquee-scroll 28s linear infinite;
}

.hero-marquee__track {
    font-size: clamp(0.52rem, 1.8vw, 0.62rem);
    letter-spacing: clamp(0.18em, 1.2vw, 0.32em);
    color: rgba(175, 188, 210, 0.82);
    white-space: nowrap;
    padding-right: 2.5rem;
}

@keyframes hero-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Плашка героев: «HUD» с градиентной рамкой и сегментами пресетов */
.hero-showcase {
    position: relative;
    margin-bottom: 0.5rem;
    padding: clamp(1rem, 3vw, 1.35rem) clamp(0.75rem, 2.5vw, 1.15rem) clamp(1.1rem, 3vw, 1.45rem);
    border-radius: 12px;
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, rgba(18, 22, 32, 0.98) 0%, rgba(10, 12, 18, 0.99) 100%) padding-box,
        linear-gradient(145deg, rgba(255, 85, 95, 0.65) 0%, rgba(35, 40, 55, 0.4) 38%, rgba(20, 24, 34, 0.5) 62%, rgba(0, 195, 230, 0.45) 100%) border-box;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.65) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 20px 56px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(255, 60, 60, 0.07),
        0 0 1px rgba(255, 100, 100, 0.35);
    overflow: hidden;
}

.hero-showcase::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 60, 70, 0.9) 22%, var(--gold) 50%, rgba(0, 200, 230, 0.85) 78%, transparent 100%);
    opacity: 0.95;
    pointer-events: none;
    z-index: 2;
}

.hero-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 70, 80, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 8% 85%, rgba(0, 198, 255, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 92% 25%, rgba(255, 60, 60, 0.05) 0%, transparent 40%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 11px,
            rgba(255, 255, 255, 0.015) 11px,
            rgba(255, 255, 255, 0.015) 12px
        );
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.hero-showcase__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-showcase__title {
    font-size: clamp(0.62rem, 2.2vw, 0.75rem);
    font-weight: 800;
    letter-spacing: clamp(0.14em, 1.5vw, 0.26em);
    color: #eef1f7;
    margin: 0;
    text-shadow: 0 0 24px rgba(255, 78, 78, 0.25);
}

.hero-showcase__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    padding: 5px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-preset-tab {
    font-family: inherit;
    font-size: clamp(8px, 2vw, 9px);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 11px;
    min-height: 34px;
    cursor: pointer;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: rgba(160, 168, 185, 0.95);
    transition: color 0.25s var(--ease-smooth), background 0.25s, box-shadow 0.3s, transform 0.2s;
}

.hero-preset-tab:hover {
    color: #e8eaef;
    background: rgba(255, 255, 255, 0.05);
}

.hero-preset-tab.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 75, 85, 0.35) 0%, rgba(140, 25, 30, 0.22) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 90, 95, 0.45),
        0 4px 18px rgba(255, 50, 60, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-shadow: 0 0 12px rgba(255, 80, 90, 0.45);
}

.hero-showcase__tagline {
    font-size: clamp(0.62rem, 2.1vw, 0.72rem);
    line-height: 1.5;
    color: rgba(165, 180, 200, 0.95);
    margin: 0 0 clamp(0.75rem, 2.5vw, 1rem);
    min-height: 2.4em;
    position: relative;
    z-index: 1;
    letter-spacing: 0.03em;
    padding: 0.55rem 0.65rem 0.55rem 0.85rem;
    border-left: 3px solid rgba(255, 78, 78, 0.75);
    background: linear-gradient(90deg, rgba(255, 60, 70, 0.08) 0%, transparent 88%);
    border-radius: 0 4px 4px 0;
}

.title-ornament {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 0.75rem;
}

.title-ornament span {
    display: block;
    width: min(220px, 60%);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), rgba(240, 173, 78, 0.6), var(--red), transparent);
    box-shadow: 0 0 14px rgba(255, 78, 78, 0.35);
    border-radius: 2px;
}

.status-linkbar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto 1.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-linkbar__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(255, 78, 78, 0.75);
}

.status-linkbar__track {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.status-linkbar__fill {
    height: 100%;
    width: 72%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dark-red), var(--red), var(--gold));
    animation: status-link-pulse 3.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 78, 78, 0.45);
}

@keyframes status-link-pulse {
    0%, 100% { width: 68%; opacity: 0.9; }
    50% { width: 94%; opacity: 1; }
}

.status-linkbar__pct {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.panel.panel--glow {
    position: relative;
    overflow: visible;
}

.panel--glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 78, 78, 0.15), transparent 40%, transparent 60%, rgba(0, 198, 255, 0.08));
    z-index: -1;
    opacity: 0.55;
    pointer-events: none;
}

.panel-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

.panel-corner--tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--red);
    border-left: 2px solid var(--red);
}

.panel-corner--br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid rgba(0, 198, 255, 0.55);
    border-right: 2px solid rgba(0, 198, 255, 0.55);
}

/* Мобильная витрина героев и главная */
@media (max-width: 768px) {
    .page-lead {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        margin-bottom: 1rem;
        padding: 0 4px;
    }

    .page-lead--hero {
        margin-bottom: 1.25rem;
    }

    .hero-marquee {
        margin-bottom: 0.85rem;
        padding: 0.3rem 0;
    }

    .hero-showcase {
        border-radius: 10px;
        padding: 0.95rem 0.65rem 1.1rem;
    }

    .hero-showcase__head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding-bottom: 0.55rem;
        margin-bottom: 0.55rem;
    }

    .hero-showcase__title {
        text-align: center;
        letter-spacing: 0.2em;
    }

    .hero-showcase__tabs {
        width: 100%;
        justify-content: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 6px;
    }

    .hero-preset-tab {
        width: 100%;
        min-height: 42px;
        padding: 10px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.15;
    }

    .hero-showcase__tagline {
        margin-bottom: 0.85rem;
        min-height: auto;
        padding: 0.5rem 0.55rem 0.5rem 0.7rem;
        font-size: 0.62rem;
    }

    .hero-selection-area {
        gap: 8px;
        margin-bottom: 0;
    }

    .title-ornament {
        margin: 1rem 0 0.6rem;
    }

    .status-linkbar {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 8px 12px;
        gap: 8px;
    }

    .status-linkbar__label {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .status-linkbar__track {
        min-width: 0;
        flex: 1 1 auto;
    }

    .status-linkbar__pct {
        font-size: 8px;
    }

    .page-title {
        letter-spacing: clamp(2px, 1.5vw, 5px);
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        padding: 0 8px;
    }

    .status-id {
        padding: 0 8px;
        font-size: 9px;
    }

    .status-id__human {
        font-size: 0.68rem;
        padding: 0 6px;
    }

    .calc-panel-trust-line {
        font-size: 0.66rem;
        padding: 0 6px;
    }
}

@media (max-width: 380px) {
    .hero-showcase__tabs {
        grid-template-columns: 1fr;
    }

    .hero-preset-tab {
        min-height: 38px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-marquee__inner {
        animation: none;
    }
    .status-linkbar__fill {
        animation: none;
        width: 88%;
    }
}

/* --- КОНТЕНТ СТРАНИЦ --- */
.page-content { 
    display: none; 
    position: relative; 
    max-width: 900px; 
    margin: 40px auto; 
    padding: 20px; 
    z-index: 1;
}

.page-content.active { 
    display: block; 
    animation: contentFadeUp var(--dur-page) var(--ease-out-expo) forwards;
}

@keyframes contentFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Плавное появление блоков при скролле (классы вешает script.js) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Скроллбар TITANWAY */
.page-content::-webkit-scrollbar { width: 4px; }
.page-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.page-content::-webkit-scrollbar-thumb { background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ПАНЕЛЬ */
.panel {
    background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--red); padding: 30px; margin-bottom: 20px;
    transition: border-left-width var(--dur-ui) var(--ease-smooth), background var(--dur-ui) var(--ease-smooth), box-shadow var(--dur-ui) var(--ease-smooth), transform var(--dur-ui) var(--ease-smooth);
}
.panel:hover {
    border-left-width: 8px;
    background: rgba(20, 25, 33, 0.98);
}

/* --- КАРТОЧКИ РАНГОВ (С ЭФФЕКТОМ СКАНЕРА) --- */
.rank-card {
    flex: 1;
    min-width: 240px;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px;
    border-left: 2px solid var(--red) !important;
    transition: border-color var(--dur-ui) var(--ease-smooth), box-shadow var(--dur-ui) var(--ease-smooth), transform var(--dur-ui) var(--ease-smooth);
    position: relative; /* Для позиционирования эффектов */
    overflow: hidden;
}

/* Луч сканера при наведении */
.rank-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 78, 78, 0.1),
        var(--red),
        rgba(255, 78, 78, 0.1),
        transparent
    );
    height: 2px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.rank-card:hover::before {
    opacity: 1;
    animation: card-scan 1.5s linear infinite;
}

@keyframes card-scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* Уголки "Захвата цели" */
.rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    background: 
        linear-gradient(var(--red), var(--red)) 0 0 / 10px 10px,
        linear-gradient(var(--red), var(--red)) 100% 0 / 10px 10px,
        linear-gradient(var(--red), var(--red)) 0 100% / 10px 10px,
        linear-gradient(var(--red), var(--red)) 100% 100% / 10px 10px;
    background-repeat: no-repeat;
    opacity: 0;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.rank-card:hover::after {
    opacity: 0.4;
    inset: 5px; /* Уголки сужаются к центру при наведении */
}

.rank-card:hover {
    border-color: var(--red) !important;
    box-shadow: inset 0 0 20px rgba(255, 78, 78, 0.05);
    transform: translateY(-2px);
}

.rank-card__tip {
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(160, 210, 255, 0.88);
    letter-spacing: 0.04em;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s var(--ease-out-expo), max-height 0.45s var(--ease-out-expo), margin 0.35s var(--ease-smooth);
    pointer-events: none;
}

.rank-card--target .rank-card__tip {
    color: rgba(240, 200, 130, 0.92);
}

.rank-card--current:hover .rank-card__tip,
.rank-card--current:focus-within .rank-card__tip,
.rank-card--target:hover .rank-card__tip,
.rank-card--target:focus-within .rank-card__tip {
    opacity: 1;
    max-height: 4em;
    margin-top: 10px;
}

.rank-card--current:hover,
.rank-card--current:focus-within {
    border-left-color: #5ecfff !important;
    box-shadow: inset 0 0 26px rgba(94, 207, 255, 0.12), 0 0 22px rgba(94, 207, 255, 0.14) !important;
}

.rank-card--target:hover,
.rank-card--target:focus-within {
    border-left-color: var(--gold) !important;
    box-shadow: inset 0 0 26px rgba(240, 173, 78, 0.1), 0 0 22px rgba(240, 173, 78, 0.12) !important;
}

.mmr-btn {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: inherit;
    font-size: 10px;
    padding: 6px 12px;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.mmr-btn:hover { 
    background: var(--red); 
    color: black; 
    box-shadow: 0 0 15px var(--red);
}

/* --- ОТЗЫВЫ --- */
#reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}
.review-card { background: var(--panel); border-left: 4px solid var(--red); padding: 20px; }
.review-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px;
}
.review-user { color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 13px; }
.review-rating { color: var(--gold); letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.6; color: #ccc; margin-bottom: 20px; font-style: italic; }
.review-screenshot {
    width: 100%; max-width: 800px; display: block; margin: 0 auto;
    border: 1px solid #333; transition: 0.3s; cursor: pointer;
}
.review-screenshot:hover { border-color: var(--red); box-shadow: 0 0 20px rgba(255, 78, 78, 0.3); }

/* --- ФУТЕР --- */
.system-footer {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 78, 78, 0.1);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 11;
}
.footer-logo { font-weight: 900; letter-spacing: 2px; font-size: 12px; margin-bottom: 10px; display: block; }
.footer-mail { color: var(--red); text-decoration: none; font-size: 11px; opacity: 0.7; transition: 0.3s; letter-spacing: 1px; }
.footer-mail:hover { opacity: 1; text-shadow: 0 0 10px var(--red); }
.footer-copy { font-size: 10px; color: #555; margin-top: 15px; text-transform: uppercase; letter-spacing: 1px; }

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        padding: 10px 12px;
        gap: 8px;
    }

    .nav-bar {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-top: 4px;
    }

    .nav-links button {
        font-size: clamp(8px, 2.1vw, 10px);
        padding: 9px 11px;
        margin: 0;
        min-height: 40px;
    }

    .page-content {
        margin: 24px auto 32px;
        padding: 14px 12px 24px;
    }

    .hero-selection-area {
        gap: 10px;
    }

    .mini-hero {
        width: clamp(56px, 18vw, 72px);
    }

    .mini-hero.featured {
        width: clamp(74px, 24vw, 96px);
    }

    .mode-toggle {
        flex-direction: column;
        gap: 8px;
    }

    .mode-btn {
        padding: 14px;
        min-height: 48px;
    }

    .price-display__body {
        padding: 1rem 12px 1.1rem;
    }

    .price-display--pts .total-price {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    input {
        font-size: 16px;
        padding: 12px;
    }

    .rank-card {
        min-width: 100%;
    }

    .panel {
        padding: 22px 16px;
    }

    .review-screenshot {
        max-height: 250px;
        object-fit: cover;
        object-position: top;
        border-radius: 4px;
    }

    .review-card {
        padding: 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid > .service-panel--wide {
        grid-column: span 1 !important;
    }

    .analytics-title {
        font-size: clamp(0.72rem, 2.5vw, 0.85rem);
        padding: 0 4px;
    }

    .faq-question {
        font-size: clamp(0.65rem, 2vw, 0.75rem);
        padding: 12px 10px;
    }
}

.page-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(
        105deg,
        #c8c8c8 0%,
        #ffffff 25%,
        #e8e8e8 45%,
        var(--red) 50%,
        #e8e8e8 55%,
        #ffffff 75%,
        #c8c8c8 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: title-sheen 14s ease-in-out infinite;
    text-shadow: none;
}

.page-title span[style*="color"] {
    -webkit-background-clip: unset;
    background-clip: unset;
    background: none;
    animation: none;
}

@keyframes title-sheen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .page-title {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: #e6e6e6;
        animation: none;
    }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .page-title {
        background: none;
        color: #e6e6e6;
        animation: none;
    }
}
.status-id {
    text-align: center;
    color: #555;
    font-size: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.status-id__meta {
    letter-spacing: 0.12em;
}

.status-id__human {
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--trust-muted);
    letter-spacing: 0.02em;
    text-transform: none;
    max-width: 28rem;
    font-weight: 500;
}

/* Одна строка доверия внутри панели калькулятора — без отдельного «окна» */
.calc-panel-trust-line {
    margin: 0 0 1rem;
    padding: 0 6px;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--trust-muted);
    letter-spacing: 0.04em;
    font-weight: 500;
    text-transform: none;
}

.calc-panel-trust-line a {
    color: rgba(0, 198, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 198, 255, 0.28);
    text-underline-offset: 2px;
}

.calc-panel-trust-line a:hover {
    color: #7ae4ff;
    border-bottom-color: rgba(122, 228, 255, 0.55);
}

.promo-panel-trust__label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    font-weight: 700;
}

.promo-panel-trust__hint {
    font-size: 0.72rem;
    color: var(--trust-muted);
    line-height: 1.45;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.page-lead {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(150, 165, 185, 0.95);
    text-transform: uppercase;
    margin: 0 auto 1.25rem;
    line-height: 1.55;
    max-width: 34rem;
}

.page-lead--hero {
    margin-bottom: 1.75rem;
    color: rgba(138, 155, 178, 0.98);
}

.service-panel__title {
    color: var(--red);
    margin-top: 0;
    margin-bottom: 0.35rem;
    letter-spacing: 2px;
    font-size: 1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 78, 78, 0.18);
}

.service-panel__title--gold {
    color: var(--gold);
    border-bottom-color: rgba(240, 173, 78, 0.25);
}

.services-grid > .service-panel--wide {
    grid-column: span 2;
}

.review-form-panel {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.review-form-panel__title {
    color: var(--red);
    text-align: center;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 1rem;
}
.mode-toggle { display: flex; gap: 10px; margin-bottom: 25px; }
.mode-btn {
    flex: 1;
    background: #0a0c10;
    border: 1px solid #333;
    color: #555;
    padding: 15px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: border-color var(--dur-ui) var(--ease-smooth), color var(--dur-ui) var(--ease-smooth), background var(--dur-ui) var(--ease-smooth), box-shadow var(--dur-ui) var(--ease-smooth), transform 0.2s var(--ease-smooth);
}
.mode-btn.active { border-color: var(--red); color: var(--red); background: rgba(255, 78, 78, 0.05); }

input {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    font-size: 18px;
    outline: none;
    transition: border-color var(--dur-ui) var(--ease-smooth), box-shadow var(--dur-ui) var(--ease-smooth), background var(--dur-ui) var(--ease-smooth);
}
input:focus { border-color: var(--red); box-shadow: 0 0 12px rgba(255, 78, 78, 0.22); }

/* Плашка расчёта — тот же язык, что и витрина героев (PTS HUD) */
.price-display.price-display--pts {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(14, 16, 24, 0.98) 0%, rgba(8, 10, 16, 0.99) 100%) padding-box,
        linear-gradient(145deg, rgba(255, 85, 95, 0.5) 0%, rgba(30, 35, 48, 0.45) 42%, rgba(15, 18, 28, 0.6) 58%, rgba(0, 185, 215, 0.42) 100%) border-box;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 18px 48px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 60, 60, 0.06);
    transition: box-shadow 0.4s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.price-display--pts:hover {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 22px 56px rgba(0, 0, 0, 0.55),
        0 0 70px rgba(255, 70, 80, 0.1);
}

.price-display__accent {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 65, 75, 0.95) 18%, var(--gold) 50%, rgba(0, 200, 225, 0.9) 82%, transparent 100%);
    opacity: 0.95;
    flex-shrink: 0;
}

.price-display__body {
    position: relative;
    padding: clamp(1.1rem, 3vw, 1.45rem) clamp(1rem, 2.5vw, 1.35rem) clamp(1.15rem, 3vw, 1.4rem);
    text-align: center;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(255, 70, 80, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 15% 100%, rgba(0, 198, 255, 0.06) 0%, transparent 45%);
}

.price-display__body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -12deg,
        transparent,
        transparent 14px,
        rgba(255, 255, 255, 0.018) 14px,
        rgba(255, 255, 255, 0.018) 15px
    );
    pointer-events: none;
    opacity: 0.7;
}

.price-display--pts .analytics-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: clamp(9px, 2vw, 10px);
    letter-spacing: 0.22em;
    color: rgba(185, 195, 215, 0.92);
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.price-display--pts .total-price {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 8vw, 3.15rem);
    line-height: 1.1;
    color: #f4d78a;
    font-weight: 900;
    letter-spacing: 0.02em;
    margin: 0;
    text-shadow:
        0 0 50px rgba(240, 173, 78, 0.35),
        0 0 20px rgba(255, 200, 120, 0.2),
        0 2px 0 rgba(0, 0, 0, 0.45);
    transition: transform 0.35s var(--ease-out-expo);
}

.price-display--pts:hover .total-price {
    transform: scale(1.02);
    text-shadow:
        0 0 60px rgba(240, 173, 78, 0.45),
        0 0 28px rgba(255, 220, 140, 0.25),
        0 2px 0 rgba(0, 0, 0, 0.45);
}

.price-display--pts .per-win-label {
    position: relative;
    z-index: 1;
    font-size: clamp(10px, 2.4vw, 12px);
    letter-spacing: 0.12em;
    color: rgba(130, 200, 175, 0.88);
    text-transform: uppercase;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-shadow: 0 0 18px rgba(0, 200, 160, 0.15);
}

/* Совместимость: старые классы вне обёртки --pts */
.analytics-label { font-size: 10px; color: #555; letter-spacing: 2px; margin-bottom: 10px; }
.total-price {
    font-size: 52px;
    color: var(--gold);
    font-weight: 900;
    text-shadow: 0 0 40px rgba(240, 173, 78, 0.25), 0 0 2px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s var(--ease-out-expo);
}

.per-win-label { font-size: 12px; color: #555; text-transform: uppercase; margin-top: 5px; }

.btn-action {
    display: block;
    background: linear-gradient(180deg, var(--dark-red) 0%, #6a1515 100%);
    color: #fff;
    text-decoration: none;
    padding: 18px;
    margin-top: 25px;
    font-weight: 900;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: background 0.3s, box-shadow 0.35s var(--ease-out-expo), transform 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-action::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-18deg);
    transition: left 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.btn-action:hover {
    background: var(--red);
    box-shadow: 0 0 28px rgba(255, 78, 78, 0.55), 0 4px 20px rgba(0, 0, 0, 0.35);
    border-color: #fff;
    transform: translateY(-1px);
}

.btn-action:hover::after {
    left: 120%;
}

.btn-action:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* --- ОБНОВЛЕННАЯ СЕТКА УСЛУГ (ПО СКРИНУ) --- */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
}

.service-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 0; 
    border-bottom: 1px solid #222; 
}

.service-row span:first-child {
    flex: 1;
    text-align: left;
    color: #aaa;
    font-weight: 600;
}

.service-row span:last-child {
    min-width: 110px;
    text-align: right;
    color: #e6e6e6; 
    font-weight: bold;
    font-family: 'Roboto Mono', monospace; 
}

/* --- ЭФФЕКТЫ И АНИМАЦИИ --- */
.panel { position: relative; overflow: hidden; }
.panel.scan-active::after {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 3px; 
    background: linear-gradient(90deg, transparent, var(--red), #fff, var(--red), transparent);
    animation: scan-line 0.7s ease-in-out; z-index: 100;
}
@keyframes scan-line { 0% { left: -100%; } 100% { left: 100%; } }

body::after {
    content: ""; position: fixed; top: -100px; left: 0; width: 100%; height: 80px;
    background: linear-gradient(180deg, transparent, rgba(255, 78, 78, 0.02) 50%, transparent);
    pointer-events: none; z-index: 9999; animation: global-scan 12s linear infinite;
}
@keyframes global-scan { 0% { top: -100px; } 100% { top: 100%; } }

.main-wrapper::before {
    content: "";
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    animation: grid-move 120s linear infinite;
    opacity: 0.5;
}
@keyframes grid-move {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-20px); }
    100% { transform: rotate(0deg) translateY(0); }
}

/* --- ОБНОВЛЕННЫЙ БЛОК АНАЛИТИКИ (FAQ) С ГОЛОГРАФИЕЙ --- */
.analytics-faq-section {
    max-width: 100%;
    margin-bottom: 40px;
    position: relative;
    padding: 15px 0;
}

.analytics-faq-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.analytics-faq-head .analytics-title {
    margin-bottom: 0;
    flex: 1 1 220px;
}

.analytics-faq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.faq-bulk-btn {
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid rgba(255, 78, 78, 0.35);
    background: rgba(0, 0, 0, 0.4);
    color: rgba(220, 225, 235, 0.9);
    transition: color 0.25s var(--ease-smooth), border-color 0.25s, box-shadow 0.3s var(--ease-out-expo), transform 0.2s;
}

.faq-bulk-btn:hover {
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 0 14px rgba(255, 78, 78, 0.2);
}

.faq-bulk-btn:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .analytics-faq-head {
        flex-direction: column;
        align-items: stretch;
    }

    .analytics-faq-actions {
        justify-content: stretch;
    }

    .faq-bulk-btn {
        flex: 1 1 auto;
        text-align: center;
        min-height: 40px;
    }
}

/* Эффект дешифровки текста при активации */
.faq-item.active .faq-answer::before {
    content: ">> DECRYPTING_SECURE_DATA... [OK]";
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    color: var(--red);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: glitch-text 0.3s steps(2) infinite;
}

@keyframes glitch-text {
    0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; }
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Голографическая линия сканирования слева */
.faq-item.active::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    background: var(--red);
    box-shadow: 0 0 15px var(--red);
    z-index: 5;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

/* Плавное раскрытие: CSS Grid 0fr → 1fr (несколько пунктов могут быть открыты) */
.faq-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s var(--ease-out-expo);
}

.faq-item.active .faq-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 20px;
}

.faq-answer-text {
    padding-bottom: 20px;
    font-size: 13px;
    line-height: 1.65;
    color: #bbb;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.45s var(--ease-smooth),
        transform 0.5s var(--ease-out-expo);
    transition-delay: 0s;
}

.faq-item.active .faq-answer-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
    .faq-wrapper {
        transition-duration: 0.01ms;
    }
    .faq-answer-text {
        transition-duration: 0.01ms;
        transform: none;
    }
}

/* Голографический маркер-пульс */
.faq-icon {
    width: 10px; height: 10px;
    border: 1px solid var(--red);
    position: relative;
    transition: 0.4s;
}

.faq-item.active .faq-icon {
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    transform: rotate(45deg);
}

/* Эффект углов для всего FAQ */
.analytics-faq-section::before, .analytics-faq-section::after {
    content: ""; position: absolute; width: 15px; height: 15px;
    border: 2px solid var(--red); opacity: 0.4; pointer-events: none;
}
.analytics-faq-section::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.analytics-faq-section::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.analytics-title {
    font-size: 14px;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: left;
    border-left: 3px solid var(--red);
    padding-left: 15px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* Анимированный блик на заголовке */
.analytics-title::after {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: text-glint 12s infinite;
}
@keyframes text-glint {
    0% { left: -150%; } 10% { left: 150%; } 100% { left: 150%; }
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Текстура паттерна внутри вкладок */
.faq-item::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 78, 78, 0.2) 0.5px, transparent 0.5px);
    background-size: 6px 6px;
    opacity: 0.05; transition: 0.3s; pointer-events: none;
}
.faq-item:hover::before { opacity: 0.12; }

/* Неоновая полоса при наведении */
.faq-item:hover::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--red); box-shadow: 0 0 10px var(--red);
    animation: neon-flicker 1.5s infinite;
}
@keyframes neon-flicker { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
}

.faq-question:hover { color: var(--red); }

/* Голографический маркер (вместо плюса) */
.faq-icon {
    width: 8px; height: 8px;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    border-radius: 50%;
    position: relative;
    transition: 0.3s;
}
.faq-icon::after {
    content: ""; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 1px solid var(--red); border-radius: 50%;
    animation: icon-pulse 2s infinite;
}
@keyframes icon-pulse { 
    0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } 
}

.faq-item.active .faq-icon {
    background: #fff; box-shadow: 0 0 12px #fff; transform: scale(1.2);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
    opacity: 0;
    position: relative; z-index: 2;
}

.faq-item.active {
    border-color: var(--red);
    background: rgba(255, 78, 78, 0.04);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 600px;
    opacity: 1;
}

/* --- РЕЗУЛЬТАТЫ --- */
.result-modal {
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid var(--red);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255, 78, 78, 0.15);
    backdrop-filter: blur(15px);
}

.result-header {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 78, 78, 0.3);
    padding-bottom: 10px;
    letter-spacing: 2px;
}
/* --- ADAPTATION LAYER: СВЯЗКА НОВОГО HTML И ТВОЕГО СТИЛЯ --- */

/* Шапка и Навигация */
.system-header {
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 2px solid var(--dark-red);
    padding: 15px 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.highlight {
    color: var(--red);
}

.nav-report-link {
    text-decoration: none;
}

.btn-report {
    color: var(--red) !important;
    border-color: var(--red) !important;
    cursor: pointer;
}

/* Карточки рангов (структура внутри) */
.rank-selection-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rank-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rank-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 8px var(--red));
}

.input-controls {
    flex-grow: 1;
}

.quick-add {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.rank-name-label {
    color: var(--gold);
    font-size: 11px;
    margin-top: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Кнопка ТГ и чекбокс */
.main-tg-btn {
    pointer-events: none; /* Управляется скриптом */
    opacity: 0.4;
    display: block;
    text-decoration: none;
    text-align: center;
}

.reports-link-container {
    text-align: center;
    margin-top: 12px;
}

.secondary-link {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-agreement {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.privacy-agreement input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--red);
    width: 18px;
    height: 18px;
    margin: 0;
    transform: scale(1.2);
}

.privacy-agreement label {
    font-size: 12px;
    color: rgba(245, 248, 252, 0.9);
    line-height: 1.45;
    text-align: left;
    max-width: 22rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.privacy-agreement a {
    color: var(--red);
    text-decoration: underline;
    font-weight: bold;
}

/* Услуги */
.price-tag {
    color: var(--gold);
    font-weight: bold;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* Куки */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid var(--blue);
    padding: 15px;
    z-index: 999999;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.25), 0 8px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.cookie-banner.cookie-banner--open {
    animation: cookie-slide-in 0.55s var(--ease-out-expo) forwards;
}

@keyframes cookie-slide-in {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.system-notice {
    color: var(--blue);
    font-weight: bold;
    text-transform: uppercase;
}

.cookie-banner__text {
    font-size: 12px;
    color: var(--trust-body);
    margin-top: 6px;
    line-height: 1.45;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.cookie-banner__text a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-trust-line {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: var(--trust-muted);
    letter-spacing: 0.04em;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
    font-weight: 500;
    text-transform: none;
}

.btn-cookie {
    background: #ffffff;
    color: #000000;
    border: none;
    width: 100%;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 10px;
}
.card-inner-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 78, 78, 0.1);
    padding: 30px;
    text-align: center;
    margin: 25px 0;
    position: relative;
    border-radius: 4px;
}
.card-number-text {
    font-size: 28px;
    color: var(--red);
    font-family: 'Roboto Mono', monospace;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 78, 78, 0.5);
    display: block;
}
/* --- MOBILE FIX ДЛЯ КНОПКИ ОПЛАТЫ --- */
@media (max-width: 1024px) {
    .main-tg-btn {
        /* Разрешаем клики, чтобы JS мог их перехватить */
        pointer-events: auto !important; 
        opacity: 1 !important; 
        -webkit-tap-highlight-color: transparent;
        position: relative;
        z-index: 999; /* Чтобы ничто не перекрывало кнопку */
    }
    
    /* Делаем чекбокс и лейбл больше, чтобы по ним было легко попасть пальцем */
    .privacy-agreement {
        padding: 15px;
        background: rgba(255, 78, 78, 0.05);
        border-radius: 4px;
    }

    .privacy-agreement input[type="checkbox"] {
        width: 25px;
        height: 25px;
    }
}
/* Эффект свечения для активного промокода */
#promo-status {
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Успешная активация: делаем упор на цвет, а не на размытие */
.promo-success {
    animation: promo-glow 2s infinite alternate;
    font-weight: 800;
    letter-spacing: 1px; /* Чуть раздвинем буквы для читаемости */
}

@keyframes promo-glow {
    from { text-shadow: 0 0 6px rgba(0, 255, 136, 0.35); }
    to { text-shadow: 0 0 14px rgba(0, 255, 136, 0.65); }
}

/* Эффект ошибки (тряска) */
.promo-error {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* --- УТИЛИТЫ: skip link, панель расчёта, тост, «наверх» --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--red);
    color: #000;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.calc-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 4px;
}

.calc-tool-btn {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 220px;
}

.calc-toast {
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--gold);
    min-height: 14px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.calc-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 78, 78, 0.5);
    background: rgba(8, 8, 10, 0.92);
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    z-index: 99998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease-out-expo), border-color 0.2s;
}

.scroll-top-btn--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    border-color: var(--red);
    color: #fff;
    background: rgba(255, 78, 78, 0.15);
}

.scroll-top-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .scroll-top-btn {
        bottom: 88px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}

/* --- СТРАНИЦА ОПЛАТЫ (checkout.html) --- */
.checkout-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(0.85rem, 3vw, 1.5rem) clamp(0.65rem, 3vw, 1.15rem) calc(2rem + env(safe-area-inset-bottom, 0px));
    z-index: 10;
}

.checkout-main {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Оплата: полоса и панель в одной сетке (раньше marquee был снаружи + page-content давал отступы — «съезжал» градиент) */
.hero-marquee--checkout {
    margin: 0 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-marquee__inner--checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: none;
}

.hero-marquee--checkout .hero-marquee__track {
    padding-right: 0;
    text-align: center;
}

.checkout-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-page-title {
    font-size: clamp(0.85rem, 2.8vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.35em;
    text-align: center;
    color: rgba(240, 242, 248, 0.95);
    margin: 0 0 0.35rem;
    text-shadow: 0 0 24px rgba(255, 78, 78, 0.2);
}

.checkout-sub {
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: rgba(140, 155, 175, 0.95);
    margin: 0;
    text-transform: uppercase;
}

.checkout-session-line {
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(120, 135, 155, 0.9);
    margin: 0.25rem 0 0;
}

.checkout-session-line span {
    color: var(--gold);
    font-weight: 800;
}

.checkout-panel {
    position: relative;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: 0.5rem;
}

/* Иначе .panel--glow даёт overflow:visible — линия скана (::after) уезжает влево за край экрана */
.checkout-panel.panel--glow {
    overflow: hidden;
    border-radius: 8px;
}

.checkout-sum-block {
    margin: 1.25rem 0 1.5rem;
}

.checkout-sum-block .analytics-label {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
    color: rgba(160, 175, 195, 0.85);
    letter-spacing: 0.2em;
}

.checkout-final-sum {
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    color: #f2d98a;
    margin: 0;
    text-shadow:
        0 0 40px rgba(240, 173, 78, 0.35),
        0 2px 0 rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.checkout-sum-status {
    text-align: center;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: rgba(255, 78, 78, 0.75);
    margin-top: 0.65rem;
}

.checkout-card-box {
    position: relative;
    margin: 1.5rem 0;
    padding: clamp(1.1rem, 2.5vw, 1.45rem);
    border-radius: 10px;
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, rgba(14, 16, 22, 0.98) 0%, rgba(8, 10, 15, 0.99) 100%) padding-box,
        linear-gradient(145deg, rgba(255, 80, 90, 0.4) 0%, rgba(30, 35, 48, 0.35) 50%, rgba(0, 185, 215, 0.35) 100%) border-box;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5) inset,
        0 16px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.checkout-card-box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
    opacity: 0.9;
}

.checkout-card-label {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(180, 190, 205, 0.9);
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 0.65rem;
}

.checkout-card-number {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(1.15rem, 4.5vw, 1.65rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 78, 78, 0.45);
    margin: 0 0 0.5rem;
    word-break: break-all;
}

.checkout-card-recipient {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: rgba(150, 165, 185, 0.95);
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.checkout-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0.5rem 0 1.25rem;
}

.checkout-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.28);
    transition: border-color 0.25s var(--ease-smooth), box-shadow 0.3s;
}

.checkout-step:hover {
    border-color: rgba(255, 78, 78, 0.2);
    box-shadow: 0 0 16px rgba(255, 60, 60, 0.06);
}

.checkout-step__num {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--red);
    padding: 4px 8px;
    border: 1px solid rgba(255, 78, 78, 0.35);
    border-radius: 3px;
    background: rgba(255, 60, 60, 0.08);
}

.checkout-step__text {
    font-size: 11px;
    line-height: 1.55;
    color: #c8c8c8;
    margin: 0;
}

.checkout-step__text a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 78, 78, 0.35);
}

.checkout-step__text a:hover {
    border-bottom-color: var(--red);
}

.privacy-agreement-checkout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 1rem 0 1.25rem;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
}

.privacy-agreement-checkout input {
    cursor: pointer;
    accent-color: var(--red);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-agreement-checkout label {
    font-size: 10px;
    color: #9a9a9a;
    line-height: 1.55;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.privacy-agreement-checkout a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 62, 62, 0.35);
}

.checkout-cta.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.45s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.checkout-cta--inactive {
    opacity: 0.3;
    pointer-events: none;
    box-shadow: none;
}

.checkout-cta:not(.checkout-cta--inactive) {
    opacity: 1;
    pointer-events: auto;
}

.checkout-foot-note {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 8px;
    letter-spacing: 0.18em;
    color: #555;
}

.checkout-wrapper .nav-bar {
    width: auto;
}

@media (max-width: 480px) {
    .checkout-card-number {
        letter-spacing: 0.06em;
        font-size: 1rem;
    }

    .checkout-page-title {
        letter-spacing: 0.22em;
    }

    .checkout-panel {
        padding: 1rem 0.85rem 1.25rem;
    }

    .checkout-copy-btn {
        max-width: none;
        min-height: 48px;
    }

    .checkout-cta.btn-action {
        min-height: 52px;
        font-size: clamp(10px, 3.2vw, 12px);
    }
}

/* --- Мобильная полировка (весь сайт) --- */
@media (max-width: 768px) {
    .system-footer {
        padding: clamp(2rem, 6vw, 3rem) clamp(12px, 4vw, 20px);
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-banner {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .page-content {
        max-width: 100%;
    }

    .rank-selection-container {
        gap: 12px;
    }

    .analytics-faq-section {
        padding-left: 0;
        padding-right: 0;
    }

    .faq-answer-inner {
        padding: 0 2px;
    }
}

@media (max-width: 480px) {
    header {
        padding-left: max(10px, env(safe-area-inset-left, 0px));
        padding-right: max(10px, env(safe-area-inset-right, 0px));
    }

    .nav-links button {
        min-height: 44px;
    }

    .btn-action {
        min-height: 48px;
    }

    .privacy-agreement,
    .privacy-agreement-checkout {
        padding: 14px;
    }

    .hero-marquee {
        margin-bottom: 0.75rem;
    }
}

/* --- Светлая тема: фон PTS (сетка · «дождь» · скан-линия), только при .theme-trust-light --- */
html:not(.theme-trust-light) .tw-bg-tech-light {
    display: none !important;
}

.tw-bg-tech-light {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.tw-bg-tech-light__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 88% 78% at 50% 32%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 32%, #000 0%, transparent 70%);
}

.tw-bg-tech-light__rain {
    position: absolute;
    inset: -8% 0 0 0;
    opacity: 0.38;
    background-image:
        repeating-linear-gradient(
            168deg,
            transparent,
            transparent 17px,
            rgba(100, 116, 139, 0.1) 17px,
            rgba(100, 116, 139, 0.1) 18px
        ),
        repeating-linear-gradient(
            153deg,
            transparent,
            transparent 24px,
            rgba(0, 198, 255, 0.055) 24px,
            rgba(0, 198, 255, 0.055) 25px
        );
    animation: tw-tech-rain 28s linear infinite;
    mask-image: radial-gradient(ellipse 92% 82% at 50% 38%, #000, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 92% 82% at 50% 38%, #000, transparent 76%);
}

@keyframes tw-tech-rain {
    from { transform: translateY(-32px); }
    to { transform: translateY(32px); }
}

.tw-bg-tech-light__scan {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.5;
}

.tw-bg-tech-light__scan::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 38%;
    top: -40%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 198, 255, 0.05) 42%,
        rgba(255, 78, 78, 0.045) 58%,
        transparent 100%
    );
    animation: tw-tech-scan 16s ease-in-out infinite;
}

@keyframes tw-tech-scan {
    0% { transform: translateY(0); opacity: 0.35; }
    20% { opacity: 0.9; }
    50% { transform: translateY(115vh); opacity: 0.55; }
    100% { transform: translateY(230vh); opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
    .tw-bg-tech-light__rain,
    .tw-bg-tech-light__scan::before {
        animation: none !important;
    }
}

/* =============================================================================
   Светлая тема PTS — класс theme-trust-light на <html>
   По умолчанию тёмная тема; светлая: ?theme=light или localStorage titanway_theme=light
   ============================================================================= */

html.theme-trust-light {
    --trust-body: rgba(23, 31, 48, 0.94);
    --trust-muted: rgba(71, 85, 105, 0.92);
    --tw-surface: #ffffff;
    --tw-surface-2: #f1f5f9;
    --tw-surface-3: #e8eef5;
    --tw-ink: #0f172a;
    --tw-ink-soft: #334155;
    --tw-edge: rgba(15, 23, 42, 0.07);
    --tw-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --tw-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 28px -8px rgba(15, 23, 42, 0.1);
    --tw-shadow-lg: 0 8px 16px -4px rgba(15, 23, 42, 0.06), 0 20px 48px -12px rgba(15, 23, 42, 0.12);
    --tw-ring-red: 0 0 0 1px rgba(255, 78, 78, 0.12), 0 0 40px rgba(255, 78, 78, 0.08);
}

html.theme-trust-light .tw-bg-motion {
    display: none !important;
}

html.theme-trust-light,
html.theme-trust-light body {
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", sans-serif;
    background-color: #eef2f9;
    background-image:
        radial-gradient(ellipse 120% 90% at 10% -10%, rgba(255, 90, 100, 0.09), transparent 45%),
        radial-gradient(ellipse 80% 60% at 95% 5%, rgba(0, 180, 220, 0.07), transparent 42%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(148, 163, 184, 0.12), transparent 55%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 31px,
            rgba(15, 23, 42, 0.018) 31px,
            rgba(15, 23, 42, 0.018) 32px
        ),
        linear-gradient(180deg, #fbfcfe 0%, #eef2f9 38%, #e6ebf4 100%);
    color: var(--tw-ink);
    -webkit-font-smoothing: antialiased;
}

html.theme-trust-light .main-wrapper {
    color: inherit;
}

html.theme-trust-light header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--tw-shadow-sm), 0 12px 40px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(16px) saturate(1.35);
    -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

html.theme-trust-light .logo-text {
    color: var(--tw-ink);
    letter-spacing: 0.14em;
}

html.theme-trust-light .nav-bar {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--tw-edge);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--tw-shadow-sm);
}

html.theme-trust-light .nav-links button {
    border-color: rgba(148, 163, 184, 0.45);
    color: #64748b;
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

html.theme-trust-light .nav-links button:hover {
    color: var(--tw-ink-soft);
    border-color: rgba(255, 78, 78, 0.4);
    box-shadow: 0 2px 10px rgba(255, 78, 78, 0.08);
}

html.theme-trust-light .nav-links button.active {
    color: #b91c1c;
    background: linear-gradient(180deg, rgba(255, 78, 78, 0.1) 0%, rgba(255, 78, 78, 0.04) 100%);
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: var(--tw-ring-red);
}

html.theme-trust-light .page-lead {
    color: #64748b;
    font-weight: 600;
}

html.theme-trust-light .page-lead--hero {
    color: #64748b;
}

html.theme-trust-light .hero-marquee {
    border-radius: 10px;
    border: 1px solid var(--tw-edge);
    border-top-color: rgba(255, 78, 78, 0.2);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 62, 62, 0.04), rgba(255, 255, 255, 0.5));
}

html.theme-trust-light .hero-marquee__track {
    color: #475569;
    font-weight: 700;
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", monospace;
    letter-spacing: 0.14em;
}

html.theme-trust-light .hero-showcase {
    border-radius: 18px;
    background:
        linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%) padding-box,
        linear-gradient(135deg, rgba(255, 85, 95, 0.55) 0%, rgba(200, 210, 230, 0.65) 42%, rgba(226, 232, 240, 0.95) 58%, rgba(0, 190, 220, 0.4) 100%) border-box;
    box-shadow:
        var(--tw-shadow-md),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 60px rgba(255, 78, 78, 0.04);
}

html.theme-trust-light .hero-showcase::after {
    opacity: 0.5;
    background-image:
        radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 70, 80, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 8% 85%, rgba(0, 198, 255, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 92% 25%, rgba(255, 60, 60, 0.06) 0%, transparent 40%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 10px,
            rgba(15, 23, 42, 0.022) 10px,
            rgba(15, 23, 42, 0.022) 11px
        );
}

html.theme-trust-light .hero-showcase__head {
    border-bottom-color: var(--tw-edge);
}

html.theme-trust-light .hero-showcase__title {
    color: var(--tw-ink);
    font-weight: 900;
    letter-spacing: 0.2em;
}

html.theme-trust-light .hero-showcase__tabs {
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid var(--tw-edge);
    border-radius: 12px;
    padding: 6px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

html.theme-trust-light .hero-preset-tab {
    color: #64748b;
    border-radius: 10px;
    font-weight: 800;
}

html.theme-trust-light .hero-preset-tab:hover {
    color: var(--tw-ink);
    background: rgba(255, 255, 255, 0.9);
}

html.theme-trust-light .hero-preset-tab.active {
    color: #fff;
    background: linear-gradient(145deg, #ff5c5c 0%, #dc2626 48%, #b91c1c 100%);
    box-shadow:
        0 2px 12px rgba(220, 38, 38, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

html.theme-trust-light .hero-showcase__tagline {
    color: var(--tw-ink-soft);
    background: linear-gradient(90deg, rgba(255, 78, 78, 0.08) 0%, transparent 90%);
    border-radius: 0 8px 8px 0;
}

html.theme-trust-light .mini-hero-frame {
    border-color: rgba(15, 23, 42, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow: var(--tw-shadow-sm);
    overflow: hidden;
}

html.theme-trust-light .mini-hero-img {
    transform: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

html.theme-trust-light .mini-hero-img.is-visible {
    transform: none !important;
}

html.theme-trust-light .mini-hero {
    opacity: 0.88;
}

html.theme-trust-light .mini-hero:not(.featured) {
    opacity: 0.8;
}

html.theme-trust-light .mini-hero.featured .mini-hero-frame {
    border-width: 2px;
    border-color: rgba(220, 38, 38, 0.9);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 0 0 2px rgba(220, 38, 38, 0.55),
        0 10px 28px rgba(220, 38, 38, 0.2),
        0 0 36px rgba(255, 78, 78, 0.12);
}

html.theme-trust-light .hero-wr {
    color: #b45309;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.theme-trust-light .page-title {
    background: linear-gradient(
        105deg,
        #1e293b 0%,
        #334155 18%,
        var(--red) 50%,
        #334155 82%,
        #1e293b 100%
    );
    background-size: 220% 100%;
}

html.theme-trust-light .status-id__meta {
    color: #64748b;
}

html.theme-trust-light .status-id__human {
    color: #475569;
}

html.theme-trust-light .status-linkbar {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--tw-edge);
    box-shadow: var(--tw-shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html.theme-trust-light .status-linkbar__label {
    color: rgba(220, 38, 38, 0.85);
}

html.theme-trust-light .status-linkbar__track {
    background: rgba(15, 23, 42, 0.07);
}

html.theme-trust-light .status-linkbar__pct {
    color: #b45309;
}

html.theme-trust-light .panel {
    background: var(--tw-surface);
    border: 1px solid var(--tw-edge);
    border-left: 4px solid var(--red);
    border-radius: 16px;
    box-shadow: var(--tw-shadow-md);
    transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s;
}

html.theme-trust-light .panel:hover {
    background: #ffffff;
    box-shadow: var(--tw-shadow-lg);
    transform: translateY(-1px);
}

html.theme-trust-light .panel.panel--glow {
    box-shadow: var(--tw-shadow-lg), var(--tw-ring-red);
}

html.theme-trust-light .panel.panel--glow .panel {
    background: linear-gradient(180deg, #fafbfc, #f1f5f9) !important;
    border: 1px dashed rgba(220, 38, 38, 0.38) !important;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.theme-trust-light .rank-card {
    background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
    border: 1px solid var(--tw-edge) !important;
    border-left-width: 4px !important;
    border-left-style: solid !important;
    border-left-color: #e11d48 !important;
    border-radius: 14px !important;
    box-shadow: var(--tw-shadow-sm), inset 4px 0 0 -1px rgba(56, 189, 248, 0.32) !important;
}

html.theme-trust-light .rank-card__tip {
    color: var(--tw-ink-soft);
}

html.theme-trust-light .rank-name-label {
    font-weight: 900;
    background: linear-gradient(95deg, #c2410c 0%, #ea580c 42%, #0f766e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    html.theme-trust-light .rank-name-label {
        color: #c2410c;
        background: none;
    }
}

html.theme-trust-light .rank-icon {
    filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.2)) drop-shadow(0 0 6px rgba(0, 198, 255, 0.12));
}

html.theme-trust-light .rank-card--current {
    border-left-color: #0284c7 !important;
    box-shadow: var(--tw-shadow-sm), inset 4px 0 0 -1px rgba(255, 78, 78, 0.35) !important;
}

html.theme-trust-light .rank-card--target {
    border-left-color: #ea580c !important;
    box-shadow: var(--tw-shadow-sm), inset 4px 0 0 -1px rgba(250, 204, 21, 0.4) !important;
}

html.theme-trust-light label.input-label,
html.theme-trust-light .input-label {
    color: var(--tw-ink-soft);
    font-weight: 800;
}

html.theme-trust-light .mode-btn {
    background: var(--tw-surface-2);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #64748b;
    border-radius: 12px;
}

html.theme-trust-light .mode-btn.active {
    background: linear-gradient(180deg, rgba(255, 78, 78, 0.12), rgba(255, 78, 78, 0.04));
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 20px rgba(255, 78, 78, 0.1);
}

html.theme-trust-light input,
html.theme-trust-light textarea,
html.theme-trust-light select {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--tw-ink);
    border-radius: 10px;
}

html.theme-trust-light input:focus,
html.theme-trust-light textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 78, 78, 0.12);
}

html.theme-trust-light .mmr-btn {
    border-radius: 8px;
    font-weight: 800;
}

html.theme-trust-light .mmr-btn:hover {
    color: #fff;
}

html.theme-trust-light .price-display.price-display--pts {
    border-radius: 18px;
    background:
        linear-gradient(175deg, #ffffff 0%, #f4f7fb 45%, #eef2f7 100%) padding-box,
        linear-gradient(130deg, rgba(255, 90, 100, 0.65) 0%, rgba(180, 195, 220, 0.55) 38%, rgba(226, 232, 240, 0.95) 62%, rgba(0, 200, 220, 0.45) 100%) border-box;
    box-shadow:
        var(--tw-shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset,
        0 0 80px rgba(255, 78, 78, 0.06);
}

html.theme-trust-light .price-display--pts:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 56px -12px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset,
        0 0 100px rgba(255, 78, 78, 0.08);
}

html.theme-trust-light .price-display__body {
    background-image:
        radial-gradient(ellipse 100% 85% at 50% -25%, rgba(255, 70, 80, 0.12) 0%, transparent 52%),
        radial-gradient(circle at 12% 100%, rgba(0, 198, 255, 0.1) 0%, transparent 48%);
}

html.theme-trust-light .price-display--pts .analytics-label {
    color: var(--tw-ink-soft);
    border: 1px solid var(--tw-edge);
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
    border-radius: 8px;
    font-weight: 800;
}

html.theme-trust-light .price-display--pts .total-price {
    color: #b45309;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 1),
        0 2px 24px rgba(245, 158, 11, 0.35),
        0 0 48px rgba(251, 191, 36, 0.2);
}

html.theme-trust-light .price-display--pts .per-win-label {
    font-weight: 800;
    letter-spacing: 0.11em;
    border-top-color: rgba(15, 23, 42, 0.1);
    background: linear-gradient(92deg, #047857 0%, #0e7490 48%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    html.theme-trust-light .price-display--pts .per-win-label {
        color: #047857;
        background: none;
    }
}

html.theme-trust-light .total-price {
    color: #b45309;
    text-shadow: 0 1px 0 #fff, 0 0 28px rgba(245, 158, 11, 0.25);
}

html.theme-trust-light .per-win-label {
    color: #64748b;
}

html.theme-trust-light .analytics-label {
    color: #64748b;
}

html.theme-trust-light .promo-panel-trust__label {
    color: #64748b;
}

html.theme-trust-light .promo-panel-trust__hint {
    color: #475569;
}

html.theme-trust-light .calc-panel-trust-line {
    color: #475569;
}

html.theme-trust-light .calc-panel-trust-line a {
    color: #0369a1;
    font-weight: 600;
    border-bottom-color: rgba(3, 105, 161, 0.35);
}

html.theme-trust-light .calc-panel-trust-line a:hover {
    color: #0c4a6e;
}

html.theme-trust-light .btn-action {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
}

html.theme-trust-light .btn-action:hover {
    box-shadow: 0 8px 28px rgba(255, 78, 78, 0.35);
}

html.theme-trust-light .service-row {
    border-bottom-color: var(--tw-edge);
}

html.theme-trust-light .service-row span:first-child {
    color: #64748b;
}

html.theme-trust-light .service-row span:last-child {
    color: var(--tw-ink);
    font-weight: 800;
}

html.theme-trust-light .review-card {
    border-radius: 16px;
    box-shadow: var(--tw-shadow-md);
}

html.theme-trust-light .review-header {
    border-bottom-color: var(--tw-edge);
}

html.theme-trust-light .review-user {
    color: #b91c1c;
}

html.theme-trust-light .review-text {
    color: var(--tw-ink-soft);
}

html.theme-trust-light .review-screenshot {
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.45);
}

html.theme-trust-light .secondary-link {
    color: #64748b;
}

html.theme-trust-light .privacy-agreement label {
    color: var(--tw-ink);
}

html.theme-trust-light .privacy-agreement-checkout {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--tw-edge);
    border-radius: 12px;
}

html.theme-trust-light .privacy-agreement-checkout label {
    color: var(--tw-ink);
}

html.theme-trust-light .faq-item {
    background: var(--tw-surface);
    border: 1px solid var(--tw-edge);
    border-radius: 14px;
    box-shadow: var(--tw-shadow-sm);
}

html.theme-trust-light .faq-item.active {
    box-shadow: var(--tw-shadow-md), 0 0 0 1px rgba(255, 78, 78, 0.08);
}

html.theme-trust-light .faq-question {
    color: var(--tw-ink);
    font-weight: 800;
}

html.theme-trust-light .faq-answer-text {
    color: var(--tw-ink-soft);
}

html.theme-trust-light .faq-bulk-btn {
    background: var(--tw-surface);
    border: 1px solid rgba(255, 78, 78, 0.35);
    color: var(--tw-ink-soft);
    border-radius: 8px;
}

html.theme-trust-light .faq-bulk-btn:hover {
    color: var(--tw-ink);
    background: #fef2f2;
}

html.theme-trust-light .analytics-title {
    color: var(--tw-ink);
    border-left-color: var(--red);
}

html.theme-trust-light .analytics-faq-section::before,
html.theme-trust-light .analytics-faq-section::after {
    border-color: rgba(255, 78, 78, 0.35);
}

html.theme-trust-light .system-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, #f1f5f9 100%);
    border-top: 1px solid var(--tw-edge);
    box-shadow: 0 -20px 48px rgba(15, 23, 42, 0.04);
}

html.theme-trust-light .system-footer::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--red), var(--gold), rgba(0, 198, 255, 0.8), transparent);
    opacity: 0.85;
}

html.theme-trust-light .footer-logo {
    color: var(--tw-ink);
}

html.theme-trust-light .footer-trust-line {
    color: #64748b;
}

html.theme-trust-light .footer-mail {
    color: #0369a1;
    font-weight: 700;
}

html.theme-trust-light .footer-copy {
    color: #94a3b8;
}

html.theme-trust-light .cookie-banner {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: 14px;
    box-shadow: var(--tw-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.theme-trust-light .cookie-banner__text {
    color: var(--tw-ink-soft);
}

html.theme-trust-light .scroll-top-btn {
    background: var(--tw-surface);
    color: #b91c1c;
    border: 1px solid rgba(255, 78, 78, 0.4);
    box-shadow: var(--tw-shadow-md);
}

html.theme-trust-light .scroll-top-btn:hover {
    background: #fef2f2;
    transform: translateY(-2px);
}

html.theme-trust-light .checkout-page-title {
    color: var(--tw-ink);
    text-shadow: none;
    font-weight: 900;
}

html.theme-trust-light .checkout-sub,
html.theme-trust-light .checkout-session-line {
    color: #64748b;
    font-weight: 600;
}

html.theme-trust-light .checkout-sum-block .analytics-label {
    color: #64748b;
}

html.theme-trust-light .checkout-final-sum {
    color: #c2410c;
    text-shadow: 0 1px 0 #fff, 0 0 36px rgba(251, 191, 36, 0.3);
}

html.theme-trust-light .checkout-sum-status {
    color: #b45309;
    font-weight: 700;
}

html.theme-trust-light .checkout-panel.panel--glow {
    border-radius: 18px;
}

html.theme-trust-light .checkout-card-box {
    border-radius: 16px;
    background:
        linear-gradient(175deg, #ffffff 0%, #f4f7fb 100%) padding-box,
        linear-gradient(130deg, rgba(255, 88, 98, 0.5) 0%, rgba(210, 220, 235, 0.7) 50%, rgba(0, 195, 215, 0.38) 100%) border-box;
    box-shadow: var(--tw-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html.theme-trust-light .checkout-card-label,
html.theme-trust-light .checkout-card-recipient {
    color: #64748b;
    font-weight: 700;
}

html.theme-trust-light .checkout-card-number {
    color: var(--tw-ink);
    font-weight: 900;
}

html.theme-trust-light .checkout-step {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--tw-edge);
    border-radius: 12px;
    box-shadow: var(--tw-shadow-sm);
}

html.theme-trust-light .checkout-step__text {
    color: var(--tw-ink-soft);
    font-weight: 500;
}

html.theme-trust-light .checkout-step__text a {
    font-weight: 700;
}

html.theme-trust-light .checkout-foot-note {
    color: #64748b;
    border-top-color: var(--tw-edge);
    font-weight: 600;
}

html.theme-trust-light .page-content::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    html.theme-trust-light .panel:hover,
    html.theme-trust-light .price-display--pts:hover {
        transform: none;
    }

    html.theme-trust-light .page-title {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: var(--tw-ink);
        animation: none;
    }

    html.theme-trust-light .tw-bg-tech-light__rain,
    html.theme-trust-light .tw-bg-tech-light__scan::before {
        animation: none !important;
    }
}