/* assets/css/fundly-style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e0e0ff;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(100, 100, 255, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 100, 100, 0.08) 0%, transparent 20%);
}

.glass {
    background: rgba(20, 20, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(100, 100, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glass:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(100, 100, 255, 0.2);
}

.glow-blue { box-shadow: 0 0 40px rgba(100, 150, 255, 0.4); }
.glow-orange { box-shadow: 0 0 40px rgba(255, 120, 80, 0.4); }

.card-3d {
    background: linear-gradient(145deg, rgba(30,30,60,0.6), rgba(15,15,35,0.8));
    border-radius: 28px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(100, 150, 255, 0.2), transparent);
    animation: rotate 20s linear infinite;
}

.text-gradient {
    background: linear-gradient(90deg, #647fff, #ff6496);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn-premium {
    background: linear-gradient(90deg, #647fff, #ff6496);
    border: none;
    border-radius: 16px;
    padding: 14px 28px;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(100, 150, 255, 0.4);
}

.sidebar {
    background: rgba(10, 10, 25, 0.7);
    backdrop-filter: blur(20px);
    width: 280px;
    border-right: 1px solid rgba(100, 100, 255, 0.1);
}

.nav-item.active {
    background: rgba(100, 150, 255, 0.15);
    border-left: 4px solid #647fff;
    border-radius: 0 16px 16px 0;
}

.balance-card {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.2), rgba(255, 100, 150, 0.2));
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 28px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('assets/img/dragonfly.png') no-repeat center;
    background-size: 180px;
    opacity: 0.1;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}