body { font-family: 'Poppins', sans-serif; }

/* ── BREADCRUMB ── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.breadcrumb-nav a { color: #6c757d; text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #252F52; }
.breadcrumb-nav i.sep { font-size: 0.55rem; opacity: 0.4; }
.breadcrumb-nav .current { color: #252F52; font-weight: 600; }
[data-theme="dark"] .breadcrumb-nav a:hover  { color: #60a5fa; }
[data-theme="dark"] .breadcrumb-nav .current { color: #60a5fa; }

/* ── HERO ── */
.mod-hero {
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220,53,69,0.08);
    color: #b02a37;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}
[data-theme="dark"] .hero-badge {
    background: rgba(220,53,69,0.15);
    color: #f87171;
}
.mod-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #212529;
    line-height: 1.15;
    margin-bottom: 1rem;
}
[data-theme="dark"] .mod-hero h1 { color: #f1f5f9; }
.mod-hero .lead {
    font-size: 1rem;
    color: #6c757d;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── STATS STRIP ── */
.stats-strip {
    background: #fff5f5;
    border: 1px solid rgba(220,53,69,0.1);
    border-radius: 16px;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
}
[data-theme="dark"] .stats-strip {
    background: #1e1218;
    border-color: rgba(220,53,69,0.2);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #212529;
}
[data-theme="dark"] .stat-item { color: #f1f5f9; }
.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #dc3545;
    line-height: 1;
}
.stat-item i { color: #dc3545; }

/* ── SECTION LABEL ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.section-label h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #212529;
    white-space: nowrap;
}
[data-theme="dark"] .section-label h2 { color: #f1f5f9; }
.section-label::after { content: ''; flex: 1; height: 1px; background: #dee2e6; }
[data-theme="dark"] .section-label::after { background: #2d3748; }

/* ── MOD CARD ── */
.mod-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    border-left: 4px solid #dc3545;
    display: flex;
    flex-direction: column;
}
[data-theme="dark"] .mod-card {
    background: #161b2e;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(220,53,69,0.12);
}
.mod-card.c-warn   { border-left-color: #ffc107; }
.mod-card.c-ticket { border-left-color: #0dcaf0; }
.mod-card.c-role   { border-left-color: #6f42c1; }
.mod-card.c-safe   { border-left-color: #198754; }

.mod-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.mod-card:not([class*="c-"]) .mod-icon,
.mod-card.mod-featured .mod-icon { background: rgba(220,53,69,0.1); color: #dc3545; }
.mod-card.c-warn   .mod-icon { background: rgba(255,193,7,0.12);  color: #d49000; }
.mod-card.c-ticket .mod-icon { background: rgba(13,202,240,0.12); color: #099ab5; }
.mod-card.c-role   .mod-icon { background: rgba(111,66,193,0.12); color: #6f42c1; }
.mod-card.c-safe   .mod-icon { background: rgba(25,135,84,0.12);  color: #198754; }

.mod-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.35rem;
}
[data-theme="dark"] .mod-card h3 { color: #f1f5f9; }
.mod-desc {
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
[data-theme="dark"] .mod-desc { color: #94a3b8; }

.mod-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.mod-cmd {
    display: inline-block;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(220,53,69,0.08);
    color: #b02a37;
}
[data-theme="dark"] .mod-cmd {
    background: rgba(220,53,69,0.15);
    color: #f87171;
}
.mod-card.c-warn   .mod-cmd { background: rgba(255,193,7,0.1);   color: #997404; }
.mod-card.c-ticket .mod-cmd { background: rgba(13,202,240,0.1);  color: #099ab5; }
.mod-card.c-role   .mod-cmd { background: rgba(111,66,193,0.1);  color: #6f42c1; }
.mod-card.c-safe   .mod-cmd { background: rgba(25,135,84,0.1);   color: #198754; }
[data-theme="dark"] .mod-card.c-warn   .mod-cmd { background: rgba(255,193,7,0.12);  color: #fbbf24; }
[data-theme="dark"] .mod-card.c-ticket .mod-cmd { background: rgba(13,202,240,0.12); color: #22d3ee; }
[data-theme="dark"] .mod-card.c-role   .mod-cmd { background: rgba(111,66,193,0.12); color: #a78bfa; }
[data-theme="dark"] .mod-card.c-safe   .mod-cmd { background: rgba(25,135,84,0.12);  color: #34d399; }

/* ── FEATURED ── */
.mod-card.mod-featured {
    background: linear-gradient(135deg, #252F52 0%, #1a2040 100%);
    border-left-color: #dc3545;
    box-shadow: 0 8px 30px rgba(37,47,82,0.2);
}
.mod-card.mod-featured:hover { box-shadow: 0 16px 40px rgba(220,53,69,0.2); }
.mod-card.mod-featured h3    { color: #fff; }
.mod-card.mod-featured .mod-desc { color: rgba(255,255,255,0.6); }
.mod-card.mod-featured .mod-cmd {
    background: rgba(220,53,69,0.25);
    color: #fca5a5;
}

/* ── ALERTE INFO ── */
.mod-alert {
    background: #fff5f5;
    border-left: 4px solid #dc3545;
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.3rem;
    font-size: 0.85rem;
    color: #842029;
    margin-bottom: 3rem;
}
[data-theme="dark"] .mod-alert {
    background: rgba(220,53,69,0.08);
    color: #fca5a5;
}
.mod-alert.info {
    background: #f0f7ff;
    border-left-color: #252F52;
    color: #252F52;
}
[data-theme="dark"] .mod-alert.info {
    background: rgba(74,108,247,0.08);
    color: #93c5fd;
}

/* ── CTA ── */
.mod-cta {
    background: linear-gradient(135deg, #252F52 0%, #3a4a7a 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}
.mod-cta h3 {
    font-weight: 800;
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #ffffff 0%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.mod-cta p { opacity: 0.75; margin-bottom: 1.5rem; max-width: 440px; margin-left:auto; margin-right:auto; }
.btn-sky {
    background: white;
    color: #252F52;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-sky:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #252F52;
    text-decoration: none;
}