/* Import Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Variables CSS - Thème Rugby + Noël */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #cccccc;
    --gray-dark: #333333;
    
    /* Couleurs Rugby */
    --rugby-green: #2d5016;
    --rugby-green-light: #4a7c2a;
    --rugby-green-dark: #1a3409;
    --rugby-field: #3a8b3e;
    --rugby-gold: #d4af37;
    --rugby-gold-light: #f0d478;
    --rugby-brown: #8b4513;
    --rugby-brown-light: #a0522d;
    
    /* Couleurs Noël */
    --christmas-red: #c41e3a;
    --christmas-red-light: #e74c3c;
    --christmas-green: #0f5132;
    --christmas-green-light: #198754;
    --christmas-gold: #ffd700;
    --christmas-silver: #c0c0c0;
    --christmas-snow: #e8f5f7;
    
    /* Couleurs d'accent (Noël actif) */
    --accent-primary: var(--christmas-green);
    --accent-secondary: var(--christmas-red);
    --accent-tertiary: var(--christmas-gold);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Pattern Noël en arrière-plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(196, 30, 58, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(196, 30, 58, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(15, 81, 50, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(15, 81, 50, 0.03) 25%, transparent 25%);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Effet de givre */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(232, 245, 247, 0.6), transparent);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header / Topbar - Thème Noël */
.topbar {
    background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
    color: var(--white);
    padding: 1.2rem 0;
    border-bottom: 4px solid var(--christmas-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
    transition: box-shadow 0.3s;
    position: relative;
}

/* Guirlande de Noël */
.topbar::before {
    content: '🎄 ⭐ 🎅 🔔 🎁 ⛄ 🎄 ⭐ 🎅 🔔 🎁 ⛄';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    font-size: 1.2rem;
    animation: sway 3s ease-in-out infinite;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--christmas-red), 
        var(--christmas-gold), 
        var(--christmas-green), 
        var(--christmas-red)
    );
    background-size: 200% 100%;
    animation: christmas-lights 3s linear infinite;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-bottom: 3px solid transparent;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--rugby-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--rugby-gold-light);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link i {
    font-size: 1.1rem;
}

.admin-link {
    background: linear-gradient(135deg, var(--rugby-gold), var(--rugby-gold-light));
    color: var(--rugby-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.admin-link::before {
    display: none;
}

.admin-link:hover {
    opacity: 1;
    background: linear-gradient(135deg, var(--rugby-gold-light), var(--rugby-gold));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Live Banner */
.live-banner {
    background-color: var(--black);
    color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--white);
}

.live-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.live-indicator {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

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

.live-text {
    flex: 1;
    font-weight: 500;
    font-size: 1.1rem;
}

.live-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Section - Thème Noël */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
    border-bottom: 4px solid var(--christmas-red);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '🎄';
    position: absolute;
    font-size: 15rem;
    opacity: 0.08;
    top: -3rem;
    left: 5%;
    animation: pulse-christmas 4s ease-in-out infinite;
}

/* Père Noël décoratif */
.hero::after {
    content: '🎅';
    position: absolute;
    font-size: 8rem;
    opacity: 0.08;
    bottom: -2rem;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    animation: fadeInUp 0.8s ease-out, sparkle 2s ease-in-out infinite;
    text-shadow: 
        3px 3px 0px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--christmas-gold);
    font-weight: 500;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 215, 0, 0.3);
}

/* Videos Section */
.videos-section, .articles-preview {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.section-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--christmas-red), var(--christmas-gold), var(--christmas-green));
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both, christmas-glow 2s ease-in-out infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.section-decoration::before,
.section-decoration::after {
    content: '🎄';
    position: absolute;
    top: 50%;
    font-size: 1.5rem;
    transform: translateY(-50%);
    animation: twinkle 1.5s ease-in-out infinite;
}

.section-decoration::before {
    left: -40px;
    animation-delay: 0.3s;
}

.section-decoration::after {
    right: -40px;
    animation-delay: 0.7s;
}

/* Video Carousel */
.video-carousel {
    position: relative;
    margin: 3rem 0;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-item {
    flex: 0 0 calc(100% / 3);
    padding: 0 15px;
    min-width: 0;
}

.video-card {
    background-color: var(--white);
    border: 3px solid var(--christmas-green);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(15, 81, 50, 0.15);
    animation: fadeInScale 0.6s ease-out both;
}

.video-card::before {
    content: '⭐';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    animation: twinkle 2s ease-in-out infinite;
    z-index: 10;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.3);
    border-color: var(--christmas-red);
}

.video-link {
    text-decoration: none;
    color: var(--black);
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: var(--black);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .video-gradient {
    opacity: 1;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-icon {
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s;
}

.play-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: ripple 2s infinite;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.video-card:hover .play-ripple {
    opacity: 1;
}

.video-info {
    padding: 1.5rem;
    background: var(--white);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.video-card:hover .video-title {
    color: var(--gray-dark);
}

/* Carousel Controls - Thème Noël */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-red-light));
    color: var(--white);
    border: 3px solid var(--christmas-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3), 0 0 20px rgba(255, 215, 0, 0.3);
    animation: christmas-pulse 2s ease-in-out infinite;
}

.carousel-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--christmas-gold), #ffd700);
    color: var(--christmas-green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.carousel-btn:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--christmas-red);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.carousel-dot:hover {
    transform: scale(1.2);
    background: var(--christmas-green);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.carousel-dot.active {
    background: var(--christmas-gold);
    border-color: var(--christmas-gold);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    animation: twinkle 1s ease-in-out infinite;
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
    }
    
    .video-carousel {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: -10px;
    }
    
    .carousel-btn-next {
        right: -10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Articles Preview amélioré */
.articles-preview {
    background: linear-gradient(to bottom, var(--white), var(--gray-light));
    position: relative;
}

.articles-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--black), transparent);
}

.articles-preview .articles-grid {
    gap: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.articles-preview .article-card {
    animation: fadeInScale 0.6s ease-out both;
}

.articles-preview .article-card:nth-child(1) { animation-delay: 0.1s; }
.articles-preview .article-card:nth-child(2) { animation-delay: 0.2s; }
.articles-preview .article-card:nth-child(3) { animation-delay: 0.3s; }

.section-footer {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-animated {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-animated svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-animated:hover svg {
    transform: translate(4px, -4px);
}

.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

.btn-animated span {
    position: relative;
    z-index: 1;
}

.btn-animated svg {
    position: relative;
    z-index: 1;
}

/* Articles */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--gray-light);
    border-bottom: 2px solid var(--black);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.article-card {
    background-color: var(--white);
    border: 2px solid var(--black);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--rugby-gold), var(--rugby-gold-light));
    color: var(--rugby-green-dark);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.article-card h2, .article-card h3 {
    margin-bottom: 1rem;
}

.article-card h2 a, .article-card h3 a {
    color: var(--rugby-green-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h2 a:hover, .article-card h3 a:hover {
    color: var(--rugby-gold);
}

.article-meta {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    margin-bottom: 1rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

.article-link {
    color: var(--rugby-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.article-link:hover {
    transform: translateX(5px);
    color: var(--rugby-gold);
}

.article-link::after {
    content: '→';
    transition: transform 0.3s;
}

.article-link:hover::after {
    transform: translateX(5px);
}

.article-detail {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--black);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Quill Editor Styles */
.ql-container {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
}

.ql-editor {
    min-height: 400px;
    font-family: 'Poppins', sans-serif;
}

.ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4 {
    color: var(--rugby-green-dark);
    font-weight: 700;
}

.ql-toolbar {
    background: var(--gray-light);
    border-color: var(--rugby-green) !important;
    border-radius: 8px 8px 0 0;
}

.ql-container {
    border-color: var(--rugby-green) !important;
    border-radius: 0 0 8px 8px;
}

.ql-snow .ql-stroke {
    stroke: var(--rugby-green-dark);
}

.ql-snow .ql-fill {
    fill: var(--rugby-green-dark);
}

.ql-snow .ql-picker-label {
    color: var(--rugby-green-dark);
}

.ql-toolbar button:hover,
.ql-toolbar button:focus,
.ql-toolbar button.ql-active {
    color: var(--rugby-gold) !important;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button:focus .ql-stroke,
.ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--rugby-gold) !important;
}

.ql-toolbar button:hover .ql-fill,
.ql-toolbar button:focus .ql-fill,
.ql-toolbar button.ql-active .ql-fill {
    fill: var(--rugby-gold) !important;
}

/* Article Rich Content */
.article-rich-content {
    font-family: 'Poppins', sans-serif;
}

.article-rich-content h1,
.article-rich-content h2,
.article-rich-content h3,
.article-rich-content h4 {
    color: var(--rugby-green-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-rich-content h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--rugby-gold);
    padding-bottom: 0.5rem;
}

.article-rich-content h2 {
    font-size: 2rem;
    color: var(--rugby-green);
}

.article-rich-content h3 {
    font-size: 1.5rem;
}

.article-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.article-rich-content a {
    color: var(--rugby-green);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.article-rich-content a:hover {
    color: var(--rugby-gold);
}

.article-rich-content blockquote {
    border-left: 4px solid var(--rugby-gold);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    background: var(--gray-light);
    padding: 1.5rem 2rem;
    border-radius: 4px;
}

.article-rich-content ul,
.article-rich-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-rich-content li {
    margin: 0.5rem 0;
}

.article-rich-content code {
    background: var(--gray-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--rugby-green-dark);
}

.article-rich-content pre {
    background: var(--gray-dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-rich-content pre code {
    background: none;
    color: var(--white);
}

.article-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.article-rich-content table th,
.article-rich-content table td {
    border: 1px solid var(--rugby-green);
    padding: 1rem;
    text-align: left;
}

.article-rich-content table th {
    background: var(--rugby-green);
    color: var(--white);
    font-weight: 600;
}

.article-rich-content table tr:nth-child(even) {
    background: var(--gray-light);
}

.article-rich-content .banner {
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--rugby-green);
    background: linear-gradient(135deg, var(--gray-light), var(--white));
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(45, 80, 22, 0.1);
}

.article-rich-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-footer {
    padding-top: 2rem;
    border-top: 2px solid var(--black);
}

/* Sponsors */
.sponsors-list {
    padding: 3rem 0;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.sponsor-card {
    background-color: var(--white);
    border: 2px solid var(--black);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sponsor-logo {
    margin-bottom: 1.5rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.sponsor-card:hover .sponsor-logo img {
    filter: grayscale(0%);
}

.sponsor-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sponsor-card p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.sponsor-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s;
}

.sponsor-link:hover {
    transform: translateX(5px);
}

/* Buttons - Thème Noël */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--christmas-green), var(--christmas-green-light));
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--christmas-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 81, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
}

.btn:hover::before {
    left: 10px;
    opacity: 1;
}

.btn:hover {
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-red-light));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-red-light));
    color: var(--white);
    border-color: var(--christmas-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--christmas-gold), #ffd700);
    color: var(--christmas-green);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--christmas-green);
    border-color: var(--christmas-green);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--christmas-green), var(--christmas-green-light));
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    background-color: var(--black);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

/* Footer - Thème Noël */
.footer {
    background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 4px solid var(--christmas-red);
    position: relative;
}

.footer::before {
    content: '⛄ 🎁 🔔 ⭐ 🎄 ⛄ 🎁 🔔 ⭐ 🎄';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.2rem;
    animation: sway 4s ease-in-out infinite;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-dark);
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Admin Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.login-box {
    background-color: var(--white);
    border: 2px solid var(--black);
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-logo {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.login-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--rugby-green-dark);
}

.form-group label i {
    color: var(--rugby-gold);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--rugby-green);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rugby-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.error-message {
    background-color: var(--black);
    color: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    opacity: 0.7;
}

.admin-dashboard {
    padding: 3rem 0;
}

.admin-dashboard h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--white);
    border: 2px solid var(--black);
    padding: 2rem;
    text-align: center;
}

.stat-card {
    position: relative;
}

.stat-icon {
    font-size: 3rem;
    color: var(--rugby-green-light);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--rugby-green-dark);
}

.stat-card p {
    color: var(--gray-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.action-card {
    background-color: var(--white);
    border: 3px solid var(--rugby-green);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.action-card:hover {
    border-color: var(--rugby-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(45, 80, 22, 0.2);
}

.action-icon {
    font-size: 3rem;
    color: var(--rugby-green-light);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.action-card h2 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rugby-green-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.admin-page {
    padding: 3rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table {
    background-color: var(--white);
    border: 3px solid var(--rugby-green);
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 2rem;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: linear-gradient(135deg, var(--rugby-green-dark), var(--rugby-green));
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.admin-table th i {
    margin-right: 0.5rem;
    color: var(--rugby-gold);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-medium);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background-color: var(--gray-light);
}

.empty-cell {
    text-align: center;
    color: var(--gray-dark);
    padding: 2rem !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-medium);
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
}

.badge i {
    font-size: 0.9rem;
}

.badge-success {
    background: linear-gradient(135deg, var(--rugby-green), var(--rugby-green-light));
    color: var(--white);
}

.badge-warning {
    background: linear-gradient(135deg, var(--rugby-brown), var(--rugby-brown-light));
    color: var(--white);
}

.badge-info {
    background: linear-gradient(135deg, var(--rugby-gold), var(--rugby-gold-light));
    color: var(--rugby-green-dark);
}

.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

.table-logo {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
}

.admin-form {
    background-color: var(--white);
    border: 3px solid var(--rugby-green);
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.current-logo {
    margin-bottom: 1rem;
}

.preview-logo {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
    border: 2px solid var(--gray-medium);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.admin-footer {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Animations Noël */
@keyframes christmas-lights {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(10px) rotate(2deg);
    }
    75% {
        transform: translateX(-10px) rotate(-2deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes sparkle {
    0%, 100% {
        text-shadow: 
            3px 3px 0px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        text-shadow: 
            3px 3px 0px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.3);
    }
}

@keyframes christmas-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

@keyframes pulse-christmas {
    0%, 100% {
        opacity: 0.08;
        transform: scale(1);
    }
    50% {
        opacity: 0.12;
        transform: scale(1.05);
    }
}

@keyframes christmas-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(196, 30, 58, 0.5), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* ========================================
   Animation de Cadeau de Noël - Plein Écran
   ======================================== */

/* Overlay du cadeau */
.gift-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, #1a5c3a 0%, #0f5132 70%, #0a3d20 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    perspective: 1500px;
}

.gift-overlay-visible {
    opacity: 1;
}

.gift-overlay-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.gift-fullscreen-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sparkles autour du cadeau */
.gift-sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
}

.sparkle {
    position: absolute;
    font-size: 3rem;
    animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 30%;
    left: 15%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle:nth-child(4) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(5) {
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.sparkle:nth-child(6) {
    top: 50%;
    left: 10%;
    animation-delay: 2.5s;
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

@keyframes sparkle-burst {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: 
            translate(
                calc(cos(var(--angle, 0deg)) * var(--distance, 300px)),
                calc(sin(var(--angle, 0deg)) * var(--distance, 300px))
            ) 
            scale(0) 
            rotate(720deg);
        opacity: 0;
    }
}

/* Cadeau plein écran */
.gift-box-fullscreen {
    position: relative;
    width: 70vmin;
    height: 70vmin;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.gift-box-fullscreen:hover {
    transform: scale(1.02);
}

/* Corps de la boîte */
.gift-body-full {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 70%;
    transform-style: preserve-3d;
}

.body-front-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c41e3a 0%, #a01728 50%, #c41e3a 100%);
    border: 3px solid #8b1420;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 -20px 40px rgba(0, 0, 0, 0.3),
        inset 0 20px 40px rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Rubans sur le corps */
.body-ribbon-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, 
        #d4af37 0%, 
        #ffd700 10%,
        #f0d478 50%, 
        #ffd700 90%,
        #d4af37 100%
    );
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 2px 0 5px rgba(255, 255, 255, 0.5),
        inset -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.body-ribbon-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, 
        #d4af37 0%, 
        #ffd700 10%,
        #f0d478 50%, 
        #ffd700 90%,
        #d4af37 100%
    );
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.5),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Couvercle */
.gift-lid-full {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
    height: 20%;
    transform-style: preserve-3d;
    transform-origin: bottom center;
    z-index: 10;
}

.lid-top-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c41e3a 50%, #e74c3c 100%);
    border: 3px solid #a01728;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 -10px 20px rgba(0, 0, 0, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    border-radius: 3px 3px 0 0;
}

.lid-front-face {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, #c41e3a 0%, #8b1420 100%);
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.5);
}

.lid-ribbon-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, 
        #d4af37 0%, 
        #ffd700 20%,
        #f0d478 50%, 
        #ffd700 80%,
        #d4af37 100%
    );
    box-shadow: 
        inset 0 0 15px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(255, 215, 0, 0.4);
    z-index: 5;
}

/* Nœud papillon 3D réaliste */
.gift-bow-full {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: auto;
    z-index: 15;
    transform-style: preserve-3d;
}

.bow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 60%;
    background: linear-gradient(135deg, #e74c3c 0%, #c41e3a 100%);
    border-radius: 5px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.bow-left, .bow-right {
    position: absolute;
    top: 50%;
    width: 50%;
    height: 80%;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #ffd700 100%);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
        inset 0 5px 15px rgba(255, 255, 255, 0.4);
}

.bow-left {
    left: -15%;
    transform: translateY(-50%) rotateY(20deg);
}

.bow-right {
    right: -15%;
    transform: translateY(-50%) rotateY(-20deg);
}

.bow-ribbon-left, .bow-ribbon-right {
    position: absolute;
    top: 100%;
    width: 15%;
    height: 100%;
    background: linear-gradient(to bottom, 
        #ffd700 0%,
        #f0d478 50%, 
        #d4af37 100%
    );
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 2px 0 5px rgba(255, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 100% 0%, 80% 100%, 20% 100%, 0% 0%);
}

.bow-ribbon-left {
    left: 30%;
    transform: rotate(-10deg);
}

.bow-ribbon-right {
    right: 30%;
    transform: rotate(10deg);
}

/* Lumière intérieure */
.gift-inner-light {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255, 215, 0, 0.9) 0%,
        rgba(255, 215, 0, 0.6) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    z-index: 1;
}

/* Message */
.gift-message {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 20;
}

.gift-message h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.5);
    animation: text-glow 2s ease-in-out infinite;
}

.gift-message p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.click-indicator {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    animation: bounce-indicator 1s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.8),
            0 2px 10px rgba(0, 0, 0, 0.5);
    }
}

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

/* Animations de déballage */
@keyframes fade-out-up {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px);
    }
}

@keyframes bow-untie {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.2) rotate(-10deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}

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

@keyframes lid-open-realistic {
    0% {
        transform: translateX(-50%) rotateX(0deg);
        transform-origin: bottom center;
    }
    40% {
        transform: translateX(-50%) rotateX(-95deg) translateY(-10%);
    }
    60% {
        transform: translateX(-50%) rotateX(-100deg) translateY(-15%);
    }
    100% {
        transform: translateX(-50%) rotateX(-110deg) translateY(-30%) translateZ(-100px);
        opacity: 0;
    }
}

@keyframes light-emerge {
    0% {
        height: 0;
        opacity: 0;
    }
    30% {
        height: 150%;
        opacity: 1;
    }
    100% {
        height: 300%;
        opacity: 1;
    }
}

/* Confettis */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 30;
}

.confetti {
    position: absolute;
    top: -20px;
    border-radius: 2px;
    animation: confetti-fall 4s ease-in forwards;
}

@keyframes confetti-fall {
    0% {
        top: -20px;
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 110vh;
        transform: translateX(calc(-50px + 100px * var(--random, 0.5))) rotate(720deg);
        opacity: 0;
    }
}

/* Animation d'apparition du contenu */
.main-content {
    opacity: 0;
    animation: content-appear 1s ease-out 0.5s forwards;
}

.content-reveal {
    animation: content-reveal 1.5s ease-out forwards;
}

@keyframes content-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes content-reveal {
    0% {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Live Banner - Thème Noël */
.live-banner {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-red-light) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--christmas-gold);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

.live-banner::before {
    content: '🎄⭐🎄⭐🎄';
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 2rem;
    animation: shimmer 3s infinite;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

.live-indicator::before {
    content: '●';
    font-size: 1.5rem;
    animation: pulse 1s infinite;
}

/* Articles améliorés - Thème Noël */
.article-card {
    background-color: var(--white);
    border: 3px solid var(--christmas-green);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: 12px;
}

.article-card::before {
    content: '🎁';
    position: absolute;
    font-size: 3rem;
    opacity: 0.05;
    top: 1rem;
    right: 1rem;
    transition: all 0.3s;
}

.article-card:hover::before {
    opacity: 0.15;
    transform: rotate(15deg);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 30, 58, 0.2);
    border-color: var(--christmas-red);
}

/* Responsive */
@media (max-width: 768px) {
    .site-name {
        font-size: 1.2rem;
    }

    .logo {
        height: 40px;
    }

    .main-nav {
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .articles-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .live-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .live-actions {
        flex-direction: column;
        width: 100%;
    }

    .live-actions .btn {
        width: 100%;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-table {
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

