:root {
    --primary-color: #2563eb;
    --success-color: #16a34a;
    --danger-color: #dc2626;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --holiday-color: #fee2e2;
    --holiday-text: #991b1b;
    --shopping-color: #dcfce7;
    --shopping-text: #166534;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 64px;
    height: 64px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}

.date-display {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

#status-message {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.status-yes {
    color: var(--success-color);
}

.status-no {
    color: var(--danger-color);
}

#status-details {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

#next-date-container {
    text-align: center;
    margin-bottom: 3rem;
}

.highlight-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.remaining-time {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 500;
}

.hidden {
    display: none;
}

.calendar-section {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.calendar-section h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.shopping {
    background-color: var(--shopping-text);
}

.dot.holiday {
    background-color: var(--holiday-text);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.month {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.month h3 {
    text-align: center;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    font-size: 0.85rem;
}

.day-label {
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 0.5rem;
}

.day {
    padding: 0.4rem 0;
    border-radius: 0.25rem;
}

.day.shopping-sunday {
    background-color: var(--shopping-color);
    color: var(--shopping-text);
    font-weight: 600;
}

.day.holiday {
    background-color: var(--holiday-color);
    color: var(--holiday-text);
}

.day.today {
    border: 2px solid var(--primary-color);
}

.day.empty {
    background: none;
}

footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0 1rem 2rem 1rem;
}

.seo-text {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    line-height: 1.8;
    color: var(--text-main);
}

.seo-text h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-align: center;
}

.seo-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sources {
    margin-bottom: 1.5rem;
}

.sources p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sources a {
    color: var(--primary-color);
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

.legal-basis {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}
