/* ==========================================================================
   Arcane (Hextech & Piltover Gold / Zaun Shimmer) Theme System
   ========================================================================== */

:root {
    --arcane-bg-deep: #05070a;
    --arcane-hextech-cyan: #00f5ff;
    --arcane-hextech-blue: #0284c7;
    --arcane-gold: #e5b869;
    --arcane-gold-dark: #c89b3c;
    --arcane-zaun-shimmer: #d946ef;
}

/* Arcane Atmospheric Background with Hextech & Shimmer Glow */
.arcane-bg {
    background-color: var(--arcane-bg-deep);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(0, 245, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(200, 155, 60, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(217, 70, 239, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, #080c14 0%, #05070a 100%);
    background-attachment: fixed;
}

/* Hextech & Gold Crystal Buttons */
.btn-hextech {
    background: linear-gradient(135deg, #00f5ff 0%, #0284c7 60%, #0369a1 100%);
    color: #05070a;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px -3px rgba(0, 245, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #f5e4ab 0%, #e5b869 40%, #c89b3c 80%, #a3782b 100%);
    color: #07090e;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px -3px rgba(200, 155, 60, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Ensure ample bottom clearance so fixed bottom nav never overlaps action buttons */
body {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 120px) !important;
}

#modal-container {
    position: relative;
    z-index: 100;
}

#modal-container > div {
    z-index: 100 !important;
}

#lightbox-modal {
    z-index: 9999 !important;
}

/* Opaque Arcane Bottom Nav Bar */
.bottom-nav-bar {
    background-color: #080c14 !important;
    background: #080c14 !important;
    border-top: 1px solid rgba(200, 155, 60, 0.35) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85) !important;
}



/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}


.modal {
    background: #0b101c;
    border-top: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 28px 28px 0 0;
    padding: 24px 20px 32px 20px;
    width: 100%;
    max-width: 512px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 245, 255, 0.15);
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* HTMX Indicators */
.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: block !important;
}

/* Custom Scrollbar hide */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
