/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
}

/* Glass Morphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(6, 78, 59, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.glass-time {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.glass-time:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Social Icons */
.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px) scale(1.1);
}

/* Progress Bar Animation */
.progress-animation {
    animation: progress-grow 3s ease-in-out infinite alternate;
    background: linear-gradient(90deg, #22c55e, #4ade80, #86efac);
}

@keyframes progress-grow {
    0% {
        width: 20%;
        opacity: 0.7;
    }
    50% {
        width: 60%;
        opacity: 1;
    }
    100% {
        width: 90%;
        opacity: 0.7;
    }
}

/* Floating Leaves Animation */
.floating-leaf {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border-radius: 50% 50% 50% 0;
    opacity: 0.3;
    z-index: 5;
}

.leaf-1 {
    top: 10%;
    left: 10%;
    animation: float-leaf 8s ease-in-out infinite;
}

.leaf-2 {
    top: 20%;
    right: 15%;
    animation: float-leaf 10s ease-in-out infinite 2s;
}

.leaf-3 {
    bottom: 15%;
    left: 20%;
    animation: float-leaf 12s ease-in-out infinite 4s;
}

.leaf-4 {
    bottom: 25%;
    right: 10%;
    animation: float-leaf 9s ease-in-out infinite 1s;
}

@keyframes float-leaf {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Text Animation */
.text-glow {
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

/* Countdown Number Animation */
.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    animation: countdown-pulse 1s ease-in-out;
}

@keyframes countdown-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .glass-card {
        padding: 2rem 1.5rem !important;
        margin: 1rem;
    }
    
    .floating-leaf {
        display: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(6, 78, 59, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 197, 94, 0.7);
}