/**
 * Age Verification 420 Corner Store - Styles
 * Cannabis-themed age gate for 21+ verification
 */

/* Overlay - full screen block */
.av420-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3d1a 0%, #2d5a2d 50%, #1e4620 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Hide overlay when verified */
.av420-overlay.av420-verified {
    display: none !important;
}

/* Modal container */
.av420-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(45, 90, 45, 0.3);
    animation: av420-slideIn 0.4s ease-out;
}

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

/* Logo container */
.av420-logo-container {
    margin-bottom: 24px;
}

.av420-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Title */
.av420-title {
    color: #1a3d1a;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

/* Message */
.av420-message {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 28px;
}

/* Button container */
.av420-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Base button styles */
.av420-btn {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

/* Enter button - primary action */
.av420-btn-enter {
    background: linear-gradient(135deg, #2d5a2d 0%, #3d7a3d 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(45, 90, 45, 0.4);
}

.av420-btn-enter:hover {
    background: linear-gradient(135deg, #3d7a3d 0%, #4d8a4d 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 90, 45, 0.5);
}

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

/* Exit button - secondary */
.av420-btn-exit {
    background: #f7fafc;
    color: #718096;
    border: 2px solid #e2e8f0;
}

.av420-btn-exit:hover {
    background: #edf2f7;
    color: #4a5568;
    border-color: #cbd5e0;
}

/* Disclaimer text */
.av420-disclaimer {
    font-size: 0.8125rem;
    color: #a0aec0;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 520px) {
    .av420-modal {
        padding: 28px 24px;
    }

    .av420-logo {
        max-width: 160px;
    }

    .av420-title {
        font-size: 1.5rem;
    }

    .av420-message {
        font-size: 0.9375rem;
    }
}
