/* ═══════════════════════════════════════════════════════════
   PREMIUM MINIMALIST DESIGN FINAL - Нейро-Таро
   Профиль наверху + компактный hero
   ═══════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-dark: #0d0d0d;
    --color-white: #FFFFFF;
    --color-gray: #8A8A8A;
    --color-gray-dark: #3A3A3A;
    --color-gold: #FFD700;
    --color-gold-dim: rgba(255, 215, 0, 0.6);
    
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    
    --font-h1: 32px;
    --font-h2: 24px;
    --font-body: 16px;
    --font-small: 14px;
    
    --radius: 12px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: var(--color-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   ЗВЁЗДЫ (ФИКС - правильное распределение)
   ═══════════════════════════════════════════════════════════ */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--color-gold);
    border-radius: 50%;
    animation: twinkle linear infinite;
    box-shadow: 0 0 4px var(--color-gold);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */

    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.content {
    padding: 0 var(--space-md) var(--space-xl);
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   ПРОФИЛЬ HEADER (ВСЕГДА НАВЕРХУ)
   ═══════════════════════════════════════════════════════════ */

.profile-header-main {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    z-index: 10;
}

.profile-header-main:active {
    background: rgba(255, 215, 0, 0.05);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.profile-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #FFED4E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.profile-name-small {
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--color-white);
}

.balance-display {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-body);
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.back-btn-inline {
    font-size: 24px;
    color: var(--color-white);
    cursor: pointer;
    padding: var(--space-xs);
    margin-right: var(--space-xs);
    transition: var(--transition);
}

.back-btn-inline:active {
    color: var(--color-gold);
    transform: scale(0.9);
}

/* ═══════════════════════════════════════════════════════════
   ГЛАВНАЯ СТРАНИЦА (без логотипа)
   ═══════════════════════════════════════════════════════════ */

.categories-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.category-card {
    position: relative;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.category-card:active {
    transform: translateY(-6px);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 12px 40px rgba(0, 0, 0, 0.8);
    border-color: var(--color-gold);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) blur(1px);
    transition: var(--transition);
}

.category-card:active .category-bg {
    filter: brightness(0.5) blur(0);
    transform: scale(1.05);
}

.category-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.5) 50%,
        transparent 100%
    );
}


.category-name {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.category-desc {
    font-size: var(--font-small);
    color: var(--color-gray);
}

/* ═══════════════════════════════════════════════════════════
   КОМПАКТНЫЙ HERO (100px высота)
   ═══════════════════════════════════════════════════════════ */


@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.category-hero-bg-compact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.15);
    opacity: 0.6;
}

.category-hero-content-compact {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}



.category-hero-title-compact {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.category-hero-desc-compact {
    font-size: 13px;
    color: var(--color-gray);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   ПОДКАТЕГОРИИ
   ═══════════════════════════════════════════════════════════ */

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.subcategory-card {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(10px);
}

.subcategory-card:active {
    transform: translateY(-6px);
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-gold);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.8);
}


.subcategory-name {
    font-size: var(--font-body);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    font-weight: 500;
}

.subcategory-desc {
    font-size: 12px;
    color: var(--color-gray);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.subcategory-price {
    font-size: var(--font-body);
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subcategory-badge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    font-weight: 600;
}
/* ═══════════════════════════════════════════════════════════
   ФОРМА ГАДАНИЯ
   ═══════════════════════════════════════════════════════════ */

.reading-hero {
    text-align: center;
    padding: var(--space-xl) 0;
}


.reading-title {
    font-size: var(--font-h1);
    font-weight: 300;
    margin-bottom: var(--space-xs);
}

.reading-price {
    font-size: var(--font-h2);
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--font-small);
    color: var(--color-gray);
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    min-height: 120px;
    padding: var(--space-md);
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    color: var(--color-white);
    font-size: var(--font-body);
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    background: rgba(13, 13, 13, 0.95);
}

.form-input::placeholder {
    color: var(--color-gray-dark);
}

.btn-primary {
    width: 100%;
    padding: var(--space-md);
    background: transparent;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius);
    color: var(--color-gold);
    font-size: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-primary:active {
    background: rgba(255, 215, 0, 0.15);
    transform: scale(0.98);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

/* ═══════════════════════════════════════════════════════════
   РЕЗУЛЬТАТЫ
   ═══════════════════════════════════════════════════════════ */

.result-hero {
    text-align: center;
    padding: var(--space-xl) 0;
}

.cards-display {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.tarot-card {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    aspect-ratio: 2/3;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(13, 13, 13, 0.8);
    animation: cardFlip 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

@keyframes cardFlip {
    0% { transform: rotateY(90deg); opacity: 0; }
    100% { transform: rotateY(0); opacity: 1; }
}

.card-icon {
    font-size: 48px;
    margin-bottom: var(--space-sm);
}

.card-name {
    font-size: var(--font-body);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.card-position {
    font-size: var(--font-small);
    color: var(--color-gray);
}

.interpretation-section {
    margin-top: var(--space-xl);
}

.interpretation-title {
    font-size: var(--font-h2);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.interpretation-text {
    font-size: var(--font-body);
    line-height: 1.8;
    color: var(--color-gray);
    white-space: pre-wrap;
    padding: var(--space-md);
    border-left: 2px solid var(--color-gold-dim);
    background: rgba(13, 13, 13, 0.5);
    border-radius: var(--radius);
}

.btn-secondary {
    width: 100%;
    padding: var(--space-md);
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius);
    color: var(--color-white);
    font-size: var(--font-small);
    cursor: pointer;
    transition: var(--transition);
    margin-top: var(--space-md);
}

.btn-secondary:active {
    border-color: var(--color-gold);
    background: rgba(255, 215, 0, 0.08);
}

.btn-text {
    display: block;
    text-align: center;
    padding: var(--space-md);
    color: var(--color-gray);
    font-size: var(--font-small);
    cursor: pointer;
    transition: var(--transition);
}

.btn-text:active {
    color: var(--color-gold);
}

/* ═══════════════════════════════════════════════════════════
   ПРОФИЛЬ (полноэкранный)
   ═══════════════════════════════════════════════════════════ */

header {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.back-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.back-btn:active {
    transform: scale(0.9);
    color: var(--color-gold);
}

.header-title {
    font-size: var(--font-h2);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-header-full {
    text-align: center;
    padding: var(--space-xl) 0;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #FFED4E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 500;
    color: var(--color-black);
    margin: 0 auto var(--space-md);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.profile-name-large {
    font-size: var(--font-h2);
    font-weight: 300;
    margin-bottom: var(--space-xs);
}

.profile-id {
    font-size: var(--font-small);
    color: var(--color-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.stat-card {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius);
    background: rgba(13, 13, 13, 0.5);
}

.stat-value {
    font-size: 28px;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.stat-label {
    font-size: 11px;
    color: var(--color-gray);
    letter-spacing: 1px;
}

.empty-state {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-gray);
    font-size: var(--font-small);
}

.loading {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-gold);
}
/* ФИКСЫ для профиля и адаптива */

/* Профиль header - ВЫДЕЛЕНИЕ */
.profile-header {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 10;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1), transparent);
    pointer-events: none;
}

.profile-header:active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

/* ЛОГОТИП - возвращаем */
.logo-section {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-xl);
}


.logo-text {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #FFD700, #FFED4E, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 3s ease infinite;
    margin-bottom: var(--space-xs);
}

@keyframes gradient-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-subtitle {
    font-size: 12px;
    color: var(--color-gray);
    letter-spacing: 3px;
}

/* ПРОФИЛЬ - фикс верстки */
.content-profile {
    max-width: 100%;
    overflow-x: hidden;
}

.stats-grid-fixed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-xl) 0;
    width: 100%;
}

.stat-card {
    text-align: center;
    padding: var(--space-md) var(--space-xs);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius);
    background: rgba(13, 13, 13, 0.5);
    min-width: 0;
}

.stat-value {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    word-break: break-all;
}

.stat-label {
    font-size: 10px;
    color: var(--color-gray);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* SUBCATEGORIES - адаптив с пагинацией */
.subcategories-container {
    width: 100%;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

/* Пагинация */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
}

.pagination-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(13, 13, 13, 0.8);
    color: var(--color-gold);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-btn:active:not(:disabled) {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--color-gold);
    transform: scale(0.95);
}

.pagination-info {
    font-size: var(--font-body);
    color: var(--color-gray);
    min-width: 60px;
    text-align: center;
}

/* HERO - фикс поломки */
/* ПРАВИЛЬНЫЙ СВАЙП - 3 КАРТОЧКИ ВЕРТИКАЛЬНО */

.subcategories-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.subcategories-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.subcategories-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* КАЖДАЯ СТРАНИЦА - 3 КАРТОЧКИ ВЕРТИКАЛЬНО */
.subcategories-page {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

/* КАРТОЧКА - ПОЛНАЯ ШИРИНА */
.subcategory-card {
    position: relative;
    width: 100%;
    min-height: 140px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: var(--transition);
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(10px);
}

.subcategory-card:active {
    transform: translateY(-4px);
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-gold);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.8);
}

.subcategory-left {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}


.subcategory-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subcategory-name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

.subcategory-desc {
    font-size: 13px;
    color: var(--color-gray);
    line-height: 1.3;
}


.subcategory-price {
    font-size: 18px;
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subcategory-badge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    font-weight: 600;
}

/* СТРЕЛКИ */
.swipe-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--color-gold);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.swipe-nav:active {
    background: rgba(255, 215, 0, 0.25);
    transform: translateY(-50%) scale(0.95);
}

.swipe-nav.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.swipe-nav-left {
    left: -6px;
}

.swipe-nav-right {
    right: -6px;
}

/* ТОЧКИ */
.swipe-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: var(--space-lg) 0 var(--space-md);
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.swipe-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
/* ФИКС ОТСТУПОВ И 2 КАРТОЧКИ */

/* Профиль header - больше отступ снизу */
.profile-header {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 10;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1), transparent);
    pointer-events: none;
}

.profile-header:active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

/* Hero - больше отступ снизу */

/* Content - больше отступы */
.content {
    padding: 0 var(--space-md) var(--space-xl);
    position: relative;
    z-index: 2;
}

/* КАРТОЧКИ - КОМПАКТНЕЕ */
.subcategory-card {
    position: relative;
    width: 100%;
    min-height: 110px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: var(--transition);
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(10px);
}

.subcategory-card:active {
    transform: translateY(-4px);
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-gold);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.8);
}

.subcategory-left {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}


.subcategory-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subcategory-name {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
}

.subcategory-desc {
    font-size: 12px;
    color: var(--color-gray);
    line-height: 1.3;
}


.subcategory-price {
    font-size: 16px;
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subcategory-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    font-weight: 600;
}

/* Wrapper - больше минимальная высота для 2 карточек */
.subcategories-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

/* ТОЧКИ - больше отступ сверху */
.swipe-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: var(--space-lg) 0 0;
}
/* HERO БЕЗ ФИОЛЕТОВОГО - ЧИСТЫЙ ЧЁРНЫЙ */

.category-hero-compact {
    position: relative;
    height: 100px;
    margin: 0 0 var(--space-lg) 0;
    overflow: hidden;
    background: #000000; /* ЧИСТЫЙ ЧЁРНЫЙ */
}

.category-hero-bg-compact {
    display: none; /* Убираем фото фон */
}

.category-hero-content-compact {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 var(--space-md);
    background: transparent;
}



.category-hero-title-compact {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.category-hero-desc-compact {
    font-size: 13px;
    color: var(--color-gray);
    margin-top: 2px;
}
/* ПРЕМИУМ АНИМАЦИЯ - BLUR FADE */

.screen {
    display: none;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.screen.active {
    display: block;
    animation: blurFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes blurFadeIn {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Для главной страницы - чуть быстрее */
#mainScreen.active {
    animation: blurFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Для результата - медленнее и драматичнее */
#resultScreen.active {
    animation: blurFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ФИКС ЦЕН В ПОДКАТЕГОРИЯХ */

.subcategory-right {
    display: flex;
    align-items: center;
    justify-content: center; /* БЫЛО: flex-end */
    min-width: 65px;
    text-align: center;
}

.subcategory-price {
    font-size: 16px;
    color: var(--color-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-align: center;
    width: 100%;
}

.subcategory-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    font-weight: 600;
    text-align: center;
}
/* ПРЕМИУМ UNICODE ИКОНКИ ДЛЯ КАТЕГОРИЙ */


.category-card:hover .category-icon,

/* Иконки hero тоже */
/* ФИКС РАЗМЕРА UNICODE ИКОНОК - ВМЕЩАЮТСЯ В КАРТОЧКИ */


.category-card:hover .category-icon,

/* Hero иконки тоже */

/* Иконки в подкатегориях */

/* Иконка в форме гадания */
/* ДИНАМИЧЕСКОЕ СВЕЧЕНИЕ - БЕЗ СТАТИЧНОЙ ТЕНИ */


/* СВЕЧЕНИЕ ТОЛЬКО ПРИ НАВЕДЕНИИ */
.category-card:hover .category-icon,

/* Hero иконки - тоже чистые */


/* Подкатегории - чистые */

/* При клике на подкатегорию */

/* Форма гадания */
/* ЕСТЕСТВЕННОЕ СВЕЧЕНИЕ БЕЗ КВАДРАТОВ */


/* УСИЛЕНИЕ СВЕЧЕНИЯ ПРИ НАВЕДЕНИИ */
.category-card:hover .category-icon,

/* Hero - естественное свечение */


/* Подкатегории */


/* Форма гадания */
/* СВЕЧЕНИЕ ИЗ СИМВОЛА + ПЕРЕЛИВАЮЩИЙСЯ ЭФФЕКТ */


/* АНИМАЦИЯ ПЕРЕЛИВАНИЯ */

/* УСИЛЕНИЕ ПРИ НАВЕДЕНИИ */
.category-card:hover .category-icon,

/* АНИМАЦИЯ ПУЛЬСАЦИИ СВЕЧЕНИЯ */

/* Hero - переливающийся с float */


/* Подкатегории - тонкое свечение */


/* Форма гадания - сильное свечение */

/* ЛОГОТИП НА ГЛАВНОЙ - ТОЖЕ ПЕРЕЛИВАЕТСЯ */
/* ПЛАВНОЕ ПЕРЕЛИВАНИЕ + ФИКС ЛОГОТИПА */

/* ЛОГОТИП - БЕЗ ГРАДИЕНТА (ОБЫЧНЫЙ EMOJI) */
.logo-icon {
    font-size: 64px;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: float 3s ease-in-out infinite;
    /* БЕЗ градиента - обычный emoji цвет */
}

/* КАТЕГОРИИ - ПЛАВНОЕ ПЕРЕЛИВАНИЕ */
.category-icon {
    font-size: 48px;
    margin-bottom: var(--space-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* 0.5s вместо 0.4s */
    font-family: 'Arial Unicode MS', sans-serif;
    font-weight: 300;
    line-height: 1;
    display: inline-block;
    max-width: 100%;
    max-height: 60px;
    overflow: visible;
    
    /* ГРАДИЕНТ С БОЛЕЕ ПЛАВНЫМ ПЕРЕХОДОМ */
    background: linear-gradient(
        135deg, 
        #FFD700 0%,   /* Золотой */
        #FFED4E 25%,  /* Светлый */
        #FFA500 50%,  /* Оранжевый */
        #FFED4E 75%,  /* Светлый */
        #FFD700 100%  /* Золотой */
    );
    background-size: 400% 400%; /* Больше = плавнее */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: smooth-gradient-flow 6s ease-in-out infinite; /* 6s вместо 4s */
    
    /* СВЕЧЕНИЕ */
    filter: 
        drop-shadow(0 0 10px rgba(255, 215, 0, 0.4))
        drop-shadow(0 0 20px rgba(255, 215, 0, 0.2))
        drop-shadow(0 0 30px rgba(255, 165, 0, 0.1));
}

/* ПЛАВНАЯ АНИМАЦИЯ ГРАДИЕНТА */
@keyframes smooth-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* УСИЛЕНИЕ ПРИ НАВЕДЕНИИ */
.category-card:hover .category-icon,
.category-card:active .category-icon {
    animation: smooth-gradient-flow 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite; /* 2s вместо 1.5s */
    filter: 
        drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 35px rgba(255, 215, 0, 0.5))
        drop-shadow(0 0 50px rgba(255, 165, 0, 0.3))
        drop-shadow(0 0 70px rgba(255, 140, 0, 0.2));
    transform: scale(1.12);
}

/* ПУЛЬСАЦИЯ - ПЛАВНЕЕ */
@keyframes pulse-glow {
    0%, 100% {
        filter: 
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 35px rgba(255, 215, 0, 0.5))
            drop-shadow(0 0 50px rgba(255, 165, 0, 0.3));
    }
    50% {
        filter: 
            drop-shadow(0 0 30px rgba(255, 215, 0, 1))
            drop-shadow(0 0 50px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 70px rgba(255, 165, 0, 0.5));
    }
}

/* Hero - плавное переливание */
.category-hero-icon-compact {
    font-size: 42px;
    animation: float 4s ease-in-out infinite, smooth-gradient-flow 6s ease-in-out infinite;
    font-family: 'Arial Unicode MS', sans-serif;
    font-weight: 300;
    line-height: 1;
    display: inline-block;
    overflow: visible;
    
    background: linear-gradient(
        135deg, 
        #FFD700 0%, 
        #FFED4E 33%, 
        #FFA500 66%, 
        #FFD700 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    filter: 
        drop-shadow(0 0 12px rgba(255, 215, 0, 0.5))
        drop-shadow(0 0 24px rgba(255, 165, 0, 0.3));
}

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

/* Подкатегории */
.subcategory-icon {
    font-size: 40px;
    line-height: 1;
    display: inline-block;
    font-family: 'Arial Unicode MS', sans-serif;
    font-weight: 300;
    transition: all 0.4s ease;
    overflow: visible;
    
    background: linear-gradient(
        135deg, 
        #FFD700 0%, 
        #FFED4E 50%, 
        #FFD700 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: smooth-gradient-flow 5s ease-in-out infinite;
    
    filter: 
        drop-shadow(0 0 8px rgba(255, 215, 0, 0.3))
        drop-shadow(0 0 16px rgba(255, 215, 0, 0.15));
}

.subcategory-card:active .subcategory-icon {
    animation: smooth-gradient-flow 3s ease-in-out infinite;
    filter: 
        drop-shadow(0 0 15px rgba(255, 215, 0, 0.7))
        drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    transform: scale(1.08);
}

/* Форма гадания */
.reading-icon {
    font-size: 72px;
    margin-bottom: var(--space-md);
    animation: float 3s ease-in-out infinite, smooth-gradient-flow 6s ease-in-out infinite;
    line-height: 1;
    font-family: 'Arial Unicode MS', sans-serif;
    overflow: visible;
    
    background: linear-gradient(
        135deg, 
        #FFD700 0%, 
        #FFED4E 25%, 
        #FFA500 50%, 
        #FFED4E 75%, 
        #FFD700 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    filter: 
        drop-shadow(0 0 20px rgba(255, 215, 0, 0.7))
        drop-shadow(0 0 40px rgba(255, 165, 0, 0.4))
        drop-shadow(0 0 60px rgba(255, 140, 0, 0.2));
}
/* ========== TAROT ANIMATIONS CSS ========== */
/* v1 - Карта дня */

/* ЭТАП 1: Вступительный экран */
.tarot-intro {
    padding: var(--space-lg);
    text-align: center;
}

.tarot-intro-title {
    font-size: 28px;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #FFD700, #FFED4E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarot-intro-text {
    color: var(--color-text-dim);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Стопка карт веером */
.deck-stack {
    position: relative;
    height: 350px;
    margin: var(--space-xl) auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back-stack {
    position: absolute;
    width: 180px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.card-back-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопка тасовки */
.btn-shuffle {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.btn-shuffle:active {
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
}

/* ЭТАП 3: Выбор карт */
.card-selection-screen {
    padding: var(--space-md);
}

.selection-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.selection-header h2 {
    font-size: 24px;
    margin-bottom: var(--space-xs);
}

#selectionCounter {
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Слоты для выбранных карт */
.selected-slots {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.card-slot {
    width: 80px;
    height: 120px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.card-slot.filled {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.slot-filled {
    color: #FFD700;
    font-size: 40px;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Карусель карт */
.cards-carousel {
    position: relative;
    margin-bottom: var(--space-xl);
}

.cards-slider {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--space-md) 0;
    -webkit-overflow-scrolling: touch;
}

.cards-slider::-webkit-scrollbar {
    display: none;
}

.tarot-card-selectable {
    min-width: 120px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tarot-card-selectable:active {
    transform: scale(0.95);
}

.tarot-card-selectable img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стрелки навигации */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-arrow.left {
    left: -60px;
}

.nav-arrow.right {
    right: -60px;
}

.nav-arrow:active {
    background: rgba(255, 215, 0, 0.4);
    transform: translateY(-50%) scale(0.9);
}

/* Кнопка случайного выбора */
.btn-random {
    width: 100%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    color: #FFD700;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-random:active {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(0.98);
}

/* ЭТАП 4: Раскрытие карт */
.cards-reveal-screen {
    padding: var(--space-lg);
}

.revealed-cards {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

/* Flip карты */
.tarot-card-flip {
    width: 140px;
    height: 220px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tarot-card-flip.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-front {
    transform: rotateY(180deg);
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* Loader */
.interpretation-loader {
    text-align: center;
    padding: var(--space-xl);
}

.spinner-tarot {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 18px;
    color: #FFD700;
    margin-bottom: var(--space-xs);
}

.loader-subtext {
    font-size: 12px;
    color: var(--color-text-dim);
    letter-spacing: 2px;
}

/* Результат */
.interpretation-result {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.interpretation-result h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #FFD700, #FFED4E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interpretation-text {
    color: var(--color-text);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Кнопки результата */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.btn-save-pdf,
.btn-new-question {
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-pdf {
    background: linear-gradient(135deg, #9333EA, #7C3AED);
    color: white;
    border: none;
}

.btn-new-question {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
}

.btn-save-pdf:active,
.btn-new-question:active {
    transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════════
   TAROT ANIMATION v2 - ДОБАВИТЬ В КОНЕЦ style.css
   ═══════════════════════════════════════════════════════════ */

/* === ЭТАП 3: Выбор карт (v2) === */
.card-selection-screen-v2 {
    padding: 16px;
    padding-bottom: 100px;
}

.selection-header-v2 {
    text-align: center;
    margin-bottom: 20px;
}

.selection-header-v2 h2 {
    font-size: 22px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #FFD700, #FFED4E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#selectionCounter {
    color: #FFD700;
    font-size: 16px;
    font-weight: 600;
}

/* Слоты для выбранных карт */
.selected-slots-v2 {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-slot-v2 {
    width: 70px;
    height: 105px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.card-slot-v2.filled {
    border: 2px solid #FFD700;
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.slot-placeholder {
    font-size: 24px;
    color: rgba(255, 215, 0, 0.3);
    font-weight: bold;
}

.slot-card-back {
    width: 100%;
    height: 100%;
}

.slot-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Карусель карт (горизонтальный скролл) */
.cards-carousel-v2 {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -16px;
    padding: 10px 16px;
    cursor: grab;
}

.cards-carousel-v2::-webkit-scrollbar {
    display: none;
}

.cards-track {
    display: flex;
    gap: 8px;
    padding: 5px 0;
}

/* Карта для выбора (маленькая, много видно) */
.tarot-card-select-v2 {
    flex-shrink: 0;
    width: 60px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.tarot-card-select-v2:active {
    transform: scale(0.95);
    border-color: #FFD700;
}

.tarot-card-select-v2.selected {
    opacity: 0.3;
    transform: scale(0.9);
    pointer-events: none;
}

.tarot-card-select-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Навигация карусели */
.carousel-nav-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
}

.nav-btn-v2 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn-v2:active {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(0.95);
}

.nav-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Кнопка случайного выбора */
.btn-random-v2 {
    width: 100%;
    padding: 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 12px;
    color: #FFD700;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-random-v2:active {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(0.98);
}

/* Летящая карта (для анимации переноса) */
.flying-card {
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
}

.flying-card img {
    border-radius: 8px;
}

/* === ЭТАП 4: Раскрытие карт (v2 - 2 в ряд) === */
.cards-reveal-screen-v2 {
    padding: 16px;
    padding-bottom: 100px;
}

.reveal-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFD700, #FFED4E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Сетка карт 2 в ряд */
.revealed-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    justify-items: center;
}

/* Нечётная последняя карта - по центру */
.revealed-cards-grid .tarot-card-flip-v2:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

/* Flip-карта v2 */
.tarot-card-flip-v2 {
    width: 130px;
    perspective: 1000px;
    text-align: center;
}

.card-inner-v2 {
    position: relative;
    width: 100%;
    height: 195px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tarot-card-flip-v2.flipped .card-inner-v2 {
    transform: rotateY(180deg);
}

.card-face-v2 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-back-v2 {
    background: #1a1a1a;
}

.card-front-v2 {
    transform: rotateY(180deg);
    background: #f5f0e1;
}

.card-face-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card-label-v2 {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #FFD700;
    opacity: 0;
    transition: opacity 0.3s ease 0.8s;
}

.tarot-card-flip-v2.flipped .card-label-v2 {
    opacity: 1;
}

/* Loader v2 */
.interpretation-loader-v2 {
    text-align: center;
    padding: 30px;
}

.spinner-tarot-v2 {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text-v2 {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 4px;
}

.loader-subtext-v2 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

/* Результат v2 */
.interpretation-result-v2 {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.interpretation-result-v2 h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFD700, #FFED4E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interpretation-text-v2 {
    color: #E0E0E0;
    line-height: 1.7;
    font-size: 15px;
    white-space: pre-wrap;
}

/* Кнопки результата v2 */
.result-actions-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-new-v2 {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-new-v2:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn-home-v2 {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-home-v2:active {
    background: rgba(255, 255, 255, 0.05);
}

.btn-save-txt {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #d4af37;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-txt:active {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════════
   АСТРОЛОГИЯ - СТИЛИ
   ═══════════════════════════════════════════════════════════ */

/* Экран ввода даты */
.astro-input-screen {
    padding: 20px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.astro-header {
    margin-bottom: 40px;
}

.astro-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 16px;
}

.astro-title {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 8px;
}

.astro-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.astro-form {
    margin-bottom: 30px;
}

.date-input-group {
    max-width: 280px;
    margin: 0 auto;
}

/* date-input стили перенесены в общий блок для iOS */

.date-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-top: 12px;
}

.btn-start-astro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border: none;
    border-radius: 30px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.btn-start-astro:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-start-astro:not(:disabled):active {
    transform: scale(0.95);
}

.astro-price {
    color: rgba(212, 175, 55, 0.7);
    font-size: 0.9rem;
}

/* Экран с колесом зодиака */
.zodiac-wheel-screen {
    padding: 20px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zodiac-result-title {
    color: #d4af37;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.zodiac-wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
}

.zodiac-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.zodiac-wheel.spinning {
    animation: wheelSpin 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(720deg); }
}

.zodiac-wheel-sign {
    position: absolute;
    width: 36px;
    height: 36px;
    left: 50%;
    top: 50%;
    margin-left: -18px;
    margin-top: -18px;
    transform: rotate(var(--angle)) translate(125px) rotate(calc(-1 * var(--angle)));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zodiac-symbol {
    font-size: 1.4rem;
    color: rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.zodiac-wheel-sign.active .zodiac-symbol {
    color: #d4af37;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.zodiac-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.zodiac-center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zodiac-sign-name {
    font-size: 1.6rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 30px;
}

.astro-loader {
    margin-top: 20px;
}

.loader-text-astro {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Экран результата */
.astro-result-screen {
    padding: 20px;
    text-align: center;
}

.astro-result-header {
    margin-bottom: 30px;
}

.result-zodiac-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #d4af37;
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.result-zodiac-name {
    color: #d4af37;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.result-reading-type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Совместимость - форма ввода */
.compatibility-inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.compatibility-heart {
    font-size: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.input-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-align: center;
}

/* Совместимость - анимация */
.compatibility-signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.compat-sign {
    text-align: center;
}

.compat-sign-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.compat-sign-name {
    color: #d4af37;
    font-size: 1rem;
    margin-top: 10px;
}

.compat-heart-big {
    font-size: 2.5rem;
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Совместимость - результат */
.compatibility-result-header {
    text-align: center;
    margin-bottom: 30px;
}

.compat-result-signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.compat-result-sign {
    text-align: center;
}

.compat-result-sign p {
    color: #d4af37;
    font-size: 0.9rem;
    margin-top: 8px;
}

.compat-result-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    object-fit: cover;
}

.compat-result-heart {
    font-size: 2rem;
}

.btn-retry {
    margin-top: 16px;
    padding: 12px 24px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #FFD700;
    border-radius: 8px;
    color: #FFD700;
    cursor: pointer;
}

/* Закруглённые края для всех рубашек карт */
.card-back-stack img,
.tarot-card-select-v2 img,
.slot-card-back img,
.card-face-v2 img,
.flying-card img {
    border-radius: 8px;
}/* ═══════════════════════════════════════════════════════════
   TAROT V3 - НОВЫЕ РАСКЛАДЫ CSS
   Добавить в конец style.css
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   ФОРМЫ ВВОДА
   ═══════════════════════════════════════════════════════════ */
.tarot-form-screen {
    padding: 20px;
    min-height: 100vh;
}

.tarot-input-form {
    background: rgba(20, 15, 35, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.tarot-input-form h2 {
    color: #d4af37;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 8px;
}

.tarot-input-form p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    color: #d4af37;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* tarot-input и tarot-textarea стили перенесены в общий блок для iOS */

.gender-select {
    display: flex;
    gap: 10px;
}

.gender-btn {
    flex: 1;
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gender-btn:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.gender-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

.couple-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.person-input h3 {
    color: #d4af37;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
}

.person-input .tarot-input {
    margin-bottom: 10px;
}

.btn-continue {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #a88a2a 100%);
    border: none;
    border-radius: 12px;
    color: #0a0a0f;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

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

/* ═══════════════════════════════════════════════════════════
   СЛОТЫ - КОНТЕЙНЕРЫ ПО LAYOUT
   ═══════════════════════════════════════════════════════════ */
.selected-slots-container {
    margin: 20px 0;
}

/* ROW LAYOUT - в линию */
.selected-slots-container.row .row-layout {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.row-layout .card-slot-v2 {
    width: 55px;
    height: 80px;
    background: rgba(20, 15, 35, 0.8);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.row-layout .card-slot-v2.filled {
    border-style: solid;
    border-color: #d4af37;
}

.row-layout .slot-placeholder {
    color: rgba(212, 175, 55, 0.5);
    font-size: 1.2rem;
    font-weight: bold;
}

/* CIRCLE LAYOUT - по кругу (10-12 карт) */
.selected-slots-container.circle .circle-layout,
.selected-slots-container.celtic .circle-layout {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.card-slot-circle {
    position: absolute;
    width: 45px;
    height: 65px;
    left: 50%;
    top: 50%;
    transform: rotate(var(--angle)) translate(120px) rotate(calc(-1 * var(--angle)));
    margin-left: -22px;
    margin-top: -32px;
    background: rgba(20, 15, 35, 0.8);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-slot-circle.filled {
    border-style: solid;
    border-color: #d4af37;
}

.card-slot-circle .slot-placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-size: 0.65rem;
    font-weight: bold;
}

/* CELTIC LAYOUT - кельтский крест */
.selected-slots-container.celtic .celtic-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.celtic-center {
    position: relative;
    width: 70px;
    height: 100px;
    margin: 0 auto;
}

.celtic-center .card-slot-celtic {
    position: absolute;
    width: 50px;
    height: 70px;
    background: rgba(20, 15, 35, 0.8);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.celtic-center .card-slot-celtic:first-child {
    top: 15px;
    left: 10px;
    z-index: 1;
}

.celtic-center .card-slot-celtic.cross {
    top: 15px;
    left: 10px;
    transform: rotate(90deg);
    z-index: 2;
}

.celtic-cross {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.celtic-cross-row {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.celtic-cross .card-slot-celtic {
    width: 40px;
    height: 58px;
    background: rgba(20, 15, 35, 0.8);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.celtic-staff {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 20px;
}

.celtic-staff .card-slot-celtic {
    width: 40px;
    height: 58px;
    background: rgba(20, 15, 35, 0.8);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-slot-celtic.filled {
    border-style: solid;
    border-color: #d4af37;
}

.card-slot-celtic .slot-placeholder {
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.8rem;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════
   РАСКРЫТЫЕ КАРТЫ - LAYOUTS
   ═══════════════════════════════════════════════════════════ */
.revealed-cards-container {
    margin: 20px 0;
}

/* ROW - сетка 2 в ряд */
.revealed-cards-container .revealed-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Каждая карта - flex column для центрирования */
.revealed-cards-grid .tarot-card-flip-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
}

.revealed-cards-grid .tarot-card-flip-v2 .card-inner-v2 {
    width: 120px;
    height: 174px;
}

.revealed-cards-grid .tarot-card-flip-v2 .card-label-v2 {
    text-align: center;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #d4af37;
    width: 100%;
    word-wrap: break-word;
}

/* Нечётная последняя карта - по центру */
.revealed-cards-container .revealed-cards-grid .tarot-card-flip-v2:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

/* Модальное окно просмотра карты */
.card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.card-modal-content {
    max-width: 280px;
    text-align: center;
}

.card-modal-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.card-modal-title {
    color: #d4af37;
    font-size: 1.4rem;
    margin-top: 16px;
    font-weight: 600;
}

.card-modal-position {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 6px;
}

.card-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    background: transparent;
    color: #d4af37;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-modal-nav {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 20px;
}

.card-modal-nav button {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    background: transparent;
    color: #d4af37;
    font-size: 1.2rem;
    cursor: pointer;
}

/* CIRCLE - по кругу */
.revealed-cards-container.circle .revealed-circle {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.revealed-circle .tarot-card-flip-v2.circle-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: rotate(var(--angle)) translate(130px) rotate(calc(-1 * var(--angle)));
    margin-left: -35px;
    margin-top: -50px;
}

.revealed-circle .tarot-card-flip-v2 .card-inner-v2 {
    width: 70px;
    height: 100px;
}

.revealed-circle .card-label-v2 {
    font-size: 0.6rem;
    margin-top: 4px;
}

/* CELTIC - кельтский крест раскрытие */
.revealed-cards-container.celtic .revealed-celtic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
    justify-items: center;
}

.revealed-celtic .tarot-card-flip-v2 {
    justify-self: center;
}

.revealed-celtic .tarot-card-flip-v2 .card-inner-v2 {
    width: 90px;
    height: 130px;
}

.revealed-celtic .card-label-v2 {
    font-size: 0.7rem;
    margin-top: 6px;
}

/* Последняя нечётная карта по центру */
.revealed-celtic .tarot-card-flip-v2:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════
   КАРТОЧКИ СЛОТОВ - заполненные
   ═══════════════════════════════════════════════════════════ */
.slot-card-back {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.slot-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* ═══════════════════════════════════════════════════════════
   FLIP КАРТЫ V2
   ═══════════════════════════════════════════════════════════ */
.tarot-card-flip-v2 {
    perspective: 1000px;
    text-align: center;
}

.card-inner-v2 {
    width: 90px;
    height: 130px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tarot-card-flip-v2.flipped .card-inner-v2 {
    transform: rotateY(180deg);
}

.card-face-v2 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card-face-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back-v2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.card-front-v2 {
    transform: rotateY(180deg);
}

.card-label-v2 {
    color: #d4af37;
    font-size: 0.75rem;
    margin-top: 8px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   КАРУСЕЛЬ V2
   ═══════════════════════════════════════════════════════════ */
.card-selection-screen-v2 {
    padding: 15px;
}

.selection-header-v2 {
    text-align: center;
    margin-bottom: 15px;
}

.selection-header-v2 h2 {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.selection-header-v2 p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.cards-carousel-v2 {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0;
    margin: 15px -15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.cards-carousel-v2::-webkit-scrollbar {
    display: none;
}

.cards-track {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    width: max-content;
}

.tarot-card-select-v2 {
    width: 60px;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.tarot-card-select-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.tarot-card-select-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
}

.tarot-card-select-v2.selected {
    opacity: 0.3;
    transform: scale(0.9);
    pointer-events: none;
}

.carousel-nav-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
}

.nav-btn-v2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn-v2:hover {
    background: rgba(212, 175, 55, 0.2);
}

.nav-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.btn-random-v2 {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    color: #d4af37;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-random-v2:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   ЭКРАН РЕЗУЛЬТАТА
   ═══════════════════════════════════════════════════════════ */
.cards-reveal-screen-v2 {
    padding: 20px;
}

.reveal-title {
    color: #d4af37;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.interpretation-loader-v2 {
    text-align: center;
    padding: 30px;
}

.spinner-tarot-v2 {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text-v2 {
    color: #d4af37;
    font-size: 1rem;
    margin-bottom: 5px;
}

.interpretation-result-v2 {
    background: rgba(20, 15, 35, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.interpretation-result-v2 h3 {
    color: #d4af37;
    text-align: center;
    margin-bottom: 15px;
}

.interpretation-text-v2 {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.result-actions-v2 {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-new-v2, .btn-home-v2 {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-new-v2 {
    background: linear-gradient(135deg, #d4af37 0%, #a88a2a 100%);
    border: none;
    color: #0a0a0f;
    font-weight: 600;
}

.btn-home-v2 {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

.btn-retry {
    padding: 12px 24px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    border-radius: 10px;
    color: #d4af37;
    cursor: pointer;
    margin-top: 15px;
}

/* ═══════════════════════════════════════════════════════════
   ЛЕТЯЩАЯ КАРТА
   ═══════════════════════════════════════════════════════════ */
.flying-card {
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   INTRO & SHUFFLE
   ═══════════════════════════════════════════════════════════ */
.tarot-intro {
    text-align: center;
    padding: 40px 20px;
}

.tarot-intro-title {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tarot-intro-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.deck-stack {
    position: relative;
    width: 120px;
    height: 170px;
    margin: 0 auto 30px;
}

.card-back-stack {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-back-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-shuffle {
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #a88a2a 100%);
    border: none;
    border-radius: 30px;
    color: #0a0a0f;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-shuffle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes blurFadeIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* ═══════════════════════════════════════════════════════════
   ХИРОМАНТИЯ
   ═══════════════════════════════════════════════════════════ */

/* Форма загрузки */
.palm-input-screen {
    padding: 20px;
    text-align: center;
}

.palm-header {
    margin-bottom: 24px;
}

.palm-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.palm-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 8px;
}

.palm-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Область загрузки */
.palm-upload-area {
    background: rgba(212, 175, 55, 0.05);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 30px 20px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.palm-upload-area:active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.palm-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    font-size: 3rem;
    opacity: 0.7;
}

.palm-upload-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.upload-hint {
    font-size: 0.85rem !important;
    opacity: 0.5;
}

/* Превью изображения */
.palm-preview-container {
    position: relative;
    width: 100%;
    max-width: 280px;
}

.palm-preview-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
}

.palm-remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff4444;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Кнопки выбора источника */
.palm-upload-buttons {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.btn-upload-option {
    flex: 1;
    padding: 14px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #d4af37;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-upload-option:active {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(0.98);
}

.btn-upload-option span:first-child {
    font-size: 1.5rem;
}

/* Советы */
.palm-tips {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}

.tips-title {
    color: #d4af37;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* Кнопка анализа */
.btn-start-palm {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #d4af37, #aa8a2e);
    border: none;
    border-radius: 12px;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-start-palm:disabled {
    background: rgba(212, 175, 55, 0.3);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.btn-start-palm:not(:disabled):active {
    transform: scale(0.98);
}

.palm-price {
    margin-top: 12px;
    color: #d4af37;
    font-size: 0.9rem;
}

/* Экран загрузки */
.palm-loading-screen {
    padding: 40px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.palm-loading-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: palmPulse 2s ease-in-out infinite;
}

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

.palm-loading-animation {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
    overflow: hidden;
}

.palm-loading-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.palm-scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    box-shadow: 0 0 15px #d4af37;
    animation: scanLine 2s ease-in-out infinite;
    left: 0;
}

@keyframes scanLine {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Кнопки выбора камера/галерея */
.palm-upload-buttons {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.btn-upload-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #d4af37;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload-option:active {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(0.98);
}

.btn-upload-option span:first-child {
    font-size: 1.5rem;
}

.palm-loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 20px 0;
}

.palm-loading-progress {
    width: 80%;
    max-width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    width: 0%;
    transition: width 0.5s ease;
}

/* Экран ошибки */
.palm-error-screen {
    padding: 40px 20px;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.palm-error-screen h3 {
    color: #ff6b6b;
    margin-bottom: 8px;
}

.palm-error-screen p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-retry-palm,
.btn-new-palm {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry-palm {
    background: linear-gradient(135deg, #d4af37, #aa8a2e);
    color: #1a1a2e;
}

.btn-new-palm {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Экран результата */
.palm-result-screen {
    padding: 20px;
}

.palm-result-header {
    text-align: center;
    margin-bottom: 24px;
}

.palm-result-header h2 {
    color: #d4af37;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.result-type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.palm-result-image-container {
    text-align: center;
    margin-bottom: 24px;
}

.palm-result-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.palm-result-image:active {
    transform: scale(0.98);
}

.image-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Модальное окно для изображения */
.palm-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.palm-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 90%;
}

.palm-modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.palm-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .couple-inputs {
        grid-template-columns: 1fr;
    }
    
    .celtic-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .revealed-circle {
        width: 280px;
        height: 280px;
    }
    
    .revealed-circle .tarot-card-flip-v2.circle-card {
        transform: rotate(var(--angle)) translate(110px) rotate(calc(-1 * var(--angle)));
    }
    
    .revealed-circle .tarot-card-flip-v2 .card-inner-v2 {
        width: 55px;
        height: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════
   ПЛАШКА ПРИВАТНОСТИ И КНОПКА СКАЧИВАНИЯ
   ═══════════════════════════════════════════════════════════ */
.privacy-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.privacy-notice p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.privacy-notice p:first-child {
    margin-bottom: 8px;
    color: #ffc107;
}

.history-notice {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    text-align: center;
}

.history-notice p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-download-photo {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-download-photo:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

/* ═══════════════════════════════════════════════════════════
   ИСТОРИЯ ГАДАНИЙ В ПРОФИЛЕ
   ═══════════════════════════════════════════════════════════ */
.history-section {
    margin-top: 20px;
}

.history-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.history-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.history-tab.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

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

.history-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-item:active {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(0.99);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.history-item-type {
    font-weight: 600;
    color: #d4af37;
    font-size: 0.95rem;
}

.history-item-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.history-item-category {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.history-item-preview {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.history-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.history-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.history-load-more {
    text-align: center;
    padding: 16px;
}

.btn-load-more {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:active {
    background: rgba(212, 175, 55, 0.2);
}

/* Модальное окно детали гадания */
.reading-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.reading-detail-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.reading-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reading-detail-title {
    font-size: 1.2rem;
    color: #d4af37;
}

.reading-detail-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

.reading-detail-body {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.reading-detail-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.reading-detail-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    white-space: pre-wrap;
}

.reading-detail-image {
    margin: 15px 0;
    text-align: center;
}

.reading-detail-image img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-download-natal {
    display: block;
    margin: 10px auto 0;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Исправление полей ввода для iPhone */
.natal-input,
.num-input,
.rune-input,
.pendulum-input,
.tarot-input,
.tarot-textarea,
.date-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px; /* Минимум 16px чтобы iOS не зумил */
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* Textarea специфичные стили */
.tarot-textarea,
.rune-input[rows],
.pendulum-input[rows],
textarea {
    resize: none;
    min-height: 100px;
}

/* Фикс для iOS date/time inputs */
.natal-input[type="date"],
.natal-input[type="time"],
.num-input[type="date"],
.rune-input[type="date"],
.tarot-input[type="date"],
.date-input[type="date"],
input[type="date"],
input[type="time"] {
    min-height: 48px;
    color-scheme: dark;
}

/* Убираем стрелки в iOS */
.natal-input::-webkit-date-and-time-value,
.num-input::-webkit-date-and-time-value,
.rune-input::-webkit-date-and-time-value,
.tarot-input::-webkit-date-and-time-value,
.date-input::-webkit-date-and-time-value,
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value {
    text-align: left;
}

/* Фокус для всех полей */
.natal-input:focus,
.num-input:focus,
.rune-input:focus,
.pendulum-input:focus,
.tarot-input:focus,
.tarot-textarea:focus,
.date-input:focus {
    outline: none;
    border-color: #d4af37;
}

/* ═══════════════════════════════════════════════════════════
   ОБЩИЕ АНИМАЦИИ ДЛЯ ИКОНОК
   ═══════════════════════════════════════════════════════════ */
.reading-icon-animated {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reading-icon-animated .icon-main {
    font-size: 3rem;
    color: #d4af37;
    z-index: 2;
    animation: iconPulse 2s ease-in-out infinite;
}

.reading-icon-animated .icon-orbit {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.6);
    animation: orbitSpin 8s linear infinite;
}

.reading-icon-animated .icon-orbit:nth-child(2) {
    animation-delay: 0s;
    transform-origin: 60px 60px;
}

.reading-icon-animated .icon-orbit:nth-child(3) {
    animation-delay: -2.7s;
    transform-origin: 60px 60px;
}

.reading-icon-animated .icon-orbit:nth-child(4) {
    animation-delay: -5.3s;
    transform-origin: 60px 60px;
}

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

@keyframes orbitSpin {
    0% { transform: rotate(0deg) translateX(45px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(45px) rotate(-360deg); }
}

/* Загрузочная анимация с орбитами */
.loading-animation {
    padding: 40px 20px;
    text-align: center;
}

.orbit-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.orbit-container .center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #d4af37;
    animation: centerGlow 2s ease-in-out infinite;
}

@keyframes centerGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.orbit-container .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.orbit-container .orbit span {
    position: absolute;
    color: #d4af37;
    font-size: 1rem;
}

.orbit-container .orbit-1 {
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    animation: orbitRotate1 3s linear infinite;
}

.orbit-container .orbit-1 span {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-container .orbit-2 {
    width: 110px;
    height: 110px;
    margin: -55px 0 0 -55px;
    animation: orbitRotate2 4s linear infinite reverse;
}

.orbit-container .orbit-2 span {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-container .orbit-3 {
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    animation: orbitRotate3 5s linear infinite;
}

.orbit-container .orbit-3 span {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes orbitRotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitRotate2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitRotate3 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Точки загрузки */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Кнопка с иконкой */
.btn-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════════
   НАТАЛЬНАЯ КАРТА
   ═══════════════════════════════════════════════════════════ */
.natal-input-screen,
.natal-loading-screen,
.natal-result-screen,
.natal-error-screen {
    padding: 20px;
    text-align: center;
}

.natal-header {
    margin-bottom: 30px;
}

.natal-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.natal-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 8px;
}

.natal-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.natal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.natal-field {
    text-align: left;
}

.natal-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.natal-input:focus,
.num-input:focus {
    outline: none;
    border-color: #d4af37;
}

.field-hint {
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-start-natal {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.natal-price {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.natal-loader {
    padding: 40px 20px;
}

.natal-spinner {
    font-size: 4rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.natal-result-image-container {
    margin: 20px 0;
}

.natal-result-image {
    max-width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   НУМЕРОЛОГИЯ
   ═══════════════════════════════════════════════════════════ */
.num-input-screen,
.num-loading-screen,
.num-result-screen,
.num-error-screen {
    padding: 20px;
    text-align: center;
}

.num-header {
    margin-bottom: 30px;
}

.num-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.num-title {
    font-size: 1.5rem;
    color: #d4af37;
}

.num-form {
    margin-bottom: 30px;
}

.num-field {
    text-align: left;
    margin-bottom: 20px;
}

.num-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.num-info {
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.num-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.today-date {
    font-size: 1.2rem;
    color: #d4af37;
    margin-top: 10px !important;
}

.btn-start-num {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.num-price {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.num-loader {
    padding: 40px 20px;
}

.num-spinner {
    font-size: 4rem;
    animation: pulse 1s ease-in-out infinite;
}

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

.num-dots {
    margin-top: 20px;
}

.num-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #d4af37;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.num-dots span:nth-child(2) { animation-delay: 0.2s; }
.num-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

.num-result-header {
    margin-bottom: 20px;
}

.num-result-number {
    margin-top: 20px;
}

.big-number {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-retry-num,
.btn-retry-natal,
.btn-retry-rune {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
}

/* ═══════════════════════════════════════════════════════════
   РУНЫ
   ═══════════════════════════════════════════════════════════ */
.rune-input-screen,
.rune-selection-screen,
.rune-result-screen,
.rune-error-screen {
    padding: 20px;
    text-align: center;
}

.rune-header {
    margin-bottom: 30px;
}

.rune-preview-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rune-preview-item {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: runeFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

@keyframes runeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.rune-title {
    font-size: 1.5rem;
    color: #d4af37;
}

.rune-form {
    margin-bottom: 30px;
}

.rune-field {
    text-align: left;
    margin-bottom: 20px;
}

.rune-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.rune-info {
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.btn-start-rune {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rune-price {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Экран выбора рун */
.rune-selection-title,
.rune-result-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 30px;
}

.runes-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.runes-display.one-rune .rune-card-container {
    width: 150px;
}

.runes-display.three-runes .rune-card-container {
    width: 100px;
}

.rune-card-container {
    text-align: center;
    animation: runeReveal 0.8s ease forwards;
    opacity: 0;
}

@keyframes runeReveal {
    0% { opacity: 0; transform: scale(0.5) rotateY(180deg); }
    100% { opacity: 1; transform: scale(1) rotateY(0deg); }
}

.rune-card {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.rune-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.rune-name {
    font-size: 1rem;
    color: #d4af37;
    margin: 5px 0;
}

.rune-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Результат рун */
.runes-result-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.runes-result-display.one-rune .rune-result-card {
    width: 120px;
}

.runes-result-display.three-runes .rune-result-card {
    width: 90px;
}

.rune-result-card {
    text-align: center;
}

.rune-result-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.rune-result-name {
    font-size: 0.9rem;
    color: #d4af37;
    margin: 8px 0 2px;
}

.rune-result-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.rune-loading-text {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   МАЯТНИК
   ═══════════════════════════════════════════════════════════ */
.pendulum-input-screen,
.pendulum-swinging-screen,
.pendulum-result-screen,
.pendulum-error-screen {
    padding: 20px;
    text-align: center;
}

.pendulum-header {
    margin-bottom: 30px;
}

.pendulum-visual {
    position: relative;
    height: 120px;
    margin-bottom: 20px;
}

.pendulum-string {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.3), #d4af37);
    transform-origin: top center;
}

.pendulum-ball {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    animation: pendulumIdle 3s ease-in-out infinite;
}

@keyframes pendulumIdle {
    0%, 100% { transform: translateX(-50%) rotate(-5deg); }
    50% { transform: translateX(-50%) rotate(5deg); }
}

.pendulum-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.pendulum-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.pendulum-form {
    margin-bottom: 30px;
}

.pendulum-field {
    text-align: left;
}

.pendulum-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.btn-start-pendulum {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pendulum-price {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Анимация качания */
.pendulum-swinging-screen {
    padding-top: 40px;
}

.pendulum-swinging-title {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 30px;
}

.pendulum-animation {
    position: relative;
    height: 180px;
    margin-bottom: 30px;
}

.pendulum-string-anim {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.3), #d4af37);
    transform-origin: top center;
    animation: pendulumSwing 1.5s ease-in-out infinite;
}

.pendulum-ball-anim {
    position: absolute;
    top: 90px;
    left: 50%;
    font-size: 3rem;
    color: #d4af37;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.9);
    transform-origin: top center;
    animation: pendulumSwing 1.5s ease-in-out infinite;
}

@keyframes pendulumSwing {
    0% { transform: translateX(-50%) rotate(-30deg); }
    50% { transform: translateX(-50%) rotate(30deg); }
    100% { transform: translateX(-50%) rotate(-30deg); }
}

.pendulum-question-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Результат маятника */
.pendulum-result-title {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 30px;
}

.pendulum-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.pendulum-answer.answer-yes {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.pendulum-answer.answer-no {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid rgba(244, 67, 54, 0.5);
}

.pendulum-answer.answer-maybe {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.answer-icon {
    font-size: 3rem;
}

.answer-yes .answer-icon { color: #4CAF50; }
.answer-no .answer-icon { color: #F44336; }
.answer-maybe .answer-icon { color: #d4af37; }

.answer-text {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.answer-yes .answer-text { color: #4CAF50; }
.answer-no .answer-text { color: #F44336; }
.answer-maybe .answer-text { color: #d4af37; }

.btn-retry-pendulum {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
}

/* ═══════════════════════════════════════════════════════════
   REFERRAL SECTION - КОМПАКТНАЯ ВЕРСИЯ
   ═══════════════════════════════════════════════════════════ */
.referral-section {
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(150, 120, 40, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
}

.referral-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.referral-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.referral-text {
    flex: 1;
}

.referral-title {
    color: #d4af37;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.referral-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.3;
}

.referral-earned {
    text-align: right;
    flex-shrink: 0;
}

.referral-earned-value {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.referral-earned-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-referral-invite {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #b8962a);
    border: none;
    border-radius: 12px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-referral-invite:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   LAVA.TOP PAYMENT MODAL
   ═══════════════════════════════════════════════════════════ */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.payment-modal-content {
    background: linear-gradient(145deg, #1a1a2e, #0d0d15);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-modal-header h2 {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 0;
}

.payment-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.payment-close-btn:hover {
    color: white;
}

.payment-modal-body {
    padding: 20px;
}

.payment-field {
    margin-bottom: 20px;
}

.payment-field label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.payment-input:focus {
    outline: none;
    border-color: #d4af37;
}

.payment-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-amount-btn {
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-amount-btn:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.payment-amount-btn.selected {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #000;
    border-color: #d4af37;
    font-weight: 600;
}

.payment-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.payment-submit-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.payment-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 15px;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   ИСТОРИЯ ПОПОЛНЕНИЙ
   ═══════════════════════════════════════════════════════════ */
.payment-history-section {
    margin-top: 30px;
    padding: 0 16px;
}

.payment-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.payment-history-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-history-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4CAF50;
}

.payment-history-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.payment-history-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.payment-history-status.status-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.payment-history-status.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}

.payment-history-empty {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.4);
}