/* 
   Age Verification Modal Styles
   Matches the design of De Rode Leeuw Menu
*/

.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.age-modal-content {
    background-color: #F5F2E8; /* Precise beige from design */
    background-image: url("https://www.transparenttextures.com/patterns/stucco.png");
    padding: 3.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid #800000; /* Royal Red border */
    animation: ageModalFadeIn 0.4s ease-out;
}

@keyframes ageModalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.age-modal-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 5.5vw, 2.2rem);
    color: #3D2B1F;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-word; /* Fallback for very small screens */
}

.age-modal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #800000;
    text-transform: none;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.age-modal-question {
    font-family: 'Inter', sans-serif;
    color: #800000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.age-modal-question-en {
    font-family: 'Inter', sans-serif;
    color: #800000;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.age-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.age-btn {
    width: 100%;
    padding: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.age-btn-confirm {
    background-color: #800000;
    color: #F5F2E8;
    border: 1px solid #800000;
}

.age-btn-confirm:hover {
    background-color: #600000;
    transform: translateY(-2px);
}

.age-btn-deny {
    background-color: transparent;
    color: #800000;
    border: 1px solid #800000;
}

.age-btn-deny:hover {
    background-color: rgba(128, 0, 0, 0.05);
}

.age-btn-subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.age-modal-footer {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #800000;
    opacity: 0.7;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .age-modal-content {
        padding: 2.5rem 1rem; /* Reduced padding gives more room for the long word */
    }
    .age-modal-content h2 {
        font-size: clamp(1.1rem, 6vw, 1.5rem);
        letter-spacing: 0.02em; 
    }
}
