/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #c41e3a;
    --color-gold: #ffd700;
    --color-card-bg-gradient: linear-gradient(145deg, #c5eaf5 0%, #a8dced 50%, #8fd4e8 100%);
    --color-text-dark: #1e40af;
    --color-text-light: #ffffff;
    
    /* Card - Mobile (vertical) */
    --card-width: min(320px, 85vw);
    --card-height: 160px;
    --card-gap: 12px;
    --visible-cards: 3;
    
    /* Shadows */
    --shadow-card: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    
    /* Border radius */
    --border-radius: 24px;
    --border-radius-sm: 16px;
    
    /* Animation */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--color-text-light);
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND ===== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.75);
    z-index: 1;
}

body.has-background .background-overlay {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== THEMES ===== */
body.theme-birthday {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body.theme-winter {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body.theme-anya {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

body.theme-anya .background-overlay {
    background: rgba(255, 255, 255, 0.1);
}

body.theme-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

/* ===== THEME: COZY (для Ани - текущая пастельная) ===== */
body.theme-cozy .header {
    background: linear-gradient(135deg, 
        rgba(139, 90, 75, 0.85) 0%, 
        rgba(160, 100, 85, 0.9) 50%, 
        rgba(139, 90, 75, 0.85) 100%);
    border-color: rgba(255, 235, 205, 0.6);
}
body.theme-cozy .header::before,
body.theme-cozy .header::after { content: '✨'; }
body.theme-cozy .title { color: #fff8dc; }
body.theme-cozy .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(107, 142, 120, 0.85) 0%, 
        rgba(120, 155, 130, 0.9) 50%, 
        rgba(107, 142, 120, 0.85) 100%);
    border-color: rgba(255, 235, 205, 0.6);
}
body.theme-cozy .auto-scroll-indicator::before,
body.theme-cozy .auto-scroll-indicator::after { content: '🐱'; }
body.theme-cozy .view-prize-btn {
    background: linear-gradient(135deg, #b87868 0%, #9a6458 100%);
    border-color: rgba(255, 235, 205, 0.6);
}
body.theme-cozy .spin-button {
    background: linear-gradient(135deg, #f5deb3 0%, #ffefd5 50%, #deb887 100%);
    color: #5a4035;
    border: 2px solid rgba(210, 180, 140, 0.6);
}

/* ===== THEME: RACING (для Вовы - гаражная/гоночная) ===== */
body.theme-racing {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
body.theme-racing .header {
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(50, 50, 50, 0.9) 50%, 
        rgba(30, 30, 30, 0.95) 100%);
    border: 2px solid rgba(255, 100, 0, 0.6);
    box-shadow: 0 8px 32px rgba(255, 100, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.theme-racing .header::before { content: '🏁'; }
body.theme-racing .header::after { content: '🔥'; }
body.theme-racing .title { 
    color: #ff6400;
    text-shadow: 0 0 20px rgba(255, 100, 0, 0.5);
}
body.theme-racing .title::after {
    background: linear-gradient(90deg, transparent, rgba(255, 100, 0, 0.6), transparent);
}
body.theme-racing .greeting { color: rgba(255, 255, 255, 0.9); }
body.theme-racing .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.95) 0%, 
        rgba(60, 60, 60, 0.9) 50%, 
        rgba(40, 40, 40, 0.95) 100%);
    border: 2px solid rgba(255, 100, 0, 0.5);
}
body.theme-racing .auto-scroll-indicator::before { content: '🚗'; }
body.theme-racing .auto-scroll-indicator::after { content: '🚗'; }
body.theme-racing .view-prize-btn {
    background: linear-gradient(135deg, #ff6400 0%, #cc5000 100%);
    border: 2px solid rgba(255, 150, 50, 0.5);
    color: white;
}
body.theme-racing .spin-button {
    background: linear-gradient(135deg, #ff6400 0%, #ff8c00 50%, #cc5000 100%);
    color: white;
    border: 2px solid rgba(255, 150, 50, 0.6);
}
body.theme-racing .received-badge {
    background: linear-gradient(135deg, #ff6400 0%, #ff8c00 100%);
    color: white;
    border-color: rgba(255, 150, 50, 0.6);
}

/* ===== THEME: CLASSIC (классическая новогодняя) ===== */
body.theme-classic .header {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.9) 0%, 
        rgba(178, 34, 34, 0.85) 50%, 
        rgba(139, 0, 0, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
}
body.theme-classic .header::before { content: '🎄'; }
body.theme-classic .header::after { content: '🎄'; }
body.theme-classic .title { 
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}
body.theme-classic .title::after {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}
body.theme-classic .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(0, 100, 0, 0.9) 0%, 
        rgba(34, 139, 34, 0.85) 50%, 
        rgba(0, 100, 0, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
}
body.theme-classic .auto-scroll-indicator::before { content: '🎁'; }
body.theme-classic .auto-scroll-indicator::after { content: '🎁'; }
body.theme-classic .view-prize-btn {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
}
body.theme-classic .spin-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 50%, #ffc107 100%);
    color: #1a1a2e;
    border: none;
}

/* ===== THEME: DARK (тёмная стильная) ===== */
body.theme-dark {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}
body.theme-dark .header {
    background: linear-gradient(135deg, 
        rgba(20, 20, 40, 0.95) 0%, 
        rgba(40, 40, 70, 0.9) 50%, 
        rgba(20, 20, 40, 0.95) 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
}
body.theme-dark .header::before { content: '⭐'; }
body.theme-dark .header::after { content: '⭐'; }
body.theme-dark .title { 
    color: #a5b4fc;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}
body.theme-dark .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(30, 30, 50, 0.95) 0%, 
        rgba(50, 50, 80, 0.9) 50%, 
        rgba(30, 30, 50, 0.95) 100%);
    border: 2px solid rgba(99, 102, 241, 0.4);
}
body.theme-dark .auto-scroll-indicator::before { content: '💎'; }
body.theme-dark .auto-scroll-indicator::after { content: '💎'; }
body.theme-dark .view-prize-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: 2px solid rgba(129, 140, 248, 0.5);
}
body.theme-dark .spin-button {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #4f46e5 100%);
    color: white;
    border: none;
}

/* ===== THEME: NEON (яркая неоновая) ===== */
body.theme-neon {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
}
body.theme-neon .header {
    background: rgba(10, 10, 20, 0.9);
    border: 2px solid #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.1);
}
body.theme-neon .header::before { content: '⚡'; }
body.theme-neon .header::after { content: '⚡'; }
body.theme-neon .title { 
    color: #0ff;
    text-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
}
body.theme-neon .title::after {
    background: linear-gradient(90deg, transparent, #0ff, transparent);
    box-shadow: 0 0 10px #0ff;
}
body.theme-neon .greeting { color: #f0f; text-shadow: 0 0 10px #f0f; }
body.theme-neon .auto-scroll-indicator {
    background: rgba(10, 10, 20, 0.9);
    border: 2px solid #f0f;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}
body.theme-neon .auto-scroll-indicator::before { content: '🎮'; }
body.theme-neon .auto-scroll-indicator::after { content: '🎮'; }
body.theme-neon .view-prize-btn {
    background: transparent;
    border: 2px solid #f0f;
    color: #f0f;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}
body.theme-neon .view-prize-btn:hover {
    background: rgba(255, 0, 255, 0.2);
}
body.theme-neon .spin-button {
    background: transparent;
    border: 2px solid #0ff;
    color: #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}
body.theme-neon .spin-button:hover:not(:disabled) {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

/* ===== THEME: TEA (чайная/уютная чайная) ===== */
body.theme-tea {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
}
body.theme-tea .header {
    background: linear-gradient(135deg, 
        rgba(139, 115, 85, 0.9) 0%, 
        rgba(160, 130, 95, 0.85) 50%, 
        rgba(139, 115, 85, 0.9) 100%);
    border: 2px solid rgba(210, 180, 140, 0.6);
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.3);
}
body.theme-tea .header::before { content: '🍵'; }
body.theme-tea .header::after { content: '🫖'; }
body.theme-tea .title { 
    color: #fff8dc;
    text-shadow: 0 2px 4px rgba(100, 80, 50, 0.5);
}
body.theme-tea .title::after {
    background: linear-gradient(90deg, transparent, rgba(255, 235, 205, 0.5), transparent);
}
body.theme-tea .greeting { color: rgba(255, 255, 255, 0.95); }
body.theme-tea .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(107, 90, 65, 0.9) 0%, 
        rgba(130, 110, 80, 0.85) 50%, 
        rgba(107, 90, 65, 0.9) 100%);
    border: 2px solid rgba(210, 180, 140, 0.5);
}
body.theme-tea .auto-scroll-indicator::before { content: '🍪'; }
body.theme-tea .auto-scroll-indicator::after { content: '🍪'; }
body.theme-tea .view-prize-btn {
    background: linear-gradient(135deg, #a08060 0%, #8b7355 100%);
    border: 2px solid rgba(210, 180, 140, 0.6);
    color: white;
}
body.theme-tea .spin-button {
    background: linear-gradient(135deg, #d4b896 0%, #e8d4b8 50%, #c4a882 100%);
    color: #4a3728;
    border: 2px solid rgba(180, 150, 110, 0.6);
}
body.theme-tea .received-badge {
    background: linear-gradient(135deg, #c9a86c 0%, #d4b896 100%);
    color: #3d2e1f;
    border-color: rgba(180, 150, 110, 0.6);
}
body.theme-tea .prize-card {
    background: linear-gradient(145deg, #f9f5ef 0%, #f0e8d8 50%, #e8dcc8 100%);
}
body.theme-tea .slot-highlight {
    border-color: rgba(180, 150, 110, 0.8);
    box-shadow: 0 0 20px rgba(180, 150, 110, 0.3), inset 0 0 15px rgba(180, 150, 110, 0.1);
}

/* ===== THEME: PRIDE (гламурная радужная для Георгия) ===== */
body.theme-pride {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44ce0 25%, #7b68ee 50%, #00bfff 75%, #7fff00 100%);
    background-size: 400% 400%;
    animation: prideGradient 15s ease infinite;
}
@keyframes prideGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body.theme-pride .header {
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.9) 0%, 
        rgba(199, 21, 133, 0.85) 50%, 
        rgba(255, 105, 180, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5), 0 0 60px rgba(199, 21, 133, 0.3);
}
body.theme-pride .header::before { content: '🏳️‍🌈'; }
body.theme-pride .header::after { content: '✨'; }
body.theme-pride .title { 
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 105, 180, 0.6);
}
body.theme-pride .title::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}
body.theme-pride .greeting { 
    color: rgba(255, 255, 255, 0.95); 
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}
body.theme-pride .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.9) 0%, 
        rgba(186, 85, 211, 0.85) 50%, 
        rgba(138, 43, 226, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 25px rgba(186, 85, 211, 0.4);
}
body.theme-pride .auto-scroll-indicator::before { content: '💖'; }
body.theme-pride .auto-scroll-indicator::after { content: '💖'; }
body.theme-pride .view-prize-btn {
    background: linear-gradient(135deg, #ff69b4 0%, #da70d6 100%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}
body.theme-pride .spin-button {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 30%, #da70d6 70%, #ba55d3 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
body.theme-pride .spin-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.7);
}
body.theme-pride .received-badge {
    background: linear-gradient(135deg, #ff69b4 0%, #da70d6 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}
body.theme-pride .prize-card {
    background: linear-gradient(145deg, #fff0f5 0%, #ffe4ec 50%, #ffd6e7 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
}
body.theme-pride .slot-highlight {
    border-color: rgba(255, 105, 180, 0.8);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.4), 0 0 60px rgba(199, 21, 133, 0.2);
}

/* ===== THEME: SOLO LEVELING (тёмное эпичное аниме) ===== */
body.theme-solo-leveling {
    background: linear-gradient(135deg, #0a0015 0%, #1a0a30 50%, #0d0020 100%);
}
body.theme-solo-leveling::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(100, 50, 200, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(50, 100, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
body.theme-solo-leveling .header {
    background: linear-gradient(135deg, 
        rgba(20, 10, 50, 0.95) 0%, 
        rgba(40, 20, 80, 0.9) 50%, 
        rgba(20, 10, 50, 0.95) 100%);
    border: 2px solid rgba(130, 100, 255, 0.6);
    box-shadow: 0 0 30px rgba(100, 70, 200, 0.4), inset 0 0 20px rgba(100, 70, 200, 0.1);
}
body.theme-solo-leveling .header::before { content: '⚔️'; }
body.theme-solo-leveling .header::after { content: '👑'; }
body.theme-solo-leveling .title { 
    color: #b8a0ff;
    text-shadow: 0 0 20px rgba(150, 120, 255, 0.8), 0 0 40px rgba(100, 70, 200, 0.5);
    letter-spacing: 2px;
}
body.theme-solo-leveling .title::after {
    background: linear-gradient(90deg, transparent, rgba(150, 120, 255, 0.6), transparent);
}
body.theme-solo-leveling .greeting { 
    color: rgba(200, 180, 255, 0.9); 
    text-shadow: 0 0 10px rgba(100, 70, 200, 0.3);
}
body.theme-solo-leveling .auto-scroll-indicator {
    background: linear-gradient(135deg, 
        rgba(30, 15, 60, 0.95) 0%, 
        rgba(50, 25, 100, 0.9) 50%, 
        rgba(30, 15, 60, 0.95) 100%);
    border: 2px solid rgba(100, 70, 200, 0.5);
    box-shadow: 0 0 20px rgba(100, 70, 200, 0.3);
}
body.theme-solo-leveling .auto-scroll-indicator::before { content: '🗡️'; }
body.theme-solo-leveling .auto-scroll-indicator::after { content: '🗡️'; }
body.theme-solo-leveling .view-prize-btn {
    background: linear-gradient(135deg, #5a3d9e 0%, #7c5dc7 100%);
    border: 2px solid rgba(150, 120, 255, 0.5);
    color: white;
    box-shadow: 0 0 15px rgba(100, 70, 200, 0.4);
}
body.theme-solo-leveling .spin-button {
    background: linear-gradient(135deg, #4a2d8e 0%, #6b4db7 50%, #3d1d7e 100%);
    color: #e0d4ff;
    border: 2px solid rgba(150, 120, 255, 0.6);
    box-shadow: 0 0 25px rgba(100, 70, 200, 0.5);
    text-shadow: 0 0 10px rgba(150, 120, 255, 0.5);
}
body.theme-solo-leveling .spin-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a3d9e 0%, #7b5dc7 50%, #4d2d8e 100%);
    box-shadow: 0 0 40px rgba(100, 70, 200, 0.7), 0 0 60px rgba(150, 120, 255, 0.3);
}
body.theme-solo-leveling .received-badge {
    background: linear-gradient(135deg, #6b4db7 0%, #8b6dd7 100%);
    color: white;
    border-color: rgba(150, 120, 255, 0.6);
}
body.theme-solo-leveling .prize-card {
    background: linear-gradient(145deg, #1a1030 0%, #251545 50%, #1a1030 100%);
    border: 1px solid rgba(100, 70, 200, 0.3);
    color: #d0c4ff;
}
body.theme-solo-leveling .prize-card .prize-name {
    color: #e0d4ff;
}
body.theme-solo-leveling .slot-highlight {
    border-color: rgba(150, 120, 255, 0.8);
    box-shadow: 0 0 30px rgba(100, 70, 200, 0.5), 0 0 60px rgba(150, 120, 255, 0.2);
}
body.theme-solo-leveling .snowflakes .snowflake {
    color: rgba(150, 120, 255, 0.6);
    text-shadow: 0 0 10px rgba(100, 70, 200, 0.8);
}

/* ===== SNOWFLAKES ===== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: rgba(135, 206, 250, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 0 12px rgba(100, 180, 255, 0.7);
    animation: snowfall linear infinite;
    opacity: 0.85;
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; font-size: 1rem; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 14s; animation-delay: 1s; font-size: 1.4rem; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: 2s; font-size: 0.9rem; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 16s; animation-delay: 0.5s; font-size: 1.2rem; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 13s; animation-delay: 3s; font-size: 1.1rem; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 11s; animation-delay: 1.5s; font-size: 1.3rem; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 15s; animation-delay: 2.5s; font-size: 1rem; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 12s; animation-delay: 4s; font-size: 1.2rem; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 17s; animation-delay: 0.8s; font-size: 1.4rem; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 13s; animation-delay: 2.2s; font-size: 1rem; }

@keyframes snowfall {
    0% {
        transform: translateY(-50px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(100vh) rotate(360deg) translateX(30px);
        opacity: 0;
    }
}

/* ===== CONFETTI & FIREWORKS ===== */
.confetti-container,
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.fireworks-container { z-index: 99; }

.confetti {
    position: absolute;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.firework-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.landing-content {
    text-align: center;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.landing-tree {
    font-size: 5rem;
    animation: tree-glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

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

.landing-title {
    font-family: 'Marck Script', cursive;
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.4);
    margin: 20px 0;
}

.landing-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.5;
}

.landing-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2rem;
    margin-bottom: 25px;
}

.landing-decoration span {
    animation: float 3s ease-in-out infinite;
}

.landing-decoration span:nth-child(1) { animation-delay: 0s; }
.landing-decoration span:nth-child(2) { animation-delay: 0.3s; }
.landing-decoration span:nth-child(3) { animation-delay: 0.6s; }
.landing-decoration span:nth-child(4) { animation-delay: 0.9s; }
.landing-decoration span:nth-child(5) { animation-delay: 1.2s; }

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

.landing-hint {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 30px;
}

.landing-footer {
    font-size: 1.5rem;
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    position: relative;
    z-index: 5;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 12px 25px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, 
        rgba(139, 90, 75, 0.85) 0%, 
        rgba(160, 100, 85, 0.9) 50%, 
        rgba(139, 90, 75, 0.85) 100%);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 
        0 8px 32px rgba(139, 90, 75, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 235, 205, 0.6);
    position: relative;
    flex-shrink: 0; /* Не сжимать шапку */
    overflow: hidden;
}

/* Декор на header */
.header::before {
    content: '✨';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.4;
    top: 8px;
    left: 15px;
    animation: twinkle 2s ease-in-out infinite;
}

.header::after {
    content: '✨';
    position: absolute;
    font-size: 1rem;
    opacity: 0.4;
    bottom: 8px;
    right: 15px;
    animation: twinkle 2s ease-in-out infinite 1s;
}

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

.title {
    font-family: 'Marck Script', cursive;
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    font-weight: 400;
    color: #fff8dc;
    text-shadow: 
        2px 2px 4px rgba(100, 60, 50, 0.5),
        0 0 15px rgba(255, 248, 220, 0.3);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 8px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 235, 205, 0.5) 20%, 
        rgba(255, 235, 205, 0.7) 50%, 
        rgba(255, 235, 205, 0.5) 80%, 
        transparent 100%);
}

.title__icon {
    animation: bounce 2s ease-in-out infinite;
}

.title__icon:nth-child(3) { animation-delay: 0.5s; }

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

.greeting {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

/* ===== SLOT SECTION ===== */
.slot-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex: 1;
    min-height: 0; /* Важно для flex-shrink */
    overflow: hidden;
}

/* SLOT CONTAINER */
.slot-container {
    position: relative;
    width: var(--card-width);
    flex: 1;
    max-height: calc(var(--card-height) * var(--visible-cards) + var(--card-gap) * (var(--visible-cards) - 1));
    overflow: hidden;
    border-radius: var(--border-radius);
    min-height: calc(var(--card-height) * 2 + var(--card-gap)); /* Минимум 2 карточки */
}

.slot-pointer {
    position: absolute;
    font-size: 1.8rem;
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
    z-index: 20;
    animation: pointer-pulse 1s ease-in-out infinite;
}

.slot-pointer--left {
    top: 50%;
    left: -35px;
    transform: translateY(-50%);
}

.slot-pointer--right {
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
}

@keyframes pointer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.slot-highlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--card-width) - 20px);
    height: var(--card-height);
    transform: translate(-50%, -50%);
    background: rgba(255, 215, 0, 0.06);
    border: 3px solid rgba(255, 215, 0, 0.7);
    border-radius: var(--border-radius-sm);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

.slot-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slot-reel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--card-gap);
    will-change: transform;
    /* Начальная позиция - первая карточка по центру */
    padding-top: calc(var(--card-height) + var(--card-gap));
}

.slot-reel.spinning {
    transition: transform 4s cubic-bezier(0.15, 0.85, 0.3, 1);
}

.slot-reel.spinning-joke {
    transition: transform 5s cubic-bezier(0.15, 0.85, 0.2, 1.02);
}

.slot-reel.bounce-back {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slot-reel.auto-scroll {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* DESKTOP: Horizontal */
@media (min-width: 768px) {
    :root {
        --card-width: 300px;
        --card-height: 220px;
        --card-gap: 20px;
        --visible-cards: 3;
    }
    
    .slot-container {
        width: calc(var(--card-width) * var(--visible-cards) + var(--card-gap) * (var(--visible-cards) - 1));
        height: var(--card-height);
    }
    
    .slot-pointer--left {
        top: 50%;
        left: -40px;
        transform: translateY(-50%);
    }
    
    .slot-pointer--right {
        top: 50%;
        right: -40px;
        transform: translateY(-50%);
    }
    
    .slot-highlight {
        top: 50%;
        left: 50%;
        width: calc(var(--card-width) + 6px);
        height: var(--card-height);
        transform: translate(-50%, -50%);
    }
    
    .slot-reel {
        flex-direction: row;
        padding-top: 0;
        padding-left: calc(var(--card-width) + var(--card-gap));
        align-items: center;
        height: 100%;
    }
    
    .slot-window {
        display: flex;
        align-items: center;
    }
    
    .prize-card {
        min-width: var(--card-width);
        width: var(--card-width);
        height: var(--card-height);
        padding: 20px;
    }
}

/* ===== PRIZE CARD ===== */
.prize-card {
    width: calc(var(--card-width) - 20px);
    height: var(--card-height);
    background: var(--color-card-bg-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.prize-card__icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.prize-card__image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    border-radius: 12px;
}

.prize-card__name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-dark);
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Карточка с фоновым изображением - высокая специфичность чтобы перекрыть темы */
.prize-card.prize-card--has-bg,
body.theme-pride .prize-card.prize-card--has-bg,
body.theme-solo-leveling .prize-card.prize-card--has-bg,
body.theme-tea .prize-card.prize-card--has-bg,
body.theme-cozy .prize-card.prize-card--has-bg,
body.theme-racing .prize-card.prize-card--has-bg,
body.theme-classic .prize-card.prize-card--has-bg,
body.theme-dark .prize-card.prize-card--has-bg,
body.theme-neon .prize-card.prize-card--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.prize-card--has-bg .prize-card__name {
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 15px 10px 10px;
    margin: auto -15px -15px -15px;
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
}

/* ===== SPIN BUTTON ===== */
.spin-button {
    position: relative;
    padding: 14px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: #5a4035;
    background: linear-gradient(135deg, #f5deb3 0%, #ffefd5 50%, #deb887 100%);
    border: 2px solid rgba(210, 180, 140, 0.6);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(222, 184, 135, 0.4), 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0; /* Не сжимать кнопку */
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(222, 184, 135, 0.5), 0 5px 15px rgba(0, 0, 0, 0.15);
}

.spin-button:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.spin-button:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

.spin-button__glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: button-glow 2.5s ease-in-out infinite;
}

@keyframes button-glow {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ===== AUTO-SCROLL INDICATOR ===== */
.auto-scroll-indicator {
    margin-top: 15px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
    background: linear-gradient(135deg, 
        rgba(107, 142, 120, 0.85) 0%, 
        rgba(120, 155, 130, 0.9) 50%, 
        rgba(107, 142, 120, 0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    flex-shrink: 0; /* Не сжимать плашку */
    border: 2px solid rgba(255, 235, 205, 0.6);
    box-shadow: 
        0 8px 32px rgba(107, 142, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы */
.auto-scroll-indicator::before {
    content: '🐱';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.5;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.auto-scroll-indicator::after {
    content: '🐱';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.5;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.auto-scroll-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    max-width: 100%;
}

.auto-scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.auto-scroll-dot.active {
    background: var(--color-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
    transform: scale(1.2);
}

.view-prize-btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: white;
    background: linear-gradient(135deg, #b87868 0%, #9a6458 100%);
    border: 2px solid rgba(255, 235, 205, 0.6);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 
        0 4px 20px rgba(184, 120, 104, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.view-prize-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(184, 120, 104, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 235, 205, 0.9);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal {
    background: linear-gradient(145deg, #fffef5 0%, #fff8f0 50%, #f5fff5 100%);
    border-radius: var(--border-radius);
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.15),
        inset 0 0 100px rgba(255, 215, 0, 0.03);
    border: 3px solid transparent;
    background-clip: padding-box;
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-content {
    padding: 35px 30px;
    text-align: center;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #d2b48c 0%, 
        #f5deb3 25%, 
        #deb887 50%,
        #f5deb3 75%,
        #d2b48c 100%);
    background-size: 200% 100%;
    animation: christmas-flow 4s linear infinite;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

@keyframes christmas-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Декоративная нижняя полоса */
.modal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #b8a090 0%, 
        #deb887 25%, 
        #f5deb3 50%,
        #deb887 75%,
        #b8a090 100%);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.modal-sparkles {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.8rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.modal-title {
    font-size: 2rem;
    color: #c41e3a;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(196, 30, 58, 0.2);
}

.modal-prize {
    margin-bottom: 25px;
}

.modal-prize__icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: prize-bounce 0.6s ease-out;
}

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

.modal-prize__image-container {
    position: relative;
    max-width: 220px;
    margin: 0 auto 20px;
    padding: 6px;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 25%, #c084fc 50%, #38bdf8 75%, #4ade80 100%);
    background-size: 300% 300%;
    animation: gradient-border 4s ease infinite, prize-image-appear 0.6s ease-out;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(255, 107, 107, 0.3),
        0 4px 16px rgba(192, 132, 252, 0.2),
        0 0 40px rgba(255, 215, 0, 0.15);
}

.modal-prize__image-container::before {
    content: '✨';
    position: absolute;
    top: -12px;
    right: -8px;
    font-size: 24px;
    animation: sparkle 1.5s ease-in-out infinite;
    z-index: 10;
}

.modal-prize__image-container::after {
    content: '🎁';
    position: absolute;
    bottom: -10px;
    left: -8px;
    font-size: 20px;
    animation: sparkle 1.5s ease-in-out 0.5s infinite;
    z-index: 10;
}

.modal-prize__image-inner {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.modal-prize__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.modal-prize__image-container:hover .modal-prize__image {
    transform: scale(1.05);
}

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

@keyframes prize-image-appear {
    0% { 
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2) rotate(15deg);
    }
}

.modal-prize__name {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-message {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.7;
    padding: 18px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.modal-note {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid #3b82f6;
    border-radius: 0 10px 10px 0;
    margin-bottom: 15px;
}

.modal-note.hidden {
    display: none;
}

.modal-signature {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    :root {
        --card-width: 85vw;
        --card-height: 150px;
    }
    
    .main-container {
        padding: 10px 8px 20px;
    }
    
    .header {
        padding: 10px 15px;
        margin-bottom: 10px;
    }
    
    .slot-section {
        gap: 12px;
    }
    
    .slot-pointer { display: none; }
    
    .slot-highlight {
        width: calc(var(--card-width) - 20px);
        height: var(--card-height);
    }
    
    .prize-card__icon {
        font-size: 2.8rem;
    }
    
    .prize-card__name {
        font-size: 0.95rem;
    }
    
    .spin-button {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .auto-scroll-indicator {
        margin-top: 10px;
        padding: 10px 15px;
    }
    
    .auto-scroll-indicator::before,
    .auto-scroll-indicator::after {
        display: none;
    }
    
    .auto-scroll-dots {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .auto-scroll-dot {
        width: 8px;
        height: 8px;
    }
    
    .view-prize-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .modal-content {
        padding: 25px 18px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .greeting {
        font-size: 0.95rem;
    }
}

@media (max-width: 380px) {
    :root {
        --card-height: 130px;
    }
    
    .main-container {
        padding: 8px 5px 15px;
    }
    
    .header {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .title {
        font-size: 1.4rem;
    }
    
    .greeting {
        font-size: 0.85rem;
    }
    
    .spin-button {
        padding: 8px 25px;
        font-size: 0.95rem;
    }
    
    .auto-scroll-indicator {
        margin-top: 8px;
        padding: 8px 12px;
    }
    
    .auto-scroll-dots {
        gap: 5px;
        margin-bottom: 8px;
    }
    
    .auto-scroll-dot {
        width: 6px;
        height: 6px;
    }
    
    .view-prize-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 25px 40px;
    }
    
    .prize-card__icon {
        font-size: 4rem;
    }
    
    .prize-card__name {
        font-size: 1.2rem;
    }
}

/* ===== EFFECTS ===== */
.star-particle {
    position: fixed;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 1000;
}

.golden-glow .slot-highlight {
    animation: golden-pulse 1s ease-in-out infinite;
}

@keyframes golden-pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.15);
        border-color: rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.7), 0 0 70px rgba(255, 215, 0, 0.4), inset 0 0 40px rgba(255, 215, 0, 0.25);
        border-color: rgba(255, 215, 0, 1);
    }
}

.prize-card.winning {
    animation: card-win 0.5s ease-out;
}

@keyframes card-win {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
