/* ===== MODERN GLASSMORPHISM FLASH SCREEN ===== */
:root {
    --primary-dark: #0f172a;
    --accent-gold: #fbbf24;
    --accent-blue: #24a1de;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* Base Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Flash Container */
.card-premium {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    margin: auto;
    animation: fadeInUp 0.8s ease-out;
}

/* Profile Section Improvement */
.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

/* Items List Design */
.setup-item, .progress-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    opacity: 0.4; /* Default dim state */
}

/* State when animation triggers in JS */
.fade-in {
    opacity: 1 !important;
    transform: scale(1.02);
}

.item-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}

.item-content {
    flex: 1;
    margin-left: 12px;
    text-align: left;
}

.item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
}

.item-text {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 500;
}

/* Success Indicator */
.check-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    animation: scalePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scalePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.completed-green {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
}

/* Icon Gradients */
.bg-gradient-purple { background: linear-gradient(135deg, #6366f1, #a855f7); }
.bg-gradient-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.bg-gradient-gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-gradient-green { background: linear-gradient(135deg, #10b981, #059669); }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }