/* ==========================================================================
   1. VARIABLES GENERALES & CONFIGURACIÓN RESETS
   ========================================================================== */
:root {
    --bg-main: #060913; 
    --bg-card: rgba(17, 24, 39, 0.65);
    --accent-purple: #8b5cf6;
    --accent-crimson: #a84e33;
    --text-pure: #ffffff;
    --text-muted: #9ca3af;
    --border-glow: rgba(139, 92, 246, 0.25);
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-primary);
    color: var(--text-pure);
    min-height: 100vh;
    position: relative;
    background-image: 
        linear-gradient(to bottom, rgba(6, 9, 19, 0) 0%, var(--bg-main) 80%),
        url('/images/background.png'); 
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

/* EFECTO EN MOVIMIENTO A: Niebla de guerra cruzada en doble dirección */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(168, 78, 51, 0.03) 0%, transparent 60%);
    background-size: 50% 100%;
    opacity: 0.75;
    animation: kinematicMist 50s linear infinite;
    will-change: transform;
}

/* EFECTO EN MOVIMIENTO B: Partículas cinéticas (Ascenso fluido) y destellos de Aura */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(139, 92, 246, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(168, 78, 51, 0.18) 0%, transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.07) 2px, transparent 3px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 120px 120px;
    background-position: 0 0, 0 0, 0 0, 40px 40px;
    opacity: 0.9;
    animation: 
        kineticParticles 30s linear infinite, 
        ambientAtmosphere 7s ease-in-out infinite alternate;
    will-change: background-position, filter;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.clear { clear: both; }

/* ==========================================================================
   FÍSICAS DE MOVIMIENTO CONTINUO (KEYFRAMES)
   ========================================================================== */
@keyframes kinematicMist {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes kineticParticles {
    0% { background-position: 0 0, 0 0, 0 0, 40px 40px; }
    100% { background-position: 0 0, 0 0, 0 -600px, 40px -1160px; }
}

@keyframes ambientAtmosphere {
    0% { 
        filter: brightness(0.85) contrast(0.95) saturate(0.9);
        opacity: 0.75; 
    }
    50% { opacity: 0.95; }
    100% { 
        filter: brightness(1.12) contrast(1.02) saturate(1.1);
        opacity: 0.85; 
    }
}

/* ==========================================================================
   2. MENÚ DE NAVEGACIÓN & HUD DE USUARIO (GAME UI)
   ========================================================================== */
#menu_container {
    width: 100%;
    position: relative;
    z-index: 20;
    background: rgba(11, 15, 25, 0.85); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 0 20px;
    position: relative;
}

#menu_container .inside,
#menu_container .list {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu_container .item {
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding: 0 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    position: relative;
}

#menu_container .list .item span {
    position: relative;
    z-index: 2;
}

#menu_container .list .item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-crimson);
    transition: 0.3s ease;
}

#menu_container .list .item:hover {
    color: var(--text-pure);
    background: rgba(139, 92, 246, 0.1);
}

#menu_container .list .item:hover::after,
#menu_container .list .active::after {
    width: 100%;
    left: 0;
}

#menu_container .list .active {
    color: var(--text-pure);
    background: linear-gradient(0deg, rgba(168, 78, 51, 0.2) 0%, rgba(0,0,0,0) 100%);
}

.mobile_toggle {
    display: none;
    color: var(--text-pure);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    padding: 15px 20px;
    text-align: center;
    background: rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

/* 2.1 BANDEERAS MULTI-IDIOMA */
.lang_selector_header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 20px;
    height: 100%;
}

.lang_flag {
    display: block;
    width: 26px;
    height: 18px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    filter: grayscale(85%) brightness(0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lang_flag:hover {
    filter: grayscale(0%) brightness(1.1);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
    border-color: var(--accent-purple);
}

.flag_active {
    filter: grayscale(0%) brightness(1);
    border: 1px solid var(--accent-purple);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
    pointer-events: none;
}

/* 2.2 PANEL DE USUARIO (HUD LOGIN / LOGGED) */
.user_panel_header_container {
    margin-left: auto;
    margin-right: 160px;
    display: flex;
    align-items: center;
    height: 100%;
}

.login_form_header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login_input_group {
    position: relative;
    width: 130px;
}

.login_input_group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-primary);
    font-size: 11px;
    color: var(--text-pure);
    outline: none;
    letter-spacing: 0.5px;
}

.login_input_group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    font-weight: 800;
}

.login_input_group .input_glow_bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 8px var(--accent-purple);
}

.login_input_group input:focus {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(0, 0, 0, 0.8);
}

.login_input_group input:focus + .input_glow_bar {
    width: 100%;
    left: 0;
}

.btn_login_submit {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #5b21b6 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    padding: 6px 14px;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
}

.btn_login_submit:hover {
    background: linear-gradient(135deg, #a78bfa 0%, var(--accent-purple) 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    transform: translateY(-1px);
}

.user_logged_panel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.05);
}

.user_avatar_mini {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--accent-purple);
}

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

.user_info_mini {
    display: flex;
    flex-direction: column;
}

.user_welcome {
    font-size: 8px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    line-height: 1;
}

.user_nick_name {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.user_stats_mini {
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.user_panel_actions {
    display: flex;
    gap: 4px;
}

.btn_panel_action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn_go_panel:hover { background: rgba(16, 185, 129, 0.2); border-color: #10b981; }
.btn_logout:hover { background: rgba(239, 68, 68, 0.2); border-color: #ef4444; }


/* ==========================================================================
   3. CABECERA & RELOJES (GAMING CLOCKS)
   ========================================================================== */
#top_container {
    width: 100%;
    min-height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

#logo_container .discord_banner {
    width: 150px;
    height: 35px;
    background: url("../images/discord_banner.jpg") no-repeat center;
    background-size: contain;
    opacity: 0.85;
}

#logo_container .discord_banner:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gaming_clocks_top {
    position: absolute;
    top: 25px; 
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.6); 
    padding: 12px 18px;
    border-radius: 6px;
    border-right: 3px solid var(--accent-crimson);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.clock_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; 
    position: relative;
}

.clock_label {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.clock_time {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.server_time .clock_time { color: #10b981; text-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.server_time .clock_label { color: #34d399; }
.local_time .clock_time { color: var(--accent-purple); text-shadow: 0 0 8px rgba(139, 92, 246, 0.5); }
.local_time .clock_label { color: var(--text-muted); }


/* ==========================================================================
   4. ESTRUCTURA GLOBAL (ESTILO COMPALIBILIDAD HUD & SLIDER)
   ========================================================================== */
.slider_container {
    width: 100%;
    margin-top: calc(56.25vw - 60px); 
    margin-bottom: 35px; 
    overflow: hidden;
    border-radius: 12px;
}

.main_page_wrapper {
    width: 100%;
    margin-top: calc(56.25vw - 40px);
    margin-bottom: 65px;
    display: inline-block;
}

#center_container {
    width: 100%;
    max-width: 1024px;
    margin: auto;
    padding: 30px 20px;
}

.units_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.unit {
    flex: 1 1 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unit:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.25);
}

.unit .title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-left: 4px solid var(--accent-crimson);
    padding-left: 12px;
    margin-bottom: 20px;
}

.unit_footer { margin-top: 20px; display: flex; justify-content: flex-end; }

.more { 
    display: inline-block; 
    background: linear-gradient(135deg, var(--accent-crimson) 0%, #7c2d12 100%); 
    color: var(--text-pure) !important; 
    padding: 10px 22px; 
    font-size: 13px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-radius: 6px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
}
.more:hover { 
    background: linear-gradient(135deg, #cc5d3d 0%, var(--accent-crimson) 100%); 
    box-shadow: 0 0 15px rgba(168, 78, 51, 0.6); 
    transform: translateY(-1px); 
}
.mini_more { padding: 6px 14px; font-size: 11px; }


/* ==========================================================================
   5. NOTICIAS (NEWS LAUNCHER SYSTEM)
   ========================================================================== */
.news_board { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.news_item { display: flex; align-items: center; background: rgba(0, 0, 0, 0.3); padding: 14px 16px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; font-weight: 600; }
.news_item a { color: var(--text-pure); }
.news_item a:hover { color: var(--accent-purple); text-decoration: underline; }
.news_tag { font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 4px; margin-right: 15px; letter-spacing: 0.5px; background: #4b5563; color: #fff; min-width: 75px; text-align: center; }

.status_online { border-left: 3px solid #10b981; }
.status_online .news_tag { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.patch_note { border-left: 3px solid #3b82f6; }
.patch_note .news_tag { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid #3b82f6; }
.discord_note { border-left: 3px solid #5865f2; }
.discord_note .news_tag { background: rgba(88, 101, 242, 0.2); color: #a5b4fc; border: 1px solid #5865f2; }


/* ==========================================================================
   6. MÓDULO RANKING (HOME & VISTA COMPLETA)
   ========================================================================== */
.ranking_header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ranking_header .title { margin-bottom: 0; }
.ranking_content { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ranking_content .line { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(0, 0, 0, 0.2); border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.02); }
.ranking_content .line:hover { background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.2); }
.rank_avatar img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; }
.rank_name { font-weight: 700; font-size: 14px; }
.rank_stats { font-size: 12px; font-weight: bold; }
.rank_stats .w_stat { color: #10b981; }
.rank_stats .l_stat { color: #ef4444; }
.top_gold { border-right: 3px solid #ffd700; box-shadow: inset -10px 0 10px rgba(255, 215, 0, 0.03); }
.top_silver { border-right: 3px solid #c0c0c0; }
.top_bronze { border-right: 3px solid #cd7f32; }

/* Vista Completa del Ranking (/ranking) */
.ranking_container { width: 100%; margin-top: 10px; }
.ranking_full_card { width: 100%; background: var(--bg-card) !important; border: 1px solid var(--border-glow) !important; padding: 30px !important; display: flex; flex-direction: column; gap: 35px; }
.character_selector_wrapper { background: rgba(0, 0, 0, 0.4); padding: 20px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 15px rgba(0,0,0,0.6); }
.selector_title { font-size: 11px; font-weight: 900; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 15px; text-transform: uppercase; text-align: center; }
.character_grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.char_thumb_link { display: block; position: relative; border-radius: 6px; overflow: hidden; background: #111827; border: 1px solid rgba(255, 255, 255, 0.1); width: 42px; height: 42px; }
.char_thumb { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) brightness(60%); transform: scale(1); }
.char_thumb.img_active { filter: grayscale(0%) brightness(100%); border: 2px solid var(--accent-purple); }
.char_thumb_link:hover .char_thumb { filter: grayscale(0%) brightness(100%); transform: scale(1.1); }
.char_thumb_link:has(.img_active) { border-color: var(--accent-purple); box-shadow: 0 0 12px rgba(139, 92, 246, 0.6); }

.table_header_grid { display: grid; grid-template-columns: 80px 80px 1fr 1fr 160px; padding: 14px 20px; background: rgba(168, 78, 51, 0.15); border-bottom: 2px solid var(--accent-crimson); border-radius: 6px 6px 0 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-pure); }
.th_item { display: flex; align-items: center; }
.cell_center { justify-content: center; text-align: center; }
.cell_right { justify-content: flex-end; text-align: right; }
.table_body_dynamic { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.table_body_dynamic .line { display: grid; grid-template-columns: 80px 80px 1fr 1fr 160px; padding: 10px 20px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; align-items: center; font-size: 14px; }
.table_body_dynamic .line:hover { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.3); transform: translateX(4px); }
.rnk_cell { display: flex; align-items: center; color: var(--text-pure); }
.table_avatar { width: 36px; height: 36px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1); object-fit: cover; }
.player_nick { font-weight: 700; color: #fff; }
.player_exp { color: var(--text-muted); font-size: 13px; }
.stats_kda { font-weight: bold; font-size: 13px; }
.stats_kda span:first-child { color: #10b981; } 
.stats_kda span:last-child { color: #ef4444; }  

.medal_gold { border-left: 3px solid #ffd700 !important; background: linear-gradient(90deg, rgba(255, 215, 0, 0.04) 0%, rgba(0,0,0,0.2) 100%) !important; }
.medal_gold .rank_number { color: #ffd700; font-weight: 900; font-size: 16px; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
.medal_silver { border-left: 3px solid #c0c0c0 !important; background: linear-gradient(90deg, rgba(192, 192, 192, 0.04) 0%, rgba(0,0,0,0.2) 100%) !important; }
.medal_silver .rank_number { color: #e2e8f0; font-weight: 900; font-size: 16px; }
.medal_bronze { border-left: 3px solid #cd7f32 !important; background: linear-gradient(90deg, rgba(205, 127, 50, 0.04) 0%, rgba(0,0,0,0.2) 100%) !important; }
.medal_bronze .rank_number { color: #ffa07a; font-weight: 900; }

.ranking_pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.page_indicator { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
.disabled_btn { opacity: 0.3; pointer-events: none; background: #222 !important; }


/* ==========================================================================
   7. MÓDULO REGISTRO (/register & MODAL EXITOSO)
   ========================================================================== */
.register_container { width: 100%; display: flex; justify-content: center; align-items: center; margin-top: 20px; }
.register_card { flex: 0 1 650px !important; background: var(--bg-card); border: 1px solid var(--border-glow); padding: 35px !important; }
.register_welcome { background: rgba(0, 0, 0, 0.2); border-radius: 8px; padding: 15px; margin-bottom: 25px; border-left: 3px solid var(--accent-purple); }
.register_welcome p { font-size: 14px; font-weight: 600; color: var(--text-pure); }
.register_welcome .sub_text { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.register_alert { display: flex; align-items: center; background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; border-radius: 6px; padding: 12px 16px; margin-bottom: 25px; color: #fca5a5; font-size: 13px; font-weight: 600; box-shadow: 0 0 10px rgba(239, 68, 68, 0.1); }
.register_alert .alert_icon { font-size: 16px; margin-right: 12px; color: #ef4444; }

.gaming_form { display: flex; flex-direction: column; gap: 20px; }
.form_group { display: flex; flex-direction: column; gap: 8px; }
.form_group label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.input_wrapper { position: relative; width: 100%; }

.gaming_form .txt_in { width: 100%; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; padding: 14px 16px; font-family: var(--font-primary); font-size: 14px; color: var(--text-pure); outline: none; transition: all 0.3s ease; }
.gaming_form .txt_in::placeholder { color: rgba(255, 255, 255, 0.25); }
.input_bar { position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent-purple); transition: width 0.3s ease, left 0.3s ease; }
.gaming_form .txt_in:focus { border-color: rgba(139, 92, 246, 0.5); background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 12px rgba(139, 92, 246, 0.15); }
.gaming_form .txt_in:focus + .input_bar { width: 100%; left: 0; }

.form_actions { margin-top: 15px; display: flex; justify-content: center; }
.register_btn { width: 100%; max-width: 300px; background: linear-gradient(135deg, var(--accent-crimson) 0%, #7c2d12 100%); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-pure); padding: 14px; font-family: var(--font-primary); font-size: 14px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 6px; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); position: relative; overflow: hidden; }
.register_btn:hover { background: linear-gradient(135deg, #cc5d3d 0%, var(--accent-crimson) 100%); box-shadow: 0 0 20px rgba(168, 78, 51, 0.5); transform: translateY(-2px); }

/* Cartel Flotante de Éxito (Success Modal) */
.success_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 12, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeInModal 0.4s ease forwards;
}

.success_modal_card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(9, 13, 26, 0.98));
    border: 2px solid #10b981; 
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 35px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: scale(0.8);
    animation: scaleUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal_title { font-size: 22px; color: #10b981; margin-top: 15px; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.modal_text { font-size: 14px; color: var(--text-pure); margin-bottom: 8px; line-height: 1.5; }
.modal_redirect { font-size: 13px; color: var(--text-muted); margin-bottom: 25px; }
#countdown { color: #10b981; font-weight: bold; font-size: 15px; }

.modal_btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #10b981, #059669);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.modal_btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); background: linear-gradient(90deg, #059669, #10b981); }

/* Checkmark SVG Animado */
.success_icon_animated { width: 65px; height: 65px; margin: 0 auto; }
.checkmark_svg { width: 65px; height: 65px; border-radius: 50%; display: block; stroke-width: 3; stroke: #10b981; stroke-miterlimit: 10; box-shadow: inset 0px 0px 0px #10b981; animation: fillCheckmark .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s toggle; }
.checkmark_circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: #10b981; fill: none; animation: strokeCircle .6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.checkmark_check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: strokeCheck .3s cubic-bezier(0.65, 0, 0.45, 1) .6s forwards; }

@keyframes fadeInModal { from { background: rgba(4, 6, 12, 0); } to { background: rgba(4, 6, 12, 0.85); } }
@keyframes scaleUpModal { to { transform: scale(1); } }
@keyframes strokeCircle { to { stroke-dashoffset: 0; } }
@keyframes strokeCheck { to { stroke-dashoffset: 0; } }
@keyframes fillCheckmark { to { box-shadow: inset 0px 0px 0px 30px rgba(16, 185, 129, 0.05); } }


/* ==========================================================================
   8. MÓDULO DESCARGAS (/downloads)
   ========================================================================== */
.download_container { width: 100%; margin-top: 10px; }
.download_full_card { width: 100%; background: var(--bg-card) !important; border: 1px solid var(--border-glow) !important; padding: 35px !important; display: flex; flex-direction: column; gap: 35px; border-radius: 8px; }
.download_header_zone { text-align: center; }
.download_subtitle { color: var(--text-muted); font-size: 13px; margin-top: 5px; letter-spacing: 0.5px; }

.download_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download_card { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 25px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; position: relative; overflow: hidden; }
.download_card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: transparent; }

.card_gdrive::before { background: #10b981; }
.card_gdrive:hover { border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 0 20px rgba(16, 185, 129, 0.15); }
.card_mediafire::before { background: #3b82f6; }
.card_mediafire:hover { border-color: rgba(59, 130, 246, 0.3); box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
.card_mega::before { background: #ef4444; }
.card_mega:hover { border-color: rgba(239, 68, 68, 0.3); box-shadow: 0 0 20px rgba(239, 68, 68, 0.15); }

.card_icon_glow img { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.download_card:hover .card_icon_glow img { transform: scale(1.15) rotate(5deg); }
.card_info h3 { font-size: 16px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.card_info p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.download_action_btn { width: 100%; padding: 12px; font-size: 12px; font-weight: 800; color: #fff; text-align: center; border-radius: 6px; letter-spacing: 1.5px; margin-top: auto; border: 1px solid rgba(255, 255, 255, 0.1); }
.btn_gdrive { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.btn_mediafire { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); }
.btn_mega { background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%); }
.download_action_btn:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); }

.download_alert_box { background: rgba(168, 78, 51, 0.08); border: 1px solid rgba(168, 78, 51, 0.3); border-left: 4px solid var(--accent-crimson); padding: 20px; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.alert_badge { font-size: 11px; font-weight: 900; color: var(--accent-crimson); letter-spacing: 1.5px; }
.download_alert_box p { font-size: 12px; line-height: 1.6; color: #e5e7eb; }

/* Requerimientos del Sistema */
.system_requirements_zone { margin-top: 10px; }
.requirements_title { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 20px; color: #fff; text-transform: uppercase; border-left: 3px solid var(--accent-purple); padding-left: 10px; }
.requirements_table { display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; overflow: hidden; }
.req_header { display: grid; grid-template-columns: 220px 1fr 1fr; background: rgba(139, 92, 246, 0.15); border-bottom: 2px solid var(--accent-purple); padding: 12px 20px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.req_row { display: grid; grid-template-columns: 220px 1fr 1fr; padding: 12px 20px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.02); align-items: center; color: var(--text-muted); }
.req_row:last-child { border-bottom: none; }
.req_row:hover { background: rgba(255, 255, 255, 0.01); color: #fff; }
.req_label { font-weight: 700; color: #fff; font-size: 12px; }


/* ==========================================================================
   9. TIENDA DE VP / CASH (/cash)
   ========================================================================== */
.cash_container { width: 100%; margin-top: 10px; }
.cash_full_card { width: 100%; background: var(--bg-card) !important; border: 1px solid var(--border-glow) !important; padding: 35px !important; display: flex; flex-direction: column; gap: 30px; border-radius: 8px; }
.cash_header_zone { text-align: center; }
.cash_subtitle { color: var(--text-muted); font-size: 13px; margin-top: 5px; letter-spacing: 0.5px; }

.cash_promo_banner { background: rgba(16, 185, 129, 0.05); border: 1px dashed rgba(16, 185, 129, 0.3); padding: 15px 20px; border-radius: 6px; display: flex; align-items: center; gap: 15px; }
.promo_badge { background: #10b981; color: #fff; font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: 4px; letter-spacing: 1px; white-space: nowrap; }
.cash_promo_banner p { font-size: 12px; color: #e5e7eb; line-height: 1.5; }

.cash_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cash_pack_card { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 25px 20px; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; gap: 15px; text-align: center; }
.pack_bonus_badge { position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 800; background: rgba(255, 255, 255, 0.1); color: #fff; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.5px; }

.badge_purple { background: var(--accent-purple) !important; text-shadow: 0 0 5px rgba(139, 92, 246, 0.6); }
.badge_crimson { background: var(--accent-crimson) !important; text-shadow: 0 0 5px rgba(168, 78, 51, 0.6); }

.pack_featured { border-color: rgba(139, 92, 246, 0.35); background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(0,0,0,0.4) 100%); }
.pack_featured_crimson { border-color: rgba(168, 78, 51, 0.4); background: linear-gradient(180deg, rgba(168, 78, 51, 0.05) 0%, rgba(0,0,0,0.4) 100%); }

.cash_pack_card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.15); }
.pack_featured:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); border-color: var(--accent-purple); }
.pack_featured_crimson:hover { box-shadow: 0 0 20px rgba(168, 78, 51, 0.25); border-color: var(--accent-crimson); }

.pack_icon { font-size: 28px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.cash_pack_card h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; color: #fff; }
.plus_gold { color: #f59e0b; text-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.total_vp { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.pack_price { font-size: 18px; font-weight: 900; color: #10b981; letter-spacing: 0.5px; margin-top: auto; background: rgba(16, 185, 129, 0.1); padding: 5px 15px; border-radius: 4px; }

/* Pasarela de Pagos */
.payment_methods_zone { margin-top: 15px; }
.methods_title { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 20px; color: #fff; text-transform: uppercase; border-left: 3px solid var(--accent-crimson); padding-left: 10px; }
.methods_layout { display: table; width: 100%; table-layout: fixed; }
.payment_gateway_card, .payment_instruction_box { display: table-cell; vertical-align: top; }
.payment_gateway_card { width: 45%; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; padding: 20px; }
.gateway_header h4 { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--accent-purple); margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
.info_payment_line { margin-bottom: 12px; }
.lbl_p { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 3px; }
.val_p { display: block; font-size: 14px; font-weight: 700; color: #fff; font-family: monospace; letter-spacing: 0.5px; }
.highlight_email { color: #3b82f6; text-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }

.payment_instruction_box { width: 55%; padding-left: 30px; }
.payment_instruction_box h5 { font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; color: #fff; }
.cash_steps_list { padding-left: 18px; font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.cash_steps_list li { margin-bottom: 8px; list-style-type: decimal; }
.cash_steps_list li strong { color: #fff; }

.admin_tag_box { margin-top: 20px; background: rgba(255, 255, 255, 0.02); padding: 12px 15px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; border-left: 3px solid var(--accent-purple); font-size: 12px; }
.staff_name { color: var(--accent-purple); }
.cash_discord_btn { background: #4f46e5; color: #fff; font-size: 10px; font-weight: 800; padding: 8px 14px; border-radius: 4px; letter-spacing: 0.5px; }
.cash_discord_btn:hover { background: #4338ca; box-shadow: 0 0 12px rgba(79, 70, 229, 0.4); }


/* ==========================================================================
   10. INTERFAZ INTERNA AVANZADA (HUD / USERAREA / PANEL DASHBOARD PHP)
   ========================================================================== */
.gaming_auth_container,
.gaming_dashboard_container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: var(--font-primary);
}

.gaming_auth_container { display: flex; justify-content: center; align-items: center; }
.dashboard_layout_grid { display: grid; grid-template-columns: 1fr; gap: 25px; width: 100%; }

.gaming_panel_card {
    background: rgba(10, 15, 30, 0.75);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(139, 92, 246, 0.05);
    backdrop-filter: blur(8px);
    overflow: hidden;
}
.gaming_panel_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}
.gaming_panel_card.compact { padding: 20px; }

.panel_card_header { margin-bottom: 25px; }
.panel_card_header_hud { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 12px; }

.cyber_title { font-size: 24px; font-weight: 900; letter-spacing: 2px; color: var(--text-pure); text-transform: uppercase; text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); margin-bottom: 6px; }
.cyber_title_sm { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: var(--text-pure); text-transform: uppercase; border-left: 3px solid var(--accent-purple); padding-left: 10px; }
.cyber_subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 25px; }

/* Formulario Avanzado */
.cyber_form { display: flex; flex-direction: column; gap: 20px; }
.cyber_input_wrapper { display: flex; flex-direction: column; gap: 8px; }
.input_label { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--text-muted); }
.input_with_icon { position: relative; display: flex; align-items: center; }
.field_icon { position: absolute; left: 15px; font-size: 14px; opacity: 0.7; }

.input_with_icon input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 14px 16px 14px 45px;
    color: var(--text-pure);
    font-family: var(--font-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}
.input_with_icon input:focus { border-color: rgba(139, 92, 246, 0.5); background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 12px rgba(139, 92, 246, 0.15); }

.cyber_submit_btn, .btn_cyber_action {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, #5b21b6 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    padding: 14px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}
.cyber_submit_btn:hover, .btn_cyber_action:hover { background: linear-gradient(135deg, #a78bfa 0%, var(--accent-purple) 100%); box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); transform: translateY(-2px); }

.cyber_alert_box { display: flex; align-items: center; background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; }
.cyber_alert_box .alert_text { font-size: 13px; color: #fca5a5; font-weight: 600; }

/* Listas Estadísticas HUD Interno */
.user_stats_summary, .user_stats_list { display: flex; flex-direction: column; gap: 12px; }
.stat_row { display: flex; justify-content: space-between; align-items: center; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.03); padding: 14px 16px; border-radius: 6px; }
.stat_label { font-size: 11px; font-weight: 800; color: var(--text-muted); }
.stat_value { font-size: 14px; font-weight: 800; }
.stat_value.highlight_user { color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
.stat_value.currency_cash { color: #f59e0b; }
.stat_value.currency_vp { color: #06b6d4; text-shadow: 0 0 8px rgba(6, 182, 212, 0.4); }

.dashboard_action_bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; background: rgba(0, 0, 0, 0.3); padding: 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); }
.hud_action_link { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25); color: #fca5a5; padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s ease; text-decoration: none;}
.hud_action_link:hover { background: #ef4444; color: #fff; box-shadow: 0 0 12px rgba(239, 68, 68, 0.5); }

/* Tablas Nativas del Motor Interno del Juego (getRankUser Mapping) */
.cyber_table_wrapper { width: 100%; overflow-x: auto; background: rgba(0, 0, 0, 0.15); border-radius: 6px; }
.cyber_table_header { display: grid; grid-template-columns: 50px 1.5fr 1fr 1fr 1.5fr; background: rgba(168, 78, 51, 0.15); border-bottom: 2px solid var(--accent-crimson); padding: 14px 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-pure); min-width: 600px; }
.cyber_table_body { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; min-width: 600px; }

.cyber_table_body .line, 
.cyber_table_body .line.op2 { display: grid; grid-template-columns: 50px 1.5fr 1fr 1fr 1.5fr; padding: 12px 20px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; align-items: center; font-size: 14px; margin-bottom: 0; }
.cyber_table_body .line:hover { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.3); transform: translateX(4px); }
.cyber_table_body .inside { display: contents; }
.cyber_table_body .rnk_i, .cyber_table_body .rnk_p, .cyber_table_body .rnk_r, .cyber_table_body .rnk_f { display: block; }

.dynamic_fade { animation: fadeInUpPanel 0.4s ease forwards; }
@keyframes fadeInUpPanel { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }


/* ==========================================================================
   11. BOTÓN FLOTANTE DISCORD INTERACTIVO
   ========================================================================== */
.discord_floating_btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #5865F2;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 9999;
    cursor: pointer;
    max-width: 54px; 
    transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.discord_icon_wrapper { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.discord_icon_wrapper svg { width: 24px; height: 24px; transition: transform 0.3s ease; }
.discord_floating_text { color: #ffffff; font-family: var(--font-primary); font-size: 13px; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap; padding-left: 0px; opacity: 0; transition: opacity 0.3s ease, padding 0.3s ease; text-transform: uppercase; }

.discord_floating_btn:hover {
    max-width: 200px; 
    background: #4752c4;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.8), 0 0 10px var(--accent-purple);
    transform: translateY(-3px);
}
.discord_floating_btn:hover .discord_floating_text { opacity: 1; padding-left: 10px; padding-right: 8px; }
.discord_floating_btn:hover .discord_icon_wrapper svg { transform: rotate(8deg) scale(1.1); }
.discord_floating_btn:active { transform: translateY(-1px) scale(0.98); }


/* ==========================================================================
   12. MEDIA QUERIES UNIFICADAS (RESPONSIVE & ADAPTABILIDAD)
   ========================================================================== */

/* --- PANTALLAS ULTRA AMPLIAS --- */
@media (min-width: 1920px) {
    .slider_container, .main_page_wrapper { margin-top: calc(1080px - 60px); }
}

/* --- REJILLAS ASIMÉTRICAS (DASHBOARD GENERAL) --- */
@media (min-width: 900px) {
    .dashboard_layout_grid { grid-template-columns: 320px 1fr; }
}

/* --- ADAPTACIÓN TABLETS / ESCRITORIOS MEDIANOS --- */
@media (max-width: 990px) {
    .user_panel_header_container { margin-right: 130px; }
    .login_input_group { width: 110px; }
}

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

@media (max-width: 290px) { /* Lógica colapso descargas y tiendas */
    .download_grid, .cash_grid { grid-template-columns: 1fr; gap: 15px; }
    .methods_layout { display: block; }
    .payment_gateway_card, .payment_instruction_box { display: block; width: 100%; }
    .payment_instruction_box { padding-left: 0; margin-top: 25px; }
    .admin_tag_box { flex-direction: column; gap: 12px; text-align: center; }
    .req_header { display: none; }
    .requirements_table { background: transparent; border: none; gap: 10px; }
    .req_row { grid-template-columns: 1fr; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; gap: 6px; padding: 15px; }
    .req_row div:nth-child(2)::before { content: 'Mínimo: '; font-weight: bold; color: var(--accent-purple); }
    .req_row div:nth-child(3)::before { content: 'Recomendado: '; font-weight: bold; color: #10b981; }
}

/* --- RESOLUCIÓN MÓVIL CRÍTICA UNIFICADA --- */
@media (max-width: 768px) {
    /* 1. Reset Spacers e Inyecciones de Fondo */
    #top_container { min-height: 140px; padding-top: 85px; }
    .main_page_wrapper { margin-top: 140px; }
    .gaming_auth_container, .gaming_dashboard_container { margin-top: 0; padding: 0 10px; }
    .slider_container { margin-top: 30px; }
    
    /* 2. Menu Navigation & Colisiones HUD Mobile */
    .mobile_toggle { display: block; background: rgba(0,0,0,0.3); padding: 10px 15px; }
    .menu_wrapper { height: auto; flex-direction: column; padding: 10px; gap: 10px; justify-content: flex-start; }
    
    #menu_container .list { display: none; flex-direction: column; width: 100%; background: rgba(7, 10, 18, 0.98); }
    #menu_container .list.active_menu { display: flex; }
    #menu_container .list a { width: 100%; }
    #menu_container .list .item { width: 100%; text-align: center; padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

    .mobile_bar_holder { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; background: rgba(11, 15, 25, 0.95); height: 50px; }
    
    /* 3. Reubicación Dinámica de HUD Area */
    .user_panel_header_container { position: relative; margin: 0 auto; right: auto; top: auto; width: 100%; justify-content: center; height: auto; padding: 12px 0; background: rgba(0, 0, 0, 0.4); border-bottom: 1px solid rgba(255, 255, 255, 0.05); order: 2; }
    .lang_selector_header { position: relative; right: auto; top: auto; margin: 5px auto; justify-content: center; width: auto; height: auto; gap: 8px; }
    .lang_flag { width: 22px; height: 15px; }
    .login_input_group { display: block; width: 120px; }
    .user_stats_mini { display: block; }
    
    /* 4. Clocks Widgets centralizados */
    .gaming_clocks_top { top: 15px; left: 50%; right: auto; transform: translateX(-50%); flex-direction: row; gap: 25px; width: calc(100% - 30px); max-width: 320px; justify-content: center; align-items: center; border-left: none; border-bottom: 2px solid var(--accent-crimson); }
    .clock_box { align-items: center; }
    
    /* 5. Estructuras de Tarjetas Generales */
    .unit { flex: 1 1 100%; }
    .register_card, .gaming_panel_card { padding: 20px !important; }

    /* 6. Adaptación Tablas PvP Ranking en móviles */
    .table_header_grid { grid-template-columns: 50px 60px 1fr 110px; }
    .th_item:nth-child(4) { display: none; }
    .table_body_dynamic .line { grid-template-columns: 50px 60px 1fr 110px; padding: 8px 12px; font-size: 13px; }
    .player_exp { display: none; }
    
    /* 7. Reducción e inmovilización de botón Discord */
    .discord_floating_btn { bottom: 20px; right: 20px; padding: 10px; max-width: 46px; }
    .discord_floating_btn:hover { max-width: 46px; transform: none; }
    .discord_floating_btn:hover .discord_floating_text { display: none; }
    .discord_icon_wrapper { width: 26px; height: 26px; }
    .discord_icon_wrapper svg { width: 20px; height: 20px; }
}