/* Coin Khela - Modern Glassmorphism & Custom Tailwind Component Styles */

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

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-gradient-light: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    --bg-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #a5b4fc;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #3730a3;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.1);
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Glowing Elements */
.glow-primary {
    box-shadow: 0 0 25px -5px rgba(99, 102, 241, 0.5);
}
.glow-emerald {
    box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.5);
}
.glow-amber {
    box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.5);
}

/* Coin Pulse Animation */
@keyframes coinPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(3deg); }
}
.animate-coin {
    animation: coinPulse 4s infinite ease-in-out;
}

/* Interactive Number Counter Card */
.number-box {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.number-box:hover {
    transform: translateY(-4px);
}
.number-box.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
}
.dark .number-box.active {
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.2);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Bottom Navigation */
.mobile-nav-item.active {
    color: #6366f1;
    transform: translateY(-2px);
}
.dark .mobile-nav-item.active {
    color: #818cf8;
}

/* Utility Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
