/*!
 =========================================================
 * WebEngine CMS - Futuristic Theme
 * Theme: Neon Void
 * Author: Antigravity
 =========================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;600;800&family=Michroma&display=swap');

:root {
    /* Original Brown / Orange Palette */
    --void-bg-secondary: rgb(5 5 22 / 86%);
    --glass-bg: rgb(5 5 22 / 86%);
    --glass-border: rgb(251 7 34 / 20%);
    --neon-cyan: #0080ff;
    --neon-purple: #0080ff;
    --neon-orange: #0080ff;
    --text-main: #E0E6ED;
    --text-muted: #8AA4C0;

    /* Effects */
    --glow-orange: 0 0 15px rgb(7 224 251 / 40%);
    --glow-cyan: 0 0 15px rgb(7 181 251 / 40%);
    --backdrop-blur: blur(10px);
    /* Fonts */
    --font-head: 'Michroma', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* Base Reset & Setup */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.panel-title,
.page-title {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    width: 100%;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-purple);
    text-shadow: var(--glow-purple);
    text-decoration: none;
}

/* Utility Classes */
.glass-panel {
    background: rgb(5 5 22 / 86%);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgb(255 139 0 / 10%);
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.text-neon {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.text-purple {
    color: var(--neon-purple);
    text-shadow: var(--glow-purple);
}

/* Layout Structure */
#header {
    display: none;
    /* Replaced by Hero Section */
}

/* Navigation - Floating Glass Header */
#navbar {
    width: 100%;
    height: 70px;
    background: rgb(5 5 22 / 86%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(255 235 0 / 10%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

#navbar ul {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    /* Centered menu */
    gap: 30px;
    padding: 0;
}

#navbar ul li {
    list-style: none;
}

#navbar ul li a {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-main) !important;
    font-size: 14px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#navbar ul li a:hover,
#navbar ul li a.active {
    color: var(--neon-cyan) !important;
    border-color: var(--neon-cyan);
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Hero Section */
#hero {
    height: 60vh;
    min-height: 800px;
    width: 100%;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-size: cover;

    padding-top: 20px;
    /* antes 70px */
}


#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(5, 10, 20, 0.3) 0%, var(--void-bg) 100%);
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out;
    width: 100%;
    max-width: 1200px;
}

.hero-logo {
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-cyan);
    padding: 20px 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-box-value {
    font-family: var(--font-head);
    font-size: 32px;
    color: #fff;
    display: block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-box-label {
    font-size: 14px;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Container */
#container {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    flex: 1 0 auto;
    /* Pushes footer to bottom */
    position: relative;
    z-index: 5;
}

#content {
    background: transparent;
    padding: 0;
}

/* Sidebar & Modules */
.panel-sidebar,
.card,
.panel-downloads,
.panel-general,
.panel-news,
.panel-usercp {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 30px;
    overflow: hidden;
}

.panel-heading,
.card-header,
.panel-title {
    background: linear-gradient(90deg, rgb(0 90 255 / 10%) 0%, #ff000036 100%) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    height: auto !important;
    line-height: normal !important;
    text-align: left !important;
    color: var(--neon-cyan) !important;
}

.panel-body,
.card-body {
    padding: 20px !important;
    color: #d9d9d9;
}

/* Inputs & Forms */
input[type=text],
input[type=password],
input[type=number],
.form-control {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 10px;
    border-radius: 4px;
}

input:focus,
.form-control:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3) !important;
    outline: none;
}

/* Buttons */
.btn,
button,
input[type=submit] {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-head);
    text-transform: uppercase;
    padding: 10px 20px;
    transition: all 0.3s;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover,
button:hover,
input[type=submit]:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: var(--glow-cyan);
}

.btn-primary {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.btn-primary:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: var(--glow-purple);
}

/* Tables */
.table {
    border-color: transparent !important;
}

.table th {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    font-family: var(--font-head);
    border: none !important;
    text-transform: uppercase;
    font-size: 12px;
}

.table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-main) !important;
    font-size: 16px;
}

.table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* News Module Specifically */
.panel-news .panel-title {
    font-size: 18px !important;
    padding: 15px !important;
    text-align: left !important;
    background: none !important;
    top: 0 !important;
}

.panel-news .panel-body {
    border: none !important;
}

/* Footer */
.footer {
    width: 100%;
    background: #0b0513;
    border-top: 1px solid rgb(225 255 0 / 10%);
    padding: 50px 0;
    margin-top: 50px;
    border-radius: 0;
    text-align: center;
    clear: both;
    flex-shrink: 0;
    /* Prevents footer from shrinking */
}

/* Custom Widgets Specifics */
.admin-card {
    text-align: center;
}

.admin-avatar img {
    border-radius: 50%;
    border: 2px solid var(--neon-rose);
    box-shadow: 0 0 15px rgb(255 113 0 / 0%);
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 15px 0;
}

.admin-title {
    color: var(--neon-rose);
    font-family: var(--font-head);
    font-size: 14px;
    letter-spacing: 2px;
}

.admin-name {
    font-size: 20px;
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--void-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseNeon {
    0% {
        box-shadow: 0 0 5px var(--neon-cyan);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-cyan);
    }

    100% {
        box-shadow: 0 0 5px var(--neon-cyan);
    }
}

/* Responsive */
@media (max-width: 1250px) {

    #container,
    #navbar ul {
        width: 95%;
        max-width: 95%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Server Info Bar */
.server-info-bar {
    max-width: 1110px;
    /* o 1100px si tu container es m¨¢s ancho */
    margin: 0 auto 25px auto;
    background: rgb(5 5 22 / 86%);
    padding: 18px 0;
    border-radius: 10px;
    border: 1px solid rgb(239 127 7 / 14%);
    /* box-shadow:
        0 8px 25px rgba(0, 240, 255, 0.35),
        inset 0 0 10px rgba(0, 240, 255, 0.15); */
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid clearfix rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-right: none;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.info-value {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--neon-cyan);
    font-weight: 700;
}

/* Sidebar Buttons Small */
.sidebar-btn-small {
    padding: 10px 5px !important;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar-btn-small .title {
    font-size: 16px !important;
}

.sidebar-btn-small .subtitle {
    display: none;
}


/* Striking Buttons (Neon Loop) */
.btn-striking {
    background: linear-gradient(90deg, #ff0055, #ff00cc, #ff0055);
    background-size: 200% auto;
    color: #fff;
    font-weight: bold;
    border: none;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
    animation: gradientLoop 2s linear infinite;
    text-transform: uppercase;
    border-radius: 4px;
}

@keyframes gradientLoop {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.btn-striking:hover {
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.8);
}

/* Enhanced Online Status */
.hero-online-status {
    font-size: 48px;
    font-weight: 900;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% {
        text-shadow: 0 0 10px #00ff00;
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 25px #00ff00, 0 0 50px #00ff00;
        transform: scale(1.05);
    }

    100% {
        text-shadow: 0 0 10px #00ff00;
        transform: scale(1);
    }
}

.hero-online-label {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.8;
}

/* Tabbed Widget Styling */
.nav-tabs-neon {
    border-bottom: 2px solid var(--neon-cyan);
}

.nav-tabs-neon>li>a {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-muted);
    border: none;
    margin-right: 2px;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 12px;
}

.nav-tabs-neon>li.active>a,
.nav-tabs-neon>li.active>a:hover,
.nav-tabs-neon>li.active>a:focus {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.nav-tabs-neon>li>a:hover {
    background: rgba(0, 240, 255, 0.2);
    color: #fff;
}

.tab-pane {
    padding-top: 15px;
}

/* Pagination / View More Button inside Widget */
.widget-view-more {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    color: var(--neon-cyan);
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.widget-view-more:hover {
    background: var(--neon-cyan);
    color: #000;
}


/* Super Prominent Online Status */
.hero-online-status.super-saiyan {
    font-size: 84px !important;
    font-weight: 900;
    color: #4aff4a;
    text-shadow: 0 0 20px #4aff4a, 0 0 40px #4aff4a, 0 0 60px #4aff4a;
    animation: superPulse 1s infinite alternate;
}

@keyframes superPulse {
    from {
        transform: scale(1);
        text-shadow: 0 0 20px #4aff4a, 0 0 40px #4aff4a;
    }

    to {
        transform: scale(1.1);
        text-shadow: 0 0 30px #4aff4a, 0 0 60px #4aff4a, 0 0 100px #4aff4a;
    }
}

/* Golden Crown */
.rank-1-crown {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Hero Action Buttons */
.hero-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-hero-large {
    font-size: 24px;
    padding: 15px 40px;
    border-radius: 5px;
    margin: 0 10px;
    font-family: var(--font-head);
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    color: #fff;
    text-decoration: none !important;
}

.btn-hero-large:hover {
    transform: scale(1.05) translateY(-5px);
    color: #fff;
}

.btn-hero-register {
    background: linear-gradient(45deg, #ff0055, #ff00cc);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

.btn-hero-download {
    background: linear-gradient(45deg, #00bdff, #00ffff);
    box-shadow: 0 10px 20px rgb(255 158 0 / 20%);
}

/* Navbar Login Button */
.navbar-login-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-login-small {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 8px 15px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 3px;
    transition: all 0.3s;
}

.btn-login-small:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}


/* Fix Ranking Image Sizes */
.rankings-class-image {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ensure consistent table cell height */
.table-condensed>tbody>tr>td {
    vertical-align: middle !important;
    padding: 8px 5px !important;
}

/* Force equal height containers if flexbox is not used */
.equal-height-panels {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-panels>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.equal-height-panels>[class*='col-']>.glass-panel {
    flex: 1;
}


/* --- NEW UX/UI OVERHAUL (OPTIMIZED) --- */

/* 1. Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out;
}

#loader-text {
    font-size: 40px;
    font-weight: bold;
    color: var(--neon-cyan);
    font-family: var(--font-head);
}

#loader-bar {
    width: 200px;
    height: 4px;
    background: #333;
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

#loader-progress {
    width: 0%;
    height: 100%;
    background: var(--neon-cyan);
    transition: width 0.1s;
}

/* 2. Equal Height Columns (News & Sidebar) */
.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.row-flex>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row-flex>[class*='col-']>.modules_cont,
.row-flex>[class*='col-']>.sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar .glass-panel:last-child {
    flex-grow: 1;
    /* Make the last widget fill remaining space if needed to match news */
}

/* 3. Enhanced Online Agents Button (Optimized) */
.hero-online-btn {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgb(11 175 0 / 48%) 0%, #022008 70%);
    border: 5px solid #ffa200;
    border-radius: 50% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgb(71 255 5 / 30%);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 70px rgba(0, 255, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }
}

.hero-online-btn .count {
    font-size: 84px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 25px #00ff00;
    line-height: 0.8;
}

.hero-online-btn .label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ff00;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

/* 4. Account & Character Stats (Distinct Styles) */
.stat-box-account,
.stat-box-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    border-radius: 100px !important;
    /* Fully rounded */
    background: rgba(255, 255, 255, 0.05);
    border: none !important;
    /* No neon borders */
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-box-account .value,
.stat-box-char .value {
    font-size: 34px;
    font-weight: 800;
    font-family: var(--font-head);
}

.stat-box-account .value {
    color: var(--neon-cyan);
}

.stat-box-char .value {
    color: var(--neon-purple);
}

.stat-box-account .label,
.stat-box-char .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* 5. Rounded Buttons & Mobile Fixes */
.btn,
.btn-hero-large,
.sidebar-btn-small,
.btn-login-small {
    border-radius: 100px !important;
    /* Fully rounded */
    border: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-box-account,
    .stat-box-char {
        order: 2;
        width: 100%;
        max-width: 320px;
    }

    .stat-box-middle {
        order: 1;
    }

    .navbar-login-btn {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        margin: 20px 0;
    }
}


/* 5. Login Modal Styles (Glassmorphism) */
.modal-glass .modal-content {
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
}

.modal-glass .modal-header {
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.modal-glass .close {
    color: #fff;
    opacity: 0.8;
}

.modal-glass .close:hover {
    color: var(--neon-cyan);
    opacity: 1;
}

/* 6. Social Media Buttons (Vectors) */
.social-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.btn-social {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-social:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: #fff;
}

/* Individual Social Colors */
.btn-social.facebook:hover {
    background: #3b5998;
    box-shadow: 0 0 20px #3b5998;
}

.btn-social.youtube:hover {
    background: #ff0000;
    box-shadow: 0 0 20px #ff0000;
}

.btn-social.discord:hover {
    background: #7289da;
    box-shadow: 0 0 20px #7289da;
}

.btn-social.whatsapp:hover {
    background: #25d366;
    box-shadow: 0 0 20px #25d366;
}

.btn-social.stream:hover {
    background: #6441a5;
    box-shadow: 0 0 20px #6441a5;
}

/* Twitch purple */

/* --- OVERRIDE BROWN COLORS --- */
.modules_cont,
.modules_cont_full {
    background: var(--void-bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- HERO STATS & BUTTONS RE-DESIGN --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.stat-box-account,
.stat-box-char {
    background: rgba(10, 5, 2, 0.85);
    /* Darker and more visible */
    border: 1px solid rgba(251, 133, 7, 0.3);
    /* Orange border */
    padding: 15px 25px;
    border-radius: 50px;
    min-width: 160px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-box-account:hover,
.stat-box-char:hover {
    background: rgba(10, 5, 2, 0.95);
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 133, 7, 0.2);
}

.stat-box-account .value,
.stat-box-char .value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-head);
    display: block;
}

.stat-box-account .label,
.stat-box-char .label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-box-middle {
    z-index: 2;
}

.hero-online-btn {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.15) 0%, transparent 70%);
    border: 5px solid #00ff00;
    border-radius: 50% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.3);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(0, 255, 0, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }
}

.hero-online-btn .count {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: -5px;
}

.hero-online-btn .label {
    font-size: 14px;
    font-weight: 600;
    color: #00ff00;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

/* Hero Actions (Rounded, No Neon Borders) */
.btn-hero-large {
    border-radius: 100px !important;
    border: none !important;
    font-weight: 700;
    padding: 18px 50px;
    font-size: 20px;
}

.btn-hero-register {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-hero-download {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.btn-hero-large:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* Improve Register Page / Form Elements */
.modules_cont input[type="text"],
.modules_cont input[type="password"],
.modules_cont input[type="email"],
.modules_cont select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
    height: auto !important;
}

.modules_cont .btn-primary {
    border-radius: 50px !important;
    background: var(--neon-cyan) !important;
    border: none !important;
    color: #000 !important;
    font-weight: 700;
    padding: 12px 30px;
    text-transform: uppercase;
}

.modules_cont table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.modules_cont tr {
    background: rgba(255, 255, 255, 0.02);
}

.modules_cont td {
    padding: 15px !important;
    border: none !important;
}

.modules_cont tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- RANKING MODULE VOID OVERHAUL --- */
.rankings_menu {
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 0 30px rgba(251, 133, 7, 0.2);
    backdrop-filter: blur(10px);
}

.rankings_menu a {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan) !important;
    padding: 12px 25px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 0 10px rgba(251, 133, 7, 0.1);
}

.rankings_menu a:hover {
    background: var(--neon-cyan);
    color: #000 !important;
    box-shadow: 0 0 25px var(--neon-cyan);
    transform: translateY(-3px) scale(1.05);
}

/* --- ADMINCP BUTTON MOVE --- */
/* Targetting standard WebEngine AdminCP link classes and IDs */
#admincp_menu,
.admin-link,
[href*="admincp"] {
    position: fixed !important;
    top: 90px !important;
    /* Below Navbar */
    left: 20px !important;
    bottom: auto !important;
    z-index: 9999 !important;
    background: #ff3300 !important;
    color: #fff !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.5) !important;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none !important;
}

/* --- REMOVE PANEL FOOTER --- */
.panel-footer {
    display: none !important;
}

/* --- MY ACCOUNT / USERCP FIXES --- */
.panel-usercp,
.modules_cont {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modules_cont table {
    table-layout: auto !important;
    max-width: 100% !important;
}

.modules_cont .panel-body {
    overflow-x: auto;
    /* Allow horizontal scroll if table is too wide on mobile */
}

/* Ensure data doesn't overflow boxes */
.user_config_table td,
.myaccount_table td {
    padding: 12px 10px !important;
    vertical-align: middle !important;
}

@media (max-width: 768px) {
    .rankings_menu {
        flex-direction: column;
        align-items: stretch;
    }

    .rankings_menu a {
        text-align: center;
    }

    [href*="admincp"] {
        top: auto !important;
        bottom: 20px !important;
        left: 20px !important;
    }
}

/* --- RANKINGS PAGE ONLY BACKGROUND --- */
.content-rankings {
    background: rgba(5 5 22 / 86%) !important;
    border: 2px solid rgba(251, 133, 7, 0.4);
    border-radius: 15px;
    padding: 40px !important;
    max-width: 1100px;
    margin: 20px auto 60px auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
}

/* Enmarcar cada seccion interna del Ranking */
.content-rankings .rankings_menu,
.content-rankings .rankings-table-container,
.content-rankings .rankings-filter {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(251, 133, 7, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.rankings_menu {
    border: 1px solid rgba(251, 133, 7, 0.5);
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rankings_menu a {
    border: 2px solid var(--neon-cyan);
    background: rgba(251, 133, 7, 0.1);
    padding: 12px 25px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 5px;
    color: #fff !important;
    transition: all 0.3s;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    min-width: 150px;
}

/* === REGISTRO WIDGET MOVED TO register.css === */

/* End of clean styles */

/* Floating Widget */
.floating-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fw-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fw-btn i {
    font-size: 18px;
}

/* Discord */
.fw-btn.discord {
    background: #5865F2;
}

.fw-btn.discord:hover {
    background: #4752c4;
    transform: translateX(5px);
}

/* WhatsApp */
.fw-btn.whatsapp {
    background: #25D366;
}

.fw-btn.whatsapp:hover {
    background: #1ebe5d;
    transform: translateX(5px);
}

/* Guide */
.fw-btn.guide {
    background: #444;
}

.fw-btn.guide:hover {
    background: #222;
    transform: translateX(5px);
}

/* Responsive (solo iconos en m¨®vil) */
@media (max-width: 768px) {
    .fw-btn span {
        display: none;
    }

    .fw-btn {
        padding: 14px;
        justify-content: center;
        border-radius: 50%;
        width: 50px;
        height: 50px;
    }
}

.payment-info-box {
    margin-top: 30px;
    text-align: center;
}

.payment-detail {
    background: #1b1b1b;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 200, 255, .4);
}

.send-proof {
    margin-top: 40px;
    text-align: center;
}

.proof-btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: .3s;
}

.proof-btn.discord {
    background: #5865F2;
}

.proof-btn.whatsapp {
    background: #25D366;
}

.proof-btn:hover {
    transform: scale(1.1);
}

/* ================= DONATION FULL PAGE ================= */

/* CONTENEDOR GENERAL */
.donation-full {
    max-width: 900px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

/* TITULOS */
.df-title {
    text-align: center;
    color: #c8a95c;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(200, 169, 92, 0.6);
}

.df-desc {
    text-align: center;
    margin-bottom: 25px;
    color: #ddd;
}

/* CAJAS */
.df-box {
    background: #160f05;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 14px;
    border: 2px solid #c8a95c;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* TABLA */
.df-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.df-table th {
    color: #c8a95c;
    font-weight: bold;
    background: #120b03;
}

.df-table td,
.df-table th {
    padding: 12px;
    border-bottom: 1px solid #2b1d0c;
}

.df-table tr:hover {
    background: #1d1206;
}

/* GRID PAGOS */
.df-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.df-card {
    background: #1a1107;
    padding: 18px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: bold;
    border: 1px solid #2b1d0c;
}

.df-card:hover {
    background: #c8a95c;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(200, 169, 92, 0.6);
}

/* MODAL */
.df-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.df-modal-content {
    background: #160f05;
    padding: 30px;
    border-radius: 12px;
    width: 420px;
    text-align: center;
    border: 2px solid #c8a95c;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.df-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: #c8a95c;
}

/* BOTONES */
.df-btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 18px;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.df-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* RESULTADO */
.df-result {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    color: #c8a95c;
    font-weight: bold;
}

/* ================= CALCULADORA ================= */

.donation-container {
    max-width: 700px;
    margin: auto;
    padding: 30px;
    background: #160f05;
    border-radius: 16px;
    border: 2px solid #c8a95c;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.donation-title {
    text-align: center;
    color: #c8a95c;
    margin-bottom: 25px;
    text-shadow: 0 0 6px rgba(200, 169, 92, 0.6);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2b1d0c;
    background: #120b03;
    color: #fff;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border: 1px solid #c8a95c;
    box-shadow: 0 0 8px rgba(200, 169, 92, 0.5);
}

.btn-calculate {
    padding: 14px;
    background: linear-gradient(145deg, #c8a95c, #a88a3f);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    color: #000;
}

.btn-calculate:hover {
    background: #e6c97c;
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(200, 169, 92, 0.8);
}

/* =========================
   WIDGET VIP
========================= */

.vip-widget {
    background: linear-gradient(145deg, #160f05, #1f1408);
    border: 2px solid #b8860b;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    max-width: 420px;
    margin: 30px auto;
    box-shadow: 0 0 25px rgba(184, 134, 11, 0.4);
    position: relative;
    transition: 0.3s ease-in-out;
}

.vip-widget:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(184, 134, 11, 0.7);
}

.vip-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #b8860b;
    color: #000;
    padding: 6px 15px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 14px;
}

.vip-widget h2 {
    color: #ffd700;
    margin-top: 10px;
    font-size: 22px;
}

.vip-price {
    margin: 15px 0;
}

.vip-price span {
    display: block;
    color: #ccc;
    font-size: 14px;
}

.vip-price strong {
    font-size: 28px;
    color: #ffd700;
}

.vip-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.vip-benefits li {
    padding: 6px 0;
    color: #ddd;
    font-size: 15px;
}

.vip-button {
    display: inline-block;
    background: #b8860b;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.vip-button:hover {
    background: #ffd700;
    box-shadow: 0 0 15px #ffd700;
}

/* TOURNAMENT WINNERS CAROUSEL */
.tournament-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tournament-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.tournament-carousel-track:hover {
    animation-play-state: paused;
}

.tournament-card {
    background: rgb(5 5 22 / 86%);
    border: rgb(5 5 22 / 86%);
    border-radius: 10px;
    width: 200px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.tournament-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(251, 133, 7, 0.4);
}

.t-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(251, 133, 7, 0.2);
}

.t-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tournament-card:hover .t-card-img img {
    transform: scale(1.1);
}

.t-card-info {
    padding: 15px;
    text-align: center;
}

.t-card-name {
    font-family: var(--font-head);
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.t-card-winner {
    font-size: 16px;
    font-weight: bold;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 7 - 30px * 7));
        /* card width * 7 + gap * 7 */
    }
}

/* KING OF MU SECTION */
.king-of-mu-container {
    padding: 40px;
    border: 2px solid var(--neon-cyan);
    background: #000000;
    box-shadow: 0 0 30px rgb(7 251 157 / 20%), inset 0 0 50px rgb(7 226 251 / 10%);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.king-of-mu-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(7 82 251 / 10%) 0%, transparent 70%);
    animation: rotateBg 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.king-title {
    font-family: var(--font-head);
    font-size: 32px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.king-clan-name {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-head);
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 30px var(--neon-cyan);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: pulseKing 2s infinite ease-in-out;
}

@keyframes pulseKing {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--neon-cyan);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px var(--neon-cyan), 0 0 50px var(--neon-cyan);
    }
}

.king-crown-icon {
    font-size: 60px;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: floatCrown 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes floatCrown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}







/* Butcher Widget - Hero Section Placement */
.butcher-widget-container {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: rgba(22, 15, 5, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid #fb8507;
    /* Color naranja neon */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(251, 133, 7, 0.3);
    z-index: 100;
}

.butcher-title {
    font-family: 'Michroma', sans-serif;
    color: #fb8507;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(251, 133, 7, 0.2);
    padding-bottom: 10px;
}

.butcher-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.butcher-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fb8507;
    background: #000;
}

.butcher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.butcher-name {
    font-weight: bold;
    color: #fff;
    font-size: 15px;
}

.butcher-stats {
    display: flex;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
}

.butcher-stats .kills {
    color: #00ff00;
}

.butcher-stats .deaths {
    color: #ff3333;
}

/* Responsive: En m¨®viles se pone debajo de los botones principales */
@media (max-width: 1500px) {
    .butcher-widget-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin: 40px auto 0;
        width: 100%;
        max-width: 320px;
    }
}