/* Age Verification Modal - BLACK BOX ANIMATOR (Purple Theme) */

.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 #ff00ff;
    border-radius: 12px;
    padding: 0;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
    animation: slideIn 0.4s ease-out;
    display: flex;
    overflow: hidden;
}

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

/* Left side: Character + Branding */
.age-verification-left {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 30px 20px;
    width: 300px;
    flex-shrink: 0;
    border-right: 1px solid #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.age-character-image {
    width: 240px;
    height: 240px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.3));
}

.age-brand-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.age-brand-product {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #ff00ff;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.8),
                 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
    text-align: center;
}

/* Right side: Form */
.age-verification-right {
    color: #e0e0e0;
    padding: 40px;
    flex: 1;
}

.age-verification-right h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.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;
    font-family: 'Space Mono', monospace;
}

.age-verification-modal input[type="date"] {
    width: 100%;
    padding: 16px;
    background: #2a2a2a;
    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: #ff00ff;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
}

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

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

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

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

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

.age-verification-modal .checkbox-label span {
    font-size: 13px;
    line-height: 1.6;
    color: #bbb;
    font-family: 'Space Mono', monospace;
}

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

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

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

.verify-btn,
.cancel-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Mono', monospace;
}

.verify-btn {
    background: #ff00ff;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
}

.verify-btn:hover {
    background: #ff33ff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
}

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

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

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    border-color: #666;
}

.age-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-family: 'Space Mono', monospace;
    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(255, 0, 255, 0.1);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 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: 768px) {
    .age-verification-modal {
        flex-direction: column;
        max-width: 90%;
    }

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

    .age-brand-main {
        font-size: 24px;
    }

    .age-brand-product {
        font-size: 20px;
    }

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

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