/* ============================================
   BLACKHAWK COMPLIANCE - AGE GATE OVERLAY
   ============================================ */

/* Lock body scroll when gate is active */
body.bhc-age-gate-active {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Full-page overlay - visible by default, JS hides instantly if cookie found */
.bhc-age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 11, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
}

/* Modal card */
.bhc-age-gate-modal {
    background: linear-gradient(180deg, #1a2318 0%, #141a16 100%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 12px;
    padding: 50px 45px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 169, 97, 0.08);
    animation: bhc-gate-appear 0.4s ease-out;
}

@keyframes bhc-gate-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo */
.bhc-age-gate-logo {
    margin-bottom: 25px;
}

.bhc-age-gate-logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.2));
}

/* Title */
.bhc-age-gate-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #c9a961;
    margin: 0 0 18px;
    letter-spacing: 1px;
}

/* Body text */
.bhc-age-gate-text {
    color: #b0b8a8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 30px;
}

/* Buttons */
.bhc-age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.bhc-age-gate-btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
}

.bhc-gate-enter {
    background: #c9a961;
    color: #141a16;
}

.bhc-gate-enter:hover {
    background: #d4b96e;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.35);
}

.bhc-gate-leave {
    background: transparent;
    color: #8a8f85;
    border: 1px solid #3a4538;
}

.bhc-gate-leave:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #b0b8a8;
    border-color: #5a6558;
}

/* DOB fields */
.bhc-age-gate-dob {
    margin-bottom: 25px;
}

.bhc-age-gate-dob label {
    display: block;
    color: #b0b8a8;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.bhc-age-gate-dob-fields {
    display: grid;
    grid-template-columns: 1fr 80px 100px;
    gap: 10px;
    margin-bottom: 18px;
}

.bhc-gate-select {
    background: #0e1410;
    border: 1px solid #3a4538;
    color: #d4d4d4;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    appearance: auto;
}

.bhc-gate-select:focus {
    border-color: #c9a961;
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.2);
}

/* Legal text */
.bhc-age-gate-legal {
    color: #5a6558;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
}

/* Denied modal */
.bhc-age-denied-modal {
    border-color: rgba(231, 76, 60, 0.4);
}

.bhc-age-denied-modal .bhc-age-gate-title {
    color: #e74c3c;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .bhc-age-gate-modal {
        padding: 35px 25px;
        margin: 10px;
        max-width: 100%;
    }

    .bhc-age-gate-logo img {
        height: 65px;
    }

    .bhc-age-gate-title {
        font-size: 1.3rem;
    }

    .bhc-age-gate-text {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .bhc-age-gate-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .bhc-age-gate-dob-fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bhc-age-gate-legal {
        font-size: 0.7rem;
    }
}

@media (max-width: 380px) {
    .bhc-age-gate-modal {
        padding: 25px 18px;
    }

    .bhc-age-gate-logo img {
        height: 55px;
    }

    .bhc-age-gate-title {
        font-size: 1.15rem;
    }
}
