/* ============================================================
   IronSide RP — Site Web
   Dark + Gold Premium Theme
   ============================================================ */

:root {
    --bg: #0a0c12;
    --bg2: #0e1018;
    --bg3: #12141e;
    --gold: #d4a843;
    --gold-bright: #f5c842;
    --gold-dim: rgba(212,168,67,0.12);
    --gold-glow: rgba(212,168,67,0.08);
    --text: #e8e8f0;
    --text-dim: #8a8fa0;
    --text-muted: #4a4f60;
    --border: rgba(212,168,67,0.12);
    --red: #ef4444;
    --green: #22c55e;
    --blue: #5865F2;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.gold { color: var(--gold-bright); }

/* ── Particles ─────────────────────────────── */
#particles {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(212,168,67,0.25);
    border-radius: 50%;
    animation: float linear infinite;
}
@keyframes float {
    0% { transform: translateY(100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) translateX(20px); opacity: 0; }
}

/* ── Nav ──────────────────────��────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,12,18,0.85);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
}
.nav-logo-img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: var(--text-dim); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-btn-discord {
    background: rgba(88,101,242,0.15) !important;
    border: 1px solid rgba(88,101,242,0.3) !important;
    color: #5865F2 !important;
    padding: 8px 18px !important; border-radius: 8px !important;
}
.nav-btn-discord:hover { background: rgba(88,101,242,0.25) !important; }
.nav-btn-play {
    background: linear-gradient(135deg, var(--gold), #e6a800) !important;
    color: #000 !important; font-weight: 700 !important;
    padding: 8px 22px !important; border-radius: 8px !important;
}
.nav-btn-play:hover { filter: brightness(1.1); }

/* ── Hero ─────────────────────────���────────── */
#hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative; z-index: 1;
    background: radial-gradient(ellipse at 50% 30%, rgba(212,168,67,0.04) 0%, transparent 60%);
}
.hero-logo {
    width: 200px; margin-bottom: 24px;
    filter: drop-shadow(0 0 40px rgba(212,168,67,0.3));
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%,100% { filter: drop-shadow(0 0 30px rgba(212,168,67,0.2)); }
    50% { filter: drop-shadow(0 0 60px rgba(212,168,67,0.4)); }
}
.hero-content h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 72px; font-weight: 700;
    letter-spacing: 12px; line-height: 1;
    margin-bottom: 12px;
}
.hero-sub {
    font-size: 16px; color: var(--text-dim);
    letter-spacing: 2px; margin-bottom: 16px;
}
.hero-desc {
    font-size: 15px; color: var(--text-muted);
    max-width: 550px; margin: 0 auto 32px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; margin-bottom: 48px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
    cursor: pointer; border: none;
}
.btn-discord {
    background: rgba(88,101,242,0.15); border: 1px solid rgba(88,101,242,0.3);
    color: #8b9df7;
}
.btn-discord:hover { background: rgba(88,101,242,0.25); }
.btn-shop {
    background: var(--gold-dim); border: 1px solid rgba(212,168,67,0.3);
    color: var(--gold-bright);
}
.btn-shop:hover { background: rgba(212,168,67,0.2); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

.hero-stats {
    display: flex; gap: 48px; justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px; font-weight: 700; color: var(--gold-bright);
}
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

/* ── Sections ───────────────────────��──────── */
section { padding: 80px 24px; position: relative; z-index: 1; }
section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 40px; font-weight: 700;
    text-align: center; letter-spacing: 4px;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center; color: var(--text-dim);
    font-size: 15px; margin-bottom: 48px;
}

/* ── Features Grid ────────────────────���────── */
.features-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 14px; padding: 28px 22px;
    text-align: center; transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--gold-glow);
}
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px; font-weight: 700; color: var(--gold-bright);
    margin-bottom: 8px; letter-spacing: 1px;
}
.feature-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ── Jobs Grid ─────────────────────────────── */
.jobs-grid {
    max-width: 800px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.job-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 18px 12px; border-radius: 12px;
    background: var(--bg2); border: 1px solid var(--border);
    font-size: 13px; font-weight: 600; color: var(--text-dim);
    transition: all 0.2s;
}
.job-card:hover { border-color: rgba(212,168,67,0.3); transform: translateY(-2px); }
.job-card.legal:hover { border-color: rgba(34,197,94,0.4); }
.job-card.illegal:hover { border-color: rgba(239,68,68,0.4); }
.job-icon { font-size: 28px; }

/* ── Rules ──────────────────────────────────── */
.rules-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rule {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; background: var(--bg2);
    border: 1px solid var(--border); border-radius: 12px;
}
.rule-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px; font-weight: 700; color: var(--gold-bright);
    flex-shrink: 0; width: 40px;
}
.rule h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.rule p { font-size: 13px; color: var(--text-dim); }

/* ── CTA ────────────────────────────��──────── */
#cta {
    text-align: center; padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(212,168,67,0.04) 0%, transparent 60%);
}
#cta p { color: var(--text-dim); margin-bottom: 28px; font-size: 15px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; }

/* ── Footer ────────────────────────────────── */
footer {
    text-align: center; padding: 40px 24px;
    border-top: 1px solid var(--border);
}
.footer-logo { width: 80px; margin-bottom: 12px; opacity: 0.4; }
footer p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.footer-links { display: flex; gap: 20px; justify-content: center; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--gold-bright); }

/* ── Responsive ─────────────────────────���──── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content h1 { font-size: 48px; letter-spacing: 6px; }
    .hero-stats { gap: 24px; }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 36px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .nav-links a:not(.nav-btn-play) { display: none; }
}

/* ── Boutique — shared utilities ────────────────────────── */
/* These complement boutique.html's inline <style> block */

/* Ensure nav-btn-play always renders dark text on gold */
.nav-btn-play {
    color: #000 !important;
}

/* Page-level page-header shared across reglement/staff/boutique */
.page-header {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative; z-index: 1;
}
.page-header h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 52px; font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 12px;
}
