/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-dark-green-900);
    z-index: 9999;
    display: flex; /* Hidden by default via JS if cookie exists, but css defaults to flex for safety */
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    transition: opacity 0.5s ease;
}

/* Prevent scrolling when gate is open */
body.age-gate-locked {
    overflow: hidden;
}

.age-gate-modal {
    background-color: var(--brand-dark-green-800);
    padding: var(--space-8);
    border: 1px solid var(--brand-olive-dark-600);
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

/* Decorative border/corners could go here */
.age-gate-modal::before {
    content: '';
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    right: var(--space-2);
    bottom: var(--space-2);
    border: 1px solid var(--brand-olive-dark-800);
    pointer-events: none;
}

/* Typography */
.brand-title {
    font-family: var(--font-display);
    color: var(--brand-beige-200);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
    letter-spacing: 2px;
}

.age-gate-title {
    color: var(--brand-beige-100);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.age-gate-subtitle {
    color: var(--brand-olive-400);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.age-gate-text {
    color: var(--brand-beige-300);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.age-gate-text .translation {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* Form Elements */
.age-gate-form {
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.year-select {
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--brand-olive-400);
    color: var(--brand-beige-100);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    width: auto;
    outline: none;
}

.year-select:focus {
    border-color: var(--brand-orange-500);
}

.age-gate-submit {
    min-width: 200px;
    font-size: var(--text-base);
    letter-spacing: 2px;
}

/* Footer */
.age-gate-footer {
    border-top: 1px solid var(--brand-olive-dark-800);
    padding-top: var(--space-6);
}

.age-gate-footer p {
    font-size: var(--text-xs);
    color: var(--brand-beige-700);
    line-height: 1.5;
}

.age-gate-footer a {
    color: var(--brand-beige-500);
    text-decoration: underline;
}

.age-gate-footer a:hover {
    color: var(--brand-orange-400);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .age-gate-modal {
        padding: var(--space-6) var(--space-4);
    }
    
    .brand-title {
        font-size: var(--text-3xl);
    }
    
    .age-gate-title {
        font-size: var(--text-xl);
    }
}
