/* Age Gate Frontend CSS */
.age-gate-overlay {
    --age-gate-main-color: #F6F4F3;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #491F11;
    background: linear-gradient(126deg, rgba(73, 31, 17, 1) 0%, rgba(100, 67, 57, 1) 100%);
    color: var(--age-gate-main-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    opacity: 1;
    transition: opacity 0.4s ease;
}

.age-gate-overlay.fade-out {
    opacity: 0;
}

.age-gate-container {
    text-align: center;
    color: var(--age-gate-main-color);
    max-width: 800px;
    width: 90%;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 20px;
    padding-top: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.age-gate-content {
    position: relative;
    z-index: 95;
}

.age-gate-background {
    position: absolute;
    top: -16%;
    left: 16%;
    right: 0;
    width: 130%;
    height: 130%;
}

.age-gate-background img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100% !important;
}

.age-gate-logo {
    padding-bottom: 128px;
}

.age-gate-logo img {
    width: 300px;
    height: auto;
}

.age-gate-lang-switcher {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 17px;
    margin-bottom: 111px;
    font-size: 18px;
}

.age-gate-language-option {
    text-decoration: underline;
}

.age-gate-language-option.active {
    text-decoration: none;
    opacity: 0.7;
    pointer-events: none;
}

.age-gate-language-option:hover {
    text-decoration: none;
}

.age-gate-language-option a {
    color: var(--age-gate-main-color) !important;
    font-weight: 400 !important;
    text-decoration: inherit;
}

.age-gate-message {
    max-width: 420px;
    line-height: 1.2;
    margin-bottom: 25px;
    text-wrap: balance;
}

.age-gate-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.age-gate-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 11px 20px;
    border: 1px solid var(--age-gate-main-color);
    background: transparent;
    color: var(--age-gate-main-color);
    cursor: pointer;
    font-size: 16px;
    min-width: 88px;
    line-height: 1;
    transition: all 0.3s ease;
}

.age-gate-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* When Age Gate is active */
body.simple-age-gate-active {
    overflow: hidden; /* Prevent scrolling when age gate is shown */
}

/* When Age Gate has been closed */
body.simple-age-gate-closed {
    /* Add any styles to apply after the age gate has been closed */
    overflow: inherit;
}

/* Responsive styles */
@media (min-width: 1900px) {
    .age-gate-background {
        left: 0%;
    }
}

@media (max-width: 1119px) {
    .age-gate-container {
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 20px;
        padding-top: 50px;
    }

    .age-gate-background {
        top: -5%;
        left: 9%;
    }
}

@media (max-width: 1023px) {
    .age-gate-container {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 20px;
        padding-top: 40px;
    }

    .age-gate-logo img {
        width: 260px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .age-gate-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .age-gate-logo img {
        width: 300px;
        height: auto;
    }
    
    .age-gate-background {
        top: 0%;
        left: -2%;
        width: 190%;
        height: 100%;
    }

    .age-gate-background img {
        object-fit: contain;
    }
}

@media (max-width: 479px) {
    .age-gate-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 0px;
        padding-top: 30px;
    }

    .age-gate-logo img {
        width: 200px;
        height: auto;
    }
}