/* ==========================================================================
   FAUT FAIRE TOMBER RENA - MODERN DISCORD STYLED CSS
   ========================================================================== */

:root {
    --bg-base: #0c0d12;
    --bg-surface: #14151c;
    --bg-card: #191a24;
    --bg-card-hover: #1f202d;
    --bg-discord-chat: #2b2d31;
    --bg-discord-embed: #1e1f22;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(88, 101, 242, 0.4);

    --discord-blurple: #5865f2;
    --discord-blurple-hover: #4752c4;
    --discord-red: #ed4245;
    --discord-green: #57f287;
    --discord-yellow: #fee75c;
    --discord-gray: #4e5058;

    --text-primary: #f2f3f5;
    --text-secondary: #b5bac1;
    --text-muted: #80848e;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(88, 101, 242, 0.25);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Atmosphere */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--discord-blurple), transparent 70%);
    top: -150px;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--discord-red), transparent 70%);
    top: 30%;
    right: -100px;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 13, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(237, 66, 69, 0.15);
    border: 1px solid rgba(237, 66, 69, 0.4);
    color: var(--discord-red);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--discord-red);
    box-shadow: 0 0 10px var(--discord-red);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.brand-title {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, #c1c5cd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.45rem 0.85rem;
    gap: 0.5rem;
    width: 260px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--discord-blurple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--discord-red), #b21b20);
    color: #fff;
    box-shadow: 0 4px 18px rgba(237, 66, 69, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 66, 69, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-discord {
    background: var(--discord-blurple);
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: var(--discord-blurple-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, #f0b232, #d8890e);
    color: #0d0e15;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(240, 178, 50, 0.35);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 178, 50, 0.5);
    background: linear-gradient(135deg, #f7c355, #e5971a);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: rotate(30deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

/* Main Layout */
.main-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.badge-tag.alert {
    background: var(--discord-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.badge-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 50%, #ffa39e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(237, 66, 69, 0.4));
}

.hero-subtitle {
    max-width: 760px;
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-quick-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Filters & Category Tabs */
.filters-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
    background: var(--discord-blurple);
    color: #fff;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

/* Evidence Cards Grid */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.evidence-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.evidence-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.card-media-wrapper {
    position: relative;
    height: 220px;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.card-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.card-media-wrapper:hover img {
    transform: scale(1.04);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card-media-wrapper:hover .media-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

/* Video Wrapper */
.video-wrapper {
    height: 240px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Medal.tv Card */
.medal-card-cover {
    background: linear-gradient(135deg, #111424 0%, #1e1338 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* Audio Box inside evidence card */
.card-audio-box {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.audio-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff73fa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-audio-box audio {
    width: 100%;
    height: 38px;
    border-radius: var(--radius-sm);
    outline: none;
}

.medal-cover-content {
    padding: 1.5rem;
}

.medal-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.medal-play-btn {
    background: linear-gradient(135deg, #ff9900, #ff5500);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(255, 120, 0, 0.4);
    display: inline-block;
    transition: var(--transition);
}

.medal-play-btn:hover {
    transform: scale(1.05);
}

.medal-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-family: var(--font-mono);
}

/* Card Content */
.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.badge-danger {
    background: rgba(237, 66, 69, 0.15);
    color: var(--discord-red);
    border: 1px solid rgba(237, 66, 69, 0.3);
}

.badge-warning {
    background: rgba(254, 231, 92, 0.15);
    color: var(--discord-yellow);
    border: 1px solid rgba(254, 231, 92, 0.3);
}

.badge-success {
    background: rgba(87, 242, 135, 0.15);
    color: var(--discord-green);
    border: 1px solid rgba(87, 242, 135, 0.3);
}

.badge-discord {
    background: rgba(88, 101, 242, 0.15);
    color: #8ea1e1;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    color: #fff;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.file-name {
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}

.btn-download {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-link {
    color: var(--discord-blurple);
    text-decoration: none;
    font-weight: 700;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Brigades Section */
.brigades-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.section-badge {
    display: inline-block;
    color: var(--discord-blurple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.brigades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brigade-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.brigade-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.brigade-card.charlie { border-left: 4px solid var(--discord-blurple); }
.brigade-card.bravo { border-left: 4px solid var(--discord-red); }
.brigade-card.alpha { border-left: 4px solid var(--discord-green); }
.brigade-card.omega { border-left: 4px solid var(--discord-yellow); }

.brigade-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.brigade-icon {
    font-size: 1.5rem;
}

.brigade-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.brigade-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.member-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.member-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.member-role {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.member-item.leader .member-role { color: var(--discord-blurple); }
.member-item.toxic .member-role { color: var(--discord-red); }
.member-item.active .member-role { color: var(--discord-green); }

.member-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.member-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Discord Showcase Section */
.discord-showcase-section {
    margin-top: 6rem;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.discord-logo-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #8ea1e1;
}

.discord-svg {
    width: 28px;
    height: 28px;
}

/* Discord Chat UI Mockup */
.discord-chat-container {
    background: var(--bg-discord-chat);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.discord-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865f2, #eb459e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.discord-message-body {
    flex: 1;
}

.discord-user-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.user-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.user-badge.bot-badge {
    background: var(--discord-blurple);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.discord-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.highlight-lead {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.dsc-raw-lead {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.dsc-h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.25rem;
}

.dsc-line {
    font-size: 0.95rem;
    color: #dbdee1;
    padding: 0.15rem 0;
    line-height: 1.5;
}

.dsc-link {
    color: #00a8fc;
    text-decoration: none;
    word-break: break-all;
}

.dsc-link:hover {
    text-decoration: underline;
}

.dsc-separator {
    font-weight: 700;
    color: #4e5058;
    margin: 1.25rem 0;
    letter-spacing: 0.2em;
}

.dsc-p {
    font-size: 0.95rem;
    color: #dbdee1;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.dsc-ul {
    margin-left: 1.4rem;
    margin-bottom: 0.75rem;
    color: #dbdee1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.discord-embed {
    display: flex;
    background: var(--bg-discord-embed);
    border-radius: 4px;
    margin: 0.75rem 0;
    overflow: hidden;
    max-width: 600px;
}

.embed-border {
    width: 4px;
    flex-shrink: 0;
}

.embed-inner {
    padding: 0.75rem 1rem;
}

.embed-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.embed-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mention {
    background: rgba(88, 101, 242, 0.3);
    color: #c9cdfb;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

.divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

.discord-quote {
    border-left: 4px solid #4e5058;
    padding-left: 1rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.92rem;
}

.discord-bullet-list {
    margin-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.discord-spoiler {
    background: #202225;
    color: #202225;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.discord-spoiler.revealed, .discord-spoiler:hover {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
}

.final-punchline {
    background: rgba(237, 66, 69, 0.08);
    border: 1px solid rgba(237, 66, 69, 0.25);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    color: #ffcccc;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    background: #080808;
}

.lightbox-caption {
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.lightbox-caption h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: #fff;
}

.lightbox-caption p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

/* Le Pavé Dialog Modal */
.pave-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pave-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.pave-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.pave-dialog {
    position: relative;
    width: 95%;
    max-width: 780px;
    max-height: 88vh;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    animation: modalScale 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalScale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.pave-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dialog-title-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.icon-bubble {
    font-size: 1.5rem;
}

.pave-dialog-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.dialog-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.dialog-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.dialog-close:hover {
    color: #fff;
}

.pave-dialog-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-chat {
    box-shadow: none;
}

.pave-separator {
    color: var(--text-muted);
    font-weight: 700;
    margin: 1.2rem 0;
    letter-spacing: 0.2em;
}

.pave-prose {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pave-prose ul {
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-box-pave {
    background: rgba(237, 66, 69, 0.12);
    border-left: 4px solid var(--discord-red);
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    color: #ffdede;
}

.pave-dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--discord-blurple);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 3000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}

.footer-left p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-actions .search-box {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-nav {
        display: none;
    }
    .discord-chat-container {
        flex-direction: column;
    }
}

/* ==========================================================================
   MINECRAFT JAVA EDITION REGLEMENT SECTION STYLES
   ========================================================================== */

.btn-mc {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    border: 1px solid #4caf50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.35);
}

.btn-mc:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.reglement-section {
    margin-top: 5rem;
    padding: 2.5rem;
    background: #11131a;
    border: 1px solid rgba(85, 255, 85, 0.25);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 35px rgba(85, 255, 85, 0.08);
    position: relative;
    overflow: hidden;
}

.java-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(85, 255, 85, 0.12);
    border: 1px solid rgba(85, 255, 85, 0.4);
    color: #55ff55;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.06em;
    font-family: var(--font-mono);
}

.reglement-main-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    margin: 0.85rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.reglement-alert-box {
    display: flex;
    gap: 1.25rem;
    background: rgba(254, 231, 92, 0.08);
    border-left: 4px solid var(--discord-yellow);
    border-top: 1px solid rgba(254, 231, 92, 0.15);
    border-right: 1px solid rgba(254, 231, 92, 0.15);
    border-bottom: 1px solid rgba(254, 231, 92, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.reglement-alert-box .alert-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.reglement-alert-box .alert-text strong {
    color: #fff1a8;
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.reglement-alert-box .alert-text p {
    color: #dedede;
    font-size: 0.92rem;
    line-height: 1.55;
}

.java-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.java-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #181922;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    transition: var(--transition);
}

.java-search-box:focus-within {
    border-color: #55ff55;
    box-shadow: 0 0 15px rgba(85, 255, 85, 0.25);
    background: #1c1d27;
}

.java-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    width: 100%;
}

.java-cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.java-filter-btn {
    background: #1d1f29;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.java-filter-btn:hover {
    color: #fff;
    border-color: rgba(85, 255, 85, 0.4);
    background: #252836;
}

.java-filter-btn.active {
    background: #2e7d32;
    border-color: #55ff55;
    color: #fff;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.35);
}

.java-table-container {
    background: #14161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    max-height: 580px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.minecraft-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.minecraft-table thead {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0d0e14;
    border-bottom: 2px solid rgba(85, 255, 85, 0.35);
}

.minecraft-table th {
    padding: 0.9rem 1.1rem;
    color: #55ff55;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.minecraft-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.minecraft-table tbody tr:hover {
    background: rgba(85, 255, 85, 0.05);
}

.minecraft-table td {
    padding: 0.85rem 1.1rem;
    vertical-align: middle;
}

.art-badge {
    background: #1b1e28;
    border: 1px solid #55ffff;
    color: #55ffff;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
}

.reg-raison strong {
    color: #f0f2f5;
    font-weight: 600;
}

.sanction-tag {
    background: rgba(237, 66, 69, 0.12);
    border: 1px solid rgba(237, 66, 69, 0.3);
    color: #ff8587;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-block;
}

.duree-tag {
    background: rgba(254, 231, 92, 0.12);
    border: 1px solid rgba(254, 231, 92, 0.3);
    color: #ffe58f;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.table-stats-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.table-stats-footer strong {
    color: #fff;
}