* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #7c2c2c 0%, #8b0000 50%, #228b22 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 100%;
}

.box {
    aspect-ratio: 1;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: none;
    font-size: 1.8rem;
    position: relative;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.box.clicked {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.box.day-24 {
    grid-column: span 2;
    grid-row: span 2;
    font-size: 3.5rem;
}

/* Colors for boxes */
.red { background-color: #f87171; }
.green { background-color: #4ade80; }
.blue { background-color: #60a5fa; }
.yellow { background-color: #fbbf24; }
.purple { background-color: #c084fc; }
.pink { background-color: #f472b6; }
.indigo { background-color: #818cf8; }
.cyan { background-color: #22d3ee; }
.orange { background-color: #fb923c; }
.emerald { background-color: #10b981; }
.rose { background-color: #f43f5e; }
.violet { background-color: #a78bfa; }
.amber { background-color: #f59e0b; }
.lime { background-color: #84cc16; }
.sky { background-color: #0ea5e9; }
.fuchsia { background-color: #ec4899; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #1f2937;
}

#modalMessage {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-button {
    width: 100%;
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-button:hover {
    background-color: #b91c1c;
}

#modalVideo {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    margin-bottom: 16px;
    background-color: #000;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .grid {
        gap: 12px;
    }

    .box {
        font-size: 1.2rem;
    }

    .box.day-24 {
        font-size: 2rem;
    }
}