* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Crimson Pro', 'Georgia', serif;
    background: #050810;
    color: #a8c4d8;
    min-height: 100vh;
    line-height: 1.6;
}
body::before {
    content: '';
    position: fixed; inset: 0;
    background:
      radial-gradient(ellipse at top, rgba(40, 80, 140, 0.25) 0%, transparent 50%),
      radial-gradient(ellipse at bottom, rgba(80, 40, 140, 0.15) 0%, transparent 60%),
      linear-gradient(180deg, #050810 0%, #0a0f1a 100%);
    z-index: -1;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* === BANNIERE LICH KING === */
.site-banner {
    height: 260px;
    background:
      radial-gradient(ellipse at center, rgba(80, 140, 200, 0.3) 0%, transparent 60%),
      linear-gradient(180deg, rgba(5,8,16,0.3) 0%, rgba(5,8,16,0.95) 100%);
    position: relative;
    border-bottom: 2px solid #4a7ba8;
    box-shadow: 0 4px 30px rgba(80, 140, 200, 0.2);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    overflow: hidden;
}
.site-banner::before {
    content: '❄';
    position: absolute;
    font-size: 30rem;
    color: rgba(80, 140, 200, 0.05);
    top: -100px;
}
.site-banner h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: #b8e0ff;
    text-shadow:
      0 0 20px rgba(120, 200, 255, 0.8),
      0 0 40px rgba(80, 140, 200, 0.5),
      0 4px 10px rgba(0,0,0,0.9);
    letter-spacing: 10px;
    font-weight: 900;
    z-index: 1;
}
.site-banner .subtitle {
    font-family: 'Cinzel', serif;
    color: #8fb0c8;
    letter-spacing: 8px;
    font-size: 0.9rem;
    margin-top: 0.7rem;
    text-shadow: 0 0 15px rgba(80, 140, 200, 0.6);
    z-index: 1;
}

/* === NAVIGATION === */
.main-nav {
    background: linear-gradient(180deg, #0a1220 0%, #050810 100%);
    border-top: 1px solid #2a5078;
    border-bottom: 1px solid #2a5078;
    box-shadow: 0 4px 20px rgba(0,0,0,0.7), inset 0 0 30px rgba(80, 140, 200, 0.08);
}
.main-nav .container { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; overflow-x: auto; }
@media (max-width: 900px) { .main-nav .container { flex-wrap: wrap; } }
.main-nav a {
    color: #a8c4d8;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 1rem 1.2rem;
    white-space: nowrap;
    transition: all 0.3s;
    border-right: 1px solid rgba(74, 123, 168, 0.2);
    text-transform: uppercase;
}
.main-nav a:first-child { border-left: 1px solid rgba(74, 123, 168, 0.2); }
.main-nav a:hover {
    color: #b8e0ff;
    background: rgba(80, 140, 200, 0.15);
    text-shadow: 0 0 15px rgba(184, 224, 255, 0.7);
}

/* === LAYOUT 3 COLONNES === */
.main-content { padding: 2.5rem 0; }
.layout-3col {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 2rem;
}
@media (max-width: 1024px) { .layout-3col { grid-template-columns: 1fr; } }

/* === SIDEBARS === */
.sidebar {
    background: linear-gradient(180deg, rgba(15,20,35,0.95) 0%, rgba(10,15,25,0.95) 100%);
    border: 1px solid #2a5078;
    padding: 1.5rem;
    box-shadow:
      0 0 30px rgba(0,0,0,0.6),
      inset 0 0 25px rgba(80, 140, 200, 0.05);
}
.sidebar .visual {
    border: 1px solid #4a7ba8;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(80, 140, 200, 0.3);
}
.sidebar .visual img { width: 100%; display: block; }
.sidebar h3 {
    font-family: 'Cinzel', serif;
    color: #b8e0ff;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-align: center;
    padding-bottom: 0.7rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #2a5078;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(184, 224, 255, 0.5);
}
.sidebar ul { list-style: none; }
.sidebar ul li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(74, 123, 168, 0.25);
    font-size: 0.95rem;
    color: #a8c4d8;
}
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li .value { color: #b8e0ff; float: right; font-weight: bold; text-shadow: 0 0 8px rgba(184, 224, 255, 0.4); }

/* === STATUT SERVEUR === */
.server-status .status-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; }
.status-online { color: #6dd6a8; text-shadow: 0 0 8px rgba(109, 214, 168, 0.5); }
.status-offline { color: #d65a5a; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.status-dot.online { background: #6dd6a8; box-shadow: 0 0 12px #6dd6a8; }
.status-dot.offline { background: #d65a5a; }

/* === CONTENU CENTRAL === */
.content-main {
    background: linear-gradient(180deg, rgba(15,20,35,0.95) 0%, rgba(10,15,25,0.95) 100%);
    border: 1px solid #2a5078;
    padding: 2.5rem;
    box-shadow:
      0 0 40px rgba(0,0,0,0.7),
      inset 0 0 35px rgba(80, 140, 200, 0.05);
}
.content-main h2 {
    font-family: 'Cinzel', serif;
    color: #b8e0ff;
    font-size: 2.3rem;
    letter-spacing: 5px;
    text-align: center;
    padding-bottom: 1.2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #2a5078;
    text-shadow: 0 0 20px rgba(120, 200, 255, 0.6);
    text-transform: uppercase;
}
.content-main h3 {
    font-family: 'Cinzel', serif;
    color: #8fb0c8;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(143, 176, 200, 0.4);
}
.content-main p { margin-bottom: 1rem; color: #a8c4d8; }

/* === NEWS CARDS === */
.news-card {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid #4a7ba8;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.5rem;
}
.news-card h4 {
    font-family: 'Cinzel', serif;
    color: #b8e0ff;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(184, 224, 255, 0.4);
}
.news-card .news-meta { font-size: 0.85rem; color: #6b8ba8; font-style: italic; margin-top: 1rem; }

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #4a7ba8;
    background: linear-gradient(180deg, rgba(80, 140, 200, 0.15) 0%, rgba(30, 60, 100, 0.3) 100%);
    color: #b8e0ff;
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover {
    background: linear-gradient(180deg, rgba(120, 180, 230, 0.3) 0%, rgba(50, 90, 140, 0.5) 100%);
    box-shadow: 0 0 25px rgba(120, 200, 255, 0.5);
    color: #ffffff;
    border-color: #b8e0ff;
}
.btn-block { display: block; width: 100%; text-align: center; }
.btn-primary {
    background: linear-gradient(180deg, #2a4878 0%, #4a7ba8 100%);
    border-color: #b8e0ff;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(184, 224, 255, 0.6);
}

/* === FORMS === */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-family: 'Cinzel', serif;
    color: #8fb0c8;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.form-group input {
    width: 100%; padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #2a5078;
    color: #b8e0ff;
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
}
.form-group input:focus {
    outline: none;
    border-color: #b8e0ff;
    box-shadow: 0 0 15px rgba(120, 200, 255, 0.4);
}
.form-help { font-size: 0.85rem; color: #6b8ba8; margin-top: 0.3rem; font-style: italic; }

/* === ALERTS === */
.alert { padding: 1rem 1.5rem; margin-bottom: 1.5rem; border-left: 4px solid; }
.alert-success { background: rgba(60, 120, 90, 0.2); border-color: #6dd6a8; color: #c8e6d6; }
.alert-error { background: rgba(140, 40, 60, 0.2); border-color: #d65a5a; color: #ffcdd2; }
.alert-info { background: rgba(40, 80, 140, 0.25); border-color: #4a90e2; color: #b3d4f7; }

/* === INFO BOX === */
.info-box { background: rgba(0, 0, 0, 0.5); border: 1px dashed #4a7ba8; padding: 1.5rem; margin: 1.5rem 0; }
.info-box h4 { font-family: 'Cinzel', serif; color: #b8e0ff; margin-bottom: 0.5rem; letter-spacing: 2px; }
.info-box code {
    background: rgba(120, 200, 255, 0.08);
    padding: 0.4rem 0.7rem;
    color: #b8e0ff;
    font-family: 'Courier New', monospace;
    display: block;
    margin-top: 0.5rem;
    border: 1px solid rgba(74, 123, 168, 0.3);
    text-shadow: 0 0 5px rgba(184, 224, 255, 0.3);
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #050810 0%, #020306 100%);
    border-top: 2px solid #2a5078;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}
.site-footer p { color: #6b8ba8; font-size: 0.9rem; }
.footer-sub { font-size: 0.8rem; margin-top: 0.5rem; font-style: italic; color: #4a6b8a; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* === LOGO IMAGE === */
.site-banner {
    background:
      linear-gradient(180deg, rgba(5,8,16,0.3) 0%, rgba(5,8,16,0.85) 100%),
      url('/assets/images/cover-wow.png') center 30% / cover no-repeat !important;
    min-height: 320px;
}
.site-banner .logo-image {
    max-width: 600px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(120, 200, 255, 0.6)) drop-shadow(0 4px 15px rgba(0,0,0,0.9));
    z-index: 1;
    margin-bottom: 0.5rem;
}

/* === FOND AURORA SUBTIL === */
body::before {
    content: '';
    position: fixed; 
    inset: 0;
    background:
      linear-gradient(180deg, rgba(5,8,16,0.85) 0%, rgba(10,15,25,0.92) 100%),
      url('/assets/images/bg-aurora.png') center center / cover no-repeat fixed;
    z-index: -1;
    opacity: 0.6;
}

/* Responsive : sur mobile la grille avatar passe en colonne */
@media (max-width: 700px) {
    .content-main > div[style*="grid-template-columns:200px"] {
        grid-template-columns: 1fr !important;
    }
}

/* ===== NoxAeterna - Aurore boreale globale (ajout non destructif) ===== */
.site-aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.site-aurora::before, .site-aurora::after {
  content: ""; position: absolute; left: -25%; right: -25%; top: -10%; height: 90%;
  filter: blur(60px); opacity: 0.6; mix-blend-mode: screen;
}
.site-aurora::before {
  background:
    radial-gradient(ellipse 40% 60% at 30% 50%, rgba(70,255,170,0.8), transparent 70%),
    radial-gradient(ellipse 45% 55% at 60% 40%, rgba(100,170,255,0.75), transparent 70%),
    radial-gradient(ellipse 35% 50% at 80% 60%, rgba(180,120,255,0.7), transparent 70%);
  animation: siteAurora1 12s ease-in-out infinite alternate;
}
.site-aurora::after {
  top: 25%;
  background:
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(120,255,210,0.65), transparent 70%),
    radial-gradient(ellipse 40% 60% at 35% 45%, rgba(140,190,255,0.65), transparent 70%);
  animation: siteAurora2 15s ease-in-out infinite alternate;
}
@keyframes siteAurora1 {
  0%   { transform: translateX(-8%) translateY(0) scaleY(1); opacity:0.45; }
  50%  { transform: translateX(7%) translateY(4%) scaleY(1.2); opacity:0.7; }
  100% { transform: translateX(11%) translateY(-3%) scaleY(0.95); opacity:0.5; }
}
@keyframes siteAurora2 {
  0%   { transform: translateX(6%) translateY(2%) scaleY(1.1); opacity:0.4; }
  100% { transform: translateX(-8%) translateY(-4%) scaleY(0.9); opacity:0.65; }
}
/* Blocs legerement transparents pour voir l'aurore a travers (tout le site) */
.content-main {
  background: linear-gradient(180deg, rgba(15,20,35,0.72) 0%, rgba(10,15,25,0.78) 100%) !important;
}
.sidebar {
  background: linear-gradient(180deg, rgba(15,20,35,0.75) 0%, rgba(10,15,25,0.80) 100%) !important;
}
.news-card {
  background: rgba(8,11,20,0.55) !important;
}
/* ===== fin Aurore globale ===== */
