/* ==============================================================================
   AZEROTH LEGION 7.3.5 - MASTER DESIGN SYSTEM (AAA RESPONSIVE MMORPG PORTAL)
   Arquitetura Oficial: Obsidian Glass, Ouro de Sargeras, Fogo Vil, Runic Blizzard
   Compatibilidade: 100% Responsivo (Desktop, Laptop, Tablet, Mobile 320px+)
   ============================================================================== */

:root {
    --bg-void: #05080c;
    --bg-surface: #0a0e16;
    --bg-panel: rgba(11, 16, 26, 0.92);
    --bg-panel-solid: #0d131f;
    --bg-card: rgba(16, 23, 36, 0.85);
    
    --gold-primary: #d4a73b;
    --gold-light: #fef08a;
    --gold-bright: #ffea79;
    --gold-dark: #7a5818;
    --gold-border: rgba(212, 167, 59, 0.45);
    --gold-glow: rgba(212, 167, 59, 0.35);

    --fel-primary: #00ff88;
    --fel-light: #86efac;
    --fel-dark: #065f46;
    --fel-border: rgba(0, 255, 136, 0.4);
    --fel-glow: rgba(0, 255, 136, 0.35);

    --alliance-blue: #0284c7;
    --horde-red: #e11d48;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-heading-dec: 'Cinzel Decorative', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --shadow-epic: 0 20px 40px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 136, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.wow-portal {
    background-color: var(--bg-void);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 15%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 40%, rgba(212, 167, 59, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 8, 12, 0.75) 0%, rgba(5, 8, 12, 0.98) 100%),
        url('assets/legion_bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1920px auto;
    background-attachment: fixed;
}

/* Regra Mestra de Alinhamento e Integridade dos Ícones SVG */
svg {
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

/* ==============================================================================
   1. AMBIENT EMBERS CANVAS
   ============================================================================== */
.embers-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* ==============================================================================
   2. TOPBAR INSTITUCIONAL
   ============================================================================== */
.realm-topbar {
    background: rgba(4, 6, 10, 0.96);
    border-bottom: 1px solid rgba(212, 167, 59, 0.25);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 0.78rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.pulse-core {
    width: 10px;
    height: 10px;
    background: var(--fel-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--fel-primary);
    flex-shrink: 0;
    animation: pulseGem 2s infinite alternate ease-in-out;
}

@keyframes pulseGem {
    0% { transform: scale(0.9); box-shadow: 0 0 6px var(--fel-primary); }
    100% { transform: scale(1.25); box-shadow: 0 0 16px var(--fel-primary), 0 0 25px rgba(0, 255, 136, 0.6); }
}

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

.topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
}

.patch-badge {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.badge-icon {
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ping-badge {
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ping-dot {
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    flex-shrink: 0;
}

.quick-realmlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 23, 36, 0.9);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 167, 59, 0.3);
    flex-shrink: 0;
}

.ql-label {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.quick-realmlist code {
    font-family: var(--font-mono);
    color: var(--text-white);
    font-size: 0.78rem;
}

.btn-copy-mini {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    padding: 2px 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-copy-mini:hover {
    color: var(--gold-bright);
}

.database-badge, .players-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4ade80;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.players-online-badge svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* ==============================================================================
   3. HEADER & MENU PRINCIPAL
   ============================================================================== */
.main-header {
    background: rgba(7, 11, 18, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.brand-crest-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.crest-frame {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
    background: #000;
    flex-shrink: 0;
}

.crest-frame.mini {
    width: 36px;
    height: 36px;
}

.crest-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.2px;
    background: linear-gradient(180deg, #fff 0%, var(--gold-light) 70%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 1.2px;
}

.portal-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    overflow: visible;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-bright);
    background: rgba(212, 167, 59, 0.08);
    border-color: rgba(212, 167, 59, 0.25);
    box-shadow: 0 0 15px rgba(212, 167, 59, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-portal-gold {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: linear-gradient(180deg, #fef08a 0%, #d4a73b 50%, #855b16 100%);
    color: #0c0802;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    border: 1px solid #ffea79;
    box-shadow: 0 4px 15px rgba(212, 167, 59, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-portal-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 167, 59, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-portal-gamepad {
    width: 38px;
    height: 38px;
    background: rgba(16, 23, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-portal-gamepad:hover {
    color: var(--fel-primary);
    border-color: var(--fel-primary);
    box-shadow: 0 0 15px var(--fel-glow);
}

/* ==============================================================================
   4. HERO CINEMATIC
   ============================================================================== */
.hero-cinematic {
    position: relative;
    padding: 60px 24px 80px 24px;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(5, 8, 12, 0.9) 85%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.expansion-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.kicker-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border));
}

.expansion-kicker .kicker-line:last-child {
    background: linear-gradient(90deg, var(--gold-border), transparent);
}

.kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 16, 26, 0.85);
    border: 1px solid var(--gold-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.hero-crest-container {
    width: 240px;
    height: 240px;
    max-width: 80vw;
    max-height: 80vw;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    position: relative;
    padding: 6px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.25) 0%, rgba(212, 167, 59, 0.3) 70%, transparent 100%);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.25), 0 0 80px rgba(212, 167, 59, 0.2);
    animation: floatCrest 6s ease-in-out infinite alternate;
    flex-shrink: 0;
}

@keyframes floatCrest {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.hero-crest-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 15%, var(--gold-light) 65%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.hero-lead {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: #cbd5e1;
    max-width: 860px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
}

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

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-epic-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-heading);
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    min-height: 64px;
}

/* Fix crítico para o container do ícone do botão */
.cta-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.25);
}

.btn-epic-cta.gold {
    background: linear-gradient(180deg, #fde047 0%, #d4a73b 50%, #785213 100%);
    color: #0c0802;
    border: 1px solid #ffea79;
    box-shadow: 0 10px 25px rgba(212, 167, 59, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-epic-cta.gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 167, 59, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-epic-cta.gold .cta-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0c0802;
    letter-spacing: 0.5px;
}

.btn-epic-cta.gold .cta-subtitle {
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #452b04;
}

.btn-epic-cta.fel {
    background: rgba(11, 24, 20, 0.88);
    border: 1px solid var(--fel-primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-epic-cta.fel:hover {
    transform: translateY(-3px);
    background: rgba(14, 32, 26, 0.95);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.35);
}

.btn-epic-cta.fel .cta-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--fel-primary);
    letter-spacing: 0.5px;
}

.btn-epic-cta.fel .cta-subtitle {
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
}

.btn-epic-cta.dark {
    background: rgba(16, 23, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.btn-epic-cta.dark:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
    box-shadow: 0 15px 35px rgba(212, 167, 59, 0.25);
}

.btn-epic-cta.dark .cta-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-epic-cta.dark .cta-subtitle {
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dim);
}

.cta-labels {
    display: flex;
    flex-direction: column;
}

/* Métricas Oficiais do Servidor - Exatamente 3 por linha */
.server-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .server-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .server-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s, border-color 0.2s;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 167, 59, 0.4);
}

.metric-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
}

.metric-icon-box.fel { color: var(--fel-primary); background: rgba(0, 255, 136, 0.1); }
.metric-icon-box.gold { color: var(--gold-bright); background: rgba(212, 167, 59, 0.1); }
.metric-icon-box.blue { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.metric-icon-box.purple { color: #c084fc; background: rgba(192, 132, 252, 0.1); }
.metric-icon-box.orange { color: #fb923c; background: rgba(251, 146, 60, 0.1); }
.metric-icon-box.emerald { color: #34d399; background: rgba(52, 211, 153, 0.1); }

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.metric-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ==============================================================================
   5. SEÇÕES GERAIS E PILARES
   ============================================================================== */
.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 10;
}

.section-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-bright);
    display: block;
    margin-bottom: 8px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title-line {
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 auto 16px auto;
    position: relative;
}

.gem-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--fel-primary);
    box-shadow: 0 0 10px var(--fel-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Grid de Pilares */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-epic);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 167, 59, 0.15);
}

.pillar-card.highlight-pillar {
    border-color: rgba(212, 167, 59, 0.4);
    background: linear-gradient(180deg, rgba(16, 23, 36, 0.95) 0%, rgba(10, 15, 24, 0.95) 100%);
}

.card-ornament {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--gold-primary);
    pointer-events: none;
}

.card-ornament.top-left { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.card-ornament.top-right { top: 6px; right: 6px; border-left: none; border-bottom: none; }

.pillar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 255, 136, 0.08);
    color: var(--fel-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    flex-shrink: 0;
}

.pillar-icon.gold {
    background: rgba(212, 167, 59, 0.1);
    color: var(--gold-bright);
    border-color: rgba(212, 167, 59, 0.3);
}

.pillar-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 50px;
}

.pillar-tag.gold {
    color: var(--gold-bright);
    background: rgba(212, 167, 59, 0.1);
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.pillar-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.pillar-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.pillar-features li {
    font-size: 0.84rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pillar-features li svg {
    color: var(--fel-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==============================================================================
   6. SHOWCASE FULL-WIDTH: CLASSES & ARTEFATOS
   ============================================================================== */
.full-width-showcase {
    position: relative;
    border-top: 1px solid rgba(212, 167, 59, 0.3);
    border-bottom: 1px solid rgba(212, 167, 59, 0.3);
    padding: 90px 24px;
    overflow: hidden;
}

.showcase-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.showcase-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.38) saturate(1.2);
}

.showcase-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(5, 8, 12, 0.6) 0%, rgba(5, 8, 12, 0.95) 100%);
}

.showcase-inner-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 167, 59, 0.15);
    border: 1px solid var(--gold-border);
    padding: 6px 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.showcase-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.showcase-paragraph {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.classes-pills-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.class-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(11, 16, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.class-pill:hover, .class-pill.active {
    background: rgba(212, 167, 59, 0.15);
    border-color: var(--gold-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

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

.pill-dot.fel { background: #00ff88; box-shadow: 0 0 8px #00ff88; }
.pill-dot.gold { background: #fde047; box-shadow: 0 0 8px #fde047; }
.pill-dot.blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.pill-dot.green { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.pill-dot.cyan { background: #67e8f9; box-shadow: 0 0 8px #67e8f9; }
.pill-dot.orange { background: #fb923c; box-shadow: 0 0 8px #fb923c; }

.class-detail-card {
    background: rgba(8, 12, 20, 0.96);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    text-align: left;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.class-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.class-detail-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-bright);
}

.class-role-badge {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--fel-primary);
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.class-detail-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.class-artifact-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(212, 167, 59, 0.08);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.art-label {
    color: var(--text-dim);
}

.art-name {
    color: #e6cc80;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* ==============================================================================
   7. MASMORRAS & RAIDES
   ============================================================================== */
.raids-spotlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-epic);
}

@media (max-width: 900px) {
    .raids-spotlight-card {
        grid-template-columns: 1fr;
    }
}

.spotlight-media {
    position: relative;
    min-height: 320px;
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--bg-panel) 100%),
                linear-gradient(180deg, transparent 60%, rgba(5, 8, 12, 0.8) 100%);
}

.spotlight-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(5, 8, 12, 0.9);
    border: 1px solid var(--fel-primary);
    color: var(--fel-primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.spotlight-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-sub {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.spotlight-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.spotlight-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    gap: 10px;
}

.spec-label {
    color: var(--text-dim);
}

.spec-val {
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: right;
}

.dungeons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.dungeon-item {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

.dungeon-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 167, 59, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

.dungeon-header {
    padding: 24px 20px;
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.dungeon-header.tumba { background: linear-gradient(135deg, #092e20 0%, #061814 100%); }
.dungeon-header.corvo { background: linear-gradient(135deg, #1e1b4b 0%, #0c0a1f 100%); }
.dungeon-header.minas { background: linear-gradient(135deg, #3f220f 0%, #1a0d05 100%); }
.dungeon-header.scarlet { background: linear-gradient(135deg, #4c0519 0%, #1c0209 100%); }

.dungeon-tier {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.dungeon-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.dungeon-body {
    padding: 20px;
}

.dungeon-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.dungeon-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
}

/* ==============================================================================
   8. ARMARIA & COMPÊNDIO OFICIAL
   ============================================================================== */
.compendium-search-box {
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-epic);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 48px 16px 52px;
    background: rgba(6, 10, 16, 0.92);
    border: 1px solid rgba(212, 167, 59, 0.3);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    outline: none;
    transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(212, 167, 59, 0.25);
    background: rgba(8, 12, 20, 0.95);
}

.search-btn-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-btn-clear:hover {
    color: #fff;
}

.search-filters-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 23, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.filter-pill:hover, .filter-pill.active {
    background: rgba(212, 167, 59, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
}

.compendium-results-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

@media (max-width: 992px) {
    .compendium-results-layout {
        grid-template-columns: 1fr;
    }
}

.results-list-container {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-height: 400px;
}

.compendium-initial-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.placeholder-icon {
    color: var(--gold-primary);
    margin-bottom: 16px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.compendium-initial-placeholder h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.compendium-initial-placeholder p {
    font-size: 0.95rem;
    max-width: 500px;
    margin-bottom: 24px;
}

.quick-suggests {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
}

.chip-suggest {
    background: rgba(212, 167, 59, 0.1);
    border: 1px solid rgba(212, 167, 59, 0.25);
    color: var(--gold-bright);
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.chip-suggest:hover {
    background: rgba(212, 167, 59, 0.25);
    border-color: var(--gold-bright);
}

/* Itens de Resultado */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(16, 23, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
}

.result-row:hover, .result-row.active {
    background: rgba(212, 167, 59, 0.1);
    border-color: var(--gold-primary);
    transform: translateX(4px);
}

.result-left {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.result-category-badge {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    flex-shrink: 0;
}

.result-title {
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cores de Raridade Autênticas WoW */
.rarity-poor { color: #9d9d9d; }
.rarity-common { color: #ffffff; }
.rarity-uncommon { color: #1eff00; }
.rarity-rare { color: #0070dd; }
.rarity-epic { color: #a335ee; }
.rarity-legendary { color: #ff8000; }
.rarity-artifact { color: #e6cc80; }

.result-right {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

/* Tooltip Inspector Card */
.tooltip-inspector-card {
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-epic);
    height: fit-content;
}

.inspector-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.wow-tooltip-box {
    background: rgba(6, 9, 14, 0.95);
    border: 1px solid rgba(212, 167, 59, 0.5);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.tooltip-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.tooltip-rarity {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.tooltip-item-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.tooltip-ilvl {
    font-size: 0.8rem;
    color: #e6cc80;
    font-family: var(--font-mono);
}

.tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.tooltip-bind, .tooltip-slot {
    color: #fff;
}

.tooltip-stats p.stat-green {
    color: #1eff00;
    font-weight: 600;
}

.tooltip-flavor {
    font-style: italic;
    color: #ffd100;
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.tooltip-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

/* ==============================================================================
   9. GUIA DE CONEXÃO EM 3 PASSOS AUTOMATIZADOS
   ============================================================================== */
.connection-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .connection-steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 167, 59, 0.4);
    box-shadow: var(--shadow-epic);
}

.step-card.highlight-step {
    border-color: var(--gold-border);
    background: linear-gradient(180deg, rgba(16, 23, 36, 0.95) 0%, rgba(10, 15, 24, 0.95) 100%);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(212, 167, 59, 0.15);
    user-select: none;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 255, 136, 0.1);
    color: var(--fel-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.step-icon.gold {
    background: rgba(212, 167, 59, 0.15);
    color: var(--gold-bright);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.step-action {
    margin-top: auto;
}

.step-status-tag {
    font-size: 0.82rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--fel-primary);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    display: block;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.08);
}

.btn-step-action {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-step-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-step-action.gold {
    background: linear-gradient(180deg, #fde047 0%, #d4a73b 100%);
    color: #0c0802;
    border-color: #ffea79;
    font-weight: 800;
}

.btn-step-action.gold:hover {
    box-shadow: 0 4px 15px rgba(212, 167, 59, 0.5);
}

/* ==============================================================================
   10. GUIA DE CONTROLE (CONSOLEPORT)
   ============================================================================== */
.gamepad-layout-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.gamepad-card {
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-epic);
}

.gamepad-diagram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
}

.gamepad-diagram-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.controller-type-toggle {
    display: flex;
    gap: 8px;
}

.ctrl-toggle-btn {
    background: rgba(16, 23, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ctrl-toggle-btn.active, .ctrl-toggle-btn:hover {
    background: rgba(212, 167, 59, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
}

.controller-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(6, 10, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.key-orb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono), 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    text-align: center;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-item:hover .key-orb {
    transform: scale(1.08);
}

.key-green { background: #22c55e; color: #052e16; }
.key-blue { background: #3b82f6; color: #172554; }
.key-yellow { background: #eab308; color: #422006; }
.key-red { background: #ef4444; color: #450a0a; }
.key-gray { background: #64748b; color: #0f172a; }
.key-purple { background: #a855f7; color: #3b0764; }
.key-dpad { background: #1e293b; color: #38bdf8; border: 1px solid #38bdf8; }

.action-meta h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.action-meta p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==============================================================================
   11. REGISTRO DE CONTAS (SRP6) & TABELA
   ============================================================================== */
.account-portal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .account-portal-layout {
        grid-template-columns: 1fr;
    }
}

.account-form-card, .accounts-list-card {
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-epic);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.form-sub {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.wow-account-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.5px;
}

.input-icon-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-box .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    flex-shrink: 0;
}

.input-icon-box input, .wow-select {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(6, 10, 16, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.wow-select {
    padding-left: 14px;
    cursor: pointer;
}

.input-icon-box input:focus, .wow-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 167, 59, 0.2);
}

.field-hint {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-feedback-box {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
}

.form-feedback-box.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--fel-primary);
    color: var(--fel-primary);
}

.form-feedback-box.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
}

.btn-register-submit {
    position: relative;
    padding: 14px;
    background: linear-gradient(180deg, #fde047 0%, #d4a73b 50%, #785213 100%);
    border: 1px solid #ffea79;
    border-radius: var(--radius-sm);
    color: #0c0802;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 167, 59, 0.4);
    transition: all 0.2s;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 167, 59, 0.6);
}

/* Tabela de Contas */
.accounts-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.accounts-list-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.btn-refresh-accounts {
    background: rgba(16, 23, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-refresh-accounts:hover {
    color: var(--gold-bright);
    border-color: var(--gold-primary);
}

.accounts-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wow-accounts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.wow-accounts-table th {
    text-align: left;
    padding: 10px 12px;
    background: rgba(6, 10, 16, 0.8);
    color: var(--gold-bright);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 167, 59, 0.3);
    white-space: nowrap;
}

.wow-accounts-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    white-space: nowrap;
}

.wow-accounts-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-loading {
    text-align: center;
    color: var(--text-dim);
    padding: 40px !important;
}

.badge-account-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fel-primary);
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-account-active .dot {
    width: 6px;
    height: 6px;
    background: var(--fel-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==============================================================================
   12. RODAPÉ INSTITUCIONAL
   ============================================================================== */
.portal-footer {
    background: #030508;
    border-top: 1px solid var(--gold-border);
    padding: 60px 24px 30px 24px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 820px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-about {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 480px;
}

.footer-nav-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.2s;
}

.footer-nav-col a:hover {
    color: var(--gold-bright);
}

.footer-spec {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}

.copyright-notice {
    font-size: 0.72rem;
    color: var(--text-dim);
    max-width: 900px;
    line-height: 1.5;
}

.dev-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
}

/* ==============================================================================
   13. AUDITORIA TOTAL DE RESPONSIVIDADE (100% DOS DISPOSITIVOS)
   ============================================================================== */
@media (max-width: 1024px) {
    .portal-nav {
        gap: 2px;
    }
    .nav-link {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .header-container {
        padding: 12px 18px;
    }
}

@media (max-width: 860px) {
    .portal-nav {
        display: none; /* Em telas menores o menu de links se oculta e dá prioridade ao CTA e scroll suave */
    }
    .topbar-inner {
        padding: 8px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .topbar-left, .topbar-right {
        width: 100%;
        justify-content: space-between;
    }
    .hero-cinematic {
        padding: 40px 16px 60px 16px;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .hero-crest-container {
        width: 180px;
        height: 180px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-epic-cta {
        width: 100%;
        justify-content: flex-start;
    }
    .section-container {
        padding: 60px 16px;
    }
    .account-form-card, .accounts-list-card {
        padding: 24px 18px;
    }
    .gamepad-card {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-crest-container {
        width: 140px;
        height: 140px;
    }
    .server-metrics-grid {
        grid-template-columns: 1fr;
    }
    .search-input-wrapper input {
        font-size: 0.9rem;
        padding-left: 44px;
    }
    .search-icon {
        left: 14px;
    }
}

/* ==============================================================================
   14. PÁGINA EXCLUSIVA DE CADASTRO (registro.html)
   ============================================================================== */
.registration-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 20%, rgba(212, 167, 59, 0.08) 0%, rgba(5, 8, 12, 0.98) 70%), #05080c;
}

.reg-page-header {
    background: rgba(7, 11, 18, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 100;
}

.reg-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: rgba(212, 167, 59, 0.08);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-back-home:hover {
    background: rgba(212, 167, 59, 0.2);
    color: #fff;
    transform: translateX(-3px);
    box-shadow: 0 0 15px var(--gold-glow);
}

.reg-realm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

.reg-realm-badge strong {
    color: var(--gold-bright);
}

.registration-main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px 20px;
    position: relative;
    z-index: 10;
}

.registration-card-wrapper {
    width: 100%;
    max-width: 580px;
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-epic), 0 0 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.reg-card-ornament {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--gold-primary);
    pointer-events: none;
}

.reg-card-ornament.top-left {
    top: 6px;
    left: 6px;
    border-top: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
}

.reg-card-ornament.top-right {
    top: 6px;
    right: 6px;
    border-top: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
}

.reg-card-ornament.bottom-left {
    bottom: 6px;
    left: 6px;
    border-bottom: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
}

.reg-card-ornament.bottom-right {
    bottom: 6px;
    right: 6px;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
}

.reg-brand-box {
    text-align: center;
    margin-bottom: 28px;
}

.reg-crest-frame {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    overflow: hidden;
    box-shadow: 0 0 20px var(--gold-glow);
    background: #000;
}

.reg-crest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}

.reg-main-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    background: linear-gradient(180deg, #fff 0%, var(--gold-light) 60%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.reg-subtitle {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.reg-footer-info {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.reg-footer-info p {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 12px;
}

.reg-security-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--fel-primary);
    font-family: var(--font-mono);
    background: rgba(0, 255, 136, 0.06);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

@media (max-width: 640px) {
    .registration-card-wrapper {
        padding: 30px 20px;
    }
    .reg-main-title {
        font-size: 1.35rem;
    }
}
