.age-gateway {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.age-gateway__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.age-gateway__modal {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    padding: var(--wp--preset--spacing--xl);
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--wp--preset--spacing--xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .age-gateway__modal {
        padding: var(--wp--preset--spacing--l);
        gap: var(--wp--preset--spacing--l);
        width: 95%;
    }
}

.age-gateway__logo {
    max-width: 250px;
}

.age-gateway__logo img {
    width: 100%;
    height: auto;
}

.age-gateway__countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #F5F5F5;
    border: 1px solid #E5E5E5;
    cursor: pointer;
    font-weight: 500;
    color: #404040;
    transition: all 0.2s;
}

.country-btn svg {
    flex-shrink: 0;
}

.country-btn span {
    white-space: nowrap;
}

.country-btn:hover {
    background-color: #E5E5E5;
    border-color: #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.country-btn.active {
    background-color: #E5E5E5;
    border-color: #959595;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.age-gateway__text {
    text-align: center;
    max-width: 600px;
}

.age-gateway__text p {
    font-size: 16px;
    color: #000;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
}

.age-gateway__btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.age-gateway__btn:hover {
    background-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}