/* ========================================
   CSS TEMPORAIRE - GameNews Belgium
   ======================================== */

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
    /* Couleurs Belgique */
    --belgium-red: #CC0000;
    --belgium-yellow: #E6B800;
    --belgium-black: #000000;
    
    /* Couleurs système */
    --primary: #1a1a1a;
    --secondary: #2d2d2d;
    --tertiary: #404040;
    --border: #e5e5e5;
    --muted: #f5f5f5;
    --background: #ffffff;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    
    /* États & feedback */
    --success: #44ff44;
    --error: #ff4444;
    --warning: #ffaa00;
    --info: #3498db;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESET CSS
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px; /* Taille de base augmentée à 18px */
    line-height: 1.6;
    color: var(--primary);
    background: var(--background);
}

/* ========================================
   TITRES - Luckiest Guy
   ======================================== */
h1, h2, h3, h4, h5, h6,
.section-title,
.article-title,
.featured-title,
.footer-title,
.page-title {
    font-family: 'Luckiest Guy', cursive;
    font-weight: normal;
    letter-spacing: 0.5px;
}

h1{
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

a{
    text-decoration: none!important;
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--belgium-black) 0%, var(--belgium-yellow) 35%, var(--belgium-red) 100%);
    border-bottom: 3px solid var(--belgium-yellow);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--belgium-yellow);
    border: 2px solid var(--belgium-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-subtitle {
    color: var(--belgium-yellow);
    font-size: 0.75rem;
    font-weight: 600;
}

.header-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    display: none;
}

@media (min-width: 768px) {
    .header-title {
        display: block;
    }
}

.login-btn {
    background: var(--belgium-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.login-btn:hover {
    background: #990000;
}

.register-btn {
    background: var(--belgium-yellow);
    color: var(--belgium-black);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.register-btn:hover {
    background: #d4a700;
}

.logout-btn {
    background: var(--belgium-black);
    color: white;
    border: 1px solid var(--belgium-yellow);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.logout-btn:hover {
    background: var(--belgium-yellow);
    color: var(--belgium-black);
}

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */
.main-layout {
    position: relative;
    min-height: calc(100vh - 200px);
}

.main-content {
    position: relative;
    z-index: 2;
    width: 68vw;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: white;
    min-height: calc(100vh - 200px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 8px 8px 0 0;
    margin-left: 16vw;
    margin-right: 16vw;
}

/* ========================================
   BANNIÈRES THÉMATIQUES
   ======================================== */
.theme-banner-left {
    position: fixed;
    left: 0;
    top: 0;
    width: 14vw;
    height: 1080px;
    background: url('/theme-image.php?theme=defaut&side=left') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
}

.theme-banner-right {
    position: fixed;
    right: 0;
    top: 0;
    width: 14vw;
    height: 1080px;
    background: url('/theme-image.php?theme=defaut&side=right') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-line {
    width: 4px;
    height: 32px;
}

.section-line.yellow {
    background: var(--belgium-yellow);
}

.section-line.red {
    background: var(--belgium-red);
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--belgium-black) 0%, var(--belgium-yellow) 35%, var(--belgium-red) 100%);
    color: white;
    margin-top: 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 1000;
    clear: both;
}

.footer-content {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column {
    border-left: 4px solid var(--belgium-black);
    padding-left: 1rem;
}

.footer-column:nth-child(2) {
    border-left-color: var(--belgium-yellow);
}

.footer-column:nth-child(3) {
    border-left-color: var(--belgium-red);
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.footer-title.yellow {
    color: var(--belgium-yellow);
}

.footer-title.red {
    color: var(--belgium-red);
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: white!important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--belgium-yellow);
    text-decoration: underline;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.footer-btn:hover {
    background: var(--belgium-yellow);
    color: var(--belgium-black);
    border-color: var(--belgium-yellow);
}

.footer-newsletter input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    margin-bottom: 0.75rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.6);
}

.footer-newsletter button {
    width: 100%;
    background: var(--belgium-red);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-newsletter button:hover {
    background: #990000;
}

.footer-contact {
    font-size: 0.75rem;
    opacity: 0.75;
}

.footer-contact p{
    color: white;
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.75;
}

.footer-bottom p:last-child {
    margin-top: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .theme-banner-left,
    .theme-banner-right {
        display: none;
    }
    
    .main-content {
        width: 100%;
        padding: 1.5rem 1rem;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        width: 100%;
    }
}

/* ========================================
   MODE SOMBRE
   ======================================== */
.dark-mode .article-title {
    color: white !important;
}

/* ========================================
   BADGES DE CATÉGORIE FEATURED
   ======================================== */
/* Styles featured déplacés vers home.css */