/* ==========================================================================
   АРКАНУМ — МАСТЕРСКАЯ ОСОЗНАННОГО ТАРО
   Высокопроизводительный стиль: плавные 60 FPS, отсутствие лагов, люксовая эстетика
   ========================================================================== */

:root {
    --bg-dark: #07040f;
    --bg-surface: #0f0822;
    --bg-surface-elevated: #180d35;
    --bg-glass: rgba(18, 10, 38, 0.72);
    --bg-glass-hover: rgba(30, 16, 60, 0.85);

    --gold-100: #fff9e6;
    --gold-200: #fef0c7;
    --gold-300: #fae19c;
    --gold-500: #e5b95c;
    --gold-600: #c99834;
    --gold-700: #9e731b;
    --gold-glow: rgba(229, 185, 92, 0.25);

    --purple-300: #d8b4fe;
    --purple-500: #a855f7;

    --text-primary: #fcfbfe;
    --text-secondary: #c8c0da;
    --text-muted: #8b80a4;

    --border-subtle: rgba(229, 185, 92, 0.16);
    --border-active: rgba(229, 185, 92, 0.5);

    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Сброс */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(107, 33, 168, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 40%, rgba(229, 185, 92, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(67, 56, 202, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Прогресс-бар скролла на чистом GPU */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #e5b95c, #fae19c);
    z-index: 9999;
    will-change: width;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #241444;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Золотой текст */
.gold-text {
    background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-300) 40%, var(--gold-500) 80%, var(--gold-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Орнаментальный разделитель */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 16px auto 26px;
    color: var(--gold-500);
    font-size: 0.85rem;
    max-width: 260px;
}
.ornament-divider::before, .ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-500) 50%, #c49234 100%);
    color: #120924;
    box-shadow: 0 4px 20px var(--gold-glow);
    font-weight: 700;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 185, 92, 0.45);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--gold-500);
    color: var(--gold-300);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ==========================================================================
   ОПТИМИЗИРОВАННЫЙ SCROLL REVEAL (БЕЗ ТЯЖЕЛОГО BLUR!)
   ========================================================================== */
.reveal-prep {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-prep.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Заголовки секций */
.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 55px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: rgba(229, 185, 92, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--gold-300);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.25;
    margin-bottom: 14px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ==========================================================================
   ВЕРХНИЙ ИНФОРМАЦИОННЫЙ БАР (ЛУНА & ЗАКОН РФ 18+)
   ========================================================================== */
.top-legal-bar {
    background: #04020a;
    border-bottom: 1px solid rgba(229, 185, 92, 0.12);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.top-legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.moon-widget {
    color: var(--gold-300);
}
.legal-badge-18 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(229, 185, 92, 0.3);
    color: var(--gold-300);
    font-weight: 700;
    font-size: 0.75rem;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(7, 4, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 185, 92, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--gold-500);
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-primary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-text span {
    color: var(--gold-500);
    letter-spacing: 4px;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 24px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition-smooth);
    padding: 6px 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover {
    color: var(--gold-200);
}
.nav-link-sample {
    color: var(--gold-400);
    font-weight: 600;
    border-bottom: 1px dashed rgba(229, 185, 92, 0.4);
    padding-bottom: 3px;
}
.nav-link-sample:hover {
    color: var(--gold-100);
    border-color: var(--gold-300);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    background: rgba(229, 185, 92, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--gold-300);
    font-size: 0.82rem;
    margin-bottom: 22px;
}
.hero-badge-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.3rem;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(229, 185, 92, 0.12);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.trust-item i {
    color: var(--gold-500);
    font-size: 1.1rem;
}

/* 3D Окружение колоды карт */
.hero-3d-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-3d-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 520px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at center, rgba(35, 18, 70, 0.5) 0%, rgba(8, 4, 18, 0.2) 80%, transparent 100%);
    border: 1px solid rgba(229, 185, 92, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    contain: paint;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.canvas-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block;
}

/* Элегантная подсказка под колодой (не перекрывает карту!) */
.hero-card-callout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: rgba(18, 9, 36, 0.9);
    border: 1px solid rgba(229, 185, 92, 0.35);
    color: var(--gold-200);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    max-width: 92%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.35;
    word-break: normal;
    transition: var(--transition-smooth);
}
.hero-card-callout:hover {
    transform: translateY(-2px);
    border-color: var(--gold-500);
    color: var(--gold-100);
    box-shadow: 0 8px 25px rgba(229, 185, 92, 0.35);
}
.hero-card-callout i {
    color: var(--gold-500);
    font-size: 1rem;
    animation: handTilt 2s infinite ease-in-out;
}

@keyframes handTilt {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
}

/* ==========================================================================
   ИНТЕРАКТИВНАЯ КАРТА ДНЯ (DAILY CARD)
   ========================================================================== */
.daily-section {
    padding: 95px 0;
    position: relative;
}

.daily-card-widget {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.daily-card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.card-frame {
    width: 260px;
    height: 420px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #1c1038 0%, #0c061d 100%);
    border: 2px solid var(--gold-500);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 26px 20px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.card-frame-roman {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-300);
    font-weight: 700;
}

.card-frame-symbol-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(229, 185, 92, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    font-size: 2.8rem;
    background: radial-gradient(circle, rgba(229, 185, 92, 0.15) 0%, transparent 70%);
}

.card-frame-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-100);
    font-weight: 700;
}

.daily-info-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: var(--purple-300);
    font-size: 0.8rem;
    font-weight: 600;
}

.daily-meaning {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.daily-boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.daily-mini-box {
    background: rgba(12, 6, 26, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.daily-mini-box h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-300);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.daily-mini-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.daily-affirmation {
    background: linear-gradient(135deg, rgba(229, 185, 92, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-left: 3px solid var(--gold-500);
    padding: 14px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gold-100);
    font-size: 0.96rem;
}

/* ==========================================================================
   КАТАЛОГ УСЛУГ И ЦЕНЫ
   ========================================================================== */
.services-section {
    padding: 95px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.service-card {
    background: linear-gradient(180deg, rgba(28, 15, 48, 0.72) 0%, rgba(13, 7, 26, 0.88) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 185, 92, 0.2);
    border-radius: 22px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 185, 92, 0.6);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 25px rgba(229, 185, 92, 0.2);
}

.service-card.popular {
    border-color: rgba(229, 185, 92, 0.55);
    background: linear-gradient(180deg, rgba(46, 22, 84, 0.85) 0%, rgba(18, 8, 36, 0.95) 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 185, 92, 0.15);
}

.service-card.popular:hover {
    border-color: var(--gold-300);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(229, 185, 92, 0.3);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f7df94 0%, #d4a742 50%, #b88622 100%);
    color: #0e071e;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(212, 167, 66, 0.4);
    white-space: nowrap;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(229, 185, 92, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--gold-300);
    background: radial-gradient(circle, rgba(229, 185, 92, 0.16) 0%, rgba(229, 185, 92, 0.02) 100%);
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.08) rotate(4deg);
    border-color: var(--gold-300);
    color: #ffffff;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
    min-height: 40px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 22px;
    min-height: 58px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
    padding: 0;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(240, 235, 248, 0.9);
    line-height: 1.45;
}

.service-feature-item i {
    color: var(--gold-400);
    margin-top: 3px;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.tariff-card-luxury {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(229, 185, 92, 0.14) 0%, transparent 60%),
        linear-gradient(180deg, rgba(32, 17, 56, 0.78) 0%, rgba(13, 7, 26, 0.94) 100%) !important;
    border: 1px solid rgba(229, 185, 92, 0.32) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 235, 170, 0.2) !important;
}

.tariff-card-luxury:hover {
    border-color: rgba(229, 185, 92, 0.75) !important;
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 185, 92, 0.25), inset 0 1px 0 rgba(255, 235, 170, 0.4) !important;
}

.tariff-badge-subtle {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 9, 36, 0.94);
    border: 1px solid rgba(229, 185, 92, 0.5);
    color: #F7DF94;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(229, 185, 92, 0.15);
    white-space: nowrap;
}

.oracle-glow {
    background: radial-gradient(circle, rgba(229, 185, 92, 0.25) 0%, rgba(22, 11, 44, 0.8) 100%) !important;
    border: 1px solid rgba(229, 185, 92, 0.5) !important;
    box-shadow: 0 0 18px rgba(229, 185, 92, 0.25) !important;
    color: #FFF0BD !important;
}

.feature-star {
    color: var(--gold-400);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
    text-shadow: 0 0 8px rgba(229, 185, 92, 0.5);
}

.service-price-block {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 185, 92, 0.15);
    margin-bottom: 22px;
    text-align: left;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--gold-300);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0BD 25%, #E5B95C 65%, #C3922E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 10px rgba(229, 185, 92, 0.25));
}

.service-price-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.tariff-action-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-luxury-outline {
    background: linear-gradient(180deg, rgba(229, 185, 92, 0.14) 0%, rgba(229, 185, 92, 0.04) 100%);
    border: 1px solid rgba(229, 185, 92, 0.45);
    color: #FFF0BD !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-luxury-outline:hover {
    background: linear-gradient(135deg, #f7df94 0%, #d4a742 50%, #b88622 100%);
    color: #0e071e !important;
    border-color: #f7df94;
    box-shadow: 0 8px 25px rgba(212, 167, 66, 0.45), 0 0 15px rgba(229, 185, 92, 0.3);
    transform: translateY(-2px);
}

/* VIP карточка Годового Прогноза */
.vip-service-card {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(38, 19, 68, 0.85) 0%, rgba(18, 9, 36, 0.95) 100%);
    border: 1px solid rgba(229, 185, 92, 0.35);
    border-radius: 24px;
    padding: 34px 38px;
    position: relative;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(229, 185, 92, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vip-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 185, 92, 0.65);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65), 0 0 35px rgba(229, 185, 92, 0.2);
}

.vip-badge {
    position: absolute;
    top: -13px;
    left: 36px;
    background: linear-gradient(135deg, #f7df94 0%, #d4a742 50%, #b88622 100%);
    color: #0e071e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(212, 167, 66, 0.35);
}

.vip-card-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
}

.vip-card-left {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.vip-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(229, 185, 92, 0.3);
    background: radial-gradient(circle, rgba(229, 185, 92, 0.2) 0%, rgba(229, 185, 92, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--gold-300);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.vip-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.vip-card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 680px;
}

.vip-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.vip-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(240, 235, 248, 0.9);
}

.vip-feature-item i {
    color: var(--gold-400);
    font-size: 0.82rem;
}

.vip-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 250px;
    border-left: 1px solid rgba(229, 185, 92, 0.18);
    padding-left: 36px;
}

.vip-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Баннер мгновенного онлайн-расклада под тарифами */
.instant-ritual-banner {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(28, 14, 48, 0.75) 0%, rgba(14, 7, 28, 0.88) 100%);
    border: 1px solid rgba(229, 185, 92, 0.22);
    border-radius: 20px;
    padding: 26px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.instant-ritual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(229, 185, 92, 0.1);
    border: 1px solid rgba(229, 185, 92, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.instant-ritual-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.instant-ritual-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.instant-ritual-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.instant-ritual-security {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 520px;
        margin: 0 auto;
    }
    .vip-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .vip-card-left {
        flex-direction: column;
        gap: 16px;
    }
    .vip-card-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(229, 185, 92, 0.18);
        padding-top: 20px;
        align-items: flex-start;
        width: 100%;
        min-width: 0 !important;
    }
    .vip-features-grid {
        grid-template-columns: 1fr;
    }
    .vip-badge {
        left: 24px;
    }
    .vip-service-card {
        padding: 28px 24px;
    }
    .instant-ritual-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
}

/* ==========================================================================
   КАК ЭТО РАБОТАЕТ
   ========================================================================== */
.how-it-works {
    padding: 95px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    position: relative;
    transition: var(--transition-smooth);
}
.step-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(229, 185, 92, 0.2);
    position: absolute;
    top: 20px;
    right: 24px;
}

.step-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-300);
    margin-bottom: 20px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gold-100);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   О МАСТЕРЕ / ТАРОЛОГЕ
   ========================================================================== */
.about-section {
    padding: 95px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 55px;
    align-items: center;
}

.about-avatar-frame {
    width: 310px;
    height: 440px;
    border-radius: 155px 155px var(--radius-md) var(--radius-md);
    background: linear-gradient(180deg, #2d1656 0%, #0c051e 100%);
    border: 2px solid var(--gold-500);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px;
    text-align: center;
}

.about-avatar-icon {
    font-size: 4.5rem;
    color: var(--gold-300);
    margin-bottom: 20px;
}

.about-avatar-badge {
    position: absolute;
    bottom: 24px;
    background: rgba(12, 6, 26, 0.9);
    border: 1px solid var(--border-subtle);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gold-300);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.principle-item {
    background: rgba(14, 7, 30, 0.65);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: var(--radius-sm);
}
.principle-item h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-300);
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.principle-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.reviews-section {
    padding: 95px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.review-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
}
.review-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
}

.review-stars {
    color: var(--gold-500);
    font-size: 0.95rem;
    display: flex;
    gap: 4px;
}

.review-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-style: italic;
}

.review-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(229, 185, 92, 0.1);
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.author-service {
    font-size: 0.8rem;
    color: var(--gold-300);
}

/* ==========================================================================
   БЛОГ / СТАТЬИ
   ========================================================================== */
.blog-section {
    padding: 95px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.blog-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-6px);
}

.blog-header-graphic {
    height: 130px;
    background: linear-gradient(135deg, #221242 0%, #0b051c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold-300);
    border-bottom: 1px solid var(--border-subtle);
}

.blog-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    color: var(--gold-500);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-snippet {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    margin-top: auto;
    color: var(--gold-300);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.blog-link:hover {
    color: var(--gold-100);
    gap: 12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
    padding: 95px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-item.active {
    border-color: var(--gold-500);
    background: rgba(28, 15, 55, 0.75);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    gap: 18px;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--gold-500);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 28px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

/* ==========================================================================
   ФУТЕР (ЮРИДИЧЕСКАЯ ИНФОРМАЦИЯ И РЕКВИЗИТЫ РФ)
   ========================================================================== */
.site-footer {
    background: #030107;
    border-top: 1px solid rgba(229, 185, 92, 0.16);
    padding: 75px 0 32px;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 14px;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--gold-100);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--gold-300);
    padding-left: 4px;
}

.requisites-box {
    background: rgba(14, 7, 30, 0.7);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 18px;
}

.footer-disclaimer {
    max-width: 680px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6a617d;
}

/* ==========================================================================
   МОДАЛЬНЫЕ ОКНА
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 1, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 660px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    transform: scale(0.94);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-window-lg {
    max-width: 860px;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(229, 185, 92, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(12, 6, 26, 0.85);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-100);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.modal-close:hover {
    color: var(--gold-300);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-document h3 {
    font-family: var(--font-heading);
    color: var(--gold-300);
    margin: 24px 0 10px;
    font-size: 1.15rem;
}
.legal-document p {
    margin-bottom: 12px;
}
.legal-document ul {
    margin-bottom: 16px;
    padding-left: 20px;
}
.legal-document li {
    margin-bottom: 6px;
}

/* Форма заказа */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    min-height: 22px;
}

.form-label .required-star {
    color: var(--gold-400);
    font-weight: 700;
}

.form-label .label-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    background: rgba(10, 5, 20, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Стилизация нативного инпута даты для гармоничного вида */
.form-input[type="date"] {
    color-scheme: dark;
    position: relative;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(5deg);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 12px var(--gold-glow);
}

.form-textarea {
    height: auto;
    min-height: 90px;
    padding: 12px 16px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
}
.checkbox-label a {
    color: var(--gold-300);
    text-decoration: underline;
}

/* Тост уведомление */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--gold-500);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
}
.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ ВСЕХ ЭКРАНОВ И СМАРТФОНОВ
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2.7rem;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .hero-3d-box {
        height: 460px;
    }
    .daily-card-widget {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 36px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .about-avatar-frame {
        margin: 0 auto 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Адаптивность шапки и навигации при ширине экрана до 1020px */
@media (max-width: 1020px) {
    .site-header {
        height: 70px;
    }
    .header-inner {
        height: 70px;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(12, 6, 26, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 26px 20px;
        gap: 16px;
        transform: translateY(-160%);
        transition: var(--transition-smooth);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .nav-link {
        font-size: 1.05rem;
        padding: 8px 0;
        display: block;
        text-align: center;
    }
    .mobile-toggle {
        display: block;
    }
    .header-actions .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    /* Верхний инфо-бар */
    .top-legal-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    /* Главный экран */
    .hero-section {
        padding: 40px 0 60px;
    }
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .hero-trust-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* 3D Блок на мобильных */
    .hero-3d-box {
        height: 400px;
        overflow: hidden;
    }
    .hero-card-callout {
        font-size: 0.8rem;
        padding: 8px 16px;
        max-width: 92%;
        text-align: center;
    }

    /* Секции и заголовки */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
    .daily-section, .services-section, .how-it-works, .about-section, .reviews-section, .blog-section, .faq-section {
        padding: 65px 0;
    }

    /* Карта дня на мобильном */
    .daily-card-widget {
        padding: 24px 16px;
    }
    .card-frame {
        width: 230px;
        height: 370px;
        padding: 20px 16px;
    }
    .card-frame-symbol-box {
        width: 95px;
        height: 95px;
        font-size: 2.2rem;
    }
    .daily-boxes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Услуги и карточки */
    .services-grid, .steps-grid, .reviews-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 30px 20px;
    }
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Подвал */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .site-footer {
        padding: 55px 0 25px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Модальные окна */
    .modal-overlay {
        padding: 12px;
    }
    .modal-window {
        width: 100%;
        max-height: 94vh;
        border-radius: var(--radius-md);
    }
    .modal-header {
        padding: 16px 20px;
    }
    .modal-title {
        font-size: 1.2rem;
    }
    .modal-body {
        padding: 20px 16px;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 14px;
        max-width: 100%;
        overflow-x: clip;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-3d-box {
        height: 360px;
    }
    .hero-card-callout {
        font-size: 0.78rem;
        padding: 8px 14px;
        max-width: 96%;
    }
    .card-frame {
        width: 210px;
        height: 340px;
    }
    .service-price {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   ИНТЕРАКТИВНЫЙ РИТУАЛ ГАДАНИЯ (4 ШАГА)
   ========================================================================== */
.ritual-section {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(ellipse at 50% 30%, rgba(38, 18, 76, 0.45) 0%, transparent 70%);
}

.ritual-step-container {
    display: none;
    animation: fadeInRitual 0.5s ease forwards;
}

.ritual-step-container.active {
    display: block;
}

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

/* Шаг 1: Выбор сферы и данных */
.ritual-setup-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sphere-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.sphere-select-btn {
    background: rgba(25, 13, 50, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sphere-select-btn:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
    background: rgba(35, 18, 70, 0.8);
}

.sphere-select-btn.active {
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(40, 20, 80, 0.9) 0%, rgba(20, 10, 42, 0.9) 100%);
    box-shadow: 0 0 20px rgba(229, 185, 92, 0.25);
}

.sphere-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(229, 185, 92, 0.12);
    border: 1px solid var(--gold-500);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sphere-text h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-100);
    margin-bottom: 4px;
}

.sphere-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.ritual-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

/* Шаг 2: Аркан Судьбы */
.destiny-arcana-display {
    background: var(--bg-glass);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
}

.destiny-card-art {
    width: 220px;
    height: 350px;
    background: linear-gradient(145deg, #1f113d 0%, #0c051d 100%);
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin: 0 auto;
}

.destiny-card-art .roman {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-300);
    font-weight: 700;
}

.destiny-art-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(229, 185, 92, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--gold-300);
    background: radial-gradient(circle, rgba(229, 185, 92, 0.15) 0%, transparent 70%);
}

.destiny-card-art .name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-100);
    font-weight: 700;
    text-align: center;
}

.destiny-info-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold-200);
    margin-bottom: 14px;
}

.destiny-badge-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(229, 185, 92, 0.1);
    border: 1px solid var(--border-subtle);
    color: var(--gold-300);
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.destiny-desc-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Шаг 3: Интерактивный веер из 22 карт */
.fan-deck-board {
    max-width: 1040px;
    margin: 0 auto;
}

.fan-instructions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 10, 42, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.fan-picked-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: rgba(229, 185, 92, 0.12);
    border: 1px solid rgba(229, 185, 92, 0.4);
    color: var(--gold-200);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.fan-picked-badge.all-picked {
    background: linear-gradient(135deg, rgba(229, 185, 92, 0.28) 0%, rgba(107, 33, 168, 0.38) 100%);
    border-color: var(--gold-400);
    color: var(--gold-100);
    box-shadow: 0 0 24px rgba(229, 185, 92, 0.35);
}

.tarot-fan-container {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    margin-bottom: 40px;
}

.fan-card {
    position: absolute;
    bottom: 20px;
    width: 100px;
    height: 170px;
    transform-origin: 50% 120%;
    transform: translate(var(--fan-x), var(--fan-y)) rotate(var(--fan-angle));
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    user-select: none;
}

.fan-card:hover {
    transform: translate(var(--fan-x), calc(var(--fan-y) - 36px)) rotate(var(--fan-angle)) scale(1.12);
    z-index: 99 !important;
}

.fan-card.picked {
    opacity: 0.15;
    pointer-events: none;
    transform: translate(var(--fan-x), calc(var(--fan-y) + 40px)) scale(0.9);
}

.fan-card-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gold-500);
    background: linear-gradient(135deg, #1b0f36 0%, #0b051b 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
}

.fan-card-back {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fan-back-pattern {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(229, 185, 92, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    font-size: 1.4rem;
    background: radial-gradient(circle, rgba(229, 185, 92, 0.15) 0%, transparent 70%);
}

.fan-back-corner {
    position: absolute;
    font-size: 0.65rem;
    color: var(--gold-500);
}
.fan-back-corner.top-left { top: 6px; left: 6px; }
.fan-back-corner.bottom-right { bottom: 6px; right: 6px; }

/* 3 слота для выбранных карт */
.picked-slots-grid, .picked-slots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.picked-slot-item, .picked-slot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.picked-slot-title {
    font-size: 0.84rem;
    color: var(--gold-300);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
}

.picked-slot-box {
    width: 100%;
    height: 165px;
    border: 2px dashed rgba(229, 185, 92, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 9, 36, 0.5);
    box-sizing: border-box;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.picked-slot-box.active-target {
    border-color: var(--gold-400);
    background: rgba(36, 18, 68, 0.65);
    box-shadow: 0 0 20px rgba(229, 185, 92, 0.25);
    animation: pulseTargetSlot 1.8s infinite ease-in-out;
}

@keyframes pulseTargetSlot {
    0%, 100% { border-color: rgba(229, 185, 92, 0.35); box-shadow: 0 0 10px rgba(229, 185, 92, 0.1); }
    50% { border-color: rgba(229, 185, 92, 0.85); box-shadow: 0 0 25px rgba(229, 185, 92, 0.35); }
}

.pulse-icon {
    animation: bounceHand 1.2s infinite ease-in-out;
    color: var(--gold-300);
}

@keyframes bounceHand {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.picked-slot-box.has-card {
    border-style: solid;
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(38, 19, 72, 0.95) 0%, rgba(14, 7, 28, 0.95) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(229, 185, 92, 0.2);
}

.picked-slot-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: 14px;
}

.slot-plus-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(229, 185, 92, 0.3);
    background: rgba(229, 185, 92, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--gold-400);
}

.picked-card-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    text-align: center;
}

.preview-roman {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-300);
    font-weight: 700;
}

.preview-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-100);
    font-weight: 600;
}

.preview-status {
    font-size: 0.75rem;
    color: #34d399;
    font-weight: 600;
}

.pulse-gold-btn {
    animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 15px rgba(229, 185, 92, 0.4); }
    50% { box-shadow: 0 0 35px rgba(229, 185, 92, 0.8); }
}

/* Шаг 4: Раскрытие 3 карт */
.step4-layout {
    max-width: 1060px;
    margin: 0 auto;
}

.step4-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.step4-card-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.step4-card-box:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.step4-pos-badge {
    background: rgba(229, 185, 92, 0.12);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.step4-card-visual {
    background: linear-gradient(135deg, #1d0f38 0%, #0d061c 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step4-roman {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold-300);
    font-weight: 700;
}

.step4-art-symbol {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(229, 185, 92, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-300);
    background: radial-gradient(circle, rgba(229, 185, 92, 0.15) 0%, transparent 70%);
}

.step4-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-100);
    font-weight: 700;
}

.step4-subtitle {
    font-size: 0.8rem;
    color: var(--gold-300);
    line-height: 1.3;
}

.step4-card-desc {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.step4-meaning {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step4-advice-box {
    background: rgba(20, 10, 42, 0.7);
    border-left: 3px solid var(--gold-500);
    padding: 10px 14px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.84rem;
    color: var(--gold-100);
    line-height: 1.5;
}

.step4-synthesis-card {
    background: linear-gradient(135deg, rgba(30, 15, 60, 0.85) 0%, rgba(12, 6, 26, 0.85) 100%);
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   СЕКЦИЯ ПОДЛИННОСТИ (ДОКАЗАТЕЛЬСТВА ДОВЕРИЯ)
   ========================================================================== */
.authenticity-section {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 15, 60, 0.3) 0%, transparent 75%);
}

.authenticity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.auth-card {
    background: linear-gradient(135deg, rgba(28, 14, 48, 0.75) 0%, rgba(14, 7, 28, 0.9) 100%);
    border: 1px solid rgba(229, 185, 92, 0.22);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.auth-card:hover {
    border-color: rgba(229, 185, 92, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(229, 185, 92, 0.15);
}

.auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(229, 185, 92, 0.35);
    background: radial-gradient(circle, rgba(229, 185, 92, 0.2) 0%, rgba(229, 185, 92, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--gold-300);
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.auth-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-100);
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Реалистичный макет физического алтаря мастера */
.physical-altar-mockup {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gold-500);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    background: #080314;
}

.altar-image-canvas {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #1a0b30 0%, #07030e 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.altar-table-cloth {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(229, 185, 92, 0.25);
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 50% 50%, rgba(45, 20, 85, 0.4) 0%, transparent 80%);
}

.altar-cards-spread-visual {
    display: flex;
    gap: 16px;
    z-index: 2;
}

.altar-mini-card {
    width: 82px;
    height: 135px;
    background: linear-gradient(145deg, #241348 0%, #0d061c 100%);
    border: 1.5px solid var(--gold-500);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    transform: rotate(var(--rot, 0deg));
}

.altar-mini-card .roman {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold-300);
}
.altar-mini-card .symbol {
    font-size: 1.4rem;
    color: var(--gold-300);
}
.altar-mini-card .title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold-100);
    text-align: center;
}

/* Рукописная записка с именем клиента на алтаре */
.altar-handwritten-note {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #fff8e7;
    color: #1a102f;
    padding: 12px 18px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    transform: rotate(-3deg);
    z-index: 3;
    font-family: 'Caveat', cursive, Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.3;
    border: 1px solid #d4af37;
}

.altar-handwritten-note .note-title {
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    padding-bottom: 2px;
    margin-bottom: 4px;
}

/* Реалистичный Telegram-плеер разбора */
.telegram-voice-mockup {
    background: rgba(18, 10, 36, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.telegram-msg-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.tg-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500) 0%, #9e731b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #100624;
    font-weight: 700;
    flex-shrink: 0;
}

.tg-info h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tg-verified-icon {
    color: #38bdf8;
    font-size: 0.9rem;
}

.tg-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tg-voice-bubble {
    background: #1a1030;
    border: 1px solid rgba(229, 185, 92, 0.25);
    border-radius: 16px 16px 16px 4px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.tg-voice-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.tg-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-500);
    color: #100624;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.tg-play-btn:hover {
    transform: scale(1.08);
}

.tg-waveform-row {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
}

.tg-wave-bar {
    flex: 1;
    background: rgba(229, 185, 92, 0.35);
    border-radius: 2px;
    transition: background 0.2s ease;
}

.tg-wave-bar.active {
    background: var(--gold-500);
}

.tg-duration {
    font-size: 0.8rem;
    color: var(--gold-300);
    font-family: monospace;
    min-width: 50px;
    text-align: right;
}

.tg-transcript-preview {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    border-left: 2px solid var(--gold-500);
    padding-left: 12px;
}

/* Сравнительная таблица честности */
.honesty-table-wrapper {
    margin-top: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    overflow-x: auto;
}

.honesty-grid-table {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
}

.honesty-col-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.honesty-row {
    display: contents;
}

.honesty-cell {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .sphere-selector-grid, .ritual-form-grid, .destiny-arcana-display, .step4-cards-grid, .authenticity-grid {
        grid-template-columns: 1fr;
    }
    .destiny-card-art {
        width: 180px;
        height: 290px;
    }
    .tarot-fan-container {
        height: 230px;
        margin-bottom: 20px;
    }
    .fan-card {
        width: 58px;
        height: 102px;
        bottom: 10px;
    }
    .picked-slots-grid, .picked-slots-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .picked-slot-box {
        height: 130px;
    }
    .honesty-grid-table {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   СТИЛИ: СВЕРКА ФОКУСА СИТУАЦИИ (КАЛИБРОВКА КОНТЕКСТА)
   ========================================================================== */
.resonance-check-card {
    background: var(--bg-glass);
    border: 1.5px solid var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.resonance-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
}

.resonance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(229, 185, 92, 0.12);
    border: 1px solid var(--gold-500);
    color: var(--gold-300);
    font-size: 0.85rem;
    font-weight: 600;
}

.resonance-status-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    font-size: 0.82rem;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.focus-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.focus-option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(18, 9, 36, 0.65);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.focus-option-btn:hover {
    background: rgba(229, 185, 92, 0.08);
    border-color: var(--gold-500);
    color: var(--gold-100);
}

.focus-option-btn.active {
    background: rgba(229, 185, 92, 0.15);
    border-color: var(--gold-400);
    color: var(--gold-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.focus-option-btn.active .option-radio {
    border-color: var(--gold-400);
}

.focus-option-btn.active .option-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-400);
}

.resonance-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

/* ==========================================================================
   СТИЛИ: АНАМНЕЗ СИТУАЦИИ (УТОЧНЯЮЩИЕ ВОПРОСЫ)
   ========================================================================== */
.anamnesis-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.anamnesis-block {
    margin-bottom: 24px;
}

.anamnesis-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-200);
    margin-bottom: 12px;
}

.pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pill-btn {
    background: rgba(22, 11, 44, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.pill-btn:hover {
    border-color: var(--gold-500);
    color: var(--text-primary);
    background: rgba(36, 18, 70, 0.7);
}

.pill-btn.active {
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(45, 22, 90, 0.9) 0%, rgba(20, 10, 42, 0.9) 100%);
    color: var(--gold-100);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(229, 185, 92, 0.2);
}

/* ==========================================================================
   СТИЛИ: ИНТЕРАКТИВНЫЙ ИИ-ЧАТ МАСТЕРА АЛЕКСАНДРЫ
   ========================================================================== */
.ai-consultation-chat-card {
    background: rgba(14, 7, 28, 0.95);
    border: 1.5px solid var(--gold-500);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.chat-header-bar {
    background: linear-gradient(135deg, #1b0e36 0%, #0d061c 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.chat-master-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.master-live-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500) 0%, #9e731b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #100624;
    font-size: 1.2rem;
    position: relative;
    flex-shrink: 0;
}

.live-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #0d061c;
}

.master-chat-name {
    font-size: 1.05rem;
    color: var(--gold-100);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.master-chat-status {
    font-size: 0.78rem;
    color: #34d399;
    font-weight: 500;
}

.chat-secure-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.chat-messages-container {
    padding: 24px;
    height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: radial-gradient(circle at 50% 50%, rgba(30, 15, 60, 0.3) 0%, transparent 80%);
}

.chat-bubble {
    max-width: 82%;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.65;
    position: relative;
    word-break: break-word;
}

.chat-bubble.master-msg {
    align-self: flex-start;
    background: rgba(26, 14, 52, 0.9);
    border: 1px solid rgba(229, 185, 92, 0.3);
    border-radius: 18px 18px 18px 4px;
    color: var(--text-primary);
}

.msg-author-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-500);
    color: #100624;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-size: 0.78rem;
    color: var(--gold-300);
    font-weight: 600;
}

.chat-bubble.user-msg {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.85) 0%, rgba(45, 12, 85, 0.85) 100%);
    border: 1px solid rgba(216, 180, 254, 0.3);
    border-radius: 18px 18px 4px 18px;
    color: #fcfbfe;
}

.msg-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

.chat-typing-bubble {
    align-self: flex-start;
    background: rgba(22, 11, 44, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    animation: bounceDot 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-5px); opacity: 1; }
}

.chat-quick-prompts {
    padding: 10px 20px;
    background: rgba(10, 5, 20, 0.85);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}

.quick-prompt-btn {
    background: rgba(229, 185, 92, 0.1);
    border: 1px solid rgba(229, 185, 92, 0.25);
    border-radius: var(--radius-full);
    color: var(--gold-300);
    font-size: 0.78rem;
    padding: 6px 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-prompt-btn:hover {
    background: rgba(229, 185, 92, 0.25);
    border-color: var(--gold-500);
    color: var(--gold-100);
}

.chat-input-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(10, 5, 20, 0.95);
    border-top: 1px solid var(--border-subtle);
}

.chat-text-input {
    flex-grow: 1;
    background: rgba(22, 11, 44, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chat-text-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 10px rgba(229, 185, 92, 0.3);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-500);
    border: none;
    color: #100624;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(229, 185, 92, 0.5);
}

@media (max-width: 600px) {
    .resonance-check-card, .anamnesis-card {
        padding: 24px 18px;
    }
    .resonance-content-box {
        flex-direction: column;
        gap: 14px;
    }
    .chat-messages-container {
        height: 320px;
        padding: 16px;
    }
    .chat-bubble {
        max-width: 92%;
    }
}

/* ==========================================================================
   ВАЛИДАЦИЯ ШАГА 1 И СООБЩЕНИЯ ОБ ОШИБКАХ
   ========================================================================== */
.ritual-input-error {
    display: none;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 18px;
    text-align: center;
    line-height: 1.45;
    animation: fadeInError 0.3s ease-out;
}

.input-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45) !important;
    animation: shakeField 0.4s ease-in-out;
}

@keyframes shakeField {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (152-ФЗ РФ)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(14, 7, 30, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.15);
    z-index: 998;
    padding: 16px 22px;
    animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}

.cookie-banner-icon {
    font-size: 1.3rem;
    color: var(--gold-300);
    flex-shrink: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-actions .btn {
    white-space: nowrap;
}

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

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }
    .cookie-banner-text {
        font-size: 0.82rem;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-banner-actions .btn {
        width: 100%;
    }
}



