/**
 * MASTER MIND - PREMIUM DARK THEME
 * Modern glassmorphism design with neon accents
 * Created: November 2024
 */

/* ===== CUSTOM FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors - Cyber Purple */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-card-solid: #14141e;
    --bg-hover: rgba(40, 40, 60, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    /* Accent Colors - Neon */
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
    
    /* Status Colors */
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.3);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.3);
    --info: #3b82f6;
    --info-glow: rgba(59, 130, 246, 0.3);
    
    /* Text */
    --text: #f8fafc;
    --text-muted: #64748b;
    --text-bright: #ffffff;
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(139, 92, 246, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
    
    /* Animation */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.master-mind-theme {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    
    /* Animated Background */
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    background-attachment: fixed;
}

/* ===== ANIMATED BACKGROUND GRID ===== */
body.master-mind-theme::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* ===== LAYOUT ===== */
.app-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ===== SIDEBAR - GLASSMORPHISM ===== */
.sidebar {
    width: 280px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    
    /* Glow effect */
    box-shadow: 
        inset -1px 0 0 rgba(255, 255, 255, 0.05),
        4px 0 24px rgba(0, 0, 0, 0.3);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.sidebar-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.sidebar-logo-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    animation: pulse 3s ease-in-out infinite;
}

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

.sidebar-logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.sidebar-logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 20px;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section-title::before {
    content: '';
    width: 8px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.sidebar-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
    transition: height var(--transition-normal);
}

.sidebar-btn:hover {
    background: var(--bg-hover);
    color: var(--text);
    transform: translateX(4px);
}

.sidebar-btn:hover::before {
    height: 60%;
}

.sidebar-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--text-bright);
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 20px var(--accent-glow);
}

.sidebar-btn.active::before {
    height: 70%;
    box-shadow: 0 0 10px var(--accent);
}

.sidebar-btn .icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.sidebar-btn:hover .icon {
    transform: scale(1.15);
}

.sidebar-btn .badge {
    margin-left: auto;
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 12px var(--danger-glow);
    animation: badgePulse 2s ease-in-out infinite;
}

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

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 32px 40px;
    position: relative;
    z-index: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 12px currentColor);
}

.stat-card-value {
    font-size: 36px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card-trend {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.stat-card-trend.up {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-card-trend.down {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* ===== CARDS & PANELS ===== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title .icon {
    font-size: 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 16px var(--success-glow);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 16px var(--danger-glow);
}

/* ===== TABLES ===== */
.table-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: rgba(139, 92, 246, 0.1);
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background var(--transition-fast);
}

tr:hover td {
    background: var(--bg-hover);
}

tr:last-child td {
    border-bottom: none;
}

/* ===== FORM INPUTS ===== */
input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-normal);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== LOADING SPINNER ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    flex-direction: column;
    gap: 24px;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-right-color: #06b6d4;
    border-radius: 50%;
    animation: spinGlow 1s linear infinite;
    box-shadow: 0 0 30px var(--accent-glow);
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: var(--bg-hover);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    z-index: 10001;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(100%);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

/* ===== CHARTS CONTAINER ===== */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    height: 300px;
}

/* ===== QUICK ACTIONS GRID ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.quick-action-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.quick-action-card .label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 16px 8px;
    }
    
    .sidebar-logo-text,
    .sidebar-section-title,
    .sidebar-btn span:not(.icon):not(.badge) {
        display: none;
    }
    
    .sidebar-logo {
        padding: 12px;
        justify-content: center;
    }
    
    .sidebar-btn {
        padding: 14px;
        justify-content: center;
    }
    
    .main-content {
        margin-left: 80px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 16px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS FOR ELEMENTS ===== */
.animate-in {
    animation: animateIn 0.5s ease forwards;
}

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

/* Stagger animation delays */
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }

/* ===== GLOW EFFECTS ===== */
.glow-purple {
    box-shadow: 0 0 20px var(--accent-glow);
}

.glow-green {
    box-shadow: 0 0 20px var(--success-glow);
}

.glow-blue {
    box-shadow: 0 0 20px var(--info-glow);
}

.glow-red {
    box-shadow: 0 0 20px var(--danger-glow);
}

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

/* ===== GLASS EFFECT ===== */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}

/* ===== HOVER LIFT ===== */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== PARTICLE BACKGROUND ===== */
.particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

.particle:nth-child(odd) {
    background: #06b6d4;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.particle:nth-child(3n) {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Different sizes and speeds for particles */
.particle:nth-child(1) { left: 10%; width: 3px; height: 3px; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; width: 5px; height: 5px; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; width: 2px; height: 2px; animation-duration: 28s; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; width: 6px; height: 6px; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; width: 3px; height: 3px; animation-duration: 26s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; width: 4px; height: 4px; animation-duration: 21s; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; width: 2px; height: 2px; animation-duration: 24s; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; width: 3px; height: 3px; animation-duration: 27s; animation-delay: 3s; }
.particle:nth-child(11) { left: 25%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: 5s; }
.particle:nth-child(12) { left: 35%; width: 2px; height: 2px; animation-duration: 29s; animation-delay: 0s; }
.particle:nth-child(13) { left: 45%; width: 5px; height: 5px; animation-duration: 17s; animation-delay: 2s; }
.particle:nth-child(14) { left: 55%; width: 3px; height: 3px; animation-duration: 25s; animation-delay: 4s; }
.particle:nth-child(15) { left: 65%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(16) { left: 75%; width: 6px; height: 6px; animation-duration: 22s; animation-delay: 3s; }
.particle:nth-child(17) { left: 85%; width: 2px; height: 2px; animation-duration: 26s; animation-delay: 5s; }
.particle:nth-child(18) { left: 95%; width: 3px; height: 3px; animation-duration: 24s; animation-delay: 2s; }
.particle:nth-child(19) { left: 5%; width: 4px; height: 4px; animation-duration: 21s; animation-delay: 4s; }
.particle:nth-child(20) { left: 50%; width: 5px; height: 5px; animation-duration: 28s; animation-delay: 0s; }

/* ===== CLICK RIPPLE EFFECT ===== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

