/* CSS variables for easy customization */
:root {
    --color-dark-green: #16322C;
    --color-light-bg: #FAF7F0;
    --color-text-white: #FAF7F0;
    --color-accent: #F1EEE5;
    --font-family-main: 'NeueRegular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-family-druk: 'DrukRegular', sans-serif;
}

@keyframes loopText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.check-user-age {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 20000;
    top: 0;
    left: 0;
    background: rgba(22, 50, 44, 0.8);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-text-white);
    font-family: var(--font-family-main);
}

.check-user-age.hide-check-user {
    opacity: 0 !important;
    pointer-events: none;
}

.check-user-age .parent {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.check-user-age .font-n-20 {
    line-height: 1.3;
    font-size: 20px;
    color: var(--color-text-white);
    font-weight: 400;
}

.check-user-age .small {
    max-width: 484px;
    text-align: center;
    margin: 0 auto 30px;
}

.check-user-age .font-d-100-w {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 100px;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-family-druk);
}

@media all and (max-width: 1200px) {
    .check-user-age .font-d-100-w {
        font-size: 80px;
    }
}

@media all and (max-width: 767px) {
    .check-user-age .font-d-100-w {
        font-size: 40px;
    }
    .check-user-age .small {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.check-user-age .buttons {
    display: flex;
    justify-content: center;
    margin-top: 49px;
}

.check-user-age .buttons .btn {
    width: 124px;
    height: 44px;
    display: flex;
    background: var(--color-light-bg);
    border-radius: 340px;
    color: var(--color-dark-green);
    border: 1px solid var(--color-light-bg);
    font-size: 18px;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    user-select: none;
}

.check-user-age .buttons .btn-no {
    color: #fff !important;
    background: transparent !important;
    margin-left: 18px;
}

.check-user-age .buttons .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.check-user-age .buttons .btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
}

.check-user-age .text-loop {
    position: absolute;
    bottom: 20px;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    display: flex;
}

.check-user-age .text-loop p {
    display: flex;
    align-items: center;
    color: var(--color-text-white);
    white-space: nowrap;
    animation: loopText 60s linear infinite;
    margin: 0;
    flex-shrink: 0;
}

.check-user-age .text-loop svg {
    margin: 0 15px;
    flex-shrink: 0;
}

.check-user-age .text-loop span {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
