@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800;900&display=swap');

/* 
 * 🌬️ ELITE PORTAL - RESPONSIVE DESIGN
 * Standard wide layout for Desktop, focused app-feel for Mobile.
 */

:root {
  --font-brand: 'Prompt', sans-serif;
  --color-surface: #F8FBF8;
  --color-brand: #059669;
  --color-brand-light: #D1FAE5;
  --color-accent: #C2410C;
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-inner-soft: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

body {
    font-family: var(--font-brand);
    background-color: var(--color-surface);
    color: #1e293b; /* slate-800 */
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 0; /* Updated dynamically for mobile */
    line-height: 1.6;
}

/* 🖼️ Main Layout Shell */
.container-premium {
    width: 100%;
    max-width: 1200px; /* Standard Desktop Width */
    margin: 0 auto;
    padding: 0 20px;
}

/* 📱 Bottom Navigation (Mobile Only Shell) */
.nav-bottom {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8; /* slate-400 */
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 16px;
}

.nav-item.active {
    color: var(--color-brand);
    background: var(--color-brand-light);
}

.nav-item i {
    width: 20px;
    height: 20px;
}

/* 📦 Widgetized Cards */
.widget-card {
    background: white;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 24px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 💻 Desktop/Mobile Responsiveness Logic */
@media (min-width: 768px) {
    .nav-bottom {
        display: none; /* Hide bottom nav on desktop */
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 90px; /* Space for bottom nav on mobile */
    }
    .container-premium {
        max-width: 100%; /* Full width on mobile */
    }
}

/* ✨ Animations */
@keyframes reveal {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-stagger > * {
    opacity: 0;
    animation: reveal 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.4s; }

/* 💠 Utils */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
