/* ============================================================
   AGE GATE — Jack & BBQ
   ============================================================ */

/* Sakrij stranicu dok korisnik ne potvrdi dob.
   Klasa se postavlja u <html> inline scriptom prije rendera
   da ne dođe do flash-a sadržaja. */
html.age-locked {
    overflow: hidden;
}
html.age-locked body {
    overflow: hidden;
    /* Sadržaj iza overlaya ostaje u DOM-u radi SEO/a11y,
       ali nije interaktivan dok je overlay aktivan. */
}

#age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a0a;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 160, 74, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 160, 74, 0.06) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
}

.age-gate-inner {
    max-width: 480px;
    width: 100%;
    text-align: center;
    padding: 40px 32px;
    background: rgba(22, 22, 22, 0.6);
    border: 1px solid rgba(212, 160, 74, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.age-gate-brand {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 4px;
    color: #d4a04a;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#age-gate h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #ffffff;
}

.age-gate-lead {
    font-size: 14px;
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 28px;
}

.age-gate-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4a04a;
    margin-bottom: 12px;
}

.age-gate-fields {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.age-gate-fields select {
    width: 100%;
    padding: 12px 8px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a04a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.age-gate-fields select:focus {
    outline: none;
    border-color: #d4a04a;
    box-shadow: 0 0 0 2px rgba(212, 160, 74, 0.2);
}

.age-gate-fields select option {
    background: #161616;
    color: #ffffff;
}

.age-gate-error {
    min-height: 20px;
    font-size: 13px;
    color: #ff6b6b;
    margin-bottom: 16px;
    line-height: 1.4;
}

.age-gate-btn {
    width: 100%;
    padding: 14px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #d4a04a;
    color: #0a0a0a;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.age-gate-btn:hover {
    background: #e0b15c;
    transform: translateY(-1px);
}

.age-gate-btn:active {
    transform: translateY(0);
}

.age-gate-footnote {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.age-gate-footnote strong {
    display: block;
    margin-top: 6px;
    color: #d4a04a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.age-gate-legal {
    margin-top: 12px;
    font-size: 11px;
    color: #777;
    line-height: 1.5;
    font-style: italic;
}

@media (max-width: 480px) {
    .age-gate-inner {
        padding: 28px 20px;
    }
    #age-gate h1 {
        font-size: 22px;
    }
    .age-gate-brand {
        font-size: 18px;
        letter-spacing: 3px;
    }
    .age-gate-lead {
        font-size: 13px;
    }
    .age-gate-fields select {
        font-size: 14px;
        padding: 11px 6px;
        padding-right: 24px;
    }
}
