@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --bg-color: #6c5eb5; /* C64 Border color */
    --card-bg: #352879; /* C64 Screen color */
    --text-primary: #a0a0ff; /* C64 Light Blue Text */
    --text-secondary: #6c5eb5;
    --accent: #a0a0ff;
    --accent-hover: #ffffff;
    --border-color: #6c5eb5;
    --day-hover-bg: #4c3ba2;
    --today-bg: #ffffff;
    --today-text: #352879;
    --font-family: 'Press Start 2P', monospace;
}

.app-container {
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.75rem; /* Scaled down for Press Start 2P width */
}



.month-card {
    background: var(--card-bg);
    border: 6px solid #6c5eb5; /* C64 thick border look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

.month-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #a0a0ff;
    letter-spacing: 0px;
    line-height: 1;
}

.month-title::before {
    display: block;
    color: #6c5eb5;
    font-size: 0.5rem;
    line-height: 1;
    order: -2; /* Force to render first */
    margin-bottom: 7px; /* Balanced spacing to the larger line below */
}

.month-title::after {
    display: none;
}

.month-card:nth-child(1) .month-title::before { content: "MONTH 01 LOADING... READY."; }
.month-card:nth-child(2) .month-title::before { content: "MONTH 02 LOADING... READY."; }
.month-card:nth-child(3) .month-title::before { content: "MONTH 03 LOADING... READY."; }
.month-card:nth-child(4) .month-title::before { content: "MONTH 04 LOADING... READY."; }
.month-card:nth-child(5) .month-title::before { content: "MONTH 05 LOADING... READY."; }
.month-card:nth-child(6) .month-title::before { content: "MONTH 06 LOADING... READY."; }
.month-card:nth-child(7) .month-title::before { content: "MONTH 07 LOADING... READY."; }
.month-card:nth-child(8) .month-title::before { content: "MONTH 08 LOADING... READY."; }
.month-card:nth-child(9) .month-title::before { content: "MONTH 09 LOADING... READY."; }
.month-card:nth-child(10) .month-title::before { content: "MONTH 10 LOADING... READY."; }
.month-card:nth-child(11) .month-title::before { content: "MONTH 11 LOADING... READY."; }
.month-card:nth-child(12) .month-title::before { content: "MONTH 12 LOADING... READY."; }

.weekday-header {
    color: #6c5eb5;
    font-size: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 4px;
}

.day {
    background: #352879;
    color: #a0a0ff;
    border: 1px solid #6c5eb5;
    font-size: 0.55rem;
}

.day:hover {
    background: #a0a0ff;
    color: #352879;
}

.day.today {
    background: #ffffff;
    color: #352879;
    font-weight: bold;
}

.holiday {
    background-color: rgba(160, 160, 255, 0.15);
    border: 1px dashed #a0a0ff;
    color: #ffffff;
}

.holiday-label {
    color: #a0a0ff;
    font-size: 0.4rem;
    bottom: 1px;
}
