.calendar-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-month {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.nav-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-weight: bold;
    color: #666;
    padding: 10px;
    font-size: 14px;
    font-family: 'Noto Sans Ol Chiki', sans-serif;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 10px;
    border-radius: 5px;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: scaleIn 0.3s ease-in-out;
}

.calendar-day:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.calendar-day.current {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: bold;
}

.calendar-day.other-month {
    opacity: 0.5;
}

.day-number {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans Ol Chiki', sans-serif;
}

.day-events {
    margin-top: 5px;
}

.event {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Noto Sans Ol Chiki', sans-serif;
}

.event.festival {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.event.holiday {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-container {
        padding: 10px;
        margin: 10px 0;
    }

    .current-month {
        font-size: 20px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }

    .weekday {
        padding: 5px;
        font-size: 12px;
    }

    .day-number {
        font-size: 14px;
    }

    .event {
        font-size: 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}