* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 50%, #F7DC6F 100%);
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    text-align: center;
    font-size: 48px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 20px;
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    letter-spacing: 2px;
}

.planner {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #87CEEB;
}

.menu-section {
    width: 100%;
}

.instruction-text {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    font-weight: bold;
}


.days-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.day-card {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.day-card::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -5px;
    width: 90%;
    height: 90%;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    z-index: 0;
}

.day-label {
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-2deg);
    background: linear-gradient(135deg, #ffd54f 0%, #ffeb3b 100%);
    color: #333;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    text-transform: lowercase;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 
                inset 0 -3px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f9a825;
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
}

.day-card:nth-child(even) .day-label {
    transform: rotate(2deg);
}

.day-label:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 
                inset 0 -3px 5px rgba(0, 0, 0, 0.1);
}

.day-card {
    cursor: pointer;
}

.day-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    z-index: 1;
}

.back-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 15px 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border: 3px solid #87CEEB;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-content h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
}

.modal-body {
    min-height: 400px;
    background: #fefefe;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 36px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .actions {
        display: none;
    }
    
    .planner {
        box-shadow: none;
        border: 2px solid #333;
    }
}

@media (max-width: 1200px) {
    .days-container {
        grid-template-columns: repeat(7, 1fr);
        gap: 15px;
    }
    
    .day-label {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .planner {
        padding: 15px;
    }
    
    .days-container {
        grid-template-columns: repeat(7, 1fr);
        gap: 10px;
    }
    
    .day-card {
        min-height: 120px;
    }
    
    .day-label {
        font-size: 14px;
        padding: 10px;
    }
}
