/* ===== VARIABLES CSS ===== */
:root {
    --primary: #1a365d;
    --secondary: #c9a227;
    --accent: #8b322c;
    --light: #f8f5f0;
    --dark: #2d3748;
    --light-accent: #e9d8a6;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d5a8f 100%);
    --gradient-secondary: linear-gradient(135deg, #c9a227 0%, #e9c46a 100%);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Efectos para rachas */
.feedback-bubble.streak-3 {
    background: linear-gradient(145deg, #f39c12, #f1c40f);
    border-color: #e67e22;
    animation: bubblePop 0.4s ease, pulse 1s infinite;
    box-shadow: 0 0 20px #f39c12;
}

.feedback-bubble.streak-7 {
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    border-color: #f1c40f;
    animation: bubblePop 0.4s ease, celestialPulse 1s infinite alternate;
    box-shadow: 0 0 30px #9b59b6;
}

.feedback-bubble.streak-12 {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    border-color: #ffd700;
    animation: bubblePop 0.4s ease, divineFire 0.8s infinite alternate;
    box-shadow: 0 0 40px #e74c3c;
}
/* ===== MENSAJE PARCIAL SIMPLIFICADO ===== */
.check-result-message.partial {
    background: linear-gradient(145deg, #f39c12, #f1c40f);
    color: #2c3e50;
    border: 4px solid #e67e22;
    box-shadow: 0 0 50px rgba(243, 156, 18, 0.5);
    padding: 1.2rem 2rem;
    min-width: 250px;
    text-align: center;
    border-radius: 40px;
}

.check-result-message.partial div:first-child {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.check-result-message.partial div:last-child {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.check-result-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    z-index: 10000;
    animation: resultPop 0.5s ease-out;
    text-align: center;
    white-space: nowrap;
}

@keyframes resultPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    40% {
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .check-result-message.perfect {
        padding: 1rem 1.5rem;
        min-width: 220px;
    }
    
    .check-result-message.perfect div:first-child {
        font-size: 1.5rem;
    }
    
    .check-result-message.perfect div:nth-child(2) {
        font-size: 2.2rem;
    }
    
    .bonus-indicator {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .bonus-indicator.multiplier {
        padding: 0 0.6rem;
        font-size: 1rem;
    }
}