/* Card Styles - Dark Theme */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    color: var(--text-primary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0.8;
}

.card:hover {
    box-shadow: var(--card-hover-shadow), var(--neon-shadow);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
}

.card:hover::before {
    animation: shimmer 2s ease-in-out infinite;
}

.card-header {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-quaternary) 100%);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 12px 12px 0 0 !important;
    color: var(--text-primary);
}

/* Stats Cards */
.stats-card {
    background: var(--primary-gradient);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.stats-card-secondary {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(100, 116, 139, 0.3);
}

.stats-card-success {
    background: var(--success-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.3);
}

.stats-card-warning {
    background: var(--warning-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3);
}

.stats-card .card-body {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.stats-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.4);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
    line-height: 1;
}