/* Age Verification Modal Styles */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: all 0.3s ease;
    opacity: 0;
}

.age-verification-overlay.active {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.age-verification-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(218, 165, 32, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    opacity: 0;
}

.age-verification-overlay.active .age-verification-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.age-verification-content {
    padding: 50px 40px;
    text-align: center;
}

.age-verification-logo {
    font-size: 80px;
    color: #DAA520;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.age-verification-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: #DAA520;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.age-verification-message {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

.age-verification-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
}

/* Form Styles */
.age-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #DAA520;
    margin-bottom: 10px;
    text-align: center;
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23DAA520' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
}

.form-select:hover {
    border-color: rgba(218, 165, 32, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.form-select:focus {
    outline: none;
    border-color: #DAA520;
    background: rgba(255, 255, 255, 0.1);
}

.form-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.date-inputs {
    display: flex;
    gap: 10px;
}

.date-select {
    flex: 1;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23DAA520' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    text-align: center;
}

.date-select:hover {
    border-color: rgba(218, 165, 32, 0.6);
    background-color: rgba(255, 255, 255, 0.08);
}

.date-select:focus {
    outline: none;
    border-color: #DAA520;
    background-color: rgba(255, 255, 255, 0.1);
}

.date-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}

.error-message {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.5);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message.error-critical {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.8);
    color: #ff4444;
    font-weight: 600;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.age-btn {
    flex: 1;
    min-width: 180px;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.age-btn i {
    font-size: 20px;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.age-btn:hover::before {
    width: 300px;
    height: 300px;
}

.age-btn-yes {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.age-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
}

.age-btn-yes:active {
    transform: translateY(0);
}

.age-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.age-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
}

.age-btn-submit:active {
    transform: translateY(0);
}

.age-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.age-btn-no {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    color: #ffffff;
    border: 2px solid #555555;
}

.age-btn-no:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
    border-color: #666666;
    transform: translateY(-2px);
}

.age-btn-no:active {
    transform: translateY(0);
}

.age-verification-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 640px) {
    .age-verification-content {
        padding: 40px 30px;
    }

    .age-verification-logo {
        font-size: 60px;
    }

    .age-verification-title {
        font-size: 28px;
    }

    .age-verification-question {
        font-size: 20px;
    }

    .age-verification-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .age-btn {
        width: 100%;
        min-width: auto;
    }

    .date-inputs {
        flex-direction: column;
        gap: 12px;
    }

    .date-select {
        width: 100%;
    }

    .form-label {
        font-size: 13px;
    }

    .form-select, .date-select {
        font-size: 15px;
    }
}

/* Accessibility */
.age-btn:focus {
    outline: 3px solid #DAA520;
    outline-offset: 3px;
}

/* Prevent interaction with background content */
.age-verification-overlay ~ * {
    pointer-events: none;
}

body:has(.age-verification-overlay) {
    overflow: hidden;
}
