/* ==========================================================================
   CSS CORE & VARIABLE DECLARATIONS (TEMA CYBERPUNK / MILITAR TÁCTICO)
   ========================================================================== */
:root {
    --bg-dark: #050810;
    --bg-card: rgba(10, 16, 30, 0.75);
    --bg-card-hover: rgba(16, 26, 48, 0.9);
    
    /* Paleta cromática obligatoria */
    --accent-orange: #ff8a00;
    --accent-orange-glow: rgba(255, 138, 0, 0.4);
    --accent-blue-ct: #6cb6ff;
    --accent-blue-glow: rgba(108, 182, 255, 0.4);
    --accent-gold-vip: #ffd700;
    --accent-gold-glow: rgba(255, 215, 0, 0.4);
    
    --text-main: #e2e8f0;
    --text-muted: #8a99ad;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hud-active: #ff8a00;
    --text-green-success: #39ff14;
    
    /* Tipografías */
    --font-titles: 'Orbitron', sans-serif;
    --font-hud: 'Rajdhani', sans-serif;
    
    --transition-speed: 0.3s;
}

/* Base Reset & Scroll behavior */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-hud);
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Efecto Scanlines persistente en pantalla */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.06),
        rgba(0, 255, 0, 0.02),
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 4px, 6px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* Estructura del Contenedor Global */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Clases Útiles del HUD */
.text-orange { color: var(--accent-orange) !important; text-shadow: 0 0 10px var(--accent-orange-glow); }
.text-blue { color: var(--accent-blue-ct) !important; text-shadow: 0 0 10px var(--accent-blue-glow); }
.text-gold { color: var(--accent-gold-vip) !important; text-shadow: 0 0 10px var(--accent-gold-glow); }
.text-green { color: var(--text-green-success) !important; }
.text-center { text-align: center; }

/* ==========================================================================
   HEADER & INTERFAZ DE NAVEGACIÓN TÁCTICA
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 25px;
}

.brand-logo {
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--text-main);
    text-decoration: none;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.brand-logo .logo-accent {
    color: var(--accent-orange);
    text-shadow: 0 0 12px var(--accent-orange-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-hud);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-speed);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange-glow);
    transition: width var(--transition-speed);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-vip-btn {
    border: 1px solid var(--accent-orange);
    padding: 6px 15px;
    border-radius: 3px;
    box-shadow: inset 0 0 8px var(--accent-orange-glow);
}

.nav-vip-btn::after { display: none; }

.nav-vip-btn:hover {
    background-color: var(--accent-orange);
    color: #000 !important;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

/* ==========================================================================
   SECCIÓN 1: HERO CONTAINER (ESCENA FULLSCREEN)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reemplazar con tu ruta de imagen táctica */
    background: #060a14 url('/assets/img/hero.jpg') center/cover no-repeat;
    transform: scale(1.05);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5,8,16,0.4) 0%, rgba(5,8,16,0.95) 90%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
}

/* Marcos HUD Estilo Interfaz */
.hud-frame-top {
    width: 100%;
    border-top: 1px solid rgba(255, 138, 0, 0.3);
    border-left: 4px solid var(--accent-orange);
    border-right: 4px solid var(--accent-orange);
    padding: 8px 15px;
    font-family: var(--font-hud);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.hud-frame-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 138, 0, 0.2);
    padding-bottom: 15px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.status-pill-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--text-green-success);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-green-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--text-green-success);
    animation: pulseGlow 1.8s infinite ease-in-out;
}

.version-badge {
    background: rgba(255,138,0,0.15);
    border: 1px solid var(--accent-orange);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-orange);
}

.hero-title {
    font-family: var(--font-titles);
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 0 30px rgba(255,138,0,0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* BOTÓN GIGANTE CONECTAR CON EFECTOS DE IMPACTO */
.cta-wrapper {
    display: flex;
    justify-content: center;
}

.btn-connect-trigger {
    position: relative;
    background: linear-gradient(135deg, #ff8a00 0%, #e06c00 100%);
    border: none;
    padding: 20px 50px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--accent-orange-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-connect-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(255,138,0,0.6);
}

.btn-connect-trigger:active {
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.btn-text-main {
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.btn-text-sub {
    font-family: var(--font-hud);
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 2px;
    letter-spacing: 1px;
}

/* Indicador Animado Mouse Scroll */
.mouse-scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    margin-top: 10px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* ==========================================================================
   ELEMENTOS DE SECCIÓN HUD COMUNES
   ========================================================================== */
.section-header-hud {
    margin-bottom: 50px;
    position: relative;
}

.hud-title {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 10px;
}

.accent-text {
    color: var(--accent-orange);
}

.hud-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, rgba(255,138,0,0.1) 100%);
    position: relative;
}

.hud-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 15px;
    height: 5px;
    background-color: var(--accent-orange);
}

/* Estilo Base de las Tarjetas HUD Glassmorphism */
.hud-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: border-color var(--transition-speed), transform var(--transition-speed);
}

.hud-card:hover {
    border-color: rgba(255, 138, 0, 0.4);
    transform: translateY(-5px);
}

.card-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}
.card-glow-line.orange { background: var(--accent-orange); box-shadow: 0 0 10px var(--accent-orange); }
.card-glow-line.blue { background: var(--accent-blue-ct); box-shadow: 0 0 10px var(--accent-blue-ct); }
.card-glow-line.green { background: var(--text-green-success); box-shadow: 0 0 10px var(--text-green-success); }

/* ==========================================================================
   SECCIÓN 2: STATS DEL SERVIDOR (GRID DE MONITOREO)
   ========================================================================== */
.stats-section {
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 140px;
}

.stat-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-info {
    flex-grow: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-value-group {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-divider { color: var(--text-muted); font-size: 1.4rem; margin: 0 4px; }
.stat-max { color: var(--text-muted); font-size: 1.3rem; }

.stat-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-in-out;
}
.progress-bar-fill.blue {
    background: linear-gradient(90deg, #3498db, var(--accent-blue-ct));
    box-shadow: 0 0 8px var(--accent-blue-glow);
}

/* Mini visualización del mapa de fondo */
.map-preview-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    background-size: cover;
    opacity: 0.08;
    border-radius: 50%;
    pointer-events: none;
    filter: grayscale(1);
}

/* ==========================================================================
   SECCIÓN 3: PROTOCOLO DE CONEXIÓN Y CONSOLA VIRTUAL
   ========================================================================== */
.connect-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(8,14,28,0.4) 50%, var(--bg-dark) 100%);
}

.connect-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.step-item {
    display: flex;
    gap: 25px;
    position: relative;
}

.step-number {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-orange);
    background: rgba(255,138,0,0.1);
    border: 1px solid rgba(255,138,0,0.3);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255,138,0,0.05);
}

.step-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: 1px;
}

.step-body p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Botones genéricos de estilo de interfaz HUD */
.btn-hud-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 10px 22px;
    font-family: var(--font-titles);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 3px;
    transition: all var(--transition-speed);
}

.btn-hud-secondary:hover {
    background: rgba(255,138,0,0.1);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

/* Caja de la Consola Virtual In-Game */
.virtual-console-box {
    background: #020408;
    border: 1px solid rgba(255,138,0,0.25);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255,138,0,0.05);
}

.console-header {
    background: #0a0f1d;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.console-dots {
    display: flex;
    gap: 6px;
}
.dot-c { width: 10px; height: 10px; border-radius: 50%; display: inline-block;}
.dot-c.red { background: #ff5f56; }
.dot-c.yellow { background: #ffbd2e; }
.dot-c.green { background: #27c93f; }

.console-title {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.console-body {
    padding: 25px;
}

.c-log {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #a0aec0;
}

.c-sublog {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Input y contenedor de copiado dentro de consola */
.console-input-wrapper {
    display: flex;
    align-items: center;
    background: #070b12;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 5px 10px;
    margin: 18px 0;
}

.console-prompt {
    color: var(--accent-orange);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    margin-right: 10px;
}

.console-input {
    background: none;
    border: none;
    color: #39ff14; /* Texto Verde terminal clásico */
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    flex-grow: 1;
    outline: none;
}

.btn-console-copy {
    background: var(--accent-orange);
    border: none;
    color: #000;
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.btn-console-copy:hover {
    background: #ffaa33;
}

/* Integración de tarjeta de Discord */
.discord-button-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.25);
    padding: 15px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    transition: all var(--transition-speed);
}

.discord-button-card:hover {
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.5);
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.2);
}

.d-icon { font-size: 1.8rem; }
.d-title { display: block; font-family: var(--font-titles); font-weight: 700; font-size: 1rem; color: #7289da;}
.d-sub { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   SECCIÓN 4: JUGADORES EN LÍNEA (TABLAS DIGITALES)
   ========================================================================== */
.players-section {
    padding: 100px 0;
}

.hud-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow-x: auto;
    backdrop-filter: blur(8px);
}

.hud-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.hud-table th {
    background: rgba(10, 16, 30, 0.9);
    font-family: var(--font-titles);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 18px 20px;
    border-bottom: 2px solid rgba(255, 138, 0, 0.3);
}

.hud-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 1.05rem;
    font-weight: 600;
    vertical-align: middle;
}

.row-player {
    transition: background-color 0.2s;
}

.row-player:hover {
    background: rgba(255,255,255,0.02);
}

.cell-rank {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--text-muted);
}

.cell-name {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

/* Indicadores de Bando de Jugadores */
.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.team-dot.tt { background: #e67e22; box-shadow: 0 0 8px #e67e22; } /* Terrorista Naranja */
.team-dot.ct { background: #3498db; box-shadow: 0 0 8px #3498db; } /* Anti-Terrorista Azul */

/* Etiquetas de Rango dentro de Filas */
.badge-row {
    font-size: 0.75rem;
    font-family: var(--font-titles);
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
}
.badge-row.owner { background: rgba(255,138,0,0.15); border: 1px solid var(--accent-orange); color: var(--accent-orange); }
.badge-row.admin { background: rgba(108,182,255,0.15); border: 1px solid var(--accent-blue-ct); color: var(--accent-blue-ct); }
.badge-row.vip { background: rgba(255,215,0,0.15); border: 1px solid var(--accent-gold-vip); color: var(--accent-gold-vip); }

.cell-frags {
    font-family: var(--font-titles);
    color: var(--accent-orange);
}

/* Pulso de Estado Vivo en la Tabla */
.live-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--text-green-success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--text-green-success);
    animation: pulseGlow 1.5s infinite ease-in-out;
}

/* ==========================================================================
   SECCIÓN 5: STAFF & VIPS (SISTEMA DE TABS HUD AVANZADO)
   ========================================================================== */
.community-tabs-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10,20,40,0.3) 50%, var(--bg-dark) 100%);
}

.tabs-navigation-hud {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn-hud {
    background: rgba(10, 16, 30, 0.6);
    border: 1px solid var(--border-color);
    padding: 15px 35px;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
    transition: all var(--transition-speed);
    min-width: 240px;
}

.tab-btn-hud:hover {
    border-color: rgba(255,138,0,0.3);
    background: rgba(16, 26, 48, 0.5);
}

.tab-btn-hud.active {
    border-color: var(--accent-orange);
    background: rgba(255,138,0,0.06);
    box-shadow: inset 0 0 15px rgba(255,138,0,0.1);
}

.tab-btn-title {
    display: block;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
}
.tab-btn-hud.active .tab-btn-title { color: var(--accent-orange); }

.tab-btn-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Contenedores de paneles */
.tab-content-panel {
    display: none;
}
.tab-content-panel.active {
    display: block;
    animation: tabFadeIn 0.4s ease-in-out forwards;
}

.vip-database-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 15px 25px;
    border-radius: 4px;
    margin-bottom: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-gold-vip);
}

/* Grid de Cards de Miembros */
.cards-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.hud-member-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 25px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

/* Variaciones estéticas por rangos */
.hud-member-card.card-owner { border-left: 3px solid var(--accent-orange); }
.hud-member-card.card-owner:hover { border-color: var(--accent-orange); box-shadow: 0 10px 25px rgba(255,138,0,0.08); }

.hud-member-card.card-admin { border-left: 3px solid var(--accent-blue-ct); }
.hud-member-card.card-admin:hover { border-color: var(--accent-blue-ct); box-shadow: 0 10px 25px rgba(108,182,255,0.08); }

.hud-member-card.card-vip { border-left: 3px solid var(--accent-gold-vip); }
.hud-member-card.card-vip:hover { border-color: var(--accent-gold-vip); box-shadow: 0 10px 25px rgba(255,215,0,0.08); }

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

.role-tag {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
}
.tag-owner { background: rgba(255,138,0,0.15); color: var(--accent-orange); }
.tag-admin { background: rgba(108,182,255,0.15); color: var(--accent-blue-ct); }
.tag-vip { background: rgba(255,215,0,0.15); color: var(--accent-gold-vip); }

/* Avatar HUD Circular/Octogonal */
.avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    border: 1px solid transparent;
}
.border-owner { border-color: var(--accent-orange); }
.border-admin { border-color: var(--accent-blue-ct); }
.border-vip { border-color: var(--accent-gold-vip); }

.avatar-placeholder {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.1rem;
}

.member-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.member-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    min-height: 45px;
    margin-bottom: 15px;
}

.member-status-node {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}

.node-label { color: var(--text-muted); }

/* ==========================================================================
   SECCIÓN 6: BENEFICIOS VIP & PRECIOS VIRTUALES
   ========================================================================== */
.vip-benefits-section {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.benefit-item-hud {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

.benefit-item-hud:hover {
    background: rgba(255, 215, 0, 0.02);
    border-color: rgba(255, 215, 0, 0.2);
    transform: scale(1.02);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.benefit-item-hud h4 {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.benefit-item-hud p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.vip-pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.vip-pricing-header h3 {
    font-family: var(--font-titles);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.vip-pricing-header p {
    color: var(--text-muted);
}

/* Grid de Precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card-hud {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all var(--transition-speed);
}

/* Destacado Oro Combo */
.pricing-card-hud.featured {
    border: 1px solid var(--accent-gold-vip);
    background: rgba(15, 24, 45, 0.85);
    box-shadow: 0 15px 35px rgba(255,215,0,0.05);
    transform: scale(1.03);
    z-index: 5;
}

.p-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-titles);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}
.p-badge.gold { background: var(--accent-gold-vip); color: #000; }
.p-badge.permanent { background: #9b59b6; color: #fff; }

.p-title {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.p-price {
    font-family: var(--font-titles);
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 25px;
}
.p-price .currency { font-size: 1.6rem; font-weight: 600; vertical-align: super; margin-right: 4px; }
.p-price .period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

.p-features {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
}

.p-features li {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-features li::before {
    content: '✓';
    color: var(--text-green-success);
    font-weight: 700;
}

.btn-buy-vip {
    display: block;
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 14px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

.btn-buy-vip:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #000;
    box-shadow: 0 0 20px var(--accent-orange-glow);
    font-weight: 900;
}

.btn-buy-vip.gold-btn {
    background: var(--accent-gold-vip);
    border-color: var(--accent-gold-vip);
    color: #000;
    font-weight: 900;
}
.btn-buy-vip.gold-btn:hover {
    background: #ffea66;
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

/* ==========================================================================
   SECCIÓN 7: TOP JUGADORES DEL MES (SISTEMA DE HONOR)
   ========================================================================== */
.top-ranking-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(5,8,16,0.95) 100%);
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin: 65px 0;
}

.podium-spot {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px 6px 4px 4px;
    padding: 30px 20px;
    text-align: center;
    width: 220px;
    backdrop-filter: blur(8px);
}

.podium-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
}

.podium-crown {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
}

.podium-avatar {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.4rem;
}

.podium-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.podium-score {
    display: block;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-orange);
}

.podium-subtitle {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-titles);
    font-weight: 900;
    color: var(--text-green-success);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Configuraciones específicas por nivel de podio */
.rank-1 {
    height: 280px;
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255,215,0,0.04);
}
.rank-1 .podium-avatar { border-color: var(--accent-gold-vip); background: rgba(255,215,0,0.05); }
.rank-1 .podium-score { color: var(--accent-gold-vip); font-size: 1.3rem; }

.rank-2 { height: 230px; border-color: rgba(108,182,255,0.3); }
.rank-2 .podium-avatar { border-color: var(--accent-blue-ct); }
.rank-2 .podium-score { color: var(--accent-blue-ct); }

.rank-3 { height: 200px; }

.mini-top-table {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   SISTEMA DE FOOTER TERMINAL DE RED
   ========================================================================== */
.main-footer {
    background: #020408;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand-column .f-logo {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-brand-column .f-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-column h4, .footer-credits-column h4 {
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.f-links a:hover { color: var(--accent-orange); }

.footer-credits-column p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.credits-signature {
    font-size: 0.85rem;
    border-left: 2px solid var(--accent-orange);
    padding-left: 10px;
    color: var(--text-main);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   NOTIFICACIONES INTERACTIVAS Y ANIMACIONES
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: #0a0f1d;
    border: 1px solid var(--accent-orange);
    color: #fff;
    padding: 16px 25px;
    border-radius: 4px;
    font-family: var(--font-hud);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px var(--accent-orange-glow);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.show {
    bottom: 30px;
}

.toast-icon {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* Clases de Control de Aparición con Scroll JS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Declaraciones de Keyframes Animados */
@keyframes pulseGlow {
    0% { opacity: 0.6; box-shadow: 0 0 6px var(--text-green-success); }
    50% { opacity: 1; box-shadow: 0 0 14px var(--text-green-success); }
    100% { opacity: 0.6; box-shadow: 0 0 6px var(--text-green-success); }
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.4; top: 18px; }
    100% { opacity: 1; top: 6px; }
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MEDIA QUERIES - OPTIMIZACIÓN RESPONSIVA TOTAL
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; }
    .connect-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #060a13;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        display: none;
    }
    .nav-menu.mobile-open { display: flex; }
    .hero-title { font-size: 2.5rem; letter-spacing: 3px; }
    .hero-subtitle { font-size: 1.2rem; }
    .btn-connect-trigger { padding: 15px 30px; }
    .btn-text-main { font-size: 1.1rem; }
    .podium-container { flex-direction: column; align-items: center; gap: 20px; }
    .podium-spot { width: 100%; max-width: 280px; }
    .rank-1 { height: auto; order: -1; }
    .rank-2, .rank-3 { height: auto; }
    .tabs-navigation-hud { flex-direction: column; align-items: center; }
    .tab-btn-hud { width: 100%; max-width: 300px; }
}

/* Fix Fase 3: subtítulos de tabs del Top con color visible */
.tab-btn-sub {
    color: rgba(255, 138, 0, 0.6);
    letter-spacing: 0.5px;
}
.tab-btn-hud.active .tab-btn-sub {
    color: var(--accent-orange);
}
