/* css/index_style.css */

:root {
    --bg-dark: #050505;
    --sidebar-bg: #0d0d0d;
    --accent-purple: #8e44ad;
    --accent-bright: #9b59b6;
    --text-main: #b2b2b2;
    --text-bright: #ffffff;
    --panel-bg: rgba(15, 15, 15, 0.9);
    --border-color: #222;
}

body {
    margin: 0;
    background: var(--bg-dark);
    /* Ajout d'un léger dégradé radial pour donner de la profondeur au fond */
    background-image: radial-gradient(circle at center, #111 0%, #050505 100%);
    color: var(--text-main);
    font-family: 'Lora', serif;
    display: flex;
    min-height: 100vh;
}

/* --- MENU LATÉRAL --- */
.sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    border-right: 2px solid var(--accent-purple);
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.header-logo {
    padding: 45px 15px;
    text-align: center;
    border-bottom: 1px solid #222;
    background: linear-gradient(to bottom, #000, #0d0d0d);
}

.header-logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    margin: 0;
    letter-spacing: 2px;
    color: var(--text-bright);
    text-shadow: 0 0 10px rgba(142, 68, 173, 0.5);
}

.header-logo span {
    color: var(--accent-purple);
    font-size: 0.8em;
    letter-spacing: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-links {
    flex: 1;
    padding: 25px 0;
}

/* Séparateur stylisé entre les blocs de liens */
.separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
    margin: 15px 30px;
}

.menu-links a {
    display: block;
    padding: 15px 30px;
    color: #888;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    border-left: 3px solid transparent;
    letter-spacing: 1px;
}

.menu-links a:hover {
    color: var(--text-bright);
    background: linear-gradient(to right, rgba(142, 68, 173, 0.15), transparent);
    border-left: 3px solid var(--accent-purple);
    padding-left: 35px; /* Petit effet de glissement */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Lien actif (page actuelle) */
.menu-links a.active {
    color: var(--accent-purple);
    background: rgba(142, 68, 173, 0.05);
    border-left: 3px solid var(--accent-purple);
}

.stats-footer {
    padding: 25px;
    font-size: 0.75em;
    color: var(--accent-purple);
    text-align: center;
    letter-spacing: 2px;
    border-top: 1px solid #222;
    font-family: 'Cinzel', serif;
    background: #000;
}

/* --- ZONE DE CONTENU --- */
.content {
    margin-left: 250px;
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-container {
    width: 100%;
    max-width: 850px;
}

.section-title {
    font-family: 'Cinzel', serif;
    color: var(--text-bright);
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 5px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.news-card {
    background: var(--panel-bg);
    border: 1px solid #222;
    margin-bottom: 40px;
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 45px rgba(0,0,0,0.8);
}

.news-header {
    background: rgba(142, 68, 173, 0.05);
    padding: 18px 30px;
    border-bottom: 1px solid rgba(142, 68, 173, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-header h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.2em;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.news-date {
    font-size: 0.85em;
    color: var(--accent-purple);
    font-family: 'Cinzel', serif;
}

.news-text {
    padding: 30px;
    line-height: 1.8;
    font-size: 1.05em;
    color: #999;
}

/* --- BOUTON D'ACTION --- */
.play-box {
    margin-top: 20px;
    padding: 40px;
    text-align: center;
    width: 100%;
}

.btn-play {
    display: inline-block;
    background: var(--accent-purple);
    color: #fff;
    padding: 20px 60px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: 0 0 25px rgba(142, 68, 173, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 3px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-play:hover {
    transform: scale(1.05);
    background: var(--accent-bright);
    box-shadow: 0 0 50px rgba(142, 68, 173, 0.5);
    letter-spacing: 5px; /* Effet d'expansion du texte */
}

/* Badge clignotant */
.badge-new {
    background: #c0392b;
    color: white;
    padding: 3px 10px;
    font-size: 0.65em;
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    animation: blink 2s infinite;
    margin-right: 12px;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes blink {
    0% { opacity: 1; box-shadow: 0 0 5px #c0392b; }
    50% { opacity: 0.5; box-shadow: 0 0 0px #c0392b; }
    100% { opacity: 1; box-shadow: 0 0 5px #c0392b; }
}

/* Mobile responsive (basique) */
@media (max-width: 900px) {
    .sidebar { width: 70px; }
    .header-logo h1, .header-logo span, .menu-links a span { display: none; }
    .content { margin-left: 70px; padding: 20px; }
}
.badge-new {
    background-color: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: 5px;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}