/**
 * New Year Theme - Nouvel An
 * Elegant celebration with subtle golden confetti
 */

/* Subtle confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    top: -20px;
    width: 6px;
    height: 6px;
    opacity: 0.4;
    animation: confetti-fall linear infinite;
}

.confetti:nth-child(odd) {
    background: #d4af37;
    border-radius: 50%;
}

.confetti:nth-child(even) {
    background: #c0c0c0;
}

.confetti:nth-child(3n) {
    background: #d4af37;
    width: 4px;
    height: 8px;
    border-radius: 2px;
}

@keyframes confetti-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.confetti:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; }
.confetti:nth-child(2) { left: 15%; animation-duration: 14s; animation-delay: 1s; }
.confetti:nth-child(3) { left: 25%; animation-duration: 11s; animation-delay: 2s; }
.confetti:nth-child(4) { left: 35%; animation-duration: 15s; animation-delay: 0.5s; }
.confetti:nth-child(5) { left: 45%; animation-duration: 13s; animation-delay: 1.5s; }
.confetti:nth-child(6) { left: 55%; animation-duration: 16s; animation-delay: 2.5s; }
.confetti:nth-child(7) { left: 65%; animation-duration: 12s; animation-delay: 0.8s; }
.confetti:nth-child(8) { left: 75%; animation-duration: 14s; animation-delay: 1.8s; }
.confetti:nth-child(9) { left: 85%; animation-duration: 11s; animation-delay: 3s; }
.confetti:nth-child(10) { left: 92%; animation-duration: 15s; animation-delay: 0.3s; }
.confetti:nth-child(11) { left: 40%; animation-duration: 13s; animation-delay: 2.2s; }
.confetti:nth-child(12) { left: 70%; animation-duration: 16s; animation-delay: 1.2s; }

/* Elegant banner */
.newyear-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
    color: #d4af37;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Golden accents on hover */
a:not(.btn):not(.nav-item):not(.nav-link):hover {
    color: #d4af37 !important;
}

/* Card styling */
.article-card,
.card,
.chronique-card {
    border-top: 3px solid #d4af37;
}

.article-card:hover,
.card:hover,
.chronique-card:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

/* Footer accent */
footer,
.footer,
.main-footer {
    border-top: 3px solid #d4af37;
}

/* Year badge - elegant corner */
.year-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 9997;
}
