:root {
    --primary: #FFFF00;   
    --primary-dark: #FFD700; 
    --primary-light: #22d3ee;
    --secondary: #1E90FF;
    --dark-bg: #121212;
    --light-bg: #f5f5f5;
    --dark-card: #1E1E1E;
    --dark-border: #333333;
    --light-border: #e0e0e0;
    --text-primary-dark: #FFFFFF;
    --text-secondary-dark: #BBBBBB;
    --text-primary-light: #333333;
    --text-secondary-light: #666666;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --info: #2196F3;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    --glow-primary: 0 0 15px rgba(6, 182, 212, 0.5);
    --glow-success: 0 0 15px rgba(76, 175, 80, 0.5);
    --border: #36506b;

}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Header styles */
.header {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    -webkit-background-clip: text;
    animation: fadeIn 0.8s ease;
}

.header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}


.cps-test-area {
    width: 100%;
    height: 300px;
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    user-select: none;
}
    
.cps-test-area.idle {
    background: var(--dark-card);
    border-color: var(--dark-border);
}
    
.cps-test-area.countdown {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--primary);
}
    
.cps-test-area.active {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--primary);
}
    
.cps-test-area.ended {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--primary);
}
    
.cps-status {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    z-index: 2;
}
    
.cps-timer {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}
    
.cps-click-counter {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-secondary-dark);
}
    
.cps-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
    
.cps-result-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cps-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.cps-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
    
.cps-result-value {
    font-size: 28px;
    font-weight: bold;
    margin: 12px 0;
}
    
.test-presets {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
    
.preset-btn {
    padding: 10px 18px;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}
    
.preset-btn:hover {
    background: var(--primary-light);
    color: white;
}
    
.preset-btn.active {
    background: var(--primary);
    color: white;
}
    
.preset-btn.active:hover {
    background: var(--primary-light);
}
    
.click-feedback {
    position: absolute;
    pointer-events: none;
    font-weight: bold;
    color: var(--success);
    animation: fadeUp 1s forwards;
    z-index: 10;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
    
@keyframes fadeUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}
    
.progress-container {
    margin-top: 20px;
}
    
.progress-bar {
    height: 12px;
    background: var(--dark-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}
    
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}
    
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    z-index: 1;
    background-size: 20px 20px;
    animation: move 1s linear infinite;
    overflow: hidden;
}
    
@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}
    
.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary-dark);
}
    
/* -------------------------------------------------------------------------- */
/* Stats Card Styles                                                          */
/* -------------------------------------------------------------------------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
    
.stat-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 25px;
    border-left: 4px solid var(--border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.stat-card h3 .fas {
    color: var(--text-primary-dark);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
    
.stat-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
    
.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary-dark);
    margin: 12px 0;
}
    
.stat-label {
    font-size: 14px;
    color: var(--text-secondary-dark);
}

.technique-recommendation {
    margin-top: 15px;
    padding: 20px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(5px);
}
    
.global-average {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary-dark);
}
    
.global-average i {
    margin-right: 5px;
    color: var(--primary);
}
    
.rank-explanation {
    margin-top: 20px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}
    
.rank-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
    
.rank-table th, .rank-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}
    
.rank-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary-dark);
    font-weight: 600;
}

.rank-table td {
    color: var(--text-secondary-dark);
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #E53935;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.alert {
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.alert-icon {
    font-size: 24px;
}

.instruction-list {
    padding-left: 20px;
    margin: 10px 0 0 0;
}

.instruction-list li {
    margin-bottom: 8px;
    color: white;
}

.technique-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(33, 150, 243, 0.2);
    border-radius: 6px;
    font-size: 12px;
    margin-right: 6px;
    color: var(--primary);
}

.content-section {
    margin-bottom: 30px;
}

.content-section h2 {
    color: var(--text-primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-card);
    padding: 15px;
    border-radius: 12px;
}

.content-section p, .content-section li {
    color: var(--text-secondary-dark);
    line-height: 1.6;
}

.header h1 {
    color: var(--text-primary-dark);
    margin-bottom: 10px;
}

.header p {
    color: var(--text-secondary-dark);
}
    
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    color: var(--text-secondary-dark);
}
    
/* Countdown overlay */
.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    font-weight: bold;
    color: var(--primary);
    z-index: 5;
}

/* Millisecond timer */
.millisecond-timer {
    font-size: 20px;
    vertical-align: super;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    min-width: 300px;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.notification-success {
    border-left: 4px solid #2ecc71;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.notification-message {
    flex-grow: 1;
    margin-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

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

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

/* -------------------------------------------------------------------------- */
/* Leaderboard and Personal Best Styles - Modern Professional Look            */
/* -------------------------------------------------------------------------- */

.leaderboard-container {
    margin: 2.5rem auto;
    max-width: 980px;
    width: 100%;
    padding: 0 1.25rem;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------------- Table ---------------- */
.leaderboard {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(145deg, #1a1a1a 0%, #242424 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Header */
.leaderboard-header {
    background: linear-gradient(180deg, #2a2a2a 0%, #242424 100%);
    border-bottom: 1px solid #333;
}

.leaderboard-header th {
    padding: 1.25rem 1.75rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

/* Rows */
.leaderboard-item {
    border-bottom: 1px solid #2d2d2d;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item td {
    padding: 1.25rem 1.75rem;
    color: #f5f5f5;
    font-size: 0.95rem;
    font-weight: 450;
    border: none;
}

/* Columns */
.leaderboard-rank {
    font-weight: 700;
    font-size: 1rem;
    color: #e6e6e6;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

.leaderboard-player {
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.leaderboard-score {
    font-weight: 700;
    color: #06b6d4;
    text-align: left;
    font-size: 1.1rem;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.leaderboard-date {
    text-align: left;
    color: #8a8a8a;
    font-size: 0.85rem;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

/* ---------------- Top 3 Ranks ---------------- */
.rank-1 {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.12) 0%, transparent 100%);
    border-left: 4px solid #06b6d4;
}

.rank-1 .leaderboard-rank {
    font-size: 1.25rem;
    color: #06b6d4;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.rank-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08) 0%, transparent 100%);
    border-left: 4px solid #c0c0c0;
}

.rank-2 .leaderboard-rank {
    font-size: 1.15rem;
    color: #c0c0c0;
    text-shadow: 0 0 12px rgba(192, 192, 192, 0.3);
}

.rank-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08) 0%, transparent 100%);
    border-left: 4px solid #cd7f32;
}

.rank-3 .leaderboard-rank {
    font-size: 1.1rem;
    color: #cd7f32;
    text-shadow: 0 0 12px rgba(205, 127, 50, 0.3);
}

/* ---------------- Personal Best ---------------- */
.user-best-score {
    background: linear-gradient(145deg, #1a1a1a 0%, #242424 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    margin-top: 2.5rem;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.user-best-score:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.user-best-score h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.02em;
}

.user-best-score h4::before {
    content: "★";
    font-size: 1.1em;
}

.user-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.score-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.score-rank {
    color: #8a8a8a;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-records,
.loading {
    text-align: center;
    padding: 3rem;
    color: #8a8a8a;
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
    .leaderboard-container {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .leaderboard {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .leaderboard-header {
        display: none;
    }

    .leaderboard-item {
        display: grid;
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        background: rgba(30, 30, 30, 0.8);
        border: 1px solid #333;
    }

    .leaderboard-item td {
        padding: 0.5rem;
    }

    .leaderboard-rank {
        grid-row: 1 / 3;
        font-size: 1.2rem;
        text-align: center;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .leaderboard-player {
        font-weight: 600;
        font-size: 1.05rem;
    }

    .leaderboard-score {
        font-size: 1.15rem;
    }

    .leaderboard-date {
        display: none;
    }

    .user-best-score {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .user-score {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .score-rank {
        align-self: flex-end;
    }
}

h1 {
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------------------------------------------- */
/* Special Achievement Animations and Styles */
/* -------------------------------------------------------------------------- */

.achievement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.achievement-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    border: 2px solid gold;
    position: relative;
    overflow: hidden;
}

.achievement-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s infinite;
    z-index: 0;
}

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

.achievement-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

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

.achievement-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.achievement-message {
    font-size: 18px;
    margin-bottom: 25px;
    color: #FFFFFF;
    line-height: 1.5;
}

.achievement-rank {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    display: inline-block;
}

.achievement-close {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.achievement-close:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

/* Confetti animation - REDUCED COUNT */
.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    opacity: 0.8;
    animation: confetti-fall 5s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Fireworks animation */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: explode 1s forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}



@keyframes gold-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Special rank glow effects */
.rank-glow-1 {
    animation: glow-gold 2s infinite alternate;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
}

.rank-glow-2 {
    animation: glow-silver 2s infinite alternate;
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.6);
}

.rank-glow-3 {
    animation: glow-bronze 2s infinite alternate;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.6);
}

.rank-glow-top10 {
    animation: glow-blue 2s infinite alternate;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.5);
}

@keyframes glow-gold {
    from { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 40px rgba(255, 215, 0, 0.9); }
}

@keyframes glow-silver {
    from { box-shadow: 0 0 15px rgba(192, 192, 192, 0.4); }
    to { box-shadow: 0 0 30px rgba(192, 192, 192, 0.8); }
}

@keyframes glow-bronze {
    from { box-shadow: 0 0 15px rgba(205, 127, 50, 0.4); }
    to { box-shadow: 0 0 25px rgba(205, 127, 50, 0.7); }
}

@keyframes glow-blue {
    from { box-shadow: 0 0 10px rgba(30, 144, 255, 0.3); }
    to { box-shadow: 0 0 20px rgba(30, 144, 255, 0.6); }
}
.time-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.time-link {
    padding: 8px 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.time-link:hover {
    background: var(--border);
    color: white;
    transform: translateY(-2px);
}

.time-link.active {
    background: var(--border);
    color: white;
}