/* Style 5: Black & Gold Firework */
.winning-numbers-container {
    position: relative;
    background: #0b0b0b;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    overflow: hidden;
    width: 100%;
    backdrop-filter: blur(6px);
    margin: 20px 0;
    box-sizing: border-box;
}

/* Firework particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: firework 2s ease-out infinite;
}

.particle:nth-child(1) { top: 80%; left: 30%; animation-delay: 0s; }
.particle:nth-child(2) { top: 85%; left: 50%; animation-delay: 0.5s; }
.particle:nth-child(3) { top: 82%; left: 70%; animation-delay: 1s; }
.particle:nth-child(4) { top: 88%; left: 40%; animation-delay: 1.5s; }

/* Firework animation keyframes */
@keyframes firework {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 1;
    }
    50% {
        transform: translateY(-150px) translateX(var(--x, 0px)) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) translateX(var(--x, 0px)) scale(0);
        opacity: 0;
    }
}

/* Sparkle explosion */
.sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkleFire 1.5s linear infinite;
}

.sparkle:nth-child(5) { top: 20%; left: 25%; animation-delay: 0.5s; }
.sparkle:nth-child(6) { top: 30%; right: 20%; animation-delay: 1s; }

/* Sparkle keyframes */
@keyframes sparkleFire {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

/* Winning numbers glow */
.winning-numbers-title {
    position: relative;
    z-index: 10;
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ffd700;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 5px #ffd700; }
    50% { text-shadow: 0 0 20px #ffd700, 0 0 40px #ffcc00; }
    100% { text-shadow: 0 0 5px #ffd700; }
}

.winning-number {
    position: relative;
    z-index: 10;
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffcc00, 0 0 60px #ffaa00;
    animation: fireworkNumber 2s ease-in-out infinite alternate;
}

@keyframes fireworkNumber {
    0% { transform: scale(1); text-shadow: 0 0 20px #ffd700; }
    50% { transform: scale(1.2); text-shadow: 0 0 50px #ffd700, 0 0 80px #ffcc00; }
    100% { transform: scale(1); text-shadow: 0 0 20px #ffd700; }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .sparkle,
    .winning-number,
    .winning-numbers-title {
        animation: none;
        transform: none;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .winning-numbers-container { padding: 30px 20px; }
    .winning-numbers-title { font-size: 16px; }
    .winning-number { font-size: 36px; }
}

@media (max-width: 480px) {
    .winning-numbers-container { padding: 25px 15px; border-radius: 15px; }
    .winning-numbers-title { font-size: 14px; }
    .winning-number { font-size: 32px; }
}
