/* Age Verification Styles */

/* Blur effect for the entire page */
body.age-verification-blur {
    overflow: hidden;
}

/* Blur only the content behind the modal */
body.age-verification-blur .site-header,
body.age-verification-blur .site-main,
body.age-verification-blur .site-footer {
    filter: blur(3px);
    will-change: filter;
}

/* Age verification overlay */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

/* Age verification modal */
.age-verification-modal {
    background-color: white;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: auto;
    box-sizing: border-box;
}

/* Age verification content */
.age-verification-content {
    padding: 1.5rem;
}

/* Age verification title */
.age-verification-title {
    color: #e7312c;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0;
    border-bottom: 2px solid #e7312c;
    padding-bottom: 0.75rem;
    padding-top: 0;
}

/* Age verification text */
.age-verification-text {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.age-verification-text h3 {
    color: #e7312c;
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem 0 0.75rem 0;
}

.age-verification-text p {
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.age-verification-text ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.age-verification-text li {
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.age-verification-text a {
    color: #e7312c;
    text-decoration: underline;
}

.age-verification-text a:hover {
    color: #c62828;
}

/* Age verification actions */
.age-verification-actions {
    text-align: center;
    margin: 1rem 0 0.5rem 0;
}

.age-verification-form {
    display: inline-block;
}

.age-verification-button {
    background-color: #e7312c;
    color: white;
    border: none;
    outline: none;
    padding: 0.875rem 1.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.age-verification-button:hover {
    background-color: #c62828;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.age-verification-button:active {
    background-color: #b71c1c;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.age-verification-button:focus {
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.age-verification-button:focus-visible {
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

/* Age verification footer */
.age-verification-footer {
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #666;
}

.age-verification-footer a {
    color: #e7312c;
    text-decoration: underline;
}

.age-verification-footer a:hover {
    color: #c62828;
}

.age-verification-footer p {
    margin: 0;
}

.age-verification-footer p + p {
    margin-top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .age-verification-overlay {
        padding: 0.75rem;
    }
    
    .age-verification-modal {
        max-width: calc(100vw - 1.5rem);
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .age-verification-content {
        padding: 1.5rem;
    }
    
    .age-verification-title {
        font-size: 1.3rem;
    }
    
    .age-verification-button {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .age-verification-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .age-verification-modal {
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 4rem);
        width: 100%;
        overflow-y: auto;
    }
    
    .age-verification-content {
        padding: 1rem;
    }
    
    .age-verification-title {
        font-size: 1.2rem;
    }
    
    .age-verification-text h3 {
        font-size: 1.1rem;
    }
    
    .age-verification-button {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}
