/* =========================================
   ESTILOS (style.css / animations.css)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --neon-cyan: #00f2ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff00ff;
    --dark-bg: #020617;
}

body, html {
    margin: 0; padding: 0; overflow: hidden;
    background-color: var(--dark-bg);
    font-family: 'Orbitron', sans-serif;
    color: white;
}

.cyber-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.health-bar-inner {
    background: linear-gradient(90deg, #ff0055, #00ff88);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scanlines::before {
    content: " "; display: block; position: absolute;
    inset-block-start: 0; inset-inline-start: 0; inset-block-end: 0; inset-inline-end: 0;
    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));
    z-index: 2; background-size: 100% 2px, 3px 100%; pointer-events: none;
}

#ui-root {
    perspective: 1200px;
}

.lobby-backdrop {
    background: radial-gradient(circle at top, rgba(255, 157, 40, 0.22), transparent 18%),
                radial-gradient(circle at 15% 35%, rgba(179, 52, 255, 0.18), transparent 18%),
                radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.16), transparent 18%),
                linear-gradient(180deg, #1f0d20 0%, #09080f 70%);
    filter: blur(0.5px);
    opacity: 0.95;
    z-index: 0;
}

.top-panel {
    position: relative;
    z-index: 2;
}

.logo-badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.top-currency .currency-chip {
    min-inline-size: 170px;
}

.hero-stage {
    min-block-size: 380px;
}

.stage-glow {
    position: absolute;
    inline-size: 780px;
    block-size: 780px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 179, 41, 0.28), transparent 55%);
    filter: blur(50px);
    inset-block-end: -160px;
    z-index: 1;
}

.hero-card {
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 241, 143, 0.18), transparent 50%);
    filter: blur(24px);
    z-index: 1;
}

.hero-avatar {
    position: relative;
    inline-size: 260px;
    block-size: 260px;
    border-radius: 999px;
    margin: 0 auto;
    background: radial-gradient(circle at 30% 20%, #ffdf62, #ff6b5d 40%, #5327f1 100%);
    box-shadow: 0 0 90px rgba(255, 138, 72, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.12);
    z-index: 2;
}

.play-button {
    background: linear-gradient(135deg, #ffb800 0%, #ff7d0d 100%);
    color: #111827;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.event-card {
    background: rgba(8, 8, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.menu-button,
.icon-button {
    min-inline-size: 124px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.88);
    color: #e2e8f0;
    padding: 0.95rem 1.25rem;
    border-radius: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-button:hover,
.icon-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.sidebar {
    z-index: 2;
}

.left {
    inline-size: max-content;
}

.right {
    inline-size: max-content;
}
