/**
 * Age Verification Modal Styles
 * 
 * Extracted from inline styles for better caching and maintainability.
 * 
 * @package Divinho
 * @since 2.0.0
 */

/* ==========================================================================
   Age Gate Overlay
   ========================================================================== */

.divinho-age-gate-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(139, 69, 82, 0.32) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 75%, rgba(184, 134, 11, 0.28) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(93, 37, 41, 0.25) 0%, transparent 65%),
        linear-gradient(135deg, rgba(20, 18, 28, 0.88) 0%, rgba(28, 22, 32, 0.91) 100%);
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px) saturate(150%);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.divinho-age-gate-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(184, 134, 11, 0.06) 40px, rgba(184, 134, 11, 0.06) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(139, 69, 82, 0.05) 40px, rgba(139, 69, 82, 0.05) 80px),
        radial-gradient(circle at 50% 0%, rgba(184, 134, 11, 0.15) 0%, transparent 35%);
    pointer-events: none;
    opacity: 0.9;
}

/* ==========================================================================
   Modal Container
   ========================================================================== */

.divinho-age-gate-modal {
    background: linear-gradient(155deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(252, 250, 248, 0.98) 50%,
        rgba(248, 246, 244, 0.98) 100%);
    border-radius: 28px;
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.40),
        0 15px 35px rgba(139, 69, 82, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(139, 69, 82, 0.05);
    max-width: 520px;
    width: 100%;
    animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-sizing: border-box;
    border: 1px solid rgba(139, 69, 82, 0.08);
    overflow: hidden;
}

.divinho-age-gate-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 69, 82, 0.35) 0%, 
        rgba(184, 134, 11, 0.55) 30%,
        rgba(184, 134, 11, 0.65) 50%,
        rgba(184, 134, 11, 0.55) 70%,
        rgba(139, 69, 82, 0.35) 100%);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(25px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   Modal Content
   ========================================================================== */

.divinho-age-gate-content {
    padding: 3.75rem 3.25rem 3.25rem;
    text-align: center;
    position: relative;
}

.divinho-age-gate-question {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2a2a2a;
    margin: 0 0 3rem 0;
    line-height: 1.45;
    letter-spacing: -0.018em;
    max-width: 100%;
}

/* ==========================================================================
   Action Buttons
   ========================================================================== */

.divinho-age-gate-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.divinho-age-gate-button {
    padding: 1.15rem 3.75rem;
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    text-transform: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

/* Yes Button */
.divinho-age-gate-button--yes {
    background: linear-gradient(145deg, #8B4552 0%, #7A3D47 50%, #6B3542 100%);
    color: #ffffff;
    box-shadow: 
        0 8px 24px rgba(139, 69, 82, 0.40),
        0 3px 10px rgba(184, 134, 11, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12);
    border: 1.5px solid rgba(184, 134, 11, 0.28);
    padding-left: 3rem;
}

.divinho-age-gate-button--yes::before {
    content: '🍷';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    opacity: 0.9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.divinho-age-gate-button--yes::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(184, 134, 11, 0.25), 
        transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.divinho-age-gate-button--yes:hover::after {
    left: 100%;
}

.divinho-age-gate-button--yes:hover {
    background: linear-gradient(145deg, #9B5562 0%, #8A4552 50%, #7B4552 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(139, 69, 82, 0.50),
        0 5px 15px rgba(184, 134, 11, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    border-color: rgba(184, 134, 11, 0.45);
}

.divinho-age-gate-button--yes:active {
    transform: translateY(-1px);
    box-shadow: 
        0 5px 18px rgba(139, 69, 82, 0.35),
        0 2px 8px rgba(184, 134, 11, 0.25),
        inset 0 2px 5px rgba(0, 0, 0, 0.12);
}

/* No Button */
.divinho-age-gate-button--no {
    background: linear-gradient(145deg, #fafaf8 0%, #f2f0ed 50%, #ebe8e5 100%);
    color: #5a5a5a;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(139, 69, 82, 0.05);
    border: 1.5px solid rgba(139, 69, 82, 0.12);
}

.divinho-age-gate-button--no:hover {
    background: linear-gradient(145deg, #f2f0ed 0%, #e8e5e2 50%, #ddd9d5 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 26px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(139, 69, 82, 0.08);
    color: #4a4a4a;
    border-color: rgba(139, 69, 82, 0.18);
}

.divinho-age-gate-button--no:active {
    transform: translateY(0);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.10),
        inset 0 2px 5px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Responsive: Mobile First
   ========================================================================== */

@media (max-width: 600px) {
    .divinho-age-gate-modal {
        max-width: 95%;
        border-radius: 24px;
        border: 1px solid rgba(139, 69, 82, 0.06);
    }
    
    .divinho-age-gate-modal::before {
        height: 3px;
    }
    
    .divinho-age-gate-content {
        padding: 2.5rem 1.75rem 2.25rem;
    }
    
    .divinho-age-gate-question {
        font-size: 1.05rem;
        margin-bottom: 2.25rem;
        line-height: 1.4;
    }
    
    .divinho-age-gate-actions {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .divinho-age-gate-button {
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
        min-width: 100%;
        width: 100%;
        border-radius: 14px;
    }
    
    .divinho-age-gate-button--yes {
        padding-left: 1.5rem;
        text-align: center;
    }
    
    .divinho-age-gate-button--yes::before {
        display: none;
    }
    
    .divinho-age-gate-button--no {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   Responsive: Tablet
   ========================================================================== */

@media (min-width: 601px) and (max-width: 768px) {
    .divinho-age-gate-content {
        padding: 3rem 2.5rem 2.75rem;
    }
    
    .divinho-age-gate-question {
        font-size: 1.15rem;
        line-height: 1.42;
    }
    
    .divinho-age-gate-button {
        padding: 1.05rem 3rem;
        font-size: 1.1rem;
        min-width: 145px;
    }
}

/* ==========================================================================
   Responsive: Small Desktop
   ========================================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .divinho-age-gate-question {
        font-size: 1.2rem;
        line-height: 1.43;
    }
}

