/* Age Verification Modal - BlackBox Design Language (Streamlined) */

.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

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

.age-verification-modal {
    background: #1a1a1a;
    border: 2px solid #0099ff;
    border-radius: 12px;
    padding: 0;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15);
    animation: slideIn 0.4s ease-out;
    display: flex;
    overflow: hidden;
}

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

.age-verification-header {
    background: #0a0a0a;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid #333;
}

.age-verification-header img {
    display: block;
    width: 240px !important;
    height: 240px !important;
    margin-bottom: 15px;
    opacity: 0.95;
    object-fit: contain;
}

.age-verification-header h3 {
    color: #00ffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: center;
}

.age-verification-content {
    color: #e0e0e0;
    padding: 35px;
    flex: 1;
}

.age-verification-modal .field-group {
    margin-bottom: 20px;
}

.age-verification-modal label {
    display: block;
    margin-bottom: 10px;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 14px;
}

.age-verification-modal input[type="date"] {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 16px;
    font-family: 'Space Mono', monospace;
    transition: all 0.2s ease;
}

.age-verification-modal input[type="date"]:focus {
    border-color: #0099ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

/* Date picker styling for dark theme */
.age-verification-modal input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.age-verification-modal .checkbox-group {
    margin: 20px 0;
}

.age-verification-modal .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.age-verification-modal .checkbox-label:hover {
    background: rgba(255, 255, 255, 0.03);
}

.age-verification-modal .checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0099ff;
}

.age-verification-modal .checkbox-label span {
    font-size: 13px;
    line-height: 1.5;
    color: #bbb;
}

.age-verification-modal .checkbox-label a {
    color: #0099ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.age-verification-modal .checkbox-label a:hover {
    color: #00ccff;
    text-decoration: underline;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.verify-btn,
.cancel-btn {
    flex: 1;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.verify-btn {
    background: linear-gradient(135deg, #0099ff 0%, #00ccff 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 153, 255, 0.25);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.35);
}

.verify-btn:active {
    transform: translateY(0);
}

.cancel-btn {
    background: #2a2a2a;
    color: #888;
    border: 2px solid #444;
}

.cancel-btn:hover {
    background: #333;
    color: #aaa;
    border-color: #555;
}

.age-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    animation: slideDown 0.3s ease-out;
}

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

.age-message.info {
    background: rgba(0, 153, 255, 0.1);
    color: #0099ff;
    border: 1px solid rgba(0, 153, 255, 0.3);
}

.age-message.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff6666;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.age-message.success {
    background: rgba(0, 255, 153, 0.1);
    color: #00ff99;
    border: 1px solid rgba(0, 255, 153, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
    .age-verification-modal {
        flex-direction: column;
        max-width: 90%;
    }

    .age-verification-header {
        border-right: none;
        border-bottom: 1px solid #333;
        min-width: auto;
        padding: 25px 20px;
    }

    .age-verification-header img {
        width: 60px;
        height: 60px;
    }

    .age-verification-header h3 {
        font-size: 18px;
    }

    .age-verification-content {
        padding: 25px;
    }

    .button-group {
        flex-direction: column-reverse;
    }
}
