#age-confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(0.35vw);
}

.age-box {
    background: white;
    text-align: center;
    width: 30vw;
    border-radius: 1.5vw;
    box-shadow: 0 0 1vw rgb(0 0 0 / 50%);
    transform: scale(0.85);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.age-title {
    font-size: 3vw;
    margin-bottom: 1vw;
    margin-top: 2vw;
    font-weight: 600;

}

.age-warning {
    font-size: 1.2vw;
    color: #484848;
    max-width: 30vw;
    margin: 0 auto;
}

.age-button {
    font-size: 1.5vw;
    padding: 1vw 3vw;
    width: 100%;
    border: none;
    background-color: #520707;
    color: white;
    cursor: pointer;
    border-radius: 0vw 0vw 1.35vw 1.35vw;
    transition: background-color 0.2s ease;
    margin-top: 2vw;
}

.age-button:hover {
    background-color: #6a0e0e;
}

/* Otvorenie */
.fade-in {
    opacity: 1 !important;
}

.show-animation {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Zatvorenie */
.fade-out {
    opacity: 0 !important;
}

.hide-animation {
    opacity: 0 !important;
    transform: scale(0.85) !important;
}

@media (max-width: 768px) {
    #age-confirm {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.5s ease;
        backdrop-filter: blur(0.35vw);
    }
    
    .age-box {
        background: white;
        text-align: center;
        width: 80vw;
        border-radius: 3.2vw;
        box-shadow: 0 0 1vw rgb(0 0 0 / 50%);
        transform: scale(0.85);
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .age-title {
        font-size: 10vw;
        margin-bottom: 3vw;
        margin-top: 4vw;
        font-weight: 600;
    
    }
    
    .age-warning {
        font-size: 3vw;
        color: #484848;
        max-width: 70vw;
        margin: 0 auto;
    }
    
    .age-button {
        font-size: 4vw;
        padding: 2.5vw 3vw;
        width: 100%;
        border: none;
        background-color: #520707;
        color: white;
        cursor: pointer;
        border-radius: 0vw 0vw 3vw 3vw;
        transition: background-color 0.2s ease;
        margin-top: 4vw;
    }
    
    .age-button:hover {
        background-color: #6a0e0e;
    }
  }
  