/* Sierra Nevada Premium Styles */
:root {
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 25, 40, 0.7);
    --neon-blue: #a5f3fc;
}

body {
    -webkit-tap-highlight-color: transparent;
    background-color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: white;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

/* Pseudo-element for fixed background (Better mobile support) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.5)), url('background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    will-change: transform;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-heavy {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Performance Helpers */
.gpu-accel {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Utility to hide scroll but keep functionality */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
    margin-top: 1rem;
}

/* Shared Element Transition Classes */
.morph-overlay {
    position: fixed;
    z-index: 50;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    transform-origin: top left;
}

.morph-content {
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.morph-overlay.active .morph-content {
    opacity: 1;
}

/* Hide scrollbar for clean UI */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}