/* Christmas Theme Styles */
.christmas-theme {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #0f172a 50%, #1e293b 75%, #0f172a 100%);
    background-size: 400% 400%;
    animation: christmasGradient 20s ease infinite;
}

@keyframes christmasGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Christmas floating animations */
.christmas-floating {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    font-size: 2rem;
    opacity: 0.8;
}

.christmas-snowflake {
    animation: snowfall 8s linear infinite;
}

.christmas-tree {
    animation: treeFloat 15s linear infinite;
}

.christmas-santa {
    animation: santaFly 12s linear infinite;
}

.christmas-gift {
    animation: giftBounce 10s linear infinite;
}

.christmas-star {
    animation: starTwinkle 8s linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes treeFloat {
    0% {
        transform: translateX(-100px) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(100vw) scale(1.2);
        opacity: 0;
    }
}

@keyframes santaFly {
    0% {
        transform: translateX(-100px) translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        transform: translateX(50vw) translateY(-20px);
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(100vw) translateY(0px);
        opacity: 0;
    }
}

@keyframes giftBounce {
    0% {
        transform: translateX(-100px) translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    25% {
        transform: translateX(25vw) translateY(-10px);
    }
    50% {
        transform: translateX(50vw) translateY(0px);
    }
    75% {
        transform: translateX(75vw) translateY(-10px);
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(100vw) translateY(0px);
        opacity: 0;
    }
}

@keyframes starTwinkle {
    0% {
        transform: translateX(-100px) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translateX(25vw) scale(1.2) rotate(90deg);
    }
    50% {
        transform: translateX(50vw) scale(0.8) rotate(180deg);
    }
    75% {
        transform: translateX(75vw) scale(1.5) rotate(270deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

/* Christmas theme card styling */
.christmas-theme .dbz-card-btn {
    background: linear-gradient(135deg, #dc2626 0%, #16a34a 50%, #dc2626 100%);
    border: 2px solid #fbbf24;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.christmas-theme .dbz-card-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #22c55e 50%, #ef4444 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
    transform: translateY(-2px) scale(1.05);
}

/* Christmas theme table styling */
.christmas-theme .dbz-table {
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, rgba(22, 163, 74, 0.2) 50%, rgba(220, 38, 38, 0.2) 100%);
    border: 3px solid #fbbf24;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

/* Christmas theme participant cards */
.christmas-theme .dbz-participant-card {
    border: 2px solid #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

/* Christmas theme headers and cards */
.christmas-theme .dbz-header {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.3) 0%, rgba(22, 163, 74, 0.3) 50%, rgba(220, 38, 38, 0.3) 100%);
    border-bottom: 2px solid #fbbf24;
}

.christmas-theme .dbz-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    border: 2px solid #fbbf24;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2);
}

/* Christmas glow effect for super saiyan mode */
.christmas-theme .christmas-glow {
    box-shadow: 0 0 20px #fbbf24, 0 0 40px #dc2626, 0 0 60px #16a34a;
    animation: christmasGlow 2s ease-in-out infinite alternate;
}

@keyframes christmasGlow {
    from {
        box-shadow: 0 0 20px #fbbf24, 0 0 40px #dc2626, 0 0 60px #16a34a;
    }
    to {
        box-shadow: 0 0 30px #fbbf24, 0 0 60px #dc2626, 0 0 90px #16a34a;
    }
}

/* Christmas sparkle particles */
.christmas-particle {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #fbbf24 0%, #dc2626 50%, #16a34a 100%);
    border-radius: 50%;
    animation: christmasSparkle 3s ease-out forwards;
}

@keyframes christmasSparkle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* Christmas theme buttons */
.christmas-theme button {
    transition: all 0.3s ease;
}

.christmas-theme button:hover {
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

/* Christmas theme vote indicators */
.christmas-theme .vote-indicator .dbz-vote-card {
    background: linear-gradient(135deg, #dc2626 0%, #16a34a 100%);
    border: 1px solid #fbbf24;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}