/* Zagran Ltd - Global Blur Age Gate CSS */
:root {
    --brand-gold: #C9A24D;
    --brand-gold-hover: #DDBB6F; /* Lighter gold for hover */
    --brand-brick: #E95233;
    --brand-brick-hover: #F2785D; /* Lighter brick for hover */
    --ink: #1a1a1a;
}

#age-gate-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    z-index: 999999;
    overflow: hidden;
    
    /* FIX: This applies the blur to EVERYTHING behind the wrapper equally */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: backdrop-filter 0.8s ease-in-out;
}

.age-gate-content {
    background-color: transparent; 
    position: relative;
    width: 88vw;
    height: 88vw;
    max-width: 580px;
    max-height: 580px;
    border-radius: 50%;
    
    /* Double Gold Borders */
    border: 8px solid var(--brand-gold);
    outline: 10px solid var(--brand-gold);
    outline-offset: 12px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;

    /* MUCH WIDER SUN-LIKE SHINING */
    animation: sun-glow-wide 4s infinite ease-in-out;
}

@keyframes sun-glow-wide {
    0% {
        box-shadow: 0 0 50px 10px rgba(201, 162, 77, 0.4);
    }
    50% {
        box-shadow: 0 0 150px 40px rgba(201, 162, 77, 0.8);
    }
    100% {
        box-shadow: 0 0 50px 10px rgba(201, 162, 77, 0.4);
    }
}

.age-gate-title {
    color: var(--brand-gold);
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: clamp(80px, 20vw, 150px);
    margin: 0;
    line-height: 0.8;
    letter-spacing: -2px;
    /* Text shadow to ensure legibility over the blurred background */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.age-gate-image-placeholder {
    width: 65%;
    margin: 20px 0;
}

.age-gate-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.age-gate-buttons {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.gate-button {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: none;
    font-family: inherit;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

#age-gate-yes {
    background-color: var(--brand-gold);
    color: var(--ink);
}

#age-gate-yes:hover {
    background-color: var(--brand-gold-hover);
    color: var(--ink);
}

#age-gate-no {
    background-color: var(--brand-brick);
    color: #ffffff;
}

#age-gate-no:hover {
    background-color: var(--brand-brick-hover);
    color: #DDBB6F !important;
}

.gate-button:active {
    transform: scale(0.92);
}

/* Removal logic */
body.age-verified #age-gate-wrapper {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: opacity 0.5s ease, backdrop-filter 0.8s ease;
}

/* Media query for much bigger content and tighter buttons */
@media (max-width: 680px), (max-height: 720px) {
    .age-gate-content {
        /* Ensuring circle has gaps from screen edges */
        width: 82vw;
        height: 82vw;
        max-width: 92vh;
        max-height: 92vh;
        padding: 10px;
        border: 6px solid var(--brand-gold);
        outline: 8px solid var(--brand-gold);
        outline-offset: 8px;
    }

    .age-gate-title {
        /* Much bigger 18+ */
        font-size: clamp(80px, 15vw, 170px) !important;
        margin-bottom: 7px !important;
		letter-spacing: -5px;
    }

    .age-gate-image-placeholder {
        /* Much bigger image */
        width: 85% !important;
        margin: 0 auto !important;
    }

    .age-gate-buttons {
        /* Buttons closer to each other */
        gap: 12px !important;
        margin-top: 15px !important;
    }

    .gate-button {
        width: 72px !important;
        height: 72px !important;
        font-size: 11px !important;
    }
}