/**
 * CSS Hub Tribion v0.5.2
 * + Styles version mondes
 * + Styles actualités
 * - Logo header supprimé
 */

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #1a1510;
    color: #e8dcc4;
    overflow-x: hidden;
}

/* === FOND IMMERSIF BATAILLE === */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
        url('../images/fond.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* === EFFET PARCHEMIN === */
.parchment {
    background: linear-gradient(135deg, #f4e4c1 0%, #e8d5b5 100%);
    border: 3px solid #8b6f47;
    box-shadow: 
        inset 0 0 30px rgba(139, 111, 71, 0.3),
        0 8px 30px rgba(0,0,0,0.7);
    position: relative;
    border-radius: 10px;
}

.parchment::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #654321, #8b6f47);
    z-index: -1;
    border-radius: 10px;
}

/* === HEADER STATISTIQUES (SANS LOGO) === */
.stats-header {
    background: linear-gradient(135deg, #8b45132b 0%, #654321 100%);
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 3px solid #CD853F;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.game-title {
    font-size: 2.5em;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    letter-spacing: 8px;
    font-family: 'Cinzel', 'Times New Roman', serif;
    text-transform: uppercase;
}

.stats-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: right;
    color: #FFD700;
}

.stat-value {
    font-size: 1.8em;
    font-weight: bold;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.stat-label {
    font-size: 0.9em;
    color: #e8dcc4;
    text-transform: uppercase;
}

/* === SECTION HERO === */
.hero-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* === COLONNE GAUCHE - PRÉSENTATION === */
.presentation-panel {
    padding: 20px;
}

.season-badge {
    display: inline-block;
    background: linear-gradient(135deg, #CD853F 0%, #8B4513 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(224, 178, 108, 0.80);
    border: 2px solid #FFD700;
}

.hero-title {
    font-size: 2em;
    color: #3E2723;
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 2px 2px 0px rgba(255,215,0,0.3);
}

.hero-description {
    font-size: 1.05em;
    line-height: 1.65;
    color: #3E2723;
    margin-bottom: 18px;
}

.player-welcome-box {
    background: rgba(139, 69, 19, 0.1);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    border-left: 4px solid #CD853F;
}

.player-mini-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.9em;
    color: #5d4037;
}

.story-text {
    background: rgba(62, 39, 35, 0.1);
    padding: 16px;
    border-left: 4px solid #8B4513;
    font-style: italic;
    line-height: 1.65;
    color: #5d4037;
    margin-bottom: 18px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    font-size: 1em;
    color: #3E2723;
    border-bottom: 1px solid rgba(139, 111, 71, 0.3);
}

.features-list li::before {
    content: '⚔️';
    margin-right: 10px;
}

/* === COLONNE DROITE - MONDES === */
.action-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* === BOÎTE AUTH AU-DESSUS DES MONDES === */
.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(224, 178, 108, 0.88);
    border-color: #FFD700;
}

.worlds-panel {
    padding: 30px;
}

.worlds-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.world-item {
    background: rgba(62, 39, 35, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #8b6f47;
    transition: all 0.3s ease;
}

.world-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.4);
    background: rgba(62, 39, 35, 0.08);
}

.world-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.world-name {
    font-size: 1.5em;
    color: #3E2723;
    font-weight: bold;
    margin-bottom: 5px;
}

/* === VERSION MONDE === */
.world-version {
    display: inline-block;
    background: rgba(139, 69, 19, 0.2);
    color: #8B4513;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    border: 1px solid #8B4513;
}

.world-status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.status-online {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.status-maintenance {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
}

.status-offline {
    background: linear-gradient(135deg, #888 0%, #666 100%);
    color: white;
}

.world-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.world-info-item {
    text-align: center;
    padding: 10px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 8px;
}

.info-label {
    display: block;
    font-size: 0.85em;
    color: #8B4513;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.info-value {
    display: block;
    font-size: 1.3em;
    color: #3E2723;
    font-weight: bold;
}

/* ── Bouton "Entrer dans le monde" ──────────────────────────────────────── */
.btn-enter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 16px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(145deg, #c47a2e 0%, #8B4513 55%, #6b300d 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.5),
        0 1px 0   rgba(255, 215, 0, 0.25) inset,
        0 -2px 0  rgba(0, 0, 0, 0.35)     inset;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

/* Reflet traversant au hover (plus subtil que l'ancienne animation infinie) */
.btn-enter::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left .45s ease;
}

.btn-enter:hover {
    background: linear-gradient(145deg, #d4893e 0%, #9a5020 55%, #7a3810 100%);
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow:
        0 8px 28px rgba(139, 69, 19, 0.7),
        0 0   20px rgba(255, 215, 0, 0.18),
        0 1px 0   rgba(255, 215, 0, 0.3) inset,
        0 -2px 0  rgba(0, 0, 0, 0.35)   inset;
    transform: translateY(-3px);
}

.btn-enter:hover::before { left: 120%; }

.btn-enter:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 0 rgba(255,215,0,0.15) inset;
}

.btn-enter:disabled,
.btn-enter.disabled {
    background: linear-gradient(145deg, #666 0%, #444 100%);
    border-color: rgba(100, 100, 100, 0.4);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.btn-enter:disabled::before,
.btn-enter.disabled::before {
    display: none;
}

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(101, 67, 33, 0.8) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #8B4513;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(224, 178, 108, 0.9) 0%, rgba(139, 69, 19, 0.9) 100%);
    border-color: #CD853F;
    transform: translateY(-2px);
}

/* === SECTION ACTUALITÉS === */
.news-section {
    max-width: 1400px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.news-container {
    padding: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.news-item {
    background: rgba(62, 39, 35, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #CD853F;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
    background: rgba(62, 39, 35, 0.1);
}

.news-date {
    color: #8B4513;
    font-size: 0.9em;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-title {
    font-size: 1.3em;
    color: #3E2723;
    margin-bottom: 10px;
}

.news-text {
    color: #5d4037;
    line-height: 1.6;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(180deg, #1e1208 0%, #120b04 100%);
    border-top: 1px solid rgba(139, 111, 71, 0.3);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(255, 215, 0, 0.6);
}

.footer-tagline {
    font-size: 0.7em;
    color: rgba(224, 178, 108, 0.65);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.72em;
    color: rgba(232, 220, 196, 0.35);
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 4px 16px;
    border-right: 1px solid rgba(139, 111, 71, 0.2);
    transition: color .18s;
}

.footer-links a:last-child { border-right: none; }

.footer-links a:hover {
    color: rgba(255, 215, 0, 0.7);
}

.footer-copy {
    font-size: 0.68em;
    color: rgba(224, 178, 108, 0.55);
    letter-spacing: 0.5px;
}

@media (max-width: 560px) {
    .footer-brand { flex-direction: column; gap: 4px; text-align: center; }
    .footer-links a { padding: 4px 10px; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .stats-header {
        padding: 15px;
    }
    
    .stats-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .header-actions {
        justify-content: center;
        width: 100%;
    }
    
    .game-title {
        font-size: 2em;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .player-mini-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .world-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .world-info-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list li {
        font-size: 1em;
    }
    
    .game-title {
        font-size: 1.5em;
        letter-spacing: 4px;
    }
}

/* === LOGO AURORIX === */
.game-title .logo-header {
    height: 100px;
    width: auto;
    display: block;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.8));
    transition: transform 0.3s ease;
}

.game-title .logo-header:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .game-title .logo-header {
        height: 110px;
        display: block;
        margin: 0 auto;
    }
    .game-title {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .game-title .logo-header {
        height: 100px;
    }
}
/* ── Header actions ─────────────────────────────────────────────────────── */
.header-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Bouton base ── */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(232, 220, 196, 0.75);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(224, 178, 108, 0.6);
  transition: color .18s, border-color .18s, transform .15s, box-shadow .18s;
  cursor: pointer;
}

.header-btn:hover {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.header-btn:active { transform: translateY(0); }

/* ── Bouton "Rejoindre" — CTA principal doré ── */
.header-btn-join {
  color: #1a0f00;
  background: linear-gradient(145deg, #e8a835 0%, #c47a2e 50%, #a05e1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.12),
    0 4px 18px rgba(139, 69, 19, 0.5),
    0 1px 0 rgba(255, 255, 200, 0.3) inset;
  font-weight: 900;
}

.header-btn-join:hover {
  color: #000;
  background: linear-gradient(145deg, #ffc84a 0%, #d4893e 50%, #b06a24 100%);
  border-color: rgba(255, 215, 0, 0.95);
  box-shadow:
    0 0 22px rgba(255, 215, 0, 0.28),
    0 6px 22px rgba(139, 69, 19, 0.6),
    0 1px 0 rgba(255, 255, 200, 0.4) inset;
  transform: translateY(-2px);
}

/* ── Bouton "Se connecter" — ghost noir/doré ── */
.header-btn-primary {
  color: #FFD700;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 215, 0, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 1px 0   rgba(255, 215, 0, 0.15) inset;
  position: relative;
  overflow: hidden;
}

.header-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,215,0,0.08), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left .4s ease;
}

.header-btn-primary:hover {
  color: #fff;
  border-color: rgba(255, 215, 0, 0.9);
  box-shadow:
    0 0   14px rgba(255, 215, 0, 0.2),
    0 5px 18px rgba(0, 0, 0, 0.55),
    0 1px 0   rgba(255, 215, 0, 0.25) inset;
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.85);
}

.header-btn-primary:hover::before { left: 120%; }

.header-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .header-actions { justify-content: center; }
  .header-btn { padding: 9px 16px; font-size: 0.78em; }
}
/* ── Navigation Pill ────────────────────────────────────────────────────── */
.quick-actions {
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;

  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(224, 178, 108, 0.18);
}

/* ── Pill individuelle ── */
.quick-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  text-decoration: none;
  border-radius: 0;
  color: rgba(232, 220, 196, 0.62);
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    color      .2s ease,
    background .2s ease;

  /* Indicateur bas — invisible par défaut */
  after: none;
}

/* Trait doré sous la pill (indicateur actif / hover) */
.quick-action::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  transform: translateX(-50%);
  transition: width .25s ease;
  border-radius: 2px;
}

/* ── Icône SVG ── */
.qa-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .2s ease, stroke .2s ease;
  stroke: currentColor;
}

/* ── Texte ── */
.quick-action .qa-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.78em;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Hover ── */
.quick-action:hover {
  color: rgba(255, 215, 0, 0.85);
  background: rgba(255, 215, 0, 0.05);
}

.quick-action:hover::after {
  width: 60%;
}

.quick-action:hover .qa-icon {
  transform: translateY(-1px);
}

/* ── Actif ── */
.quick-action.active {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.07);
}

.quick-action.active::after {
  width: 70%;
  background: linear-gradient(90deg, transparent, #FFD700 40%, #CD853F 60%, transparent);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.quick-action.active .qa-label {
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.quick-action.active .qa-icon {
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* ── Séparateur vertical entre pills ── */
.quick-action + .quick-action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(224, 178, 108, 0.2);
}

/* ── Responsive ── */

/* Tablette : réduire padding et texte */
@media (max-width: 900px) {
  .quick-action {
    padding: 12px 16px;
    gap: 6px;
  }
  .quick-action .qa-label {
    font-size: 0.72em;
    letter-spacing: 1.5px;
  }
  .qa-icon {
    width: 14px;
    height: 14px;
  }
}

/* Mobile : icône seule, label masqué */
@media (max-width: 560px) {
  .quick-actions {
    gap: 0;
  }
  .quick-action {
    flex: 1;
    justify-content: center;
    padding: 12px 8px;
    gap: 0;
  }
  .quick-action .qa-label {
    display: none;
  }
  .qa-icon {
    width: 18px;
    height: 18px;
  }
  /* Tooltip au tap sur mobile via title (géré nativement) */
}

/* Très petit mobile : 5 icônes sur une ligne */
@media (max-width: 360px) {
  .qa-icon {
    width: 16px;
    height: 16px;
  }
  .quick-action {
    padding: 11px 6px;
  }
}
/* === BRAND BLOCK (logo + tagline) === */

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 55%;
}

@media (max-width: 1024px) {
  .brand-block {
    align-items: center;
    width: 100%;
    max-width: 100%;
    flex: none;
    text-align: center;
  }
}

.brand-tagline{
  font-family: 'Cinzel', serif;
  font-size: 1em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 0.85);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  opacity: 0.9;
}

/* Version plus élégante desktop */
@media (min-width: 1024px){
  .brand-tagline{
    font-size: 1.05em;
    letter-spacing: 4px;
  }
}

/* Mobile */
@media (max-width: 768px){
  .brand-tagline{
    font-size: 0.85em;
    letter-spacing: 2px;
  }
}

/* ── Accordéon ── */
.accordion-wrapper {
    width: 100%;
    overflow: hidden;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Conteneur commun à toutes les sections */
.ac-inner {
    background: rgba(5, 3, 1, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(224, 178, 108, 0.65);
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 32px 36px;
    box-sizing: border-box;
    width: 100%;
}

/* En-tête de section : icône + titre */
.ac-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(224, 178, 108, 0.15);
}

.ac-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(224, 178, 108, 0.2);
    flex-shrink: 0;
}

.ac-section-icon svg {
    width: 15px;
    height: 15px;
    stroke: rgba(224, 178, 108, 0.8);
}

.ac-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1em;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.88);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

/* Sous-titre */
.ac-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.78em;
    font-weight: 600;
    color: rgba(232, 213, 163, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0 10px;
}

/* Texte courant */
.ac-text {
    color: rgba(232, 220, 196, 0.75);
    line-height: 1.75;
    font-size: 0.92em;
    margin: 0 0 10px;
}

/* Citation */
.ac-quote {
    border-left: 2px solid rgba(224, 178, 108, 0.6);
    padding: 10px 20px;
    margin: 0 0 22px;
    font-style: italic;
    color: rgba(232, 213, 163, 0.65);
    font-size: 0.93em;
    line-height: 1.75;
}

/* Liste */
.ac-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.ac-list li {
    padding: 7px 0 7px 20px;
    border-bottom: 1px solid rgba(224, 178, 108, 0.08);
    color: rgba(232, 220, 196, 0.75);
    font-size: 0.92em;
    line-height: 1.6;
    position: relative;
}

.ac-list li:last-child { border-bottom: none; }

.ac-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(224, 178, 108, 0.6);
}

/* Vide / bientôt disponible */
.ac-empty {
    text-align: center;
    padding: 16px 0 4px;
    color: rgba(224, 178, 108, 0.45);
    font-style: italic;
    font-size: 0.87em;
}

/* Responsive */
@media (max-width: 600px) {
    .ac-inner { padding: 20px 16px 24px; }
    .ac-section-title { font-size: 0.9em; letter-spacing: 2px; }
}

/* ── News ── */
/* ── News ── */
/* news-accordion-inner = ac-inner sans padding latéral (cards ont le leur) */
.news-accordion-inner {
    background: rgba(5, 3, 1, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(224, 178, 108, 0.65);
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 0 8px;
    box-sizing: border-box;
    width: 100%;
}

.news-card {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(224, 178, 108, 0.10);
    position: relative;
    transition: background 0.2s ease;
}

.news-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.news-card:hover {
    background: rgba(255, 215, 0, 0.04);
}

.news-card:hover::before {
    background: linear-gradient(to bottom, #FFD700, rgba(205,133,63,0.4));
}

.news-card--first::before {
    background: linear-gradient(to bottom, #FFD700, rgba(205,133,63,0.3));
}

.news-card:last-child {
    border-bottom: none;
}

/* Header carte : date + badge */
.news-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Badge date inline */
.news-datebadge {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 0.72em;
    color: rgba(205, 133, 63, 0.8);
    letter-spacing: 0.5px;
}

.news-datebadge-day {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1em;
    color: rgba(255, 215, 0, 0.75);
}

.news-datebadge-month {
    text-transform: lowercase;
    color: rgba(224, 178, 108, 0.7);
}

.news-datebadge-year {
    color: rgba(224, 178, 108, 0.45);
}

.news-datebadge-time {
    margin-left: 4px;
    padding-left: 8px;
    border-left: 1px solid rgba(224, 178, 108, 0.2);
    color: rgba(224, 178, 108, 0.4);
    font-size: 0.9em;
}

/* Badge "Nouveau" */
.news-badge-new {
    font-family: 'Cinzel', serif;
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1008;
    background: linear-gradient(135deg, #FFD700, #CD853F);
    padding: 3px 9px;
    border-radius: 2px;
}

/* Titre */
.news-card-title {
    font-family: 'Cinzel', serif;
    font-size: 0.95em;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* Contenu */
.news-card-content {
    color: rgba(232, 220, 196, 0.7);
    line-height: 1.75;
    font-size: 0.91em;
    margin: 0;
}

/* Vide */
.news-empty {
    text-align: center;
    padding: 24px 0;
    color: rgba(224, 178, 108, 0.6);
    font-style: italic;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .news-accordion-inner { padding: 20px 0; }
    .news-card { padding: 18px 16px; }
    .news-card-title { font-size: 0.87em; }
    .news-card-content { font-size: 0.86em; }
}

/* Vide */
.accordion-empty {
    text-align: center;
    padding: 20px 0;
    color: rgba(224, 178, 108, 0.85);
    font-style: italic;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .accordion-inner {
        padding: 16px 0 20px;
    }
}

@media (max-width: 600px) {
    .news-feed {
        padding: 0 14px;
        gap: 12px;
    }
    .news-card {
        gap: 14px;
        padding: 14px 14px;
    }
    .news-date-day  { font-size: 1.3em; }
    .news-card-title { font-size: 0.85em; }
    .news-card-content { font-size: 0.85em; }
}

/* === GALERIE SCREENSHOTS === */
.teaser-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.teaser-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.88em;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(145deg, #c47a2e 0%, #8B4513 55%, #6b300d 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.5),
        0 1px 0   rgba(255, 215, 0, 0.25) inset,
        0 -2px 0  rgba(0, 0, 0, 0.35)     inset;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.teaser-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left .45s ease;
}

.teaser-btn-primary:hover {
    background: linear-gradient(145deg, #d4893e 0%, #9a5020 55%, #7a3810 100%);
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow:
        0 8px 28px rgba(139, 69, 19, 0.7),
        0 0   20px rgba(255, 215, 0, 0.2),
        0 1px 0   rgba(255, 215, 0, 0.3) inset,
        0 -2px 0  rgba(0, 0, 0, 0.35)   inset;
    transform: translateY(-3px);
}

.teaser-btn-primary:hover::before { left: 120%; }

.teaser-btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 0 rgba(255,215,0,0.15) inset;
}

.teaser-btn-secondary {
    display: inline-flex;
    align-items: center;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.88em;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 4px;
    background: transparent;
    color: rgba(232, 220, 196, 0.85);
    border: 1px solid rgba(224, 178, 108, 0.72);
    transition: border-color .18s, color .18s, transform .18s, box-shadow .18s;
}

.teaser-btn-secondary:hover {
    border-color: rgba(255, 215, 0, 0.6);
    color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
}

.teaser-btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 600px) {
    .login-teaser { min-height: 360px; }
    .teaser-content { padding: 36px 20px; }
    .teaser-actions { flex-direction: column; align-items: center; }
    .teaser-btn-primary,
    .teaser-btn-secondary { width: 220px; text-align: center; }
}

/* === GALERIE SCREENSHOTS === */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0 26px;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(224, 178, 108, 0.55);
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.88);
}

.screenshot-item:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* Légende au hover */
.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    font-family: 'Cinzel', serif;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.85);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.screenshot-item:hover .screenshot-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Trait doré fin sur le bord haut au hover */
.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.screenshot-item:hover::before {
    opacity: 1;
}

@media (max-width: 600px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* === USER PANEL (connecté) === */
.user-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.user-panel-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-panel-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

/* Ligne nom + statères côte à côte */
.user-panel-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.user-panel-name {
    font-family: 'Cinzel', serif;
    font-size: 0.92em;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.88);
    letter-spacing: 0.5px;
}

/* Statères inline (à côté du nom) */
.user-panel-wallet-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.78em;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.6);
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 2px;
    padding: 2px 7px;
}

.user-panel-wallet-sym {
    color: #FFD700;
    filter: drop-shadow(0 0 4px rgba(255,215,0,0.4));
    font-size: 0.9em;
}

.user-panel-stats {
    font-size: 0.72em;
    color: rgba(232, 213, 163, 0.45);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.user-panel-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Mobile : panel centré */
@media (max-width: 1024px) {
    .user-panel { align-items: center; width: 100%; }
    .user-panel-info { text-align: center; }
    .user-panel-name-row { justify-content: center; }
    .user-panel-actions { justify-content: center; }
}

/* === LÉGENDE CARTE === */
.map-legend-strip {
    justify-content: center;
    gap: 0;
    padding: 14px 30px;
}

.legend-label {
    font-family: 'Cinzel', serif;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(224, 178, 108, 0.85);
    align-self: center;
    padding-right: 4px;
}

/* Avatar lien profil */
a.user-avatar {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255,215,0,0.5));
    transform: scale(1.08);
}
/**
 * Worlds — sélection de territoires
 */

/* ── Section ── */
/* ══════════════════════════════════════════════════════════════
   LAYOUT HUB — Sidebar + Zone principale
══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   LAYOUT PAGE — colonne principale + vigie droite
══════════════════════════════════════════════════════════════ */

.page-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px;
    gap: 32px;
    box-sizing: border-box;
}

/* ── Colonne principale ── */
.page-main {
    flex: 1;
    min-width: 0;
}

/* ── Accordéon : pleine largeur dans page-main ── */
.accordion-wrapper { width: 100%; }

/* ── Section territoires ── */
.worlds-section {
    margin-top: 32px;
}

.worlds-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.worlds-title {
    font-family: 'Cinzel', serif;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.72);
    margin-bottom: 18px;
    text-shadow: 0 0 16px rgba(255,215,0,0.2);
}

/* ── Vigie : colonne droite sticky ── */
.page-vigie {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,111,71,0.3) transparent;
    padding-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .page-vigie { width: 320px; }
}

@media (max-width: 860px) {
    .page-layout {
        flex-direction: column;
        padding: 0 14px 40px;
        gap: 0;
    }
    .page-vigie {
        width: 100%;
        position: static;
        max-height: none;
        margin-top: 24px;
    }
}

/* ══════════════════════════════════════════════════════════════
   LA VIGIE
══════════════════════════════════════════════════════════════ */

.vigie-section {
    width: 100%;
    margin-top: 0;
    background: rgba(5, 2, 1, 0.82);
    border: 1px solid rgba(139, 111, 71, 0.22);
    border-top: 2px solid rgba(180, 40, 40, 0.6);
    border-radius: 3px;
    overflow: hidden;
}

.vigie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px 16px;
    border-bottom: 1px solid rgba(139,111,71,0.12);
    background: rgba(120, 20, 20, 0.08);
}

.vigie-header-left { display: flex; align-items: center; gap: 14px; }

.vigie-pulse-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229,57,53,0.2);
    animation: vigiePulse 1.5s infinite;
    flex-shrink: 0;
}
@keyframes vigiePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(229,57,53,0.2); }
    50%       { box-shadow: 0 0 0 7px rgba(229,57,53,0.05); }
}

.vigie-title {
    font-family: 'Cinzel', serif;
    font-size: 1em; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,215,0,0.88);
    margin: 0 0 2px;
}

.vigie-subtitle {
    font-size: 0.72em;
    color: rgba(224,178,108,0.4);
    letter-spacing: 0.5px;
    margin: 0;
}

.vigie-live-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.62em; font-weight: 700;
    letter-spacing: 2px;
    color: #e53935;
    border: 1px solid rgba(229,57,53,0.4);
    padding: 4px 10px;
    border-radius: 2px;
    background: rgba(229,57,53,0.08);
    animation: liveFade 2s infinite;
}
@keyframes liveFade {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* Monde BR dans la vigie */
.vigie-world { padding: 20px 22px 24px; }

.vigie-world-name {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 0.85em; font-weight: 700;
    color: rgba(232,220,196,0.7);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 18px;
}

.vigie-phase-badge {
    font-size: 0.75em; font-weight: 600;
    color: rgba(255,140,80,0.85);
    border: 1px solid rgba(255,140,80,0.25);
    padding: 2px 10px; border-radius: 2px;
    background: rgba(255,140,80,0.07);
    letter-spacing: 1px;
}

/* Métriques */
.vigie-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(139,111,71,0.1);
    border: 1px solid rgba(139,111,71,0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.vigie-metric {
    display: flex; flex-direction: column; align-items: center;
    padding: 14px 10px;
    background: rgba(5,2,1,0.6);
    gap: 4px;
}
.vigie-metric--danger .vigie-metric-val { color: rgba(229,115,115,0.9); }

.vigie-metric-val {
    font-family: 'Cinzel', serif;
    font-size: 1.3em; font-weight: 700;
    color: rgba(255,215,0,0.85);
    line-height: 1;
}

.vigie-metric-label {
    font-size: 0.62em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(224,178,108,0.4);
}

/* Barre de survie */
.vigie-survival-bar-wrap { margin-bottom: 20px; }
.vigie-survival-bar {
    height: 4px;
    background: rgba(229,57,53,0.25);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}
.vigie-survival-fill {
    height: 100%;
    background: linear-gradient(90deg, #e53935, #4CAF50);
    border-radius: 2px;
    transition: width 1s ease;
}
.vigie-survival-label {
    font-size: 0.72em;
    color: rgba(224,178,108,0.45);
    font-style: italic;
}

/* Classement masqué */
.vigie-ranking {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(139,111,71,0.12);
    border-radius: 3px;
    padding: 14px 16px;
}

.vigie-ranking-title {
    font-family: 'Cinzel', serif;
    font-size: 0.72em; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(224,178,108,0.6);
    margin-bottom: 12px;
}

.vigie-ranking-notice {
    font-family: inherit;
    font-size: 0.85em; font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(224,178,108,0.3);
    text-transform: none;
}

.vigie-rank-row {
    display: flex; align-items: center; gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(139,111,71,0.08);
    font-size: 0.85em;
}
.vigie-rank-row:last-of-type { border-bottom: none; }

.vigie-rank-first .vigie-rank-num { color: rgba(255,215,0,0.8); }

.vigie-rank-num {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1em; color: rgba(224,178,108,0.4);
    width: 18px; flex-shrink: 0; text-align: center;
}

.vigie-rank-name {
    flex: 1;
    color: rgba(80,70,60,0.9);
    letter-spacing: 3px;
    font-size: 0.9em;
    filter: blur(0.5px);
    user-select: none;
}

.vigie-rank-villages {
    color: rgba(224,178,108,0.25);
    font-size: 0.78em;
    letter-spacing: 0.5px;
}

.vigie-rank-score {
    font-family: 'Cinzel', serif; font-weight: 600;
    color: rgba(224,178,108,0.2);
    font-size: 0.82em;
    width: 60px; text-align: right;
}

.vigie-ranking-hint {
    font-size: 0.7em;
    color: rgba(224,178,108,0.25);
    font-style: italic;
    text-align: center;
    margin: 10px 0 0;
}


/* ══════════════════════════════════════════════════════════════
   CARTES MONDE
══════════════════════════════════════════════════════════════ */

.world-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(8, 5, 2, 0.82);
    border: 1px solid rgba(139, 111, 71, 0.25);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color .22s, box-shadow .22s, transform .22s;
    scroll-margin-top: 24px;
}

.world-card::before {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
}
.world-card.online::before      { background: linear-gradient(90deg, transparent 5%, #4CAF50 40%, #81c784 60%, transparent 95%); }
.world-card.maintenance::before { background: linear-gradient(90deg, transparent 5%, #FF9800 40%, #ffb74d 60%, transparent 95%); }
.world-card.offline::before     { background: rgba(80,80,80,0.35); }
.world-card.battle-royale::before { background: linear-gradient(90deg, #8B1A1A, #c0392b, #8B1A1A); }

.world-card:hover {
    border-color: rgba(224, 178, 108, 0.65);
    box-shadow: 0 0 0 1px rgba(224,178,108,0.1), 0 10px 32px rgba(0,0,0,0.6);
    transform: translateY(-1px);
}

.wc-body { padding: 18px 20px 14px; }

.wc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.wc-name-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.wc-code {
    font-family: 'Cinzel', serif;
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(224, 178, 108, 0.45);
}

.wc-name {
    font-family: 'Cinzel', serif;
    font-size: 1.05em;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.9);
    margin: 0;
}

.wc-type-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.6em;
    letter-spacing: 1.5px;
    color: rgba(200, 80, 80, 0.75);
    border: 1px solid rgba(200,80,80,0.25);
    padding: 2px 8px;
    border-radius: 2px;
    white-space: nowrap;
    align-self: center;
}

/* Badges statut */
.wc-badge-inline {
    font-family: 'Cinzel', serif;
    font-size: 0.55em;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 2px;
    border: 1px solid;
    white-space: nowrap;
}
.wc-badge-inline.online      { background: rgba(76,175,80,0.12);  color: #81c784; border-color: rgba(76,175,80,0.3); }
.wc-badge-inline.maintenance { background: rgba(255,152,0,0.12);  color: #ffb74d; border-color: rgba(255,152,0,0.3); }
.wc-badge-inline.offline     { background: rgba(80,80,80,0.12);   color: #888;    border-color: rgba(80,80,80,0.3); }
.wc-badge-inline.br-open     { background: rgba(76,175,80,0.15);  color: #81c784; border-color: rgba(76,175,80,0.35); }

/* Stats monde classique */
.wc-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.wc-stat { display: flex; flex-direction: column; gap: 2px; }

.wc-stat-label {
    font-size: 0.62em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(224,178,108,0.45);
}

.wc-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 0.88em;
    font-weight: 600;
    color: rgba(232,220,196,0.88);
}

/* Barre remplissage */
.wc-players { margin-top: 8px; }
.wc-players-track {
    height: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}
.wc-players-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81c784);
    border-radius: 2px;
}
.wc-players-label {
    font-size: 0.67em;
    color: rgba(224,178,108,0.4);
    letter-spacing: 1px;
}

/* Infos BR */
.wc-br-info { display: flex; flex-direction: column; gap: 7px; padding: 8px 0 4px; }
.wc-br-date { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8em; }
.wc-br-date-label { color: rgba(224,178,108,0.45); }
.wc-br-date-val   { font-family: 'Cinzel', serif; font-weight: 600; color: rgba(255,215,0,0.75); }
.wc-br-date-deadline { color: rgba(255,140,100,0.85) !important; }
.wc-br-mystatus   { margin-top: 4px; }
.wc-br-mystatuspill {
    display: inline-block;
    font-family: 'Cinzel', serif; font-size: 0.68em; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 2px;
}
.wc-br-mystatuspill.pending   { background: rgba(255,152,0,0.12);  color: #ffb74d; border: 1px solid rgba(255,152,0,0.3); }
.wc-br-mystatuspill.confirmed { background: rgba(76,175,80,0.12);  color: #81c784; border: 1px solid rgba(76,175,80,0.3); }
.wc-br-mystatuspill.playing   { background: rgba(33,150,243,0.12); color: #64b5f6; border: 1px solid rgba(33,150,243,0.3); }

/* CTA Entrer */
.world-card .btn-enter {
    display: block; width: 100%;
    padding: 13px 0;
    background: linear-gradient(135deg, rgba(139,111,71,0.25), rgba(100,70,40,0.2));
    border: none; border-top: 1px solid rgba(139,111,71,0.3);
    color: rgba(224,178,108,0.92);
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 0.78em; letter-spacing: 2.5px; text-transform: uppercase;
    text-align: center; text-decoration: none;
    cursor: pointer; transition: background .2s, color .2s;
}
.world-card .btn-enter:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(205,133,63,0.1));
    color: #FFD700;
}
.world-card .btn-enter.disabled {
    opacity: 0.35; cursor: not-allowed; pointer-events: none;
}
.btn-enter.btn-register {
    background: linear-gradient(135deg, rgba(140,20,20,0.8), rgba(90,10,10,0.7));
    border-color: rgba(200,60,60,0.35);
    color: rgba(255,200,200,0.9);
}
.btn-enter.btn-register:hover {
    background: linear-gradient(135deg, rgba(180,30,30,0.9), rgba(110,15,15,0.8));
    color: #fff;
}
