@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Fox Stories: тёмная золотая тема для лендинга и каталога */
body.promo-theme-fox {
    --color-bg-dark: #0e0d0a;
    --color-bg-mid: #12110e;
    --color-bg-accent: #1c1a14;
    --color-cream: #f2f2e8;
    --color-cream-mid: #d4d0c4;
    --color-cream-warm: #e8e4d8;
    --color-brown: #c5a059;
    --color-brown-dark: #a68645;
    --color-text: #f2f2e8;
    --color-text-muted: rgba(242, 242, 232, 0.55);
    --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --shadow-card: 0 0 0 1px rgba(197, 160, 89, 0.18), 0 24px 56px rgba(0, 0, 0, 0.55);
    --radius: 14px;
    --promo-glass-surface: rgba(28, 26, 20, 0.72);
    --promo-glass-border: rgba(197, 160, 89, 0.22);
    --gold: #c5a059;
    --gold-soft: rgba(197, 160, 89, 0.22);
    position: relative;
    color: var(--color-text);
}

body.promo-theme-fox::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 85% 65% at 50% -20%, rgba(197, 160, 89, 0.14), transparent 52%),
        radial-gradient(ellipse 50% 40% at 100% 35%, rgba(197, 160, 89, 0.06), transparent),
        radial-gradient(ellipse 45% 35% at 0% 70%, rgba(166, 134, 69, 0.07), transparent),
        linear-gradient(165deg, #161410 0%, #12110e 40%, #0a0908 100%);
    pointer-events: none;
}

body.promo-theme-fox::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 18%, transparent 72%);
    pointer-events: none;
    animation: promo-mesh-drift 28s ease-in-out infinite alternate;
}

@keyframes promo-mesh-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-10px, -6px); }
}

body.promo-theme-fox .landing-nav {
    flex-wrap: wrap;
    row-gap: 12px;
}

body.promo-theme-fox .landing-nav .nav-app-links {
    display: flex;
    align-items: center;
    gap: 8px 24px;
    flex-wrap: wrap;
}

body.promo-theme-fox .landing-nav .nav-app-links a {
    color: rgba(242, 242, 232, 0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

body.promo-theme-fox .landing-nav .nav-app-links a:hover {
    color: var(--color-cream);
}

body.promo-theme-fox .telegram-popup {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(18px);
    z-index: 130;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 32px), 520px);
    padding: 12px 16px;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 18px;
    background: rgba(14, 13, 10, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    will-change: transform, opacity;
}

body.promo-theme-fox .telegram-popup.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(18px);
}

body.promo-theme-fox .telegram-popup:not(.is-hidden) {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

body.promo-theme-fox .telegram-popup-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #f5f0e4;
    text-decoration: none;
    padding-right: 44px; /* space for the absolute close button */
}

body.promo-theme-fox .telegram-popup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #229ed9;
    color: #fff;
    flex: 0 0 auto;
}

body.promo-theme-fox .telegram-popup-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

body.promo-theme-fox .telegram-popup-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    flex: 1 1 auto;
    min-width: 0;
}

body.promo-theme-fox .telegram-popup-link:hover .telegram-popup-text {
    color: #fff;
}

body.promo-theme-fox .telegram-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    background: #229ed9;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(34, 158, 217, 0.22);
    transition: background 0.2s;
}

body.promo-theme-fox .telegram-popup-link:hover .telegram-popup-cta {
    background: #37aee2;
}

body.promo-theme-fox .telegram-popup-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 240, 228, 0.9);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

body.promo-theme-fox .telegram-popup-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (max-width: 640px) {
    body.promo-theme-fox .telegram-popup {
        bottom: 16px;
        gap: 10px;
        padding: 10px 12px;
        width: min(calc(100% - 20px), 520px);
    }

    body.promo-theme-fox .telegram-popup-text {
        font-size: 14px;
    }
}

body.promo-theme-fox .landing-nav .nav-books a.nav-catalog,
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-catalog,
body.promo-theme-fox .landing-nav .nav-app-links a.nav-home,
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-home {
    color: #f5f0e4;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.55);
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0.1) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.15),
        0 0 28px rgba(197, 160, 89, 0.14),
        inset 0 1px 0 rgba(255, 248, 235, 0.12);
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

body.promo-theme-fox .landing-nav .nav-books a.nav-catalog:hover,
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-catalog:hover,
body.promo-theme-fox .landing-nav .nav-app-links a.nav-home:hover,
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-home:hover {
    color: #fffcf5;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.32) 0%, rgba(197, 160, 89, 0.16) 100%);
    border-color: rgba(197, 160, 89, 0.72);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12),
        0 0 36px rgba(197, 160, 89, 0.22),
        inset 0 1px 0 rgba(255, 248, 235, 0.18);
    transform: translateY(-1px);
}

body.promo-theme-fox .landing-nav .nav-books a.nav-catalog[aria-current="page"],
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-catalog[aria-current="page"],
body.promo-theme-fox .landing-nav .nav-app-links a.nav-home[aria-current="page"],
body.promo-theme-fox .landing-nav .nav-mobile-primary a.nav-home[aria-current="page"] {
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.34) 0%, rgba(197, 160, 89, 0.2) 100%);
    border-color: rgba(197, 160, 89, 0.65);
    color: #fffcf5;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12),
        0 0 32px rgba(197, 160, 89, 0.2),
        inset 0 1px 0 rgba(255, 248, 235, 0.14);
}

body.promo-theme-fox .landing-nav.scrolled {
    background: rgba(14, 13, 10, 0.9);
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Страница истории: отступ под фиксированное меню */
body.promo-theme-fox.story-page .story-page-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 88px;
}

body.promo-theme-fox.story-page .story-page-body .card {
    flex: 1;
}

@media (max-width: 768px) {
    body.promo-theme-fox .landing-nav .nav-app-links {
        display: none;
    }
}

body.promo-theme-fox .nav-cta,
body.promo-theme-fox .btn-hero,
body.promo-theme-fox .btn:not(.btn-outline):not(.btn-hero-secondary) {
    background: linear-gradient(180deg, #d4af6a 0%, #c5a059 48%, #a68645 100%);
    border: 1px solid rgba(197, 160, 89, 0.55);
    color: #12110e;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 32px rgba(197, 160, 89, 0.12);
}

body.promo-theme-fox .nav-cta:hover,
body.promo-theme-fox .btn-hero:hover,
body.promo-theme-fox .btn:not(.btn-outline):not(.btn-hero-secondary):hover {
    background: linear-gradient(180deg, #e0bc75 0%, #c5a059 50%, #b08a4a 100%);
    color: #12110e;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 40px rgba(197, 160, 89, 0.2);
}

body.promo-theme-fox .btn-outline {
    background: transparent;
    color: var(--color-cream);
    border: 2px solid rgba(242, 242, 232, 0.35);
    box-shadow: none;
}

body.promo-theme-fox .btn-outline:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-cream);
    border-color: rgba(197, 160, 89, 0.5);
}

/* Вторичная кнопка в hero */
body.promo-theme-fox .btn-hero-secondary {
    background: transparent;
    color: #f2f2e8;
    border: 1px solid rgba(242, 242, 232, 0.55);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    box-shadow: none;
}

body.promo-theme-fox .btn-hero-secondary:hover {
    background: rgba(242, 242, 232, 0.06);
    border-color: rgba(242, 242, 232, 0.85);
    color: #fff;
    transform: translateY(-1px);
}

/* ========== Hero (баннер как в референсе) ========== */
body.promo-theme-fox .hero {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    gap: 40px 48px;
    padding-top: 96px;
    padding-bottom: 32px;
}

body.promo-theme-fox .hero-content {
    flex: 1 1 320px;
    max-width: 540px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

body.promo-theme-fox .hero-badge {
    display: inline-block;
    margin: 0 0 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.06);
}

body.promo-theme-fox .hero h1 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #f2f2e8;
    -webkit-background-clip: unset;
    background-clip: unset;
    background: none;
}

body.promo-theme-fox .hero-h1-accent {
    color: var(--gold);
}

body.promo-theme-fox .hero-tagline {
    color: rgba(242, 242, 232, 0.82);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 28px;
}

body.promo-theme-fox .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    margin-bottom: 28px;
}

body.promo-theme-fox .hero-lang-note {
    margin: 0;
    max-width: 100%;
    font-size: 14px;
    color: rgba(242, 242, 232, 0.55);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    overflow-wrap: break-word;
    position: relative;
    z-index: 2;
}

body.promo-theme-fox .hero-lang-flags {
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* Визуал: телефон + плавающие карточки */
body.promo-theme-fox .hero-visual {
    position: relative;
    z-index: 1;
    flex: 0 1 360px;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    padding: 0 12px;
    isolation: isolate;
}

body.promo-theme-fox .hero-phone-frame {
    position: relative;
    z-index: 1;
    max-width: 300px;
    width: 100%;
}

body.promo-theme-fox .hero-phone-frame::before {
    content: '';
    position: absolute;
    inset: -22% -14% -20% -14%;
    /* Dark warm halo; fade to page base rgb(18,17,14) at 0α — not keyword transparent (cleaner blend). */
    background: radial-gradient(
        ellipse 95% 90% at 50% 44%,
        rgba(52, 44, 32, 0.75) 0%,
        rgba(28, 25, 20, 0.45) 42%,
        rgba(18, 17, 14, 0) 70%
    );
    filter: blur(22px);
    z-index: 0;
    animation: promo-hero-glow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Opacity-only: scaling the layer moves radial-gradient edges and reads as a seam next to the rounded screen */
@keyframes promo-hero-glow {
    from { opacity: 0.78; }
    to { opacity: 1; }
}

body.promo-theme-fox .hero-app-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.18),
        0 28px 72px rgba(0, 0, 0, 0.58),
        0 0 48px rgba(197, 160, 89, 0.08);
}

/* Плавающие панели: ±16px по Y, ±3° поворот */
@keyframes hero-float-lookup {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes hero-float-progress {
    0%, 100% { transform: translateY(-16px) rotate(3deg); }
    50% { transform: translateY(0) rotate(-3deg); }
}

body.promo-theme-fox .hero-float-panel {
    position: absolute;
    z-index: 2;
    width: min(248px, 70vw);
    padding: 14px 16px 16px;
    border-radius: 14px;
    background: rgba(22, 21, 17, 0.92);
    border: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 1px rgba(242, 242, 232, 0.06) inset;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

body.promo-theme-fox .hero-float-lookup {
    top: 6%;
    left: max(-8px, -2vw);
    transform-origin: 70% 80%;
    animation: hero-float-lookup 5s ease-in-out infinite;
}

body.promo-theme-fox .hero-float-progress {
    bottom: 10%;
    right: max(-8px, -2vw);
    transform-origin: 30% 30%;
    animation: hero-float-progress 5s ease-in-out infinite;
}

body.promo-theme-fox .hero-float-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

body.promo-theme-fox .hero-float-word {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #f2f2e8;
}

body.promo-theme-fox .hero-float-translate {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gold);
}

body.promo-theme-fox .hero-float-hint {
    font-size: 12px;
    color: rgba(242, 242, 232, 0.45);
}

body.promo-theme-fox .hero-float-stat {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gold);
}

body.promo-theme-fox .hero-float-stat:last-child {
    margin-bottom: 0;
}

body.promo-theme-fox .hero-float-stat-icon {
    margin-right: 6px;
}

@media (max-width: 1040px) {
    body.promo-theme-fox .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 108px;
        row-gap: 48px;
    }

    body.promo-theme-fox .hero-content {
        max-width: 620px;
    }

    body.promo-theme-fox .hero-actions {
        justify-content: center;
    }

    body.promo-theme-fox .hero-lang-note {
        justify-content: center;
        margin-top: 12px;
    }

    body.promo-theme-fox .hero-visual {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        min-height: 440px;
    }

    body.promo-theme-fox .hero-float-lookup {
        left: 0;
        top: 4%;
    }

    body.promo-theme-fox .hero-float-progress {
        right: 0;
        bottom: 8%;
    }
}

@media (max-width: 480px) {
    body.promo-theme-fox .hero {
        row-gap: 56px;
    }

    body.promo-theme-fox .hero-lang-note {
        margin-top: 20px;
    }

    body.promo-theme-fox .hero-float-panel {
        width: min(200px, 52vw);
        padding: 12px 14px;
    }

    body.promo-theme-fox .hero-float-lookup {
        top: 2%;
        left: 2%;
        max-width: calc(100% - 16px);
    }

    body.promo-theme-fox .hero-float-progress {
        bottom: 6%;
        right: 2%;
        max-width: calc(100% - 16px);
    }

    body.promo-theme-fox .hero-float-word {
        font-size: 17px;
    }

    body.promo-theme-fox .hero-phone-frame {
        max-width: 260px;
    }
}

body.promo-theme-fox .feature-label {
    color: rgba(197, 160, 89, 0.92);
    letter-spacing: 0.14em;
}

body.promo-theme-fox .feature h2 {
    color: #f2f2e8;
    font-weight: 700;
}

body.promo-theme-fox .feature p {
    color: rgba(242, 242, 232, 0.78);
}

body.promo-theme-fox .feature-image-wrap img {
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.14),
        0 20px 56px rgba(0, 0, 0, 0.45);
}

body.promo-theme-fox .promo-video-heading {
    color: #f2f2e8;
}

body.promo-theme-fox .promo-video-lead {
    color: rgba(242, 242, 232, 0.8);
}

body.promo-theme-fox .promo-video-frame {
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.12),
        0 24px 64px rgba(0, 0, 0, 0.5);
}

/* Скачивание */
body.promo-theme-fox .download-inner {
    background: var(--promo-glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--promo-glass-border);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.promo-theme-fox .download-inner h2 {
    color: #f2f2e8;
}

body.promo-theme-fox .download-subtitle {
    color: rgba(212, 208, 196, 0.75);
}

body.promo-theme-fox .download-card {
    background: rgba(22, 21, 17, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

body.promo-theme-fox .download-card h3 {
    color: #f0ebe0;
}

body.promo-theme-fox .download-card p {
    color: rgba(212, 208, 196, 0.75);
}

body.promo-theme-fox .download-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 12px 40px rgba(197, 160, 89, 0.06);
}

/* Карточки книг */
body.promo-theme-fox .book-card {
    background: var(--promo-glass-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 160, 89, 0.14);
}

body.promo-theme-fox .book-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(197, 160, 89, 0.08);
}

body.promo-theme-fox .book-card-title {
    color: #f2f2e8;
}

body.promo-theme-fox .book-card-lang {
    color: rgba(197, 160, 89, 0.88);
}

body.promo-theme-fox .book-card-level {
    background: rgba(10, 9, 8, 0.88);
    border: 1px solid rgba(197, 160, 89, 0.22);
}

/* Хаб языков */
body.promo-theme-fox .books-hub-card {
    background: var(--promo-glass-surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(197, 160, 89, 0.16);
}

body.promo-theme-fox .books-hub-card::after {
    background: radial-gradient(ellipse at 80% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 55%);
}

body.promo-theme-fox .books-hub-card-lang {
    color: #f2f2e8;
}

body.promo-theme-fox .books-hub-card-desc {
    color: rgba(212, 208, 196, 0.78);
}

body.promo-theme-fox .books-hub-card-cta {
    color: var(--gold);
}

body.promo-theme-fox .books-hub-card-label {
    color: rgba(197, 160, 89, 0.8);
}

body.promo-theme-fox .home-library-title {
    color: #f2f2e8;
}

body.promo-theme-fox .home-library-sub {
    color: rgba(242, 242, 232, 0.72);
}

body.promo-theme-fox .home-library-empty {
    color: rgba(212, 208, 196, 0.88);
}

body.promo-theme-fox .home-library-empty a {
    color: #e0c078;
}

/* Страница истории */
body.promo-theme-fox .app-header .tagline {
    color: rgba(242, 242, 232, 0.82);
    font-style: normal;
    font-weight: 500;
}

body.promo-theme-fox .card {
    background: rgba(24, 22, 18, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--promo-glass-border);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.promo-theme-fox .card::before {
    background: radial-gradient(ellipse at 50% 0%, rgba(197, 160, 89, 0.07) 0%, transparent 50%);
}

body.promo-theme-fox .card h1,
body.promo-theme-fox .card h2,
body.promo-theme-fox .story-title {
    color: #f2f2e8;
}

body.promo-theme-fox .card p {
    color: rgba(228, 224, 212, 0.9);
}

body.promo-theme-fox .story-lines .story-line {
    color: #ece8dc;
}

body.promo-theme-fox .story-image-fade {
    background: linear-gradient(to bottom, transparent 0%, rgba(24, 22, 18, 0.55) 50%, rgba(18, 17, 14, 0.96) 100%);
}

body.promo-theme-fox .loading,
body.promo-theme-fox .error {
    color: rgba(212, 208, 196, 0.85);
}

/* Единый расширенный футер (все promo-страницы) */
body.promo-theme-fox .landing-footer.pal-footer-wide {
    text-align: left;
    padding: 56px 24px 32px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    background: var(--color-bg-mid);
    max-width: none;
}

body.promo-theme-fox .pal-footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

body.promo-theme-fox .pal-footer-brand h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

body.promo-theme-fox .pal-footer-brand p {
    font-size: 14px;
    color: rgba(212, 208, 196, 0.72);
    line-height: 1.6;
    max-width: 280px;
    font-style: normal;
    margin: 0;
}

body.promo-theme-fox .pal-footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: #f2f2e8;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.promo-theme-fox .pal-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.promo-theme-fox .pal-footer-col li {
    margin-bottom: 10px;
}

body.promo-theme-fox .pal-footer-col a {
    font-size: 14px;
    color: rgba(212, 208, 196, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

body.promo-theme-fox .pal-footer-col a:hover {
    color: var(--gold);
}

body.promo-theme-fox .pal-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

body.promo-theme-fox .pal-footer-bottom p {
    font-size: 13px;
    color: rgba(212, 208, 196, 0.72);
    margin: 0;
    font-style: normal;
}

body.promo-theme-fox .pal-footer-socials {
    display: flex;
    gap: 16px;
}

body.promo-theme-fox .pal-footer-socials a {
    color: rgba(212, 208, 196, 0.75);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

body.promo-theme-fox .pal-footer-socials a:hover {
    color: #e0c078;
}

@media (max-width: 1024px) {
    body.promo-theme-fox .pal-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body.promo-theme-fox .pal-footer-grid {
        grid-template-columns: 1fr;
    }

    body.promo-theme-fox .pal-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

body.promo-theme-fox.books-page > .landing-footer.pal-footer-wide,
body.promo-theme-fox.books-hub-page > .landing-footer.pal-footer-wide {
    margin-top: auto;
}

body.promo-theme-fox.story-page > .landing-footer.pal-footer-wide,
body.promo-theme-fox.policy-legal-page > .landing-footer.pal-footer-wide {
    margin-top: 24px;
}

body.promo-theme-fox .animate-on-scroll.animate-visible {
    transition-duration: 0.85s;
}
