/* ===================================================
   FIRE ARCADE WEB PORTAL - MASTER COMPLETE STYLESHEET
   =================================================== */


/* ==========================================
   NEON OBERON ARCADE - DESIGN SYSTEM & RULES
   ========================================== */

:root {
    /* Color Palette */
    --bg-dark: #050512;
    --bg-deep: #020207;
    --card-bg: rgba(6, 6, 16, 0.7);
    --card-border: rgba(0, 243, 255, 0.15);
    --card-border-hover: rgba(255, 0, 127, 0.4);
    
    /* Neon Glo Colors */
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff007f;
    --neon-violet: #9d00ff;
    --neon-yellow: #ffe600;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--bg-deep);
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-scroll 24s linear infinite;
}

.oberon-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.oberon-glow.blue {
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    width: 60vw;
    height: 60vw;
    top: -10vw;
    right: -10vw;
    animation: float-slow 30s ease-in-out infinite alternate;
}

.oberon-glow.magenta {
    background: radial-gradient(circle, var(--neon-magenta) 0%, transparent 70%);
    width: 50vw;
    height: 50vw;
    bottom: -10vw;
    left: -10vw;
    animation: float-slow 25s ease-in-out infinite alternate-reverse;
}

/* Glassmorphism Panel base */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

/* Nav Bar styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(5, 5, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.accent-text {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
}

.nav-links a > * {
    pointer-events: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    gap: 20px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: var(--cursor-pointer);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-btn:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.05);
}

.music-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 8px;
}

.music-player button {
    background: transparent;
    border: none;
    color: var(--neon-magenta);
    cursor: var(--cursor-pointer);
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
}

.music-player button > * {
    pointer-events: none;
}

.music-player button:hover {
    background: rgba(0, 243, 255, 0.15);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.music-player button.playing {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    animation: dance-music 2s ease-in-out infinite;
}

.track-select {
    background: transparent;
    color: transparent;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    outline: none;
    cursor: var(--cursor-pointer);
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300f3ff" viewBox="0 0 24 24" width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

.track-select:hover, .track-select:focus {
    box-shadow: none;
    border-color: transparent;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.track-select option {
    background: var(--bg-deep);
    color: var(--text-main);
}

.volume-slider-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: var(--cursor-pointer);
}

.volume-slider-container input[type="range"]:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.volume-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: var(--cursor-pointer);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.volume-slider-container input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.3);
}

/* Music Sliders (Cyan) */
#volume-slider::-webkit-slider-thumb, #modal-volume-slider::-webkit-slider-thumb {
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
}

/* SFX Sliders (Yellow) */
#sfx-slider::-webkit-slider-thumb, #modal-sfx-slider::-webkit-slider-thumb {
    background: var(--neon-yellow);
    box-shadow: 0 0 12px var(--neon-yellow);
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: var(--cursor-pointer);
    background: rgba(10, 18, 32, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.25);
    color: var(--text-main);
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.profile-summary * {
    pointer-events: none;
}

.profile-summary:hover {
    background: rgba(15, 26, 46, 0.9);
    border-color: #00f3ff;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.35);
}

.profile-summary .avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 243, 255, 0.12);
    border: 1.5px solid #00f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #00f3ff;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
    flex-shrink: 0;
}

.profile-summary .profile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 85px;
}

.profile-summary .username {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.profile-summary .xp-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.profile-summary .xp-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f3ff, #38f9d7);
    box-shadow: 0 0 6px rgba(0, 243, 255, 0.6);
    transition: width 0.3s ease;
}

.profile-summary .level-badge {
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.6);
    flex-shrink: 0;
}

/* Page Layout */
.content-container {
    max-width: 1400px;
    width: 100%;
    margin: 32px auto;
    padding: 0 24px;
    display: flex;
    gap: 32px;
    flex-grow: 1;
}

.sidebar-column {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: calc(100vh - 160px);
    position: sticky;
    top: 100px;
}

.sidebar-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.sidebar-scoreboard {
    display: flex;
    flex-direction: column;
    height: 35%;
    overflow: hidden;
}

.scoreboard-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scoreboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

.scoreboard-item.player-row {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.scoreboard-name {
    color: var(--text-main);
    font-weight: 600;
}

.scoreboard-score {
    color: var(--neon-yellow);
    font-weight: 800;
}

/* In-Game Scoreboard Specific Overrides */
#oberon-scoreboard-container .scoreboard-item {
    background: transparent;
    border: none;
    padding: 2px 8px;
    box-shadow: none;
    font-size: 0.8rem;
}

#oberon-scoreboard-container .scoreboard-item.player-row {
    background: rgba(255, 0, 255, 0.05);
    border-left: 3px solid var(--neon-magenta);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

#oberon-scoreboard-container .scoreboard-list {
    padding: 0;
    overflow: hidden;
}

.main-feed {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Sidebar Chat styles */
.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.online-indicator {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: dot-pulse 2s infinite;
}

.chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.chat-msg .sender-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.chat-msg .sender {
    font-weight: 700;
}

.chat-msg .lvl {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--neon-cyan);
}

.chat-msg .text {
    color: #cbd5e1;
    word-break: break-word;
}

.chat-input-container {
    padding: 12px;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    display: flex;
    gap: 8px;
}

.chat-input-container input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

.chat-input-container input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.chat-input-container button {
    background: var(--neon-cyan);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--bg-dark);
    font-size: 0.9rem;
    cursor: var(--cursor-pointer);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-input-container button:hover {
    background: white;
    box-shadow: 0 0 12px var(--neon-cyan);
    transform: scale(1.05);
}

/* Hero Banner */
.hero-banner {
    display: flex;
    padding: 40px;
    overflow: hidden;
    position: relative;
}

.hero-banner:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.15);
}

.hero-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.neon-pulse-magenta {
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.6), 0 0 15px rgba(255, 0, 127, 0.3);
    animation: neon-flicker 3s ease-in-out infinite;
}

.neon-sign-box {
    border: 2px solid var(--neon-magenta);
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.4), inset 0 0 6px rgba(255, 0, 127, 0.4);
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
    animation: neon-flicker 3s ease-in-out infinite;
    margin-left: 4px;
    display: inline-block;
}

.badge.neon-pulse-magenta {
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid var(--neon-magenta);
}

.badge.neon-static-magenta {
    background: rgba(255, 0, 127, 0.12);
    border: 1px solid rgba(255, 0, 127, 0.6);
    color: var(--neon-magenta);
    text-shadow: 0 0 5px rgba(255, 0, 127, 0.5);
}

.badge.neon-static-cyan {
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.6);
    color: var(--neon-cyan);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

/* Carousel Indicators */
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: var(--cursor-pointer);
    transition: all 0.3s ease;
}
.indicator-dot.active {
    background: var(--neon-cyan);
    border-color: #fff;
    box-shadow: 0 0 10px var(--neon-cyan);
    transform: scale(1.2);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    min-height: 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, white 40%, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 520px;
    min-height: 44px;
}

.hero-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--neon-cyan);
}

.hero-meta i.text-yellow {
    color: var(--neon-yellow);
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Hero Visual & Rotating Ship Artwork */
.hero-visual {
    flex: 0.8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.game-visual-mock {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.12) 0%, transparent 70%);
    border: 1px dashed rgba(0, 243, 255, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-music 20s linear infinite;
}

.game-visual-mock .ship-icon {
    font-size: 3.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 243, 255, 0.4);
    transform: rotate(-45deg);
}

.laser-beam {
    position: absolute;
    width: 3px;
    height: 60px;
    border-radius: 2px;
}

.laser-beam.blue {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    top: 10px;
    right: 40px;
    transform: rotate(45deg);
}

.laser-beam.magenta {
    background: var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta);
    bottom: 20px;
    left: 30px;
    transform: rotate(-45deg);
}

.starfield-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 243, 255, 0.06) 100%);
    border-radius: 50%;
    z-index: -1;
}

@keyframes rotate-music {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    cursor: var(--cursor-pointer);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.btn > * {
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.15) 0%, rgba(5, 13, 26, 0.95) 100%), #070d18;
    border: 1.5px solid #00f3ff;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.28) 0%, rgba(7, 20, 38, 0.98) 100%), #070d18;
    border-color: #38f9d7;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.55), inset 0 0 16px rgba(0, 243, 255, 0.25);
    color: #ffffff;
    text-shadow: 0 0 12px #00f3ff;
}

.btn-secondary {
    background: rgba(10, 18, 32, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
}

.btn-secondary:hover {
    background: rgba(20, 32, 54, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: linear-gradient(180deg, rgba(255, 0, 60, 0.18) 0%, rgba(20, 5, 10, 0.95) 100%), #14050a;
    border: 1.5px solid #ff003c;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 0, 60, 0.8);
}

.btn-danger:hover {
    background: rgba(255, 0, 60, 0.25);
    border-color: #ff003c;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.6), inset 0 0 12px rgba(255, 0, 60, 0.25);
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}


button, .btn, .oberon-menu-btn, .modal-btn, .tactical-btn, .nav-btn, .nav-links a, .close-drawer-btn, .lobby-header-btn, .lobby-mode-btn, .lobby-network-btn, .keybind-btn, .tactical-btn-cancel, .tactical-btn-submit, .profile-summary, .play-game-trigger {
    touch-action: manipulation !important;
    cursor: var(--cursor-pointer);
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: auto !important;
}

button > *, .btn > *, .oberon-menu-btn > *, .modal-btn > *, .tactical-btn > *, .nav-btn > *, .nav-links a > *, .close-drawer-btn > *, .lobby-header-btn > *, .lobby-mode-btn > *, .lobby-network-btn > *, .keybind-btn > *, .tactical-btn-cancel > *, .tactical-btn-submit > *, .profile-summary > * {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

/* Stable Non-Moving Active Hitboxes (Zero bounce/displacement under pointer) */
button:active, .btn:active, .oberon-menu-btn:active, .modal-btn:active, .tactical-btn:active, .nav-btn:active, .close-drawer-btn:active, .lobby-header-btn:active, .lobby-mode-btn:active, .lobby-network-btn:active, .keybind-btn:active, .tactical-btn-cancel:active, .tactical-btn-submit:active {
    transform: none !important;
}

/* Instant High-Contrast Visual Feedback on Pointerdown/Active */
.modal-btn:active {
    background: var(--neon-cyan) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 14px var(--neon-cyan) !important;
}

.modal-btn.close-btn:active {
    background: #ff003c !important;
    color: white !important;
    box-shadow: 0 0 16px #ff003c !important;
}

.tactical-btn-primary:active,
.btn-primary:active {
    background: #00f3ff !important;
    color: #050b14 !important;
    box-shadow: 0 0 20px #00f3ff !important;
}

.tactical-btn-secondary:active,
.btn-secondary:active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Passive Decorative Overlays & Inactive Modals (Strict Pass-Through) */
.space-background,
.grid-overlay,
.oberon-glow,
.game-modal-overlay:not(.active),
#bug-modal:not(.active),
#game-settings-overlay:not(.active),
.profile-drawer-overlay:not(.active),
#profile-drawer:not(.active) {
    pointer-events: none !important;
}

.game-modal-overlay.active,
#bug-modal.active,
#profile-drawer.active,
.profile-drawer-overlay.active {
    pointer-events: auto !important;
}

.oberon-menu-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.4s ease-in-out;
    z-index: 2;
    pointer-events: none;
}


/* =========================================================================
   FEATURED SINGLE GAME BOX (OBERON VANGUARD)
   ========================================================================= */

.showcase-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
    padding-bottom: 12px;
}

.section-title-row h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-game-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
}

.game-card.horizontal-card {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    max-width: 880px;
    min-height: 260px;
    height: auto !important;
    border-radius: 14px;
    border: 1px solid rgba(0, 243, 255, 0.35);
    background: rgba(8, 12, 28, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 243, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.game-card.horizontal-card:hover {
    border-color: rgba(0, 243, 255, 0.75);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 243, 255, 0.25);
    transform: translateY(-4px);
}

.game-card.horizontal-card .card-image-container {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    position: relative;
    overflow: hidden;
    background: #030510;
    border-right: 1px solid rgba(0, 243, 255, 0.2);
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-card.horizontal-card .card-details {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.game-card.horizontal-card .card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card.horizontal-card .card-title-row h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.game-card.horizontal-card .card-description {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.game-card.horizontal-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.game-card.horizontal-card .card-tags span {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

.card-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-action-row .btn-card-play {
    width: auto;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-meta-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', sans-serif;
}

.game-card.horizontal-card .game-preview-canvas,
.game-preview-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    opacity: 1 !important;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.game-card.horizontal-card .game-preview-video,
.game-preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.game-card:hover .game-preview-video {
    opacity: 1;
}

@media (max-width: 650px) {
    .game-card.horizontal-card {
        flex-direction: column !important;
    }
    .game-card.horizontal-card .card-image-container {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    position: relative;
    overflow: hidden;
    background: #030510;
    border-right: 1px solid rgba(0, 243, 255, 0.2);
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
}

.card-glow-bg {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    transition: var(--transition-smooth);
}

.game-card:hover .card-glow-bg {
    opacity: 0.45;
    transform: scale(1.2);
}

.blue-glow { background: var(--neon-cyan); }
.magenta-glow { background: var(--neon-magenta); }
.violet-glow { background: var(--neon-violet); }
.yellow-glow { background: var(--neon-yellow); }

.card-icon-mock {
    font-size: 4rem;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.game-card:hover .card-icon-mock {
    transform: scale(1.1) rotate(5deg);
}

.cyan-neon {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.magenta-neon {
    color: var(--neon-magenta);
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.violet-neon {
    color: var(--neon-violet);
    text-shadow: 0 0 15px rgba(157, 0, 255, 0.4);
}

.yellow-neon {
    color: var(--neon-yellow);
    text-shadow: 0 0 15px rgba(255, 230, 0, 0.4);
}

.card-status {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.card-status.active-badge {
    background: rgba(0, 243, 255, 0.2);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.card-status.status-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title-row h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-title-row .rating {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-yellow);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.card-tags span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
}

.btn-card-play {
    width: 100%;
    padding: 10px 0;
    justify-content: center;
    font-size: 0.8rem;
}

.btn-card-play.disabled {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: var(--cursor-not-allowed);
}

/* About / Tech Section */
.about-panel {
    padding: 40px;
}

.about-panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 800px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-fast);
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.spec-item i {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.spec-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.spec-item p {
    font-size: 0.82rem;
    margin-bottom: 0;
}

.cyan-text { color: var(--neon-cyan); }
.magenta-text { color: var(--neon-magenta); }
.violet-text { color: var(--neon-violet); }

/* Interactive Game Modal */

.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 2, 7, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.game-modal-container {
    width: 1150px;
    max-width: 95vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.game-modal-container:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    border: none !important;
    background: var(--bg-dark);
}

.game-modal-container:fullscreen .modal-header {
    padding: 24px 36px;
}

.game-modal-container:fullscreen .modal-header h2 {
    font-size: 2rem;
}

.game-modal-container:fullscreen .trait-square {
    width: 40px;
    height: 40px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: var(--cursor-pointer);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.modal-btn > * {
    pointer-events: none;
}

.modal-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.modal-btn.close-btn:hover {
    background: #ff003c;
    color: white;
    border-color: #ff003c;
    box-shadow: 0 0 12px #ff003c;
}

/* =========================================================================
   TACTICAL HUD MODAL & BUG TELEMETRY FORM
   ========================================================================= */

@keyframes tacticalModalPop {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes tacticalShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.tactical-hud-modal {
    position: relative;
    width: 520px;
    max-width: 94vw;
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.98) 0%, rgba(4, 9, 18, 0.99) 100%), #040912;
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 6px;
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.15), 0 25px 60px rgba(0, 0, 0, 0.85), inset 0 0 25px rgba(0, 243, 255, 0.04);
    overflow: hidden;
    animation: tacticalModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100001;
}

.tactical-hud-modal .hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 2;
}

.tactical-hud-modal .hud-corner.top-left {
    top: 0;
    left: 0;
    border-top: 2.5px solid #00f3ff;
    border-left: 2.5px solid #00f3ff;
}

.tactical-hud-modal .hud-corner.top-right {
    top: 0;
    right: 0;
    border-top: 2.5px solid #00f3ff;
    border-right: 2.5px solid #00f3ff;
}

.tactical-hud-modal .hud-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 2.5px solid #00f3ff;
    border-left: 2.5px solid #00f3ff;
}

.tactical-hud-modal .hud-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 2.5px solid #00f3ff;
    border-right: 2.5px solid #00f3ff;
}

.tactical-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: rgba(0, 243, 255, 0.04);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.tactical-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tactical-modal-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(0, 243, 255, 0.12);
    border: 1.5px solid #00f3ff;
    color: #00f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
    flex-shrink: 0;
}

.tactical-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.tactical-modal-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    color: #38f9d7;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.tactical-modal-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tactical-alert-banner {
    background: rgba(255, 0, 60, 0.15);
    border: 1px solid #ff003c;
    border-radius: 4px;
    padding: 10px 14px;
    color: #ff5577;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.25);
}

.tactical-alert-banner.shake {
    animation: tacticalShake 0.4s ease;
}

.tactical-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tactical-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tactical-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00f3ff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.4);
}

.tactical-status-pill {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    color: #38f9d7;
    background: rgba(56, 249, 215, 0.1);
    border: 1px solid rgba(56, 249, 215, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
}

.tactical-char-counter {
    font-family: 'Orbitron', monospace;
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

.tactical-select-wrapper {
    position: relative;
    width: 100%;
}

.tactical-select {
    width: 100%;
    background: rgba(7, 14, 26, 0.9);
    border: 1.5px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 11px 36px 11px 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    cursor: var(--cursor-pointer);
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.tactical-select:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35), inset 0 0 8px rgba(0, 243, 255, 0.1);
}

.tactical-select option {
    background: #070d18;
    color: #ffffff;
    padding: 8px;
}

.tactical-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f3ff;
    font-size: 0.8rem;
    pointer-events: none;
}

.tactical-textarea {
    width: 100%;
    background: rgba(7, 14, 26, 0.9);
    border: 1.5px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.tactical-textarea:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35), inset 0 0 8px rgba(0, 243, 255, 0.1);
}

.tactical-modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.tactical-btn-cancel {
    flex: 1;
    padding: 12px;
    font-size: 0.8rem;
}

.tactical-btn-submit {
    flex: 2;
    padding: 12px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.game-player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.game-player-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.game-ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 18, 0.85);
    display: flex;
}

.profile-drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.profile-drawer {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    border-radius: 0;
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-left: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-drawer-overlay.active .profile-drawer {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.drawer-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
}

.close-drawer-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: var(--cursor-pointer);
    transition: var(--transition-fast);
}

.close-drawer-btn:hover {
    color: var(--neon-magenta);
}

.drawer-content {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.drawer-content::-webkit-scrollbar {
    width: 4px;
}

.drawer-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 12px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-username {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    text-align: center;
}

.title-selector-container {
    text-align: center;
    margin-top: -6px;
    margin-bottom: 24px;
}

.chat-title-dropdown {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: var(--cursor-pointer);
    outline: none;
    text-shadow: 0 0 4px rgba(0, 243, 255, 0.4);
}

.chat-title-dropdown option {
    background: #0f172a;
    color: #e2e8f0;
}

.profile-stats-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.level-indicator {
    text-align: center;
    margin-bottom: 16px;
}

.level-indicator h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
    font-size: 1.8rem;
    margin-top: 2px;
}

.xp-progress-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.xp-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.xp-bar-container-large {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.xp-bar-large {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-violet));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.badges-container h3, .history-container h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.35;
    transition: var(--transition-fast);
}

.badge-item.active {
    opacity: 1;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}

.badge-item.active .badge-icon {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.25);
}

.badge-item#badge-synth.active .badge-icon {
    background: rgba(255, 0, 127, 0.1);
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
}

.badge-item#badge-score.active .badge-icon {
    background: rgba(255, 230, 0, 0.1);
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.25);
}

.badge-item#badge-veteran.active .badge-icon {
    background: rgba(157, 0, 255, 0.1);
    border-color: var(--neon-violet);
    color: var(--neon-violet);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.25);
}

.badge-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

.scores-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.score-row .game-name {
    font-weight: 700;
}

.score-row .score-num {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-weight: 700;
}

/* Footer Section */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-deep);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

/* Animations */
@keyframes grid-scroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

@keyframes float-slow {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

@keyframes dot-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 0, 127, 0.6); }
    20%, 24%, 55% { opacity: 0.7; text-shadow: none; }
}

@keyframes rotate-music {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dance-music {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-4px) rotate(-15deg) scale(1.1); }
    50% { transform: translateY(0) rotate(0deg) scale(1); }
    75% { transform: translateY(-4px) rotate(15deg) scale(1.1); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* Responsiveness */
@media (max-width: 1100px) {
    .content-container {
        flex-direction: column;
    }
    
    .sidebar-chat {
        width: 100%;
        height: 350px;
        position: static;
    }
    
    .hero-banner {
        flex-direction: column;
        gap: 32px;
        padding: 30px;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .profile-summary {
        padding: 6px;
    }
    
    .profile-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Human Element: Scanline Toggle Overlay */
body.scanlines-active::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 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.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
    z-index: 99999;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    animation: scanline-flicker 0.15s infinite;
}

@keyframes scanline-flicker {
    0% { opacity: 0.95; }
    50% { opacity: 1; }
    100% { opacity: 0.95; }
}

/* Extra Drawer Polish */
.user-title {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    text-align: center;
    display: block;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.history-container {
    margin-top: 18px;
}

.bug-log-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
}

.bug-log-item .bug-log-header {
    display: flex;
    justify-content: space-between;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--neon-yellow);
}

.bug-log-item .bug-log-time {
    color: var(--text-muted);
    font-size: 0.65rem;
}

.bug-log-item .bug-log-desc {
    color: #e2e8f0;
    line-height: 1.4;
}

/* Strict Modal Visibility Locks */
.game-modal-overlay:not(.active),
#bug-modal:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.game-modal-overlay.active,
#bug-modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: center !important;
}

/* User Profile Stats Drawer (Smooth Slide-In Transition with Shadow) */
.profile-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

.profile-drawer-overlay.active,
#profile-drawer.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.profile-drawer {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: -420px !important;
    width: 400px !important;
    max-width: 90vw !important;
    height: 100% !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    border-left: 1px solid var(--card-border) !important;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.profile-drawer-overlay.active .profile-drawer,
#profile-drawer.active .profile-drawer {
    right: 0 !important;
}

.profile-summary {
    cursor: var(--cursor-pointer) !important;
}

.profile-summary * {
    pointer-events: none !important;
}

/* Cyberpunk Game Stage */
#game-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #020207;
    z-index: 100000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.game-stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(5, 7, 13, 0.95);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    z-index: 10;
}
.game-stage-iframe {
    width: 100%;
    height: calc(100vh - 55px);
    border: none;
    background: #000;
    flex: 1;
}


/* Dedicated Game Stage Exit Modal */
#game-stage-exit-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#game-stage-exit-modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 1000010 !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Draggable Cloud Button - Native Windows Cursors */
.stage-floating-cloud-pill {
    cursor: var(--cursor-pointer) !important;
    -webkit-app-region: no-drag !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: none !important;
    opacity: 0.20;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.25s ease;
}

.stage-floating-cloud-pill:hover,
.stage-floating-cloud-pill.is-pressing,
.stage-floating-cloud-pill.is-carrying {
    opacity: 1;
}

/* Cyberpunk tooltip for the draggable pill */
#stage-cloud-pill-tooltip {
    position: fixed;
    z-index: 1000030;
    pointer-events: none;
    padding: 7px 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #e6fdff;
    background: rgba(6, 12, 28, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 243, 255, 0.3);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

#stage-cloud-pill-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.stage-floating-cloud-pill:hover {
    border-color: #00f3ff !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 243, 255, 0.5) !important;
    color: #ffffff !important;
}

/* Held, grasping before latch (0 to 0.9s) */
.stage-floating-cloud-pill.is-pressing {
    cursor: var(--cursor-grab) !important;
}

/* Latched, carrying mode */
.stage-floating-cloud-pill.is-carrying {
    cursor: var(--cursor-grabbing) !important;
    transform: scale(1.05) !important;
    border-color: #00f3ff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 243, 255, 0.8) !important;
    z-index: 1000020 !important;
}

/* Global body cursor overrides so cursor never drops when moving quickly */
body.cloud-pressing,
body.cloud-pressing * {
    cursor: var(--cursor-grab) !important;
}

body.cloud-carrying-active,
body.cloud-carrying-active * {
    cursor: var(--cursor-grabbing) !important;
}

#stage-cloud-pill-shield {
    cursor: var(--cursor-grabbing) !important;
}


/* ==========================================================================
   NAVBAR CLICK RELIABILITY (missed-click fix)
   - Hitboxes never move under the pointer (no hover transform on the profile pill,
     no transition on transform for nav panels)
   - No nested backdrop-filter inside the already-blurred navbar (frame-stall source)
   - Invisible 4px hit-slop around the small nav controls so a 1-3px aim / cursor
     hotspot error still lands the click
   ========================================================================== */
.navbar .glass-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Clean, stable hitboxes matching the visual buttons exactly */
.navbar .nav-actions .btn,
.navbar .music-player button,
.navbar .profile-summary,
.navbar .cyber-select-trigger {
    touch-action: manipulation;
    pointer-events: auto !important;
}

.navbar .nav-actions .btn > *,
.navbar .music-player button > *,
.navbar .profile-summary > *,
.navbar .profile-summary * {
    pointer-events: none !important;
}

/* Ensure tooltips or dormant overlays never block clicks */
#stage-cloud-pill-tooltip:not(.visible) {
    display: none !important;
    pointer-events: none !important;
}
/* DUAL-MODE PREVIEW OVERRIDES */

.game-card.horizontal-card .card-image-container {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    position: relative;
    overflow: hidden;
    background: #030510;
    border-right: 1px solid rgba(0, 243, 255, 0.2);
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-card.horizontal-card .game-preview-canvas,
.game-preview-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    opacity: 1 !important;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.game-card.horizontal-card .game-preview-video,
.game-preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.game-card:hover .game-preview-video {
    opacity: 1 !important;
}


/* FINAL CARD IMAGE CONTAINER STRETCH FIX */
.game-card.horizontal-card .card-image-container {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    position: relative;
    overflow: hidden;
    background: #030510;
    border-right: 1px solid rgba(0, 243, 255, 0.2);
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* EARLY ACCESS BADGES */
.early-access-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

.early-access-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ====================================================================
   PILOT PROFILE & CLOUD SYNC UI STYLING
   ==================================================================== */
.callsign-editor-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.callsign-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.callsign-input-wrapper:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35), inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.callsign-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    width: 180px;
    outline: none;
    letter-spacing: 0.5px;
}

.callsign-save-btn {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: var(--cursor-pointer);
    transition: all 0.2s ease;
    margin-left: 6px;
}

.callsign-save-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* Cloud Sync Card */
.cloud-sync-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cloud-sync-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cloud-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.synced {
    background: #00f3ff;
    box-shadow: 0 0 8px #00f3ff;
    animation: statusPulse 2s infinite;
}

.status-dot.pending {
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
}

.status-dot.offline {
    background: #64748b;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.sync-manual-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
}

.cloud-auth-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-google {
    background: #ffffff;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: var(--cursor-pointer);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    justify-content: center;
}

.btn-google:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.35);
}

.btn-google i {
    color: #ea4335;
    font-size: 1rem;
}

.cloud-account-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.cloud-account-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.cloud-account-email {
    font-size: 0.8rem;
    color: #e2e8f0;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 220px;
}

.cloud-sync-note {
    font-size: 0.7rem;
    color: #00f3ff;
}

.btn-text-signout {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: var(--cursor-pointer);
    transition: color 0.2s ease;
}

.btn-text-signout:hover {
    color: #f87171;
    text-decoration: underline;
}

.sync-economy-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.85;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* Meta Progression 2x2 Grid */
.profile-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.meta-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-box-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.meta-box-val {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
}

.meta-ticket-icon {
    width: 20px;
    height: 14px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.45));
    display: inline-block;
    vertical-align: middle;
}

/* ====================================================================
   NAVBAR 2-STATE SIGN-IN PILL & CLEAN DRAWER STYLING
   ==================================================================== */
.nav-auth-wrapper {
    display: flex;
    align-items: center;
}

.nav-signin-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.45);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: var(--cursor-pointer);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    outline: none;
}

.nav-signin-pill:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.12);
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-google-icon {
    color: #ea4335;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 6px rgba(234, 67, 53, 0.6));
}

.nav-signin-label {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.nav-signin-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.25), rgba(255, 0, 127, 0.25));
    border: 1px solid rgba(0, 243, 255, 0.5);
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
}

/* Callsign 7-Day Cooldown Indicator Badge */
.callsign-editor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.callsign-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.callsign-input-wrapper:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35), inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.callsign-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    width: 180px;
    outline: none;
    letter-spacing: 0.5px;
}

.callsign-input:read-only {
    opacity: 0.85;
    cursor: not-allowed;
}

.callsign-save-btn {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: var(--cursor-pointer);
    transition: all 0.2s ease;
    margin-left: 6px;
}

.callsign-save-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.callsign-cooldown-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-family: 'Inter', sans-serif;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.callsign-cooldown-badge.available {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.3);
}

.callsign-cooldown-badge.locked {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

/* Drawer Footer */
.drawer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 28, 0.95);
    margin-top: auto;
}

.drawer-cloud-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-drawer-signout {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: var(--cursor-pointer);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-drawer-signout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* ====================================================================
   EXCLUSIVE DEVELOPER CHAT & BADGE STYLING (NO SPRITES, PURE CSS)
   ==================================================================== */
.chat-msg.dev-msg {
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.12) 0%, rgba(255, 183, 3, 0.02) 70%, transparent 100%);
    border-left: 2px solid #ffb703;
    padding-left: 8px;
    margin-left: -4px;
    border-radius: 0 4px 4px 0;
}

.chat-msg .dev-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.3), rgba(255, 69, 0, 0.25));
    border: 1px solid #ffb703;
    color: #ffb703;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 0 5px;
    height: 16px;
    line-height: 16px;
    border-radius: 3px;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.6);
    box-shadow: 0 0 8px rgba(255, 183, 3, 0.25);
    margin-right: 4px;
}

.chat-msg .dev-sender {
    color: #ffb703 !important;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.7);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.chat-msg.dev-msg .text {
    color: #fffbeb !important;
    text-shadow: 0 0 4px rgba(255, 247, 237, 0.25);
}

.nav-dev-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 183, 3, 0.2);
    border: 1px solid #ffb703;
    color: #ffb703;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    text-shadow: 0 0 6px rgba(255, 183, 3, 0.6);
    box-shadow: 0 0 6px rgba(255, 183, 3, 0.25);
    vertical-align: middle;
}


/* ====================================================================
   TIERED RANK TAG PILLS & SENDER COLOR SYSTEM (NO SPRITES, PURE CSS)
   ==================================================================== */
.tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    line-height: 18px;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-right: 6px;
    white-space: nowrap;
    user-select: none;
    box-sizing: border-box;
}

/* 1. FRESHMEAT - Subdued Tactical Gray */
.tag-pill.tag-freshmeat {
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #94a3b8;
}
.sender.sender-freshmeat {
    color: #94a3b8 !important;
    font-weight: 700;
}
.chat-msg.freshmeat-msg .text {
    color: #cbd5e1;
}

/* 2. PILOT - Cyberpunk Cyan Neon */
.tag-pill.tag-pilot {
    background: rgba(0, 240, 255, 0.16);
    border: 1px solid rgba(0, 240, 255, 0.7);
    color: #00f0ff;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.35);
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}
.sender.sender-pilot {
    color: #38bdf8 !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
    font-weight: 700;
}
.chat-msg.pilot-msg .text {
    color: #e2e8f0;
}

/* 3. VETERAN - Synthwave Magenta / Violet Neon */
.tag-pill.tag-veteran {
    background: rgba(168, 85, 247, 0.22);
    border: 1px solid rgba(168, 85, 247, 0.75);
    color: #c084fc;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    text-shadow: 0 0 6px rgba(168, 85, 247, 0.7);
}
.sender.sender-veteran {
    color: #c084fc !important;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.6);
    font-weight: 800;
}
.chat-msg.veteran-msg .text {
    color: #f8fafc;
}

/* 4. DEV - Molten Gold / Crimson Fiery Pill */
.tag-pill.tag-dev {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.35), rgba(255, 69, 0, 0.35));
    border: 1px solid #ffb703;
    color: #ffb703;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.55);
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.85);
    animation: dev-pill-pulse 3s ease-in-out infinite alternate;
}
@keyframes dev-pill-pulse {
    0% { box-shadow: 0 0 8px rgba(255, 183, 3, 0.35); }
    100% { box-shadow: 0 0 15px rgba(255, 183, 3, 0.65), 0 0 5px #ff4500; }
}
.sender.sender-dev {
    color: #ffb703 !important;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.8);
    font-weight: 800;
    letter-spacing: 0.5px;
}
.chat-msg.dev-msg {
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.12) 0%, rgba(255, 183, 3, 0.02) 75%, transparent 100%);
    border-left: 2px solid #ffb703;
    padding-left: 8px;
    margin-left: -4px;
    border-radius: 0 4px 4px 0;
}
.chat-msg.dev-msg .text {
    color: #fffbeb !important;
    text-shadow: 0 0 4px rgba(255, 247, 237, 0.25);
}

/* ====================================================================
   PROFILE DRAWER: first-login name callout, callsign input, dog tags
   (moved here from style.css, which is the GAME stylesheet, not the portal)
   ==================================================================== */
/* ===== First-time pilot callsign setup HUD styling ===== */
.callsign-editor-container {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.callsign-editor-container.first-login-active {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.08), rgba(15, 23, 42, 0.85));
    border: 1.5px solid rgba(0, 243, 255, 0.45);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2), inset 0 0 14px rgba(0, 243, 255, 0.08);
    padding: 14px 14px 12px 14px;
    margin-bottom: 16px;
    animation: callsignCardPulse 3s ease-in-out infinite;
}

@keyframes callsignCardPulse {
    0%, 100% { border-color: rgba(0, 243, 255, 0.45); box-shadow: 0 0 16px rgba(0, 243, 255, 0.18); }
    50% { border-color: rgba(0, 243, 255, 0.85); box-shadow: 0 0 26px rgba(0, 243, 255, 0.38); }
}

.callsign-onboarding-banner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 8px;
}

.callsign-onboarding-banner .onboarding-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.callsign-onboarding-banner .onboarding-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(226, 232, 240, 0.85);
    letter-spacing: 0.3px;
}

.callsign-editor-container.first-login-active .callsign-input-wrapper {
    border-color: rgba(0, 243, 255, 0.8);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
}

.callsign-editor-container.first-login-active .callsign-save-btn {
    background: linear-gradient(135deg, #00f3ff, #00b4d8);
    color: #020c17;
    font-weight: bold;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.6);
}


/* ==================================================================== */
/* DOG TAGS (profile drawer picker, badge preview, navbar tag)          */
/* ==================================================================== */

.pilot-tag-picker-container {
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(10, 18, 32, 0.75);
    border: 1.5px solid rgba(0, 243, 255, 0.25);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.pilot-title-badge-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.12), rgba(4, 18, 28, 0.85));
    border: 1.5px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35), inset 0 0 10px rgba(0, 243, 255, 0.1);
    transition: all 0.25s ease;
}

.pilot-title-badge-preview .title-badge-name {
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.7);
}

.pilot-title-badge-preview.title-dev {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(28, 4, 4, 0.85));
    border-color: #ef4444;
    color: #f87171;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45), inset 0 0 10px rgba(239, 68, 68, 0.15);
}

.pilot-title-badge-preview.title-dev .title-badge-name {
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

.pilot-title-badge-preview.title-veteran {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(28, 4, 28, 0.85));
    border-color: #c084fc;
    color: #c084fc;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.45), inset 0 0 10px rgba(168, 85, 247, 0.15);
}

.pilot-title-badge-preview.title-veteran .title-badge-name {
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

.pilot-title-badge-preview.title-ace {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(28, 24, 4, 0.85));
    border-color: #facc15;
    color: #facc15;
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.45), inset 0 0 10px rgba(250, 204, 21, 0.15);
}

.pilot-title-badge-preview.title-ace .title-badge-name {
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}

.nav-title-tag {
    font-size: 0.68rem;
    font-weight: 800;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    vertical-align: middle;
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.nav-title-tag.title-dev {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
}


/* =========================================================================
   TACTICAL PILOT AUTHENTICATION TERMINAL
   ========================================================================= */

.auth-terminal-modal {
    width: 480px;
    max-width: 94vw;
    border: 1.5px solid rgba(0, 243, 255, 0.45);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.22), 0 20px 60px rgba(0, 0, 0, 0.95);
    position: relative;
}

.tactical-modal-close-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tactical-modal-close-btn:hover {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
    background: rgba(255, 0, 85, 0.1);
}

.auth-terminal-tabs {
    display: flex;
    gap: 8px;
    background: rgba(3, 7, 18, 0.75);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    margin-bottom: 16px;
}

.auth-tab-btn {
    flex: 1;
    padding: 10px 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn:hover {
    color: #ffffff;
    background: rgba(0, 243, 255, 0.08);
}

.auth-tab-btn.active {
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.16);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
}

.auth-status-banner {
    border-radius: 4px;
    padding: 11px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}

.auth-status-banner.status-error {
    background: rgba(255, 0, 60, 0.14);
    border: 1px solid #ff003c;
    color: #ff6b8b;
    box-shadow: 0 0 14px rgba(255, 0, 60, 0.2);
}

.auth-status-banner.status-success {
    background: rgba(56, 249, 215, 0.14);
    border: 1px solid #38f9d7;
    color: #38f9d7;
    box-shadow: 0 0 14px rgba(56, 249, 215, 0.2);
}

.auth-status-banner.shake {
    animation: tacticalShake 0.4s ease;
}

.auth-quick-access {
    margin-bottom: 8px;
}

.btn-auth-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 16px;
    background: #ffffff;
    color: #1e293b;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    transition: all 0.2s ease;
}

.btn-auth-google:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}

.btn-auth-google:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 16px 0;
    color: #64748b;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.64rem;
    letter-spacing: 1.5px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.auth-divider span {
    padding: 0 12px;
}

.tactical-input {
    width: 100%;
    background: rgba(7, 14, 26, 0.9);
    border: 1.5px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.tactical-input:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35), inset 0 0 8px rgba(0, 243, 255, 0.1);
}

.tactical-input::placeholder {
    color: #475569;
}

.auth-cyber-link {
    color: #00f3ff;
    font-size: 0.72rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-cyber-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.auth-hint-text {
    font-size: 0.76rem;
    color: #94a3b8;
    margin: 12px 0 0 0;
    line-height: 1.45;
}

/* ====================================================================
   ARCADE TICKET KIOSK & SHOP STYLES
   ==================================================================== */

.meta-stat-box.clickable {
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    user-select: none;
}

.meta-stat-box.clickable:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.6) !important;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.25) !important;
}

.meta-shop-chip {
    font-size: 0.58rem;
    background: rgba(255, 215, 0, 0.16);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #ffd700;
    border-radius: 3px;
    padding: 1px 6px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    align-self: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.meta-stat-box.clickable:hover .meta-shop-chip {
    background: #ffd700;
    color: #050512;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Cyberpunk Animated Open Beta Chip */
.meta-shop-chip.open-beta-chip {
    font-size: 0.58rem;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.16) 0%, rgba(6, 18, 36, 0.95) 100%);
    border: 1px solid rgba(0, 243, 255, 0.55);
    color: #00f3ff;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    align-self: center;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 8px rgba(0, 243, 255, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-shop-chip.open-beta-chip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(25deg);
    animation: chip-shimmer 3.2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes chip-shimmer {
    0%, 25% { left: -120%; }
    60%, 100% { left: 220%; }
}

.beta-beacon {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00f3ff;
    box-shadow: 0 0 6px #00f3ff;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.beta-beacon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #00f3ff;
    animation: beacon-ripple 1.8s infinite ease-out;
    opacity: 0;
}

@keyframes beacon-ripple {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

.beta-sparkle-anim {
    font-size: 0.6rem;
    color: #ffe600;
    filter: drop-shadow(0 0 4px rgba(255, 230, 0, 0.8));
    animation: sparkle-spin 4s infinite ease-in-out;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes sparkle-spin {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: scale(1.25) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.9)); color: #00f3ff; }
}

.meta-stat-box.clickable:hover .meta-shop-chip.open-beta-chip {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.3) 0%, rgba(6, 24, 48, 0.98) 100%);
    border-color: #00f3ff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.6), inset 0 0 10px rgba(0, 243, 255, 0.25);
    transform: scale(1.04);
}

/* Modal Overlay */
.ticket-shop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 6, 16, 0.88);
    z-index: 1000005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: shopFadeIn 0.2s ease-out;
}

@keyframes shopFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.ticket-shop-modal {
    max-width: 960px;
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(5, 7, 18, 0.98) 100%);
    border: 1px solid rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.18), inset 0 0 20px rgba(0, 243, 255, 0.05);
    border-radius: 12px;
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
}

.ticket-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.ticket-shop-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticket-shop-header-img {
    width: 44px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.ticket-shop-title-wrap h2 {
    font-size: 1.35rem;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
}

.ticket-shop-subtitle {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 4px 0 0 0;
    letter-spacing: 0.5px;
}

/* Header Right Controls */
.ticket-shop-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Store Under Construction Button */
.kiosk-store-btn-wrap {
    position: relative;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.5) 0%, rgba(245, 158, 11, 0.15) 50%, rgba(245, 158, 11, 0.5) 100%);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.22), inset 0 0 8px rgba(245, 158, 11, 0.1);
    overflow: hidden;
    cursor: not-allowed;
    user-select: none;
    transition: box-shadow 0.2s ease;
}

.kiosk-store-btn-wrap:hover {
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.4), inset 0 0 10px rgba(245, 158, 11, 0.2);
}

/* Diagonal Caution Hazard Stripe on Top Edge */
.kiosk-store-hazard-edge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        -45deg,
        #f59e0b,
        #f59e0b 6px,
        #181512 6px,
        #181512 12px
    );
    z-index: 2;
    opacity: 0.95;
}

.kiosk-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 11px;
    background: rgba(14, 12, 20, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 7px;
    color: #fbbf24;
    font-family: 'Orbitron', sans-serif;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

/* Store Cart & Animated Hammer Rig */
.kiosk-store-anim-rig {
    position: relative;
    width: 26px;
    height: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.kiosk-store-cart {
    font-size: 1.05rem;
    color: #fbbf24;
    transform-origin: bottom center;
    animation: cartImpactJolt 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.kiosk-hammer-arm {
    position: absolute;
    top: -5px;
    right: -2px;
    width: 16px;
    height: 16px;
    transform-origin: 85% 85%;
    animation: hammerPoundCycle 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    pointer-events: none;
}

.kiosk-hammer-icon {
    font-size: 0.95rem;
    color: #f59e0b;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.8));
    transform: rotate(35deg);
}

/* Impact Sparks Burst */
.kiosk-hammer-sparks {
    position: absolute;
    bottom: -2px;
    left: -4px;
    width: 12px;
    height: 12px;
    pointer-events: none;
}

.kiosk-hammer-sparks .spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px #fbbf24, 0 0 10px #f59e0b;
    opacity: 0;
}

.kiosk-hammer-sparks .sp-1 {
    top: 2px;
    left: 2px;
    animation: sparkFly1 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.kiosk-hammer-sparks .sp-2 {
    top: 4px;
    left: 4px;
    animation: sparkFly2 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.kiosk-hammer-sparks .sp-3 {
    top: 6px;
    left: 1px;
    animation: sparkFly3 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

/* Store Label Text */
.kiosk-store-text {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fef08a;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* Under Construction Tag */
.kiosk-construction-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fde047;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
    animation: constructionPulse 2.5s ease-in-out infinite;
}

.kiosk-wrench-icon {
    font-size: 0.65rem;
    animation: wrenchRock 1.6s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes hammerPoundCycle {
    0% {
        transform: rotate(-38deg) translate(-2px, -6px);
    }
    30% {
        transform: rotate(-48deg) translate(-3px, -8px);
    }
    48% {
        transform: rotate(16deg) translate(1px, 2px);
    }
    54% {
        transform: rotate(12deg) translate(0px, 1px);
    }
    62% {
        transform: rotate(-10deg) translate(-1px, -3px);
    }
    75%, 100% {
        transform: rotate(-38deg) translate(-2px, -6px);
    }
}

@keyframes cartImpactJolt {
    0%, 46% {
        transform: scale(1) translateY(0);
    }
    48% {
        transform: scale(0.90, 0.82) translateY(2px);
    }
    53% {
        transform: scale(1.05, 1.02) translateY(-1px);
    }
    60% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes sparkFly1 {
    0%, 47% {
        opacity: 0;
        transform: translate(0, 0) scale(0.3);
    }
    48% {
        opacity: 1;
        transform: translate(0, 0) scale(1.3);
    }
    56% {
        opacity: 0.9;
        transform: translate(-9px, -8px) scale(0.9);
    }
    65%, 100% {
        opacity: 0;
        transform: translate(-14px, -11px) scale(0.2);
    }
}

@keyframes sparkFly2 {
    0%, 47% {
        opacity: 0;
        transform: translate(0, 0) scale(0.3);
    }
    48% {
        opacity: 1;
        transform: translate(0, 0) scale(1.3);
    }
    56% {
        opacity: 0.9;
        transform: translate(8px, -10px) scale(0.9);
    }
    65%, 100% {
        opacity: 0;
        transform: translate(12px, -14px) scale(0.2);
    }
}

@keyframes sparkFly3 {
    0%, 47% {
        opacity: 0;
        transform: translate(0, 0) scale(0.3);
    }
    48% {
        opacity: 1;
        transform: translate(0, 0) scale(1.3);
    }
    56% {
        opacity: 0.9;
        transform: translate(-6px, 7px) scale(0.9);
    }
    65%, 100% {
        opacity: 0;
        transform: translate(-10px, 11px) scale(0.2);
    }
}

@keyframes wrenchRock {
    0% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(20deg);
    }
}

@keyframes constructionPulse {
    0%, 100% {
        box-shadow: 0 0 6px rgba(245, 158, 11, 0.2);
        border-color: rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
        border-color: rgba(245, 158, 11, 0.85);
    }
}

.close-shop-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.15s ease;
}

.close-shop-btn:hover {
    color: #ff0055;
    border-color: #ff0055;
    background: rgba(255, 0, 85, 0.1);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

/* Beta Notice Banner */
.ticket-beta-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.12) 0%, rgba(57, 255, 20, 0.08) 100%);
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-left: 4px solid #00f3ff;
    border-radius: 8px;
    padding: 12px 16px;
}

.beta-badge-pill {
    background: rgba(0, 243, 255, 0.2);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.beta-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.76rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.beta-banner-text strong {
    color: #39ff14;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
}

/* Wallet Strip */
.ticket-wallet-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 18px;
}

.wallet-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-label {
    font-size: 0.74rem;
    color: #94a3b8;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
}

.wallet-val {
    font-size: 1.3rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.wallet-unit {
    font-size: 0.72rem;
    color: #ffd700;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.wallet-info-pill {
    font-size: 0.72rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Package Grid */
.ticket-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 860px) {
    .ticket-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .ticket-packages-grid {
        grid-template-columns: 1fr;
    }
}

.ticket-package-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 22px 14px 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ticket-package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.ticket-package-card.popular-card {
    border-color: rgba(0, 243, 255, 0.45);
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.12);
}

.package-tag {
    position: absolute;
    top: -10px;
    font-size: 0.58rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid;
    text-transform: uppercase;
}

.package-icon-wrap {
    margin-top: 6px;
    margin-bottom: 10px;
}

.package-ticket-img {
    width: 48px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    transition: transform 0.2s ease;
}

.ticket-package-card:hover .package-ticket-img {
    transform: scale(1.1);
}

.package-title {
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.package-tickets-count {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 6px;
}

.count-num {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.count-unit {
    font-size: 0.65rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.5px;
}

.package-bonus-chip {
    font-size: 0.6rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    background: rgba(57, 255, 20, 0.14);
    border: 1px solid rgba(57, 255, 20, 0.4);
    color: #39ff14;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.package-bonus-chip.placeholder-chip {
    background: transparent;
    border-color: transparent;
    color: #64748b;
    visibility: hidden;
}

.package-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
    margin-bottom: 14px;
    min-height: 38px;
}

.package-price-wrap {
    margin-top: auto;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.package-price {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
}

.package-unit-price {
    font-size: 0.62rem;
    color: #64748b;
}

.btn-buy-package {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15) 0%, rgba(0, 243, 255, 0.3) 100%);
    border: 1px solid #00f3ff;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 9px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-buy-package:hover {
    background: #00f3ff;
    color: #050512;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.6);
    transform: translateY(-1px);
}

/* Footer Strip */
.ticket-shop-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    display: flex;
    justify-content: center;
}

.shop-security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
}

.shop-security-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Confirm Dialog */
.shop-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 18, 0.85);
    z-index: 1000015;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: shopFadeIn 0.2s ease-out;
}

.shop-confirm-dialog {
    max-width: 440px;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(5, 7, 18, 0.98) 100%);
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.shop-confirm-header h3 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    letter-spacing: 1px;
}

.close-confirm-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
}

.close-confirm-btn:hover { color: #ff0055; }

.shop-confirm-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.confirm-pkg-name {
    font-size: 1.15rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #ffffff;
}

.confirm-pkg-detail {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
}

.confirm-notice-box {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    font-size: 0.74rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.confirm-notice-box i {
    font-size: 1rem;
    margin-top: 2px;
}

.shop-confirm-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-confirm-actions .btn {
    padding: 10px 22px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    border-radius: 5px;
}

.btn-confirm-checkout {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.18) 0%, rgba(5, 13, 26, 0.95) 100%), #070d18 !important;
    border: 1.5px solid #00f3ff !important;
    color: #ffffff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.22), inset 0 0 12px rgba(0, 243, 255, 0.1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm-checkout:hover {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.32) 0%, rgba(7, 20, 38, 0.98) 100%), #070d18 !important;
    border-color: #38f9d7 !important;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.55), inset 0 0 16px rgba(0, 243, 255, 0.25) !important;
    color: #ffffff !important;
    text-shadow: 0 0 12px #00f3ff;
    transform: translateY(-1px);
}

.btn-confirm-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none !important;
}

/* Floating Toast */
.shop-toast-notice {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid #39ff14;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 1000020;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-toast-notice.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   DAILY TICKET STIPEND CARD (24h Refresh)
   ========================================================================== */
.daily-stipend-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(10, 22, 44, 0.85) 0%, rgba(15, 20, 35, 0.95) 100%);
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.08), inset 0 0 15px rgba(0, 243, 255, 0.04);
    border-radius: 12px;
}

.stipend-content-left {
    flex: 1;
}

.stipend-badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.stipend-badge {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.stipend-cost-badge {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #ffd700;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.stipend-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 4px;
}

.stipend-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 12px;
}

.stipend-desc strong {
    color: #ffd700;
}

.stipend-timer-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.76rem;
}

.stipend-timer-label {
    color: #64748b;
    font-weight: 600;
}

.stipend-timer-val {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.82rem;
}

.stipend-timer-val.ready-glow {
    color: #39ff14 !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.stipend-content-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.stipend-reward-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
}

.stipend-reward-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

.stipend-reward-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stipend-reward-txt {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e2e8f0;
}

.btn-claim-daily {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #0b0f19;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-claim-daily:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.btn-claim-daily:disabled {
    background: rgba(255, 255, 255, 0.06);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .daily-stipend-card {
        flex-direction: column;
        align-items: stretch;
    }
    .stipend-content-right {
        min-width: unset;
        flex-direction: row;
        justify-content: space-between;
    }
    .btn-claim-daily {
        width: auto;
        flex: 1;
    }
}

.stipend-auto-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: #00f3ff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.stipend-auto-pill.pill-full {
    background: rgba(57, 255, 20, 0.12);
    border-color: #39ff14;
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

/* Combined Wallet & Auto-Refresh Strip Elements */
.wallet-sep {
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    user-select: none;
    margin: 0 4px;
}

.wallet-cap-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: #ffd700;
}

.wallet-cap-img {
    width: 15px;
    height: 11px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.45));
}

.wallet-cap-val {
    color: #ffffff;
    font-weight: 900;
    font-size: 0.82rem;
}

.ticket-wallet-strip .wallet-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-wallet-strip .stipend-timer-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ticket-wallet-strip .stipend-timer-box i {
    color: #00f3ff;
    font-size: 0.7rem;
}

.ticket-wallet-strip .stipend-timer-val {
    color: #00f3ff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ticket-wallet-strip .stipend-timer-val.ready-glow {
    color: #39ff14;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
}

.ticket-wallet-strip .stipend-auto-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.4);
    color: #39ff14;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ticket-wallet-strip .stipend-auto-pill.pill-full {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.45);
    color: #00f3ff;
}

@keyframes hudAttentionPulse {
    0% { transform: scale(1); box-shadow: 0 0 35px rgba(0, 243, 255, 0.22), 0 20px 60px rgba(0, 0, 0, 0.95); }
    50% { transform: scale(1.015); box-shadow: 0 0 55px rgba(0, 243, 255, 0.75), 0 20px 70px rgba(0, 0, 0, 0.95); border-color: rgba(0, 243, 255, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 35px rgba(0, 243, 255, 0.22), 0 20px 60px rgba(0, 0, 0, 0.95); }
}

.tactical-hud-modal.pulse-attention {
    animation: hudAttentionPulse 0.32s ease-out;
}

/* ====================================================================
   FIRE ARCADE STORE: FRONT PAGE GAME SHOWCASE
   ==================================================================== */
.store-game-showcase {
    background: linear-gradient(135deg, rgba(12, 19, 39, 0.95) 0%, rgba(5, 8, 20, 0.98) 100%);
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 243, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.store-game-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, #ffe600, transparent);
    animation: storeTopGlow 3s ease-in-out infinite alternate;
}

@keyframes storeTopGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; filter: drop-shadow(0 0 8px #00f3ff); }
}

.store-game-banner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: center;
}

@media (max-width: 768px) {
    .store-game-banner {
        grid-template-columns: 1fr;
    }
}

.store-game-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    aspect-ratio: 16 / 10;
    background: #000;
}

.store-game-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.store-game-media:hover .store-game-hero-img {
    transform: scale(1.05);
}

.store-game-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.6);
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    color: #00f3ff;
    text-align: center;
    letter-spacing: 1px;
}

.store-game-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-game-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.store-game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

.store-game-subtitle {
    font-size: 0.8rem;
    color: #00f3ff;
    margin: 3px 0 0 0;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.store-platform-pills {
    display: flex;
    gap: 6px;
}

.platform-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-family: 'Orbitron', sans-serif;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.store-game-desc {
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0;
}

.store-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .store-features-grid {
        grid-template-columns: 1fr;
    }
}

.store-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #e2e8f0;
}

.store-purchase-action-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.store-price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-price-discount-tag {
    font-size: 0.68rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #00ff88;
    letter-spacing: 1px;
}

.store-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.store-price-original {
    font-size: 1.1rem;
    color: #64748b;
    text-decoration: line-through;
    font-family: 'Orbitron', sans-serif;
}

.store-price-current {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffe600;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(255, 230, 0, 0.5);
}

.store-price-subtext {
    font-size: 0.72rem;
    color: #94a3b8;
}

.store-buy-game-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.15) 0%, rgba(5, 13, 26, 0.95) 100%), #070d18;
    border: 1.5px solid #00f3ff;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
    cursor: var(--cursor-pointer);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-fast);
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.store-buy-game-btn:hover {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.28) 0%, rgba(7, 20, 38, 0.98) 100%), #070d18;
    border-color: #38f9d7;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.55), inset 0 0 16px rgba(0, 243, 255, 0.25);
    color: #ffffff;
    text-shadow: 0 0 12px #00f3ff;
    transform: translateY(-2px);
}

.store-buy-game-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.3), inset 0 0 8px rgba(0, 243, 255, 0.2);
}

.store-wireframe-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===================================================
   PORTAL TRUST FOOTER & SEO DISCOVERABILITY MODULES
   =================================================== */

.hero-platform-tag {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.35);
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.15);
}

.section-badge {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 4px;
}

.single-game-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.game-card.coming-soon-card {
    border-color: rgba(255, 230, 0, 0.35);
}

.game-card.coming-soon-card:hover {
    border-color: rgba(255, 230, 0, 0.75);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 230, 0, 0.25);
}

.game-card.coming-soon-card .card-image-container {
    border-right: 1px solid rgba(255, 230, 0, 0.25) !important;
}

.game-card.coming-soon-card .card-action-row {
    border-top: 1px solid rgba(255, 230, 0, 0.15) !important;
}

.game-card.coming-soon-card .card-tags span {
    background: rgba(255, 230, 0, 0.08) !important;
    border: 1px solid rgba(255, 230, 0, 0.35) !important;
    color: var(--neon-yellow) !important;
    text-shadow: 0 0 6px rgba(255, 230, 0, 0.45);
}

.tactical-lane-visual {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 230, 0, 0.12) 0%, #030510 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    gap: 12px;
}

.tactical-lane-visual .lane-radar-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 230, 0, 0.25);
    animation: rotate-music 25s linear infinite;
}

.tactical-lane-visual .lane-center-icon {
    font-size: 3.2rem;
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 16px rgba(255, 230, 0, 0.6));
    z-index: 2;
}

.tactical-lane-visual .lane-subtext {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.65);
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 230, 0, 0.3);
    z-index: 2;
}

.early-access-badge.coming-soon-badge {
    background: rgba(255, 230, 0, 0.15);
    border: 1px solid rgba(255, 230, 0, 0.5);
    color: var(--neon-yellow);
    text-shadow: 0 0 8px rgba(255, 230, 0, 0.6);
}

.portal-footer {
    width: 100%;
    margin-top: 72px;
    background: linear-gradient(180deg, rgba(6, 10, 24, 0.45) 0%, rgba(3, 4, 10, 0.98) 100%);
    border-top: 1px solid rgba(0, 243, 255, 0.18);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    padding: 56px 24px 32px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 36px;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo i {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.7));
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 380px;
}

.footer-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.footer-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
}

.footer-column h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a,
.footer-column ul li button {
    color: #cbd5e1;
    font-size: 0.85rem;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    cursor: var(--cursor-pointer);
}

.footer-column ul li a:hover,
.footer-column ul li button:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a,
.footer-bottom-links button {
    color: #94a3b8;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    cursor: var(--cursor-pointer);
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
    color: var(--neon-cyan);
}

/* Trust Modals Styling */
.trust-modal {
    max-width: 680px;
    width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.trust-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-modal-body h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 0.98rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-modal-body p {
    margin: 0;
}

.trust-modal-body ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* ===================================================
   DRAWER ARCADE SHOP ANIMATED BUTTON
   =================================================== */

.drawer-shop-card {
    background: linear-gradient(145deg, rgba(0, 243, 255, 0.08) 0%, rgba(6, 12, 28, 0.95) 100%) !important;
    border: 1.5px solid rgba(0, 243, 255, 0.45) !important;
    border-radius: 8px;
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-shop-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.8), transparent);
    pointer-events: none;
}

.drawer-shop-card:hover {
    transform: translateY(-2px);
    border-color: #00f3ff !important;
    box-shadow: 0 0 22px rgba(0, 243, 255, 0.45), inset 0 0 12px rgba(0, 243, 255, 0.15) !important;
}

.drawer-shop-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-shop-label {
    font-size: 0.62rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1.2px;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.drawer-shop-anim-center {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0 4px;
    height: 38px;
}

.drawer-shop-rig {
    position: relative;
    width: 44px;
    height: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.drawer-shop-base {
    font-size: 1.45rem;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.7));
    transform-origin: bottom center;
    animation: shopImpactJolt 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.drawer-hammer-arm {
    position: absolute;
    top: -11px;
    right: 12px;
    width: 20px;
    height: 20px;
    transform-origin: 85% 85%;
    animation: hammerPoundCycle 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    pointer-events: none;
    z-index: 3;
}

.drawer-hammer-icon {
    font-size: 1.05rem;
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 6px #ff007f) drop-shadow(0 0 14px rgba(255, 0, 127, 0.95));
    transform: rotate(35deg);
}

.drawer-hammer-sparks {
    position: absolute;
    bottom: -2px;
    left: -4px;
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.drawer-hammer-sparks .d-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff007f, 0 0 12px #ff0055;
    opacity: 0;
}

.drawer-hammer-sparks .d-sp-1 {
    top: 2px;
    left: 2px;
    animation: sparkFly1 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.drawer-hammer-sparks .d-sp-2 {
    top: 4px;
    left: 5px;
    animation: sparkFly2 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.drawer-hammer-sparks .d-sp-3 {
    top: 6px;
    left: 1px;
    animation: sparkFly3 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes shopImpactJolt {
    0%, 46% { transform: scale(1) translateY(0); }
    48% { transform: scale(1.14, 0.86) translateY(2px); }
    54% { transform: scale(0.95, 1.05) translateY(-2px); }
    60% { transform: scale(1.02, 0.98) translateY(0); }
    68%, 100% { transform: scale(1) translateY(0); }
}
