/*
Theme Name: Vice Central
Theme URI: https://vicecentral.com
Author: Vice Central Team
Author URI: https://vicecentral.com
Description: Thème WordPress pour l'actualité GTA 6 - Design moderne avec tons clairs inspirés de Vice City
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vice-central
Tags: blog, news, gaming, custom-colors, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

:root {
    /* Palette claire inspirée GTA 6 - Contrastée */
    --primary-purple: #9D7EE8;
    --primary-pink: #FF8BA8;
    --primary-cyan: #7BDDD8;
    --primary-peach: #FFB870;
    --accent-lavender: #BDA0FF;
    --accent-coral: #FF9070;
    
    --bg-primary: #F5F6FA;
    --bg-secondary: #FFFFFF;
    --bg-subtle: #EBE9F5;
    --bg-card: #FFFFFF;
    
    --text-primary: #151822;
    --text-secondary: #3D4559;
    --text-tertiary: #7A8199;
    --border-light: #D8DCEA;
    --border-medium: #C5CADF;
    
    --gradient-vice: linear-gradient(135deg, #9D7EE8, #FF8BA8, #7BDDD8);
    --gradient-subtle: linear-gradient(135deg, rgba(157, 126, 232, 0.18), rgba(123, 221, 216, 0.18));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow Condensed', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Decorative Elements */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 126, 232, 0.22), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: float-blob 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -250px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 221, 216, 0.22), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: float-blob 25s ease-in-out infinite reverse;
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: float-blob 15s ease-in-out infinite;
}

.bg-blob:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    animation-delay: 0s;
    animation-duration: 18s;
}

.bg-blob:nth-child(2) {
    width: 350px;
    height: 350px;
    top: 40%;
    right: 8%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-lavender));
    animation-delay: 3s;
    animation-duration: 22s;
}

.bg-blob:nth-child(3) {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: 50%;
    background: linear-gradient(135deg, var(--primary-peach), var(--primary-pink));
    animation-delay: 6s;
    animation-duration: 20s;
}

.bg-blob:nth-child(4) {
    width: 280px;
    height: 280px;
    top: 60%;
    left: 15%;
    background: linear-gradient(135deg, var(--accent-coral), var(--primary-cyan));
    animation-delay: 9s;
    animation-duration: 25s;
}

@keyframes float-blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(40px, 10px) scale(1.05);
    }
}

/* Breaking News Ticker */
.breaking-ticker {
    background: var(--gradient-vice);
    padding: 0.6rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(184, 164, 232, 0.2);
}

.ticker-wrapper {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    flex-shrink: 0;
    padding: 0 3rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: white;
    text-transform: uppercase;
}

.ticker-item::before {
    content: '🔴 BREAKING';
    margin-right: 1rem;
    font-weight: bold;
    font-size: 0.85rem;
}

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

/* Header */
header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(166, 143, 232, 0.08) 50%, 
        rgba(143, 224, 220, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-purple);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(166, 143, 232, 0.15);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.3rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    letter-spacing: 2px;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(166, 143, 232, 0.3));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-vice);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--primary-pink);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

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

.search-btn {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, 
        rgba(166, 143, 232, 0.15), 
        rgba(143, 224, 220, 0.15)
    );
    border: 2px solid var(--primary-cyan);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(143, 224, 220, 0.2);
}

.search-btn:hover {
    background: var(--primary-cyan);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 224, 220, 0.4);
}

/* Hero Cinématique */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, 
        rgba(157, 126, 232, 0.40) 0%, 
        rgba(255, 139, 168, 0.35) 25%,
        rgba(123, 221, 216, 0.30) 50%,
        rgba(255, 184, 112, 0.35) 75%,
        rgba(189, 160, 255, 0.40) 100%
    );
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 139, 168, 0.3), transparent);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(123, 221, 216, 0.3), transparent);
    border-radius: 50%;
    filter: blur(80px);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 25s linear infinite;
    opacity: 0.4;
}

@keyframes grid-move {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(60px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-pink);
    border-radius: 50px;
    color: var(--primary-pink);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 180, 180, 0.3);
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 5.5rem;
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #FFFFFF, rgba(255, 255, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 650px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-purple);
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Countdown */
.countdown-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 3rem;
}

.countdown-box {
    background: white;
    border: 2px solid var(--border-medium);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(184, 164, 232, 0.15);
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 164, 232, 0.05), transparent);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.countdown-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.countdown-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
    background: var(--gradient-subtle);
    padding: 1.5rem 2rem;
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.countdown-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.6rem;
    font-weight: 600;
}

/* Section Headers */
.section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 3rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.news-card.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 50px rgba(184, 164, 232, 0.3);
}

.news-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-vice);
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 380px;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1.1rem;
    background: white;
    border: 2px solid var(--primary-cyan);
    border-radius: 50px;
    color: var(--primary-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(168, 230, 227, 0.3);
}

.news-content {
    padding: 1.6rem;
}

.news-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.news-card.featured .news-title {
    font-size: 2.4rem;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.news-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Tutorials */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.tutorial-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-30px);
}

.tutorial-card.visible {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.tutorial-card:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 12px 40px rgba(255, 180, 180, 0.3);
    transform: translateX(5px);
}

.tutorial-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 100px;
}

.tutorial-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.tutorial-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.tutorial-meta {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.tutorial-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Trending Section */
.trending-section {
    background: linear-gradient(135deg, 
        rgba(212, 197, 249, 0.12) 0%,
        rgba(168, 230, 227, 0.12) 50%,
        rgba(255, 212, 178, 0.12) 100%
    );
    padding: 6rem 0;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.trending-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 164, 232, 0.15), transparent);
    border-radius: 50%;
    filter: blur(60px);
}

.trending-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 180, 180, 0.15), transparent);
    border-radius: 50%;
    filter: blur(80px);
}

.trending-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
}

.trending-sidebar {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(184, 164, 232, 0.1);
}

.trending-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.trending-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-item:hover {
    padding-left: 1rem;
    background: var(--gradient-subtle);
    border-radius: 12px;
}

.trending-rank {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
}

.trending-item-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.trending-views {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.video-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}

.video-card.visible {
    animation: zoomIn 0.6s ease-out forwards;
}

.video-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 45px rgba(168, 230, 227, 0.3);
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 220px;
    background: var(--gradient-vice);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 75px;
    height: 75px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-card:hover .video-play-btn {
    transform: scale(1.15);
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid var(--primary-purple);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}

.video-duration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 0.6rem 1.2rem;
    background: rgba(26, 29, 41, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.video-content {
    padding: 1.8rem;
}

.video-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.video-meta {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Newsletter */
.newsletter-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 3rem;
}

.newsletter-box {
    background: var(--gradient-vice);
    border-radius: 24px;
    padding: 3rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(184, 164, 232, 0.4);
}

.newsletter-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    color: white;
}

.newsletter-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1.1rem 1.8rem;
    background: white;
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-submit {
    padding: 1.1rem 3rem;
    background: var(--text-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: #0D0F15;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 5rem 3rem 3rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.8rem;
    letter-spacing: 2px;
    background: var(--gradient-vice);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-section h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 900px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trending-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .news-grid,
    .videos-grid,
    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .countdown-item {
        flex: 1;
        min-width: 140px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}



/* ============================================
   SINGLE POST - VERSION FINALE COMPATIBLE
   ============================================ */

/* Article Hero */
.article-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.article-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.meta-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.article-category-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #7BDDD8;
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
}

.article-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: white;
    margin: 0 0 2rem 0;
    padding: 0;
    max-width: 900px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.article-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-label {
    opacity: 0.8;
}

.stat-value {
    font-weight: 700;
}

/* Article Main */
.article-main {
    background: #F5F6FA;
    padding: 3rem 0;
    margin: 0;
}

.article-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.article-content-column {
    min-width: 0;
    width: 100%;
}

.article-sidebar-column {
    min-width: 0;
    width: 100%;
}

/* Lead Intro */
.lead-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4A5568;
    font-weight: 500;
    margin: 0 0 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(157, 126, 232, 0.05), rgba(255, 139, 168, 0.05));
    border-left: 4px solid #9D7EE8;
    border-radius: 8px;
}

.lead-intro p {
    margin: 0;
    padding: 0;
}

/* Article Content - RESET ET STYLE */
.article-content {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 3rem;
    margin: 0 0 2.5rem 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2D3748;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Reset de base pour le contenu */
.article-content * {
    max-width: 100%;
}

.article-content > *:first-child {
    margin-top: 0 !important;
}

.article-content > *:last-child {
    margin-bottom: 0 !important;
}

/* Titres */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'Bebas Neue', sans-serif;
    color: #2D3748;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
    line-height: 1.2;
    font-weight: 400;
}

.article-content h1 {
    font-size: 2.8rem;
}

.article-content h2 {
    font-size: 2.5rem;
}

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

.article-content h4 {
    font-size: 1.6rem;
}

.article-content h5 {
    font-size: 1.3rem;
}

.article-content h6 {
    font-size: 1.1rem;
}

/* Paragraphes */
.article-content p {
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 1.8;
}

/* Texte en gras et italique */
.article-content strong,
.article-content b {
    font-weight: 700;
    color: #2D3748;
}

.article-content em,
.article-content i {
    font-style: italic;
}

/* Listes */
.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding: 0 0 0 2rem;
    list-style-position: outside;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin: 0 0 0.8rem 0;
    padding: 0 0 0 0.5rem;
    line-height: 1.8;
}

.article-content li > ul,
.article-content li > ol {
    margin: 0.5rem 0;
}

/* Liens */
.article-content a {
    color: #9D7EE8;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #FF8BA8;
}

.article-content a:visited {
    color: #9D7EE8;
}

/* Images */
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-content figure {
    margin: 2rem 0;
    padding: 0;
}

.article-content figure img {
    margin: 0 auto;
}

.article-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.8rem;
    font-style: italic;
}

/* Citations */
.article-content blockquote {
    border-left: 4px solid #7BDDD8;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #F7FAFC;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4A5568;
}

.article-content blockquote p {
    margin: 0;
}

.article-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
    font-style: normal;
}

/* Code */
.article-content code {
    background: #F7FAFC;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #9D7EE8;
}

.article-content pre {
    background: #2D3748;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: white;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    overflow-x: auto;
    display: block;
}

.article-content th,
.article-content td {
    padding: 0.8rem;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.article-content th {
    background: #F7FAFC;
    font-weight: 700;
    color: #2D3748;
}

.article-content tr:nth-child(even) {
    background: #F7FAFC;
}

/* Séparateur */
.article-content hr {
    border: none;
    border-top: 2px solid #E2E8F0;
    margin: 2.5rem 0;
}

/* Pagination */
.page-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E2E8F0;
}

.page-links-title {
    font-weight: 700;
    color: #2D3748;
    margin-right: 0.5rem;
}

.page-number {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    color: #2D3748;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-links span.page-number {
    background: #9D7EE8;
    border-color: #9D7EE8;
    color: white;
}

.page-links a:hover .page-number {
    border-color: #9D7EE8;
    color: #9D7EE8;
}

/* Article Tags */
.article-tags-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #F7FAFC;
    border-radius: 12px;
    margin: 0 0 2rem 0;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 700;
    color: #2D3748;
    flex-shrink: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.article-tags a {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 50px;
    color: #4A5568;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.article-tags a:hover {
    border-color: #9D7EE8;
    color: #9D7EE8;
}

/* Share Buttons Mobile */
.share-buttons-mobile {
    display: none;
    gap: 1rem;
    padding: 1.5rem;
    background: #F7FAFC;
    border-radius: 12px;
    margin: 0 0 2rem 0;
    flex-wrap: wrap;
    align-items: center;
}

.share-label {
    font-weight: 700;
    color: #2D3748;
}

.share-buttons-mobile .share-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    color: #4A5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.share-buttons-mobile .share-btn:hover {
    border-color: #9D7EE8;
    color: #9D7EE8;
}

/* Author Bio */
.author-bio-section {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    margin: 0;
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #E2E8F0;
    display: block;
}

.author-bio-content {
    flex: 1;
    min-width: 0;
}

.author-bio-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
    padding: 0;
    color: #2D3748;
}

.author-bio-role {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 0.8rem 0;
    padding: 0;
    letter-spacing: 0.5px;
}

.author-bio-description {
    color: #4A5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    margin: 0 0 1.5rem 0;
}

.sidebar-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    padding: 0;
    color: #2D3748;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stats-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 1rem 0;
    margin: 0;
    border-bottom: 1px solid #E2E8F0;
}

.stats-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stats-list-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
}

.stats-list-value {
    font-weight: 700;
    color: #2D3748;
    font-size: 0.95rem;
}

/* Share Buttons Vertical */
.share-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.share-btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    color: #4A5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.share-btn-full:hover {
    border-color: #9D7EE8;
    color: #9D7EE8;
}

.share-btn-full.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.share-btn-full.share-facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
    color: white;
}

.share-btn-full.share-link:hover {
    background: #9D7EE8;
    border-color: #9D7EE8;
    color: white;
}

/* Article Navigation */
.article-nav-section {
    background: #F7FAFC;
    padding: 3rem 0;
    margin: 3rem 0 0 0;
}

.article-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.nav-card:hover {
    border-color: #9D7EE8;
}

.nav-card.nav-next {
    align-items: flex-end;
    text-align: right;
}

.nav-direction {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #2D3748;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* Related Posts */
.related-section {
    background: #F7FAFC;
    padding: 4rem 0;
    margin: 0;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin: 0 0 3rem 0;
    padding: 0;
    color: #2D3748;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.related-card:hover {
    border-color: #9D7EE8;
}

.related-link {
    text-decoration: none;
    display: block;
}

.related-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #9D7EE8, #FF8BA8);
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: white;
    border-radius: 50px;
    color: #7BDDD8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.related-content {
    padding: 1.5rem;
}

.related-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.8rem 0;
    padding: 0;
    color: #2D3748;
    line-height: 1.2;
}

.related-meta {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

/* Comments */
.comments-wrapper {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.comments-container {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-main-container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 50vh;
    }
    
    .article-hero-content {
        padding: 0 1.5rem 3rem;
    }
    
    .article-hero-title {
        font-size: 2.2rem;
    }
    
    .article-main {
        padding: 2rem 0;
    }
    
    .article-main-container {
        padding: 0 1.5rem;
    }
    
    .article-content {
        padding: 2rem;
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 2rem;
    }
    
    .article-content h3 {
        font-size: 1.6rem;
    }
    
    .lead-intro {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .article-sidebar-column {
        grid-template-columns: 1fr;
    }
    
    .share-buttons-mobile {
        display: flex;
    }
    
    .article-nav-container {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .article-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

/* ============================================
   COMPOSANTS ENRICHIS POUR ARTICLES
   ============================================ */

/* Introduction Box */
.intro-box {
    background: linear-gradient(135deg, rgba(157, 126, 232, 0.1), rgba(255, 139, 168, 0.1));
    border: 2px solid #9D7EE8;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 0 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '📰';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    opacity: 0.3;
}

.intro-box-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #9D7EE8;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
}

.intro-box-content {
    color: #4A5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.info-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9D7EE8, #FF8BA8, #7BDDD8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    border-color: #9D7EE8;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 126, 232, 0.15);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #2D3748;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
}

.info-card-content {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #9D7EE8, #FF8BA8, #7BDDD8);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 5px;
    width: 26px;
    height: 26px;
    background: white;
    border: 3px solid #9D7EE8;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(157, 126, 232, 0.1);
}

.timeline-date {
    position: absolute;
    left: 80px;
    top: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #9D7EE8;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(157, 126, 232, 0.1), rgba(255, 139, 168, 0.1));
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.timeline-content {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2.5rem;
}

.timeline-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #2D3748;
    margin: 0 0 0.8rem 0;
    letter-spacing: 0.5px;
}

.timeline-description {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Stats Box */
.stats-box {
    background: linear-gradient(135deg, #9D7EE8, #FF8BA8);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    color: white;
}

.stats-box-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: white;
    margin: 0 0 2rem 0;
    text-align: center;
    letter-spacing: 1px;
}

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

.stat-item-box {
    text-align: center;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: white;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Highlight Box */
.highlight-box {
    background: #FFF9E6;
    border-left: 4px solid #FFB870;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.highlight-box-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #2D3748;
    margin: 0 0 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box-title::before {
    content: '💡';
    font-size: 1.5rem;
}

.highlight-box-content {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Key Points */
.key-points {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.key-points-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #2D3748;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.key-points-title::before {
    content: '🎯';
    font-size: 2rem;
}

.key-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points-list li {
    padding: 1rem 0 1rem 3rem;
    margin: 0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4A5568;
}

.key-points-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.key-points-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #9D7EE8, #FF8BA8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Quote avec auteur */
.quote-with-author {
    background: linear-gradient(135deg, rgba(123, 221, 216, 0.1), rgba(157, 126, 232, 0.1));
    border-left: 4px solid #7BDDD8;
    border-radius: 0 16px 16px 0;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    position: relative;
}

.quote-with-author::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-size: 5rem;
    color: #7BDDD8;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #2D3748;
    font-style: italic;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1rem;
    color: #718096;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.quote-author::before {
    content: '— ';
}

/* Comparison Table */
.comparison-table {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.comparison-table th {
    background: linear-gradient(135deg, #9D7EE8, #FF8BA8);
    color: white;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    border: none;
}

.comparison-table th:first-child {
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    color: #4A5568;
}

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

.comparison-table tr:hover {
    background: #F7FAFC;
}

/* Video Embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 0.8rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Alert Box */
.alert-box {
    background: #FEF2F2;
    border: 2px solid #FF8BA8;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alert-box-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.alert-box-content {
    flex: 1;
}

.alert-box-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: #2D3748;
    margin: 0 0 0.5rem 0;
}

.alert-box-text {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Progress Bar */
.progress-bar-container {
    margin: 2rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #4A5568;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9D7EE8, #FF8BA8);
    border-radius: 20px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent
    );
    animation: shimmer 2s infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 6px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-date {
        left: 60px;
        font-size: 0.95rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}
