/* ============================================================
   WC 18+ Age Verification Popup
   ============================================================ */

/* Overlay */
#wc18-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#wc18-overlay.wc18-active {
    display: flex;
}

/* Modal box */
#wc18-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px 40px;
    max-width: 440px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: wc18-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative;
}

@keyframes wc18-pop {
    from { opacity: 0; transform: scale(0.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);     }
}

/* Icon */
.wc18-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff3cd;
    margin-bottom: 20px;
}

.wc18-icon svg {
    width: 36px;
    height: 36px;
    color: #e67e00;
}

/* Badge */
.wc18-badge {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Heading */
#wc18-modal h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.2;
}

/* Body text */
#wc18-modal p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 32px;
}

/* Buttons */
.wc18-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc18-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    letter-spacing: 0.01em;
}

.wc18-btn:hover  { transform: translateY(-1px); }
.wc18-btn:active { transform: translateY(0); opacity: 0.9; }

/* Confirm — deep navy */
#wc18-confirm {
    background: #1a1a2e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.35);
}

#wc18-confirm:hover {
    background: #2d2d50;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.45);
}

/* Decline — ghost */
#wc18-decline {
    background: transparent;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

#wc18-decline:hover {
    border-color: #d1d5db;
    color: #374151;
    background: #f9fafb;
}

/* Disclaimer */
.wc18-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 20px;
    line-height: 1.5;
}

/* Shake animation for declined action */
@keyframes wc18-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-8px); }
    40%       { transform: translateX(8px); }
    60%       { transform: translateX(-5px); }
    80%       { transform: translateX(5px); }
}

#wc18-modal.wc18-shake {
    animation: wc18-shake 0.4s ease;
}

/* Mobile */
@media (max-width: 480px) {
    #wc18-modal {
        padding: 36px 24px 28px;
    }
    #wc18-modal h2 {
        font-size: 22px;
    }
}
