:root {
    --primary-color: #000000;
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: #050505;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Fond dynamique */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #1a1a1a, #000);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

header {
    margin-bottom: 30px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.neuropol {
    font-family: 'neuropol-2', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

header p {
    font-size: 0.9rem;
    color: #888;
}

/* Liste des liens */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.link-card i {
    font-size: 1.5rem;
    width: 40px;
    text-align: left;
}

.link-card span {
    font-weight: 500;
    flex-grow: 1;
}

.link-card:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.02);
}

/* Bouton mis en avant (Boutique) */
.highlight {
    background: white;
    color: black;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.twitch-container {
    margin: 20px 0px;
    width: 100%;
    aspect-ratio: 16 / 9; /* Force le format cinéma eSport */
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#twitch-embed {
    width: 100%;
    height: 100%;
}

#twitch-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Card Principale */
.news-card {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

/* Container Image + Badge */
.news-image-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex; /* Évite les espaces vides sous l'image */
}

.news-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.news-card:hover .news-img-top {
    filter: brightness(1);
}

/* Badge sur l'image (Position ajustée selon ton souhait) */
.news-badge {
    position: absolute;
    top: -3px;
    left: 0px;
    background: linear-gradient(90deg, #ff0000, #b30000);
    color: white;
    padding: 8px 18px;
    font-weight: 800;
    font-size: 0.75rem;
    border-bottom-right-radius: 12px; /* Arrondi stylé sur le coin intérieur */
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

/* Corps de l'actu */
.news-body {
    padding: 20px;
    text-align: left;
}

.news-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.news-body p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Bouton stylisé avec ton CSS */
.news-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-read-more {
    background: linear-gradient(135deg, #cc0000 0%, #880000 100%);
    color: white !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.btn-read-more:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.btn-read-more i {
    font-size: 0.9rem;
}
footer {
    margin-top: 40px;
    font-size: 0.75rem;
    color: #555;
}

footer > p > a{
    margin-top: 40px;
    font-size: 0.75rem;
    color: #555;
    text-decoration: none;
}