.day-text {
    font-weight: 400; 
    line-height: 1;
    animation: pulse 3s infinite ease-in-out; 
}

@keyframes pulse {
    0%, 100% { 
        color: #DC2626; /* Christmas red */
    }
    25% {
        color: #059669; /* Christmas green */
    }
    50% { 
        color: #FBBF24; /* Gold */
    }
    75% {
        color: #F3F4F6; /* Silver/white */
    }
}

.day-text.is-christmas {
    animation-name: christmasGlow;
    animation-duration: 2s; 
    color: #DC2626; 
}

@keyframes christmasGlow {
    0%, 100% { 
        color: #DC2626;
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    }
    25% {
        color: #059669;
        text-shadow: 0 0 20px rgba(5, 150, 105, 0.5);
    }
    50% { 
        color: #FBBF24;
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    75% {
        color: #F3F4F6;
        text-shadow: 0 0 20px rgba(243, 244, 246, 0.5);
    }
}

body {
    font-family: 'Inter', sans-serif;
    transition: opacity 0.5s ease-out;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827 !important;
        color: #f9fafb;
    }
    
    .visit-counter {
        color: #9ca3af !important;
    }
    
    .frog-text {
        color: #9ca3af !important;
    }
}

/* Force dark mode when dark-mode class is applied */
body.dark-mode {
    background-color: #111827 !important;
    color: #f9fafb;
}

body.dark-mode .visit-counter {
    color: #9ca3af !important;
}

body.dark-mode .frog-text {
    color: #9ca3af !important;
}

/* Force light mode when light-mode class is applied */
body.light-mode {
    background-color: #f9fafb !important;
    color: #111827;
}

body.light-mode .visit-counter {
    color: #ccc !important;
}

body.light-mode .frog-text {
    color: #ccc !important;
}

.visit-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
    color: #ccc;
    font-weight: 400;
    user-select: none;
    opacity: 0.7;
}

.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px;
}

.music-icon-img {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.music-icon-img.playing {
    animation: heartbeat 1.5s infinite ease-in-out;
}

.music-toggle:hover {
    transform: scale(1.1);
}

.music-toggle {
    opacity: 0.4;
}


/* Dark mode styles for music button */
@media (prefers-color-scheme: dark) {
    .music-toggle {
        background: transparent;
    }
    
    .music-toggle:hover {
        background: transparent;
    }
}

body.dark-mode .music-toggle {
    background: transparent;
}

body.dark-mode .music-toggle:hover {
    background: transparent;
}

.frog-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.frog-text {
    font-size: 12px;
    color: #ccc;
    font-weight: 400;
    margin: 2px 0;
    text-align: center;
    white-space: nowrap;
}

.frog-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.3s ease-out;
    animation: heartbeat 1.5s infinite ease-in-out;
}

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

.frog-container:hover .frog-icon {
    opacity: 0.8;
}

.fade-out {
    opacity: 0;
}