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

:root {
    --bg-main: #0B0F19; /* Deep premium dark blue */
    --bg-card: rgba(17, 24, 39, 0.7); /* Glassy gray-900 */
    --accent: #3B82F6; 
}

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: #F3F4F6; /* gray-100 */
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 60%);
    z-index: -1;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none; 
    scrollbar-width: none;  
}

.pb-safe { padding-bottom: env(safe-area-inset-bottom, 20px); }
.pt-safe { padding-top: env(safe-area-inset-top, 0px); }

/* Glassmorphism Classes */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.bottom-sheet { animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-backdrop { animation: fadeIn 0.3s ease-out forwards; }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }

/* Desktop layout container */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: none; /* hidden on mobile */
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 90px; /* space for mobile nav */
}

@media (min-width: 768px) {
    .sidebar { display: flex; flex-direction: column; }
    .bottom-nav { display: none !important; }
    .main-content { padding-bottom: 2rem; }
}

.input-ios {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(to right, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
