/* ==========================================================================
   🎨 COMPOSANTS VISUELS & PALETTE (KlynRP DESIGN)
   ========================================================================== */
:root {
    --pink-neon: #ff2d8f;
    --pink-glow: rgba(255, 45, 143, 0.4);
    --pink-dark: #8a1a4d;
    --bg-dark: #050505;
    --card-bg: rgba(15, 15, 15, 0.9);
    --border-color: rgba(255, 45, 143, 0.2);
    --transition-fast: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #250b18 0%, #050505 100%);
    z-index: -2;
}

/* NAVBAR STRUCTURE */
header { display: flex; justify-content: center; padding: 25px 20px; width: 100%; }

.navbar {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid var(--border-color);
    padding: 10px 30px;
    border-radius: 15px;
    display: flex; gap: 25px; align-items: center;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    text-decoration: none; color: #888888; font-weight: 700; font-size: 15px;
    letter-spacing: 0.5px; transition: var(--transition-fast);
    display: flex; align-items: center; gap: 6px;
}

.nav-link.active, .nav-link:hover { 
    color: var(--pink-neon); text-shadow: 0 0 10px var(--pink-glow);
}

.btn-discord-pill {
    background: var(--pink-neon); color: #ffffff; padding: 8px 22px;
    border-radius: 50px; text-decoration: none; font-weight: 900; font-size: 14px;
    box-shadow: 0 0 15px var(--pink-neon); transition: var(--transition-fast);
}
.btn-discord-pill:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--pink-neon); }

/* HERO DESIGN (ACCUEIL) */
.hero { max-width: 1000px; margin: 0 auto auto auto; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }

.logo-area { position: relative; width: 180px; height: 180px; margin: 40px auto 25px auto; }
.neon-circle {
    position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--pink-neon); 
    box-shadow: 0 0 25px var(--pink-neon), inset 0 0 15px var(--pink-neon); animation: ringGlowPulse 2.5s infinite ease-in-out;
}
.logo-round { position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-radius: 50%; overflow: hidden; background: #111111; }
.logo-round img { width: 100%; height: 100%; object-fit: cover; }
.klyn-tag {
    position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    background: #12050b; padding: 3px 14px; border-radius: 10px; border: 1px solid var(--pink-neon); 
    font-size: 11px; font-weight: 900; color: var(--pink-neon); letter-spacing: 1px;
}

.welcome-text { font-family: 'Orbitron', sans-serif; font-size: 45px; text-align: center; margin: 25px 0; text-shadow: 0 0 20px rgba(255, 45, 143, 0.4); letter-spacing: 1px; }

/* STATISTICS CARDS */
.stats-grid { display: flex; justify-content: center; gap: 15px; margin: 35px 0; width: 100%; max-width: 750px; }
.stat-card { background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 28px; border-radius: 10px; text-align: center; flex: 1; min-width: 140px; }
.stat-card strong { display: block; font-size: 24px; font-weight: 900; color: #ffffff; }
.stat-card span { display: block; font-size: 11px; color: #666666; text-transform: uppercase; margin-top: 4px; font-weight: 700; letter-spacing: 0.5px; }
.stat-card.online strong { color: #2dfa73; text-shadow: 0 0 12px rgba(45, 250, 115, 0.6); }

/* BUTTONS */
.cta-group { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.btn-main {
    background: var(--pink-neon); color: #ffffff; padding: 15px 35px; border-radius: 8px;
    text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(255, 45, 143, 0.4); transition: var(--transition-fast); border: none; cursor: pointer;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--pink-neon); }

.btn-alt { border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; padding: 15px 35px; border-radius: 8px; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; transition: var(--transition-fast); }
.btn-alt:hover { background: #ffffff; color: #000000; transform: translateY(-2px); }

/* CONTENEURS TEXTES APPARENTS */
.container-reglement { max-width: 900px; margin: 30px auto 60px auto; padding: 0 20px; width: 100%; }
.reglement-header { text-align: center; margin-bottom: 40px; }
.reglement-header h1 { font-family: 'Orbitron', sans-serif; font-size: 40px; margin-top: 10px; text-shadow: 0 0 15px var(--pink-glow); }
.reglement-header p { color: #aaaaaa; font-size: 15px; margin-top: 8px; }
.icon-file { font-size: 55px; line-height: 1; }

.alert-box { background: rgba(255, 45, 143, 0.03); border: 1px solid rgba(255, 45, 143, 0.3); border-radius: 12px; padding: 22px; display: flex; gap: 20px; align-items: center; margin-bottom: 35px; }
.warning-icon { font-size: 32px; color: #f1c40f; text-shadow: 0 0 10px rgba(241, 196, 15, 0.4); }
.alert-box h3 { color: var(--pink-neon); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.alert-box p { color: #cccccc; font-size: 14px; line-height: 1.5; }

/* ONGLET SYSTEM & CONTENUS */
.tabs-navigation { display: flex; justify-content: center; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
.tab-btn { background: #141414; border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; padding: 12px 28px; border-radius: 50px; cursor: pointer; font-weight: 700; font-size: 14px; transition: var(--transition-fast); }
.tab-btn.active { background: var(--pink-neon); border-color: var(--pink-neon); box-shadow: 0 0 15px var(--pink-neon); }
.tab-btn:hover:not(.active) { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.2); }

.tab-body { background: #0f0f0f; padding: 35px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.03); display: none; }
.tab-body.active { display: block; animation: tabFadeIn 0.4s ease forwards; }
.tab-body h2 { font-size: 22px; color: var(--pink-neon); margin-bottom: 20px; border-left: 3px solid var(--pink-neon); padding-left: 12px; }
.tab-body ul { list-style: none; }
.tab-body ul li { margin-bottom: 18px; color: #dddddd; border-bottom: 1px solid rgba(255, 255, 255, 0.03); padding-bottom: 12px; font-size: 15px; line-height: 1.6; }
.tab-body ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tab-body ul li::before { content: "• "; color: var(--pink-neon); font-weight: bold; font-size: 18px; margin-right: 8px; vertical-align: middle; }

/* SYSTÈME FORMULAIRES ADMIN (TEXTAREAS & INPUTS) */
.admin-form-box { background: rgba(255, 255, 255, 0.01); border: 1px dashed rgba(255, 45, 143, 0.2); padding: 25px; border-radius: 10px; margin-top: 15px; }
.admin-form-box h3 { font-size: 15px; color: #ffffff; margin-bottom: 8px; margin-top: 15px; font-weight: 700; }
.admin-form-box h3:first-child { margin-top: 0; }

.admin-input-text {
    width: 100%; background: #111111; border: 1px solid rgba(255, 255, 255, 0.08); color: #ffffff;
    padding: 12px; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    margin-bottom: 15px; outline: none; transition: var(--transition-fast);
}

.admin-form-box textarea {
    width: 100%; background: #111111; border: 1px solid rgba(255, 255, 255, 0.08); color: #ffffff;
    padding: 15px; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 15px; line-height: 1.5;
    resize: vertical; outline: none; transition: var(--transition-fast);
}
.admin-input-text:focus, .admin-form-box textarea:focus { border-color: var(--pink-neon); box-shadow: 0 0 10px var(--pink-glow); }

/* KEYFRAMES ANIMATIONS */
@keyframes ringGlowPulse {
    0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 20px var(--pink-neon); }
    50% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 35px var(--pink-neon), inset 0 0 20px var(--pink-neon); }
    100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 20px var(--pink-neon); }
}
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* INTERFACE MOBILE RESPONSIVE */
@media (max-width: 768px) {
    header { padding: 15px 10px; }
    .navbar { flex-direction: column; width: 100%; gap: 15px; text-align: center; padding: 20px; }
    .stats-grid { flex-direction: column; width: 100%; align-items: center; }
    .stat-card { width: 100%; }
    .cta-group { flex-direction: column; width: 100%; gap: 10px; }
    .welcome-text { font-size: 32px; }
    .tabs-navigation { flex-direction: column; width: 100%; gap: 10px; }
    .tab-btn { width: 100%; text-align: center; }
    .tab-body { padding: 20px; }
}