/* =========================================
   CRAVE: GLOBAL UI/UX ULTIMATUM (FINAL ARCHITECTURE)
   ========================================= */

/* Переменные Dark Luxury */
:root {
    --crave-red: #b30000;
    --crave-red-bright: #ff1a1a;
    --crave-adrian: #b30000;
    --crave-dominic: #4a0080;
    --crave-jax: #ff6600;
    --crave-silas: #2d4a2b;
    --text-primary: #929292;
    --text-secondary: #ffffff;
    --glass-bg: rgba(0, 0, 0, 0.73);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-glow: 0 0 15px rgba(255, 0, 0, 0.6);
}

/* Базовые сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Baskerville', 'Cormorant Garamond', Georgia, serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.age-gate-blocked {
    overflow: hidden;
}

/* =========================================
   ВЕРХНИЙ БАР: БИЕНИЕ СЕРДЦА
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: headerPulse 4s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    }
    50% { 
        transform: scale(1.01);
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
    }
}

/* Эффект дыхания для хедера */
.breathing-header {
    animation: headerBreathing 5s ease-in-out infinite;
}

@keyframes headerBreathing {
    0%, 100% { transform: scale(1.0); }
    50% { transform: scale(1.01); }
}

/* Логотип с дыханием */
.breathing-logo {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: logoBreathing 3s ease-in-out infinite, logoPulse 5s ease-in-out infinite;
    will-change: transform, text-shadow;
}

@keyframes logoBreathing {
    0%, 100% { transform: scale(1.0); }
    50% { transform: scale(1.03); }
}

@keyframes logoPulse {
    0%, 100% { text-shadow: var(--neon-glow); }
    50% { text-shadow: 0 0 25px rgba(255, 0, 0, 0.8); }
}

/* Бегущий свет по логотипу */
.breathing-logo::after {
    content: 'CRAVE';
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-clip: text;
    -webkit-background-clip: text;
    animation: runningLight 5s linear infinite;
    pointer-events: none;
}

@keyframes runningLight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Backlight эффект под хедером */
.site-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(179, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: background 0.5s ease;
}

body[data-hero="adrian"] .site-header::after {
    background: radial-gradient(ellipse at center, rgba(179, 0, 0, 0.15) 0%, transparent 70%);
}

body[data-hero="dominic"] .site-header::after {
    background: radial-gradient(ellipse at center, rgba(74, 0, 128, 0.15) 0%, transparent 70%);
}

body[data-hero="jax"] .site-header::after {
    background: radial-gradient(ellipse at center, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
}

body[data-hero="silas"] .site-header::after {
    background: radial-gradient(ellipse at center, rgba(45, 74, 43, 0.15) 0%, transparent 70%);
}

/* =========================================
   ГЛАВНАЯ СТРАНИЦА: HERO-БЛОК
   ========================================= */
.home-main {
    padding: 120px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin-bottom: 80px;
}

.hero-manifesto {
    text-align: center;
    max-width: 800px;
}

/* Золотое сечение: Рамка с неоном */
.manifesto-frame {
    padding: 60px 40px;
    border: 1px solid var(--crave-red);
    border-radius: 2px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.manifesto-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--crave-red);
    border-radius: 2px;
    opacity: 0.3;
    pointer-events: none;
}

.manifesto-frame::after {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid var(--crave-red);
    border-radius: 2px;
    opacity: 0.1;
    pointer-events: none;
}

/* Неоновый ореол вокруг рамки */
.manifesto-frame {
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.3),
        0 0 60px rgba(255, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 0, 0, 0.05);
}

/* Дыхание текста */
.breathing-text {
    animation: textBreathing 4s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes textBreathing {
    0%, 100% { 
        transform: scale(1.0); 
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.02); 
        opacity: 1;
    }
}

.manifesto-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

.manifesto-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.manifesto-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.manifesto-whisper {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.6;
    margin-bottom: 20px;
}

.manifesto-call {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    color: var(--crave-red-bright);
    font-weight: 600;
    animation: callPulse 3s ease-in-out infinite;
}

@keyframes callPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* =========================================
   КАРТОЧКИ ПЕРСОНАЖЕЙ: ТАКТИЛЬНЫЙ ИНТЕРАКТИВ
   ========================================= */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.char-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter;
}

.char-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}

.char-glow {
    position: absolute;
    inset: -3px;
    border-radius: 23px;
    opacity: 0;
    transition: all 0.4s ease;
    will-change: opacity;
}

.char-glass-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.char-name {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.char-hook {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.enter-chat-btn {
    color: var(--crave-red-bright);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.enter-chat-btn span {
    transition: transform 0.3s ease;
}

/* Эффект "Вдоха" (PC Hover / Mobile First Tap) */
.char-card:hover,
.char-card.tapped {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.char-card:hover .char-glow,
.char-card.tapped .char-glow {
    opacity: 1;
}

.char-card:hover .char-glass-panel,
.char-card.tapped .char-glass-panel {
    transform: translateY(0);
}

.char-card:hover .enter-chat-btn span,
.char-card.tapped .enter-chat-btn span {
    transform: translateX(10px);
}

/* Mobile hint */
.mobile-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--crave-red-bright);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.char-card.tapped .mobile-hint {
    opacity: 1;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* =========================================
   РЕКЛАМНЫЙ ДВИЖОК И СКРЫТЫЕ СЛОТЫ
   ========================================= */
.advertising-zone {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
}

.ad-toggle-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 40px;
}

.ad-toggle-btn:hover {
    border-color: var(--crave-red);
    color: var(--crave-red);
}

.ad-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ad-slot {
    aspect-ratio: 16/9;
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.ad-slot:hover {
    border-color: var(--crave-red);
    background: rgba(255, 0, 0, 0.05);
}

.ad-price {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--crave-red-bright);
    font-size: 1.2rem;
}

/* =========================================
   МАСТЕР ОВЕРЛЕЙ ДЛЯ ОПЛАТЫ
   ========================================= */
.master-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.master-overlay.active {
    opacity: 1;
}

.payment-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--crave-red);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.3);
}

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

.payment-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.payment-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-btn {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-family: 'Libre Baskerville', serif;
    font-weight: 600;
}

.payment-btn:hover {
    border-color: var(--crave-red);
    transform: translateY(-2px);
}

.payment-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

.payment-close-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-close-btn:hover {
    border-color: var(--text-primary);
}

/* =========================================
   ОНБОРДИНГ: РИТУАЛ ИМЕНИ
   ========================================= */
.name-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.name-modal-overlay.active {
    opacity: 1;
}

.name-modal-content {
    width: 90%;
    max-width: 420px;
    padding: 50px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--crave-red);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.4);
    border-radius: 24px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

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

.name-modal-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 2rem;
    margin-bottom: 16px;
    text-shadow: var(--neon-glow);
}

.name-modal-subtitle {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.name-input {
    width: 100%;
    font-size: 18px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.name-input:focus {
    outline: none;
    border-color: var(--crave-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.name-input::placeholder {
    color: var(--text-primary);
    opacity: 0.5;
    animation: placeholderPulse 2s ease-in-out infinite;
}

@keyframes placeholderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.name-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    background: var(--crave-red);
    color: var(--text-secondary);
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.name-submit-btn:hover:not(:disabled) {
    background: var(--crave-red-bright);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.name-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.name-modal-note {
    color: var(--text-primary);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =========================================
   БАЗОВЫЕ ЭЛЕМЕНТЫ
   ========================================= */
.glass {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border);
}

.neon-text {
    text-shadow: var(--neon-glow);
}

.left-cluster, .right-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    color: var(--crave-red);
}

.lang-toggle {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
}

.lang-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle-btn[aria-pressed="true"] {
    background: var(--crave-red);
}

.crystal-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crystal-box:hover {
    background: rgba(255, 215, 0, 0.2);
}

.crystal-box img {
    width: 20px;
    height: 20px;
}

/* =========================================
   ЭЛИТНАЯ ПЛАШКА 18+
   ========================================= */
.age-warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(179, 0, 0, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    animation: slideDownBanner 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.age-warning-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 40px;
    max-width: 400px;
    margin: 0 auto;
}

.age-warning-icon {
    font-size: 2rem;
    animation: warningPulse 2s ease-in-out infinite;
}

.age-warning-text {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    animation: textGlow 3s ease-in-out infinite;
}

.age-warning-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
}

.age-warning-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

@keyframes slideDownBanner {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes warningPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

/* Скрытие плашки после закрытия */
.age-warning-banner.hidden {
    animation: slideUpBanner 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Мобильная адаптация плашки */
@media (max-width: 768px) {
    .age-warning-content {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .age-warning-text {
        font-size: 2rem;
    }
    
    .age-warning-icon {
        font-size: 1.5rem;
    }
    
    .age-warning-close {
        top: 15px;
        right: 20px;
        font-size: 1.2rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .age-warning-content {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .age-warning-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .age-warning-icon {
        font-size: 1.3rem;
    }
    
    .age-warning-close {
        top: 12px;
        right: 16px;
        font-size: 1rem;
        padding: 6px;
    }
}

/* =========================================
   AGE GATE
   ========================================= */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gate-box {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--crave-red);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.3);
}

.gate-title {
    font-size: 4rem;
    color: var(--crave-red);
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.gate-text {
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.4;
    font-size: 1.1rem;
}

.gate-age-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-age-confirm {
    background: var(--crave-red);
    color: var(--text-secondary);
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
}

.btn-age-leave {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 18px 36px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-age-confirm:hover {
    background: var(--crave-red-bright);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.btn-age-leave:hover {
    color: var(--text-secondary);
    border-color: var(--text-secondary);
}

/* =========================================
   PWA МОДАЛЬНОЕ ОКНО
   ========================================= */
.pwa-ios-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.pwa-ios-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 350px;
}

.pwa-ios-title {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

.pwa-ios-instruction {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.pwa-ios-close {
    background: var(--crave-red);
    color: var(--text-secondary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Libre Baskerville', serif;
    font-weight: 600;
}

/* =========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================= */
@media (max-width: 768px) {
    .site-header {
        padding: 12px 16px;
    }
    
    .breathing-logo {
        font-size: 1.4rem;
    }
    
    .home-main {
        padding: 100px 16px 40px;
    }
    
    .manifesto-frame {
        padding: 40px 24px;
    }
    
    .manifesto-title {
        font-size: 2.5rem;
    }
    
    .manifesto-subtitle {
        font-size: 1.4rem;
    }
    
    .manifesto-description {
        font-size: 1rem;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
    }
    
    .char-card {
        height: 350px;
    }
    
    .char-glass-panel {
        padding: 24px 16px;
    }
    
    .char-name {
        font-size: 1.5rem;
    }
    
    .gate-box {
        margin: 20px;
        padding: 40px 24px;
    }
    
    .gate-title {
        font-size: 3rem;
    }
    
    .gate-age-btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-age-confirm,
    .btn-age-leave {
        width: 100%;
    }
    
    .name-modal-content {
        padding: 40px 24px;
    }
    
    .name-modal-title {
        font-size: 1.6rem;
    }
    
    .name-input {
        font-size: 16px;
        padding: 16px;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .ad-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .manifesto-title {
        font-size: 2rem;
    }
    
    .manifesto-subtitle {
        font-size: 1.2rem;
    }
    
    .char-card {
        height: 300px;
    }
    
    .ad-slots-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   АНИМАЦИИ И ТРАНЗИЦИИ
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

@keyframes slideOutRight {
    from { 
        transform: translateX(0); 
        opacity: 1; 
    }
    to { 
        transform: translateX(100%); 
        opacity: 0; 
    }
}

/* Оптимизация для мобильных */
@media (prefers-reduced-motion: no-preference) {
    .breathing-logo,
    .breathing-text,
    .breathing-header {
        will-change: transform;
    }
    
    .char-card {
        will-change: transform, filter;
    }
    
    .char-glow {
        will-change: opacity;
    }
}

/* =========================================
   CRAVE CHAT: TOTAL ADAPTATION (3+1)
   ========================================= */

/* =========================================
   ОСНОВНЫЕ СТИЛИ ЧАТА
   ========================================= */
.chat-page {
    overflow: hidden;
    position: relative;
    height: 100vh;
}

.chat-main {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* =========================================
   ФОН ПЕРСОНАЖА С ПАРАЛЛАКСОМ
   ========================================= */
.character-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Фоны персонажей */
body[data-hero="adrian"] .parallax-layer {
    background-image: url('public/images/characters/adrian-bg.jpg');
    filter: brightness(0.7) contrast(1.1);
}

body[data-hero="dominic"] .parallax-layer {
    background-image: url('public/images/characters/dominic-bg.jpg');
    filter: brightness(0.6) contrast(1.2);
}

body[data-hero="jax"] .parallax-layer {
    background-image: url('public/images/characters/jax-bg.jpg');
    filter: brightness(0.8) contrast(1.1);
}

body[data-hero="silas"] .parallax-layer {
    background-image: url('public/images/characters/silas-bg.jpg');
    filter: brightness(0.5) contrast(1.3);
}

/* =========================================
   CHARACTER BADGE
   ========================================= */
.character-badge {
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--crave-red);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.badge-name {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.badge-glow {
    position: absolute;
    inset: -5px;
    border-radius: 25px;
    opacity: 0.6;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ: ШТОРКА СНИЗУ
   ========================================= */
.mobile-chat-container {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70vh;
    z-index: 100;
}

.chat-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    border-radius: 24px 24px 0 0;
    transform: translateY(calc(100% - 80px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.chat-drawer.expanded {
    transform: translateY(0);
}

.drawer-handle {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-handle:hover {
    background: var(--crave-red);
    width: 60px;
}

.chat-content {
    height: 100%;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================
   ПК ВЕРСИЯ: ШИРОКИЙ ФОРМАТ
   ========================================= */
.desktop-chat-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 100px 40px 40px;
}

.chat-panel {
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 700px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.character-name {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-secondary);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

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

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* =========================================
   СООБЩЕНИЯ И ВЫБОРЫ
   ========================================= */
.message-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

.character-message {
    margin-bottom: 20px;
    animation: messageSlideIn 0.5s ease;
}

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

.message-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    border-left: 3px solid var(--crave-red);
}

.choices-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.choice-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4;
}

.choice-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--crave-red);
    transform: translateX(5px);
}

.choice-btn:active {
    transform: translateX(2px);
}

/* =========================================
   ПОЛЬЗОВАТЕЛЬСКИЙ ВВОД
   ========================================= */
.custom-input-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.custom-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 16px;
    border-radius: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.4;
    resize: none;
    transition: all 0.3s ease;
    will-change: border-color, box-shadow;
}

.custom-input:focus {
    outline: none;
    border-color: var(--crave-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.custom-input::placeholder {
    color: var(--text-primary);
    opacity: 0.6;
}

.send-btn {
    background: linear-gradient(135deg, var(--crave-red), var(--crave-red-bright));
    border: none;
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.send-btn:active {
    transform: translateY(0);
}

.crystal-cost {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========================================
   ПЛАВАЮЩИЕ КНОПКИ УПРАВЛЕНИЯ (ПК)
   ========================================= */
.floating-controls {
    display: none;
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 16px;
    z-index: 200;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
}

.floating-btn:hover {
    transform: scale(1.1);
    border-color: var(--crave-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* =========================================
   УПРАВЛЕНИЕ ЧАТОМ
   ========================================= */
.chat-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.control-btn:hover {
    border-color: var(--crave-red);
    color: var(--crave-red);
}

/* =========================================
   МОДАЛЬНОЕ ОКНО ОПЛАТЫ
   ========================================= */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-modal-overlay.active {
    opacity: 1;
}

.payment-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--crave-red);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.payment-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.payment-description {
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.payment-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.payment-btn {
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    font-weight: 600;
}

.payment-btn.primary {
    background: var(--crave-red);
    color: var(--text-secondary);
    border: none;
}

.payment-btn.primary:hover {
    background: var(--crave-red-bright);
    transform: translateY(-2px);
}

.payment-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.payment-btn.secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-secondary);
}

/* =========================================
   УВЕДОМЛЕНИЯ
   ========================================= */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--crave-red);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-secondary);
    min-width: 250px;
    max-width: 350px;
    animation: notificationSlideIn 0.3s ease;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.notification.error {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.notification.warning {
    border-color: #ffaa00;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

/* =========================================
   АДАПТИВНОСТЬ ЧАТА
   ========================================= */
@media (max-width: 768px) {
    .mobile-chat-container {
        display: block;
    }
    
    .desktop-chat-container {
        display: none;
    }
    
    .floating-controls {
        display: none;
    }
    
    .chat-controls {
        display: flex;
    }
    
    .character-badge {
        display: flex;
    }
    
    .message-text {
        font-size: 1rem;
        padding: 16px;
    }
    
    .choice-btn {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
    
    .custom-input {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .send-btn {
        min-width: 80px;
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .mobile-chat-container {
        display: none;
    }
    
    .desktop-chat-container {
        display: flex;
    }
    
    .floating-controls {
        display: flex;
    }
    
    .chat-controls {
        display: none;
    }
    
    .character-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .chat-drawer {
        height: 80vh;
        border-radius: 20px 20px 0 0;
    }
    
    .chat-content {
        padding: 50px 16px 16px;
    }
    
    .message-text {
        font-size: 0.95rem;
        padding: 14px;
    }
    
    .choice-btn {
        font-size: 0.85rem;
        padding: 12px 14px;
    }
    
    .custom-input-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .custom-input {
        width: 100%;
    }
    
    .send-btn {
        width: 100%;
        min-width: auto;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* =========================================
   ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ЧАТА
   ========================================= */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 16px;
    align-items: center;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--crave-red);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-top: 2px solid var(--crave-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Размеры шрифта */
.font-size-small .message-text,
.font-size-small .choice-btn,
.font-size-small .custom-input {
    font-size: 0.9rem;
}

.font-size-large .message-text,
.font-size-large .choice-btn,
.font-size-large .custom-input {
    font-size: 1.3rem;
}

/* Оптимизация для мобильных */
@media (prefers-reduced-motion: no-preference) {
    .chat-drawer {
        will-change: transform;
    }
    
    .parallax-layer {
        will-change: transform;
    }
    
    .character-message {
        will-change: transform, opacity;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-drawer {
        transition: none;
    }
    
    .parallax-layer {
        transition: none;
    }
    
    .character-message {
        animation: none;
    }
    
    .status-dot {
        animation: none;
    }
    
    .badge-glow {
        animation: none;
    }
}

/* =========================================
   PORTAL MENU (SCREENSHOT 2 STYLE)
   ========================================= */
.portal-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10005;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none; /* Скрыто по умолчанию */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portal-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.portal-menu-content {
    width: 85%;
    max-width: 400px;
    padding: 60px 30px;
    background: rgba(0, 0, 0, 0.73) !important; /* ТВОЕ ПРАВИЛО 73% */
    border: 1px solid rgba(255, 0, 0, 0.5); /* Красный неон */
    box-shadow: 0 0 40px rgba(179, 0, 0, 0.3);
    border-radius: 32px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portal-menu-overlay.active .portal-menu-content {
    transform: scale(1);
}

.portal-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #929292;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portal-menu-close:hover {
    color: var(--crave-red);
    transform: scale(1.1);
}

.portal-menu-logo {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    animation: logoPulse 3s ease-in-out infinite;
}

.portal-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-link {
    font-family: 'Libre Baskerville', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #929292; /* Твой серый */
    text-decoration: none;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.portal-link:hover {
    color: #fff;
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
}

.portal-link:active {
    transform: translateY(0);
}

.gold-link {
    color: #d6b25e;
    border-color: rgba(214, 178, 94, 0.3);
}

.gold-link:hover {
    background: rgba(214, 178, 94, 0.1);
    border-color: rgba(214, 178, 94, 0.5);
    box-shadow: 0 5px 20px rgba(214, 178, 94, 0.2);
}

.link-icon {
    font-size: 1.3rem;
    opacity: 0.8;
}

.portal-menu-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.8rem;
    color: #555;
}

.portal-menu-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portal-menu-footer a:hover {
    color: var(--crave-red);
}

/* Мобильная адаптация Portal-меню */
@media (max-width: 768px) {
    .portal-menu-content {
        width: 90%;
        padding: 40px 24px;
        border-radius: 24px;
    }
    
    .portal-menu-logo {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .portal-link {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .link-icon {
        font-size: 1.1rem;
    }
    
    .portal-menu-close {
        font-size: 24px;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .portal-menu-content {
        width: 95%;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .portal-menu-logo {
        font-size: 1.8rem;
        margin-bottom: 24px;
    }
    
    .portal-link {
        font-size: 1rem;
        padding: 10px;
        gap: 12px;
    }
    
    .link-icon {
        font-size: 1rem;
    }
}

/* =========================================
   УЛУЧШЕНИЕ ДОСТУПНОСТИ
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    .breathing-logo,
    .breathing-text,
    .breathing-header {
        animation: none;
    }
    
    .char-card {
        transition: none;
    }
}

/* =========================================
   ТЕМНЫЕ/СВЕТЛЫЕ ТЕМЫ
   ========================================= */
body.light-theme {
    --text-primary: #666;
    --text-secondary: #333;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
}

body.light-theme .message-text {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

body.light-theme .choice-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

body.light-theme .custom-input {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}
