/* ===== RECARGGA SMS - DARK PRO THEME ===== */
/* Advanced dark theme with modern animations and effects */

/* ===== ENHANCED VARIABLES ===== */
:root {
    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff0080;
    --neon-blue: #0066ff;
    --neon-green: #00ff88;
    
    /* Enhanced Glows */
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.4), 0 0 40px rgba(0, 245, 255, 0.2);
    --glow-purple: 0 0 20px rgba(191, 0, 255, 0.4), 0 0 40px rgba(191, 0, 255, 0.2);
    --glow-intense: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.3), 0 0 90px rgba(99, 102, 241, 0.1);
    
    /* Glass Effects */
    --glass-light: rgba(255, 255, 255, 0.05);
    --glass-medium: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.12);
    
    /* Animated Gradient */
    --gradient-animated: linear-gradient(270deg, #6366f1, #8b5cf6, #a855f7, #ec4899, #6366f1);
}

/* ===== GLOBAL ENHANCEMENTS ===== */
body {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 0%, var(--bg-primary) 100%),
        var(--bg-primary);
    background-attachment: fixed;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.03) 0%, transparent 2%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 2%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 2%);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    animation: particleFloat 30s linear infinite;
    z-index: -1;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* ===== ADVANCED CARD STYLES ===== */
.card {
    background: linear-gradient(135deg, rgba(15, 16, 25, 0.9) 0%, rgba(20, 21, 31, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gradient);
    border-radius: 0 3px 3px 0;
}

/* ===== STAT CARDS ENHANCED ===== */
.stat-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 16, 25, 0.95) 0%, rgba(20, 21, 31, 0.9) 100%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: statGlow 4s ease-in-out infinite;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

@keyframes statGlow {
    0%, 100% { opacity: 0.5; transform: translate(0, 0) scale(1); }
    50% { opacity: 0.8; transform: translate(-10%, 10%) scale(1.1); }
}

/* Stat card variants */
.stat-card.stat-primary { --stat-color: #6366f1; }
.stat-card.stat-success { --stat-color: #10b981; }
.stat-card.stat-warning { --stat-color: #f59e0b; }
.stat-card.stat-danger { --stat-color: #ef4444; }
.stat-card.stat-info { --stat-color: #0ea5e9; }

.stat-card.stat-primary::before { background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%); }
.stat-card.stat-success::before { background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%); }
.stat-card.stat-warning::before { background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%); }
.stat-card.stat-danger::before { background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%); }
.stat-card.stat-info::before { background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%); }

.stat-card.stat-primary::after { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.stat-card.stat-success::after { background: linear-gradient(90deg, #10b981, #059669); }
.stat-card.stat-warning::after { background: linear-gradient(90deg, #f59e0b, #d97706); }
.stat-card.stat-danger::after { background: linear-gradient(90deg, #ef4444, #dc2626); }
.stat-card.stat-info::after { background: linear-gradient(90deg, #0ea5e9, #0284c7); }

.stat-card .stat-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-value {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== ANIMATED BUTTONS ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-animated);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover::after {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.btn-ripple:active::after {
    transform: translate(-50%, -50%) scale(2);
}

/* ===== ENHANCED SIDEBAR ===== */
.sidebar {
    background: linear-gradient(180deg, #05060f 0%, #0a0b14 50%, #0f1019 100%);
    border-right: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.sidebar-nav .nav-link:hover::before {
    width: 100%;
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, transparent 100%);
    border-left: 3px solid var(--primary-color);
}

.sidebar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--primary-gradient);
    border-radius: 4px 0 0 4px;
    box-shadow: var(--glow-primary);
}

.sidebar-nav .nav-link i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.sidebar-nav .nav-link:hover i {
    transform: scale(1.2);
    color: var(--primary-light);
}

/* Logo Animation */
.sidebar-header .logo-icon {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 50px rgba(139, 92, 246, 0.3); }
}

/* ===== TOP NAVBAR ENHANCED ===== */
.top-navbar {
    background: linear-gradient(90deg, rgba(5, 6, 15, 0.95) 0%, rgba(10, 11, 20, 0.9) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.balance-badge {
    position: relative;
    overflow: hidden;
}

.balance-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: balanceShine 3s ease-in-out infinite;
}

@keyframes balanceShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* User Dropdown */
.user-dropdown .dropdown-toggle {
    transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.user-dropdown .user-avatar {
    transition: transform 0.3s ease;
}

.user-dropdown:hover .user-avatar {
    transform: scale(1.1);
}

/* ===== TABLE ENHANCEMENTS ===== */
.table {
    --bs-table-bg: transparent;
}

.table thead th {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
    transform: scale(1.01);
}

.table tbody tr:hover td:first-child {
    border-left: 2px solid var(--primary-color);
}

/* ===== FORM ENHANCEMENTS ===== */
.form-control {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.1),
        0 0 20px rgba(99, 102, 241, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-floating label {
    transition: all 0.3s ease;
}

.input-group-text {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/* ===== ADVANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.3); }
    50% { border-color: rgba(99, 102, 241, 0.8); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(99, 102, 241, 0.5); }
    50% { text-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.5); }
}

@keyframes rotate3D {
    0% { transform: perspective(1000px) rotateY(0deg); }
    100% { transform: perspective(1000px) rotateY(360deg); }
}

/* Animation Classes */
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease-out both; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease-out both; }
.animate-scale-in { animation: scaleIn 0.4s ease-out both; }
.animate-float { animation: floatAnimation 3s ease-in-out infinite; }
.animate-glow-pulse { animation: glowPulse 2s ease-in-out infinite; }
.animate-border-glow { animation: borderGlow 2s ease-in-out infinite; }
.animate-text-glow { animation: textGlow 2s ease-in-out infinite; }

/* Stagger Children */
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* ===== CHART ENHANCEMENTS ===== */
.chart-container {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 16, 25, 0.95) 0%, rgba(20, 21, 31, 0.9) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.chart-container .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.chart-container .chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container .chart-title i {
    color: var(--primary-color);
}

/* ===== STATUS BADGES ENHANCED ===== */
.status-badge {
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeShine 2s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-badge.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

/* ===== MODAL ENHANCEMENTS ===== */
.modal-content {
    background: linear-gradient(135deg, rgba(20, 21, 31, 0.98) 0%, rgba(15, 16, 25, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===== ALERTS ENHANCED ===== */
.alert {
    position: relative;
    overflow: hidden;
    animation: alertSlideIn 0.4s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
    opacity: 0.8;
}

/* ===== PROGRESS BARS ===== */
.progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 8px;
}

.progress-bar {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    transition: width 0.6s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 1.5s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== TOOLTIPS ===== */
.tooltip-inner {
    background: rgba(20, 21, 31, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 8px 14px;
    font-size: 0.875rem;
}

/* ===== FLOATING LABELS ===== */
.floating-label {
    position: relative;
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label {
    transform: translateY(-24px) scale(0.85);
    color: var(--primary-color);
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* ===== NOTIFICATION DOT ===== */
.notification-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
    animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* ===== LOADING SKELETON ENHANCED ===== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.1) 50%, 
        transparent 100%);
    animation: skeletonWave 1.5s ease-in-out infinite;
}

@keyframes skeletonWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== COUNTER ANIMATION ===== */
.counter-value {
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-value.counting {
    animation: counterBounce 0.3s ease;
}

@keyframes counterBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== HOVER EFFECTS ===== */
.hover-glow:hover {
    box-shadow: var(--glow-intense);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

/* ===== PAGE TRANSITIONS ===== */
.page-content {
    animation: pageEnter 0.5s ease-out;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-animated {
    background: var(--gradient-animated);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* ===== GLASSMORPHISM UTILITIES ===== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== NEON BORDERS ===== */
.neon-border {
    border: 1px solid transparent;
    background: linear-gradient(var(--dark-600), var(--dark-600)) padding-box,
                var(--primary-gradient) border-box;
}

.neon-border-animated {
    position: relative;
}

.neon-border-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-animated);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 0.7;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    body::before {
        display: none;
    }
    .stat-card::before {
        display: none;
    }
    .stat-card::after {
        display: none;
    }
    .animate-float {
        animation: none;
    }
    .animate-glow-pulse {
        animation: none;
    }
    /* Reduce backdrop-filter on mobile for performance */
    .card, .stat-card, .top-navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
}
