/**
 * ONYXPURE — JKT48 3D Arena
 * css/style.css
 * 
 * Luxury Obsidian & Gold/Cyan Aesthetic
 * Responsive MOBA UI for Desktop & Mobile Touch
 */

/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
    --bg-dark: #07090e;
    --bg-panel: rgba(13, 17, 28, 0.78);
    --bg-card: rgba(22, 28, 45, 0.65);
    --bg-card-hover: rgba(30, 41, 68, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.35);

    --gold-primary: #f59e0b;
    --gold-glow: #fbbf24;
    --cyan-primary: #38bdf8;
    --cyan-glow: #0ea5e9;
    --magenta-primary: #ec4899;
    --magenta-glow: #f43f5e;

    /* Dynamic Team Color (Updated by JS) */
    --team-theme-color: #38bdf8;

    --font-heading: 'Cinzel', 'Trajan Pro', 'Outfit', serif, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: #e2e8f0;
    font-family: var(--font-body);
}

/* ==========================================================================
   2. LUXURY CALLIGRAPHY LOADING SCREEN
   ========================================================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at center, #0f172a 0%, #06080d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Drifting Background Ember Particles */
.loading-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #38bdf8, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 140px 70px, #f59e0b, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #38bdf8, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: embersDrift 14s linear infinite;
    opacity: 0.35;
}

@keyframes embersDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 680px;
    padding: 24px;
    text-align: center;
}

/* SVG Calligraphy "ONYXPURE" */
.calligraphy-box {
    width: 100%;
    max-width: 520px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.6)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.35));
}

.svg-calligraphy {
    width: 100%;
    height: 100%;
}

.calligraphy-stroke {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: strokeDraw 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes strokeDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.loading-subtitle {
    margin-top: 14px;
    font-size: 0.85rem;
    letter-spacing: 0.45em;
    color: #94a3b8;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Loading Progress Bar */
.loading-bar-track {
    width: 320px;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-top: 32px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #38bdf8, #ec4899);
    border-radius: 999px;
    box-shadow: 0 0 12px #38bdf8;
    transition: width 0.35s ease;
}

.loading-status-text {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   3. HERO SELECTION LOBBY LAYOUT
   ========================================================================== */
.lobby-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #0d1222 0%, #06080d 100%);
}

/* Header */
.lobby-header {
    height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 11, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10;
}

.lobby-brand .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--team-theme-color);
    font-family: var(--font-heading);
    display: block;
}

.lobby-brand .brand-title {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lobby-repo-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

.repo-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.btn-upload-label {
    font-size: 0.8rem;
    padding: 7px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upload-label:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--cyan-primary);
}

/* 3-Column Lobby Content */
.lobby-content {
    flex: 1;
    display: grid;
    grid-template-columns: 340px 1fr 380px;
    overflow: hidden;
    position: relative;
}

/* ---------------- Left Panel: Hero Roster ---------------- */
.panel-roster {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 5;
}

.roster-filters {
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-tabs {
    display: flex;
    gap: 6px;
}

.tab-btn {
    flex: 1;
    padding: 8px 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--team-theme-color);
    color: #ffffff;
}

.search-filter-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-input {
    width: 100%;
    padding: 9px 14px;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--team-theme-color);
}

.ready-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
    cursor: pointer;
}

.roster-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roster-list::-webkit-scrollbar {
    width: 5px;
}
.roster-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

/* Hero Cards */
.hero-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.hero-card.selected {
    background: rgba(56, 189, 248, 0.18);
    border-color: var(--team-theme-color);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.avatar-initial {
    font-size: 1.15rem;
    font-weight: 700;
    color: #cbd5e1;
}

.badge-ready {
    position: absolute;
    bottom: -4px;
    font-size: 0.55rem;
    background: #10b981;
    color: #000000;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
    box-shadow: 0 0 6px #10b981;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.card-meta {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ---------------- Center Panel: 3D Turntable ---------------- */
.panel-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#stage-canvas {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

.stage-overlay-top {
    position: absolute;
    top: 24px;
    left: 28px;
    pointer-events: none;
}

.hero-stage-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--team-theme-color);
}

.hero-stage-name {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.hero-stage-title {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: 4px;
}

.stage-hologram-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 440px;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
    pointer-events: none;
}

.hologram-icon {
    font-size: 2rem;
}

.hologram-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--cyan-primary);
}

.hologram-text span {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.stage-tip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    letter-spacing: 0.05em;
}

/* ---------------- Right Panel: Inspector ---------------- */
.panel-inspector {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 5;
}

.inspector-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.inspector-scroll::-webkit-scrollbar {
    width: 5px;
}
.inspector-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.section-tag {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--team-theme-color);
    margin-bottom: 8px;
}

.weapon-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.weapon-icon {
    font-size: 1.6rem;
}

.weapon-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}

.weapon-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}

.hero-lore-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin-top: 10px;
}

/* Skill Cards */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-card {
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: transform 0.2s;
}

.skill-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.skill-card.ult-highlight {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(22, 28, 45, 0.8));
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.skill-type-pill {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.skill-type-pill.passive { background: #64748b; color: #ffffff; }
.skill-type-pill.s1 { background: #0284c7; color: #ffffff; }
.skill-type-pill.s2 { background: #7c3aed; color: #ffffff; }
.skill-type-pill.ult { background: #d97706; color: #ffffff; }

.skill-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.skill-card-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #94a3b8;
}

/* Enter Arena Button Footer */
.inspector-action-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(8, 11, 18, 0.9);
}

.btn-enter-arena {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
    cursor: pointer;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-enter-arena:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.7);
}

.btn-enter-arena:active {
    transform: translateY(1px);
}

/* ==========================================================================
   4. ARENA 3D GAMEPLAY HUD & CONTROLS
   ========================================================================== */
.arena-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

#arena-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Top HUD */
.arena-top-hud {
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.hud-hero-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    pointer-events: auto;
}

.hud-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    border: 2px solid var(--team-theme-color);
}

.hud-hero-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hud-hero-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.hud-hero-team {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.hud-hero-team.team-dream { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.hud-hero-team.team-love { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.hud-hero-team.team-passion { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }

.stat-bar-track {
    width: 170px;
    height: 9px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-bar-fill.hp-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #22c55e);
    border-radius: 999px;
    transition: width 0.15s ease;
}

.stat-bar-fill.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 999px;
    transition: width 0.15s ease;
}

.stat-bar-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px #000000;
}

/* Center Score / Dummy Tracker */
.hud-score-board {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    pointer-events: auto;
}

.score-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: #94a3b8;
    font-weight: 700;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f59e0b;
}

/* Top Right Actions */
.hud-top-actions {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.btn-hud-small {
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.btn-hud-small:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--cyan-primary);
}

.btn-lobby-return {
    background: rgba(225, 29, 72, 0.25);
    border-color: rgba(225, 29, 72, 0.5);
}
.btn-lobby-return:hover {
    background: rgba(225, 29, 72, 0.45);
}

/* Virtual Joystick Zone */
.joystick-zone {
    position: absolute;
    bottom: 35px;
    left: 40px;
    z-index: 15;
    touch-action: none;
}

.joystick-base {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 2px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
    position: relative;
}

.joystick-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.05s ease-out;
}

/* Bottom Right MOBA Skill Cluster */
.moba-skill-cluster {
    position: absolute;
    bottom: 35px;
    right: 40px;
    z-index: 15;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    touch-action: none;
}

.moba-btn {
    position: relative;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, border-color 0.2s ease;
}

.moba-btn:active, .moba-btn.active {
    transform: scale(0.92);
}

.moba-btn.on-cooldown {
    filter: grayscale(0.5);
    pointer-events: none;
}

.moba-btn.no-energy {
    border-color: #ef4444;
    opacity: 0.6;
}

/* Big Attack Button */
.btn-attack {
    width: 86px;
    height: 86px;
    background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
    border: 3px solid #fbbf24;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.5);
}

.attack-icon {
    font-size: 2.1rem;
}

.attack-shortcut-badge {
    position: absolute;
    bottom: 8px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Skill Buttons (Q, W, R) */
.skill-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.skill-btn-label {
    font-size: 0.68rem;
    color: #cbd5e1;
    font-weight: 600;
    max-width: 75px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-q, .skill-w {
    width: 64px;
    height: 64px;
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.skill-r {
    width: 74px;
    height: 74px;
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.skill-shortcut-badge {
    position: absolute;
    top: 6px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #94a3b8;
}

.skill-icon-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Cooldown Height Overlay */
.cd-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
    transition: height 0.1s linear;
}

.cd-number {
    position: absolute;
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 8px #000000;
    display: none;
}

/* Center Announcement Banner */
.arena-announcement {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    border: 2px solid #f59e0b;
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.6);
    padding: 14px 32px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 25;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arena-announcement span {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-shadow: 0 0 12px #f59e0b;
    font-family: var(--font-heading);
}

/* ==========================================================================
   5. MOBILE & TABLET RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .lobby-content {
        grid-template-columns: 280px 1fr;
    }
    .panel-inspector {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 320px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .panel-inspector.mobile-open {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .lobby-content {
        grid-template-columns: 1fr;
    }
    .panel-roster {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 20;
    }
    .stage-overlay-top .hero-stage-name {
        font-size: 2.0rem;
    }
    .joystick-zone {
        bottom: 20px;
        left: 20px;
    }
    .moba-skill-cluster {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .btn-attack {
        width: 72px;
        height: 72px;
    }
    .skill-q, .skill-w {
        width: 52px;
        height: 52px;
    }
    .skill-r {
        width: 62px;
        height: 62px;
    }
}
