/* Events Page - Special Events & Countdowns */

/* ==================== NEW YEAR COUNTDOWN SECTION ==================== */
.newyear-countdown {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(255, 215, 0, 0.05);
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Gold sparkle overlay */
.newyear-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 40% 90%, rgba(255, 215, 0, 0.25) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 90px 90px, 110px 110px, 70px 70px, 130px 130px, 95px 95px;
    animation: sparkleFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparkleFloat {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateY(0); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-5px); 
    }
}

.newyear-countdown .countdown-header,
.newyear-countdown .countdown-container,
.newyear-countdown .countdown-info {
    position: relative;
    z-index: 1;
}

.newyear-countdown .countdown-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.newyear-countdown .countdown-header p {
    font-size: 1.2rem;
    color: rgba(255, 215, 0, 0.8);
}

/* 7-Segment LED Display Timer */
.newyear-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 200, 255, 0.3);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 200, 255, 0.2);
}

.newyear-time-unit {
    text-align: center;
    padding: 15px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 200, 255, 0.1);
    min-width: 90px;
}

.newyear-time-number {
    display: block;
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 
        0 0 5px #00d4ff,
        0 0 10px #00d4ff,
        0 0 20px #00d4ff,
        0 0 40px #00a8cc,
        0 0 60px #00a8cc;
    letter-spacing: 5px;
    animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {
    0%, 100% { 
        opacity: 1;
        text-shadow: 
            0 0 5px #00d4ff,
            0 0 10px #00d4ff,
            0 0 20px #00d4ff,
            0 0 40px #00a8cc,
            0 0 60px #00a8cc;
    }
    50% { 
        opacity: 0.95;
        text-shadow: 
            0 0 3px #00d4ff,
            0 0 8px #00d4ff,
            0 0 15px #00d4ff,
            0 0 30px #00a8cc,
            0 0 50px #00a8cc;
    }
    52% { 
        opacity: 1;
        text-shadow: 
            0 0 5px #00d4ff,
            0 0 10px #00d4ff,
            0 0 20px #00d4ff,
            0 0 40px #00a8cc,
            0 0 60px #00a8cc;
    }
}

.newyear-time-separator {
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 
        0 0 5px #00d4ff,
        0 0 10px #00d4ff,
        0 0 20px #00d4ff;
    animation: separatorBlink 1s ease-in-out infinite;
    padding-bottom: 30px;
}

@keyframes separatorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

.newyear-time-label {
    display: block;
    font-size: 0.85rem;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* New Year Celebration Button */
.newyear-celebration {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.newyear-celebration .celebration-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.newyear-celebration .celebration-content h2 {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.newyear-celebration .celebration-content p {
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.9);
    margin-bottom: 30px;
}

.newyear-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #0a0a0a;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 20px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2);
}

.newyear-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 8px 30px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4);
}

.newyear-countdown .countdown-info p {
    color: rgba(255, 215, 0, 0.8);
}

/* New Year Responsive */
@media (max-width: 768px) {
    .newyear-countdown {
        padding: 40px 20px;
    }
    
    .newyear-countdown .countdown-header h2 {
        font-size: 1.8rem;
    }
    
    .newyear-countdown-timer {
        gap: 5px;
        padding: 20px 10px;
    }
    
    .newyear-time-unit {
        min-width: 65px;
        padding: 10px 8px;
    }
    
    .newyear-time-number {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .newyear-time-separator {
        font-size: 2.2rem;
        padding-bottom: 20px;
    }
    
    .newyear-time-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .newyear-btn {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
}

/* Birthday Countdown Section */
.birthday-countdown {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    color: white;
}

.countdown-header {
    text-align: center;
    margin-bottom: 40px;
}

.countdown-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.countdown-container {
    max-width: 900px;
    margin: 0 auto;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 120px;
}

.time-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.time-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-info {
    text-align: center;
    margin-top: 30px;
}

.countdown-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

/* Birthday Celebration Styles */
.birthday-celebration {
    text-align: center;
    padding: 40px;
}

.celebration-content {
    position: relative;
}

.celebration-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

.celebration-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.birthday-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ff6b6b, #ff9ff3);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.birthday-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

/* Confetti Animation */
.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    top: -10px;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Retirement Countdown Section - Tropical Caribbean Theme */
.retirement-countdown {
    background: linear-gradient(135deg, #0077BE 0%, #40E0D0 50%, #87CEEB 100%);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 119, 190, 0.3);
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Tropical overlay effects */
.retirement-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 127, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(152, 216, 200, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.retirement-countdown .countdown-header,
.retirement-countdown .countdown-container,
.retirement-countdown .countdown-info {
    position: relative;
    z-index: 1;
}

.retirement-countdown .countdown-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 119, 190, 0.4);
}

.retirement-countdown .countdown-header p {
    font-size: 1.2rem;
    color: #F4E4C1;
}

.retirement-countdown .time-unit {
    background: rgba(0, 119, 190, 0.3);
    border: 2px solid #40E0D0;
    backdrop-filter: blur(10px);
}

.retirement-countdown .time-number {
    color: #F4E4C1;
    text-shadow: 3px 3px 6px rgba(0, 119, 190, 0.5);
}

.retirement-countdown .time-label {
    color: #98D8C8;
}

.retirement-countdown .countdown-info p {
    color: #F4E4C1;
}

/* Retirement Celebration Styles */
.retirement-celebration {
    text-align: center;
    padding: 40px;
}

.retirement-celebration .celebration-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #F4E4C1;
    text-shadow: 3px 3px 6px rgba(0, 119, 190, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

.retirement-celebration .celebration-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #F4E4C1;
}

.retirement-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #FF7F50, #40E0D0);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 127, 80, 0.4);
}

.retirement-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(64, 224, 208, 0.6);
}

/* Tropical Confetti Colors */
.retirement-celebration .confetti-piece {
    background: #40E0D0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .birthday-countdown,
    .retirement-countdown {
        padding: 40px 20px;
    }
    
    .countdown-header h2 {
        font-size: 2rem;
    }
    
    .countdown-header p {
        font-size: 1rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .time-unit {
        padding: 20px 25px;
        min-width: 100px;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .time-label {
        font-size: 0.9rem;
    }
    
    .celebration-content h2 {
        font-size: 2rem;
    }
    
    .celebration-content p {
        font-size: 1.2rem;
    }
    
    .birthday-btn,
    .retirement-btn {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        padding: 15px 20px;
        min-width: 80px;
    }
    
    .time-number {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
}
