@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════
   EXILIUM ONLINE — HOME PAGE STYLES
   Tema: Silkroad Online — Rota Antiga, Magia, Ouro e Sangue
   ═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   TOKENS DE DESIGN
   ────────────────────────────────────────────── */
:root {
    /* Ouro Metálico */
    --gold-100: #fff8e7;
    --gold-300: #f0c96b;
    --gold-500: #c9a227;
    --gold-700: #8a6d1a;
    --gold-900: #4a3a0a;

    /* Cores Base */
    --bg-void: #050407;
    --bg-deep: #08070a;
    --bg-panel: rgba(14, 12, 18, 0.94);

    /* Crimson para sangue e batalha */
    --crimson: #9b1a1a;
    --crimson-glow: rgba(155, 26, 26, 0.4);

    /* Tipografia */
    --ink: #e8e4d8;
    --ink-dim: #a09688;
    --ink-faint: #5a5248;

    /* Raio e Sombra */
    --radius: 12px;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* ──────────────────────────────────────────────
   BODY & FUNDO GLOBAL
   ────────────────────────────────────────────── */
body.theme-sro {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background-color: var(--bg-void);
    background-image:
        radial-gradient(ellipse 120% 60% at 50% 0%, rgba(155, 26, 26, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 80% 40% at 0% 100%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ──────────────────────────────────────────────
   HEADER REDESENHADO — ÉPICO
   ────────────────────────────────────────────── */
.site-header {
    background: rgba(5, 4, 7, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid transparent !important;
    position: relative !important;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gold-500) 20%,
            var(--gold-300) 50%,
            var(--gold-500) 80%,
            transparent 100%);
}

/* Brand Logo maior */
.brand-logo {
    height: 52px !important;
}

/* Nav Links — estilos no layout.css, aqui apenas override de glow */
.nav-link:hover {
    color: var(--gold-300) !important;
    text-shadow: 0 0 16px rgba(201, 162, 39, 0.55) !important;
}

/* ──────────────────────────────────────────────
   HERO SECTION — CINEMÁTICO COM VÍDEO
   ────────────────────────────────────────────── */
.hero-video-wrap {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Vídeo visível mas com contraste para o conteúdo sobreposto */
    filter: brightness(0.55) saturate(1.15);
    transform: scale(1.0);
    /* Zoom reduzido para mostrar mais do topo do vídeo */
}

/* Gradiente em cima do vídeo: topo escuro, meio limpo, base escura */
.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(5, 4, 7, 0.75) 0%,
            rgba(5, 4, 7, 0.1) 30%,
            rgba(5, 4, 7, 0.1) 70%,
            rgba(5, 4, 7, 0.95) 100%),
        radial-gradient(ellipse 70% 70% at 50% 50%,
            transparent 30%,
            rgba(5, 4, 7, 0.5) 100%);
    z-index: 1;
}

/* Partículas douradas flutuando (CSS only) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold-300);
    border-radius: 50%;
    opacity: 0;
    animation: drift var(--dur) var(--delay) infinite ease-in-out;
}

@keyframes drift {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(0);
    }

    15% {
        opacity: 0.6;
    }

    85% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) translateX(var(--drift));
    }
}

/* Conteúdo do Hero */
.hero-body {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 860px;
}

.hero-logo-main {
    max-width: 440px;
    width: 90%;
    filter:
        drop-shadow(0 0 40px rgba(201, 162, 39, 0.6)) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.9));
    animation: logo-float 7s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

@keyframes logo-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-500);
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.6);
    margin-bottom: 0.75rem;
    animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-headline {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg,
            var(--gold-100) 0%,
            var(--gold-300) 40%,
            var(--gold-500) 60%,
            var(--gold-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
    animation: fadeUp 1.4s 0.2s ease both;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(232, 228, 216, 0.8);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeUp 1.4s 0.4s ease both;
}

/* Botões da Hero */
.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1.4s 0.6s ease both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #0d0b06 !important;
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-700) 100%);
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.6);
    color: #0d0b06 !important;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    color: var(--gold-300) !important;
    background: rgba(201, 162, 39, 0.06);
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 4px;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-hero-outline:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: var(--gold-300);
    color: var(--gold-100) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.2);
}

/* Scroll Down Bounce */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(201, 162, 39, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ──────────────────────────────────────────────
   LAYOUT — SHELL & GRID
   ────────────────────────────────────────────── */

/* Expansão do page-shell para home */
.page-shell {
    max-width: 1320px !important;
    padding-top: 3rem !important;
}

/* ──────────────────────────────────────────────
   CARDS — PAINEL ORNAMENTAL
   ────────────────────────────────────────────── */
.sro-panel {
    background: linear-gradient(145deg, rgba(20, 16, 26, 0.98) 0%, rgba(12, 10, 16, 0.98) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Linha dourada no topo de cada card */
.sro-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-500) 30%, var(--gold-300) 50%, var(--gold-500) 70%, transparent 100%);
    opacity: 0.7;
}

.sro-panel:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-card), 0 0 30px rgba(201, 162, 39, 0.08);
}

/* Fundo com padrão sutil de escamas/seda */
.sro-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 30px,
            rgba(201, 162, 39, 0.012) 30px,
            rgba(201, 162, 39, 0.012) 31px);
    pointer-events: none;
    z-index: 0;
}

.sro-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    position: relative;
    z-index: 1;
}

.sro-panel-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
    border: 1px solid rgba(201, 162, 39, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    font-size: 1rem;
    flex-shrink: 0;
}

.sro-panel-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-300);
    margin: 0;
}

.sro-panel-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ──────────────────────────────────────────────
   CARD: WELCOME / ANUNCIO
   ────────────────────────────────────────────── */
.welcome-text p {
    line-height: 1.75;
    color: var(--ink-dim);
    margin-bottom: 1rem;
}

.welcome-text strong {
    color: var(--ink);
    font-weight: 600;
}

.feature-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

@media (max-width: 640px) {
    .feature-bullets {
        grid-template-columns: 1fr;
    }
}

.feature-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(201, 162, 39, 0.04);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-left: 3px solid var(--gold-500);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: background 0.2s;
}

.feature-bullet:hover {
    background: rgba(201, 162, 39, 0.08);
}

.feature-bullet i {
    color: var(--gold-500);
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-bullet-text strong {
    display: block;
    color: var(--ink);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.feature-bullet-text span {
    color: var(--ink-dim);
    font-size: 0.8rem;
}

/* ──────────────────────────────────────────────
   CARD: SERVER INFO
   ────────────────────────────────────────────── */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.server-info-cell {
    background: rgba(10, 8, 14, 0.95);
    padding: 1.25rem;
    text-align: center;
    transition: background 0.25s;
}

.server-info-cell:hover {
    background: rgba(201, 162, 39, 0.06);
}

.server-info-cell .cell-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ink-faint);
    margin-bottom: 0.4rem;
    font-family: 'Cinzel', serif;
}

.server-info-cell .cell-val {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-300);
}

.server-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 4, 7, 0.6);
    border: 1px solid rgba(20, 220, 80, 0.25);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
}

.status-live-dot {
    width: 10px;
    height: 10px;
    background: #14dc50;
    border-radius: 50%;
    box-shadow: 0 0 8px #14dc50, 0 0 16px rgba(20, 220, 80, 0.4);
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

.status-online-count {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #14dc50;
    line-height: 1;
}

.status-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-faint);
    font-family: 'Cinzel', serif;
}

/* ──────────────────────────────────────────────
   CARD: EVENTOS
   ────────────────────────────────────────────── */
.event-table {
    width: 100%;
    border-collapse: collapse;
}

.event-table th {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ink-faint);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    text-align: left;
    font-weight: 600;
}

.event-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    font-size: 0.9rem;
    color: var(--ink-dim);
}

.event-table tr:hover td {
    background: rgba(201, 162, 39, 0.03);
    color: var(--ink);
}

.event-running-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(20, 220, 80, 0.12);
    border: 1px solid rgba(20, 220, 80, 0.35);
    color: #14dc50;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-running-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #14dc50;
    border-radius: 50%;
    box-shadow: 0 0 6px #14dc50;
    animation: livePulse 1.5s infinite;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   CARD: VÍDEOS
   ────────────────────────────────────────────── */
.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.15);
    background: #0a0808;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ──────────────────────────────────────────────
   SIDEBAR: CARDS MENORES
   ────────────────────────────────────────────── */
.sidebar-column .sro-panel {
    margin-bottom: 1.25rem;
}

/* Ranking */
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.rank-row:hover {
    background: rgba(201, 162, 39, 0.04);
}

.rank-pos {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 900;
    width: 28px;
    flex-shrink: 0;
    color: var(--ink-faint);
    text-align: center;
}

.rank-row.top-1 .rank-pos {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.rank-row.top-2 .rank-pos {
    color: #C0C0C0;
}

.rank-row.top-3 .rank-pos {
    color: #CD7F32;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-name {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-guild {
    display: block;
    font-size: 0.75rem;
    color: var(--gold-700);
}

.rank-pts {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-500);
    white-space: nowrap;
}

/* Chat Global */
.chat-feed {
    display: flex;
    flex-direction: column;
}

.chat-entry {
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    padding: 3px;
    flex-shrink: 0;
    object-fit: contain;
}

.chat-body {
    flex: 1;
    min-width: 0;
}

.chat-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.2rem;
}

.chat-player {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-500);
}

.chat-time {
    font-size: 0.7rem;
    color: var(--ink-faint);
}

.chat-msg {
    font-size: 0.82rem;
    color: var(--ink-dim);
    line-height: 1.4;
    word-break: break-word;
}

/* Kills */
.kills-feed {
    display: flex;
    flex-direction: column;
}

.kill-entry {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.kill-entry:hover {
    background: rgba(155, 26, 26, 0.05);
}

.kill-boss {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e05252;
    text-shadow: 0 0 10px rgba(155, 26, 26, 0.4);
    margin-bottom: 0.25rem;
}

.kill-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kill-hunter {
    font-size: 0.82rem;
    color: var(--ink-dim);
}

.kill-hunter .hunter-name {
    color: var(--gold-500);
    font-weight: 600;
}

.kill-time {
    font-size: 0.7rem;
    color: var(--ink-faint);
}

/* Discord Card */
.discord-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(14, 12, 18, 0.98) 100%) !important;
    border-color: rgba(88, 101, 242, 0.3) !important;
    text-align: center;
}

.discord-card .sro-panel-body {
    padding: 1.25rem;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.discord-logo {
    font-size: 2.2rem;
    color: #5865f2;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}

.discord-server-name {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.discord-status {
    font-size: 0.75rem;
    color: var(--ink-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.online-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #23a559;
    position: relative;
}

.online-indicator::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid #23a559;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.discord-members-list {
    height: 320px;
    /* Increased height to better show members */
    overflow-y: auto;
    margin-bottom: 1.25rem;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Scrollbar Customization */
.discord-members-list::-webkit-scrollbar {
    width: 4px;
}

.discord-members-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.discord-members-list::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.3);
    border-radius: 10px;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.member-item:hover {
    background: rgba(88, 101, 242, 0.08);
    border-color: rgba(88, 101, 242, 0.2);
    transform: translateX(4px);
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 162, 39, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.member-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--ink-dim);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.status-online {
    background: #23a559;
    box-shadow: 0 0 6px #23a559;
}

.status-dot.status-idle {
    background: #f0b232;
}

.status-dot.status-dnd {
    background: #f23f43;
}

.status-dot.status-offline {
    background: #747f8d;
}

.loading-members {
    display: flex;
    height: 100%;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    color: var(--ink-faint);
    font-size: 0.85rem;
}

.shimmer-text {
    background: linear-gradient(90deg, var(--ink-dim) 0%, #fff 50%, var(--ink-dim) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #5865f2;
    color: #fff !important;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* ──────────────────────────────────────────────
   PARTICLES (posicionamento)
   ────────────────────────────────────────────── */
.p1 {
    left: 10%;
    --dur: 12s;
    --delay: 0s;
    --drift: 20px;
    width: 2px;
    height: 2px;
}

.p2 {
    left: 25%;
    --dur: 18s;
    --delay: 2s;
    --drift: -30px;
    width: 1px;
    height: 1px;
}

.p3 {
    left: 40%;
    --dur: 14s;
    --delay: 4s;
    --drift: 15px;
    width: 3px;
    height: 3px;
}

.p4 {
    left: 55%;
    --dur: 16s;
    --delay: 1s;
    --drift: -20px;
    width: 1px;
    height: 1px;
}

.p5 {
    left: 70%;
    --dur: 20s;
    --delay: 6s;
    --drift: 25px;
    width: 2px;
    height: 2px;
}

.p6 {
    left: 80%;
    --dur: 11s;
    --delay: 3s;
    --drift: -15px;
    width: 1px;
    height: 1px;
}

.p7 {
    left: 92%;
    --dur: 15s;
    --delay: 5s;
    --drift: -22px;
    width: 2px;
    height: 2px;
}

.p8 {
    left: 15%;
    --dur: 22s;
    --delay: 8s;
    --drift: 10px;
    width: 1px;
    height: 1px;
}

.p9 {
    left: 60%;
    --dur: 13s;
    --delay: 7s;
    --drift: -18px;
    width: 3px;
    height: 3px;
}

.p10 {
    left: 35%;
    --dur: 17s;
    --delay: 9s;
    --drift: 28px;
    width: 1px;
    height: 1px;
}


/* ══════════════════════════════════════════════════
   EXILIUM JOURNEY — S-SNAKE TIMELINE
   ══════════════════════════════════════════════════ */

.journey-intro {
    color: var(--ink-dim);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1rem;
    text-align: center;
    font-style: italic;
    position: relative;
    padding-bottom: 1.5rem;
}

.journey-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* ── Timeline container ── */
.journey-timeline {
    position: relative;
    user-select: none;
}

/* ── Horizontal wave (row of 3 nodes) ── */
.journey-wave {
    display: flex;
    gap: 1.25rem;
    position: relative;
    align-items: flex-start;
}

/* O path do fio dourado é desenhado via SVG/JS em journey.js */

/* RTL wave — reverses the flex direction for the S-path */
.wave-rtl {
    flex-direction: row-reverse;
}

/* ── Between-wave bend: apenas espaçador vertical (path desenhado pelo SVG/JS) ── */
.journey-bend {
    height: 2.8rem;
    position: relative;
}

/* SVG overlay de path — injetado pelo journey.js */
.journey-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}



/* ── Individual node ── */
.journey-node {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    position: relative;
}

/* ── Bullet dot (the round marker on the thread) ── */
.journey-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--gold-300) 0%, var(--gold-700) 100%);
    border: 3px solid rgba(201, 162, 39, 0.2);
    box-shadow:
        0 0 0 5px rgba(201, 162, 39, 0.07),
        0 4px 14px rgba(0, 0, 0, 0.6);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #0d0b06;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.journey-node:hover .journey-bullet {
    transform: scale(1.3);
    box-shadow:
        0 0 0 8px rgba(201, 162, 39, 0.12),
        0 0 24px rgba(201, 162, 39, 0.65);
    border-color: rgba(201, 162, 39, 0.7);
}

/* ── TEXT NODE CARD ── */
.node-text-card {
    background: linear-gradient(155deg,
            rgba(28, 22, 14, 0.96) 0%,
            rgba(12, 10, 16, 0.98) 100%);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Gold accent line at the top of text card */
.node-text-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.journey-node:hover .node-text-card {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(201, 162, 39, 0.07);
    transform: translateY(-6px);
}

.journey-node:hover .node-text-card::after {
    opacity: 1;
}

.ntc-era {
    font-family: 'Cinzel', serif;
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-700);
    margin-bottom: 0.3rem;
}

.ntc-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ntc-excerpt {
    font-size: 0.8rem;
    color: var(--ink-dim);
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

.ntc-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-500);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.journey-node:hover .ntc-read-more {
    color: var(--gold-300);
}

/* ── IMAGE NODE CARD ── */
.node-img-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.15);
    aspect-ratio: 4 / 3;
    position: relative;
    transition: all 0.35s ease;
}

.node-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.65) brightness(0.6);
    transition: all 0.45s ease;
}

.journey-node:hover .node-img-card {
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
}

.journey-node:hover .node-img-card img {
    filter: saturate(1.15) brightness(0.8);
    transform: scale(1.06);
}

.node-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 4, 7, 0.9) 0%, rgba(5, 4, 7, 0.1) 55%);
}

.node-img-gallery-hint {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(5, 4, 7, 0.65);
    border: 1px solid rgba(201, 162, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    font-size: 0.72rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.journey-node:hover .node-img-gallery-hint {
    opacity: 1;
}

.node-img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
}

.node-img-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-500);
    font-family: 'Cinzel', serif;
    margin-bottom: 0.2rem;
}

.node-img-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Cinzel', serif;
}


/* ══════════════════════════════════════════════════
   JOURNEY POPUP MODAL (Text nodes)
   ══════════════════════════════════════════════════ */

.journey-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-modal-overlay.is-open {
    display: flex;
}

.journey-modal-overlay.is-visible {
    opacity: 1;
}

.journey-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 4, 7, 0.88);
    backdrop-filter: blur(12px);
}

.journey-modal-box {
    position: relative;
    z-index: 1;
    background: linear-gradient(155deg, rgba(20, 16, 26, 0.99), rgba(10, 8, 14, 0.99));
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-modal-overlay.is-visible .journey-modal-box {
    transform: translateY(0) scale(1);
}

/* Golden bar top of modal */
.journey-modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent);
    border-radius: 0 0 4px 4px;
}

.journey-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ink-dim);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.journey-modal-close:hover {
    background: rgba(255, 60, 60, 0.15);
    border-color: rgba(255, 60, 60, 0.35);
    color: #ff6b6b;
}

.journey-modal-era {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-700);
    margin-bottom: 0.75rem;
}

.journey-modal-icon {
    font-size: 2rem;
    color: var(--gold-500);
    margin-bottom: 0.6rem;
}

.journey-modal-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.journey-modal-body {
    color: var(--ink-dim);
    line-height: 1.8;
    font-size: 0.95rem;
}

.journey-modal-body p {
    margin-bottom: 1rem;
}

.journey-modal-body p:last-child {
    margin-bottom: 0;
}


/* ══════════════════════════════════════════════════
   GALLERY LIGHTBOX (Image nodes)
   ══════════════════════════════════════════════════ */

.journey-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(5, 4, 7, 0.96);
    backdrop-filter: blur(18px);
}

.journey-lightbox-overlay.is-open {
    display: flex;
}

.journey-lightbox-overlay.is-visible {
    opacity: 1;
}

.journey-lightbox-box {
    position: relative;
    max-width: 820px;
    width: 100%;
    text-align: center;
}

.journey-lightbox-main-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease;
}

.journey-lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 8, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 9200;
    padding: 0;
}

.journey-lightbox-close:hover {
    background: rgba(255, 60, 60, 0.2);
    border-color: rgba(255, 60, 60, 0.4);
}

.journey-lightbox-caption {
    font-family: 'Cinzel', serif;
    color: var(--gold-300);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.journey-lightbox-sublabel {
    font-size: 0.75rem;
    color: var(--ink-faint);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.journey-lightbox-thumbs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.lightbox-thumb {
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s;
    filter: brightness(0.55) saturate(0.6);
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    border-color: var(--gold-500);
    filter: brightness(1) saturate(1.1);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.4);
}