@font-face {
            font-family: 'TrajanPro';
            src: url('../filesystem/resources/fonts/TrajanPro-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'zhcn';
            src: url('../filesystem/resources/fonts/zhcn.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
body {
    margin: 0;
    padding: 0;
    font-family: 'zhcn', sans-serif;
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -2;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 24, 0.484);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-title {
    max-width: 70%;
    height: auto;
    text-align: center;
    filter: 
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.322))
        drop-shadow(0 0 24px rgba(255, 255, 255, 0.319))
        drop-shadow(0 0 36px rgba(255, 255, 255, 0.5))
        blur(0.5px);
    opacity: 0;
    transform: translateY(60px);
    animation: smoothFadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.divider {
    width: 350px;
    height: 2px;
    background: white;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: scaleX(0);
    animation: smoothScaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.modal-description {
    font-family: 'zhcn', sans-serif;
    font-size: 18px;
    color: white;
    text-align: center;
    max-width: 590px;
    line-height: 1.7;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 18px rgba(255, 255, 255, 0.6);
    filter: blur(0.3px);
    opacity: 0;
    transform: translateY(20px);
    animation: smoothFadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

.button-arrows-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: smoothFadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.modal-button-text {
    font-family: 'zhcn', sans-serif;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 18px rgba(255, 255, 255, 0.6);
    filter: blur(0.3px);
    user-select: none;
    padding: 12px 16px;
    border-radius: 6px;
    position: relative;
}

.modal-button-text:hover {
    transform: translateY(-3px) scale(1.08);
    text-shadow: 
        0 0 25px rgba(255, 255, 255, 1),
        0 0 45px rgba(255, 255, 255, 0.9),
        0 0 65px rgba(255, 255, 255, 0.8);
    filter: blur(0.1px);
}

.modal-button-text.selected {
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 1),
        0 0 55px rgba(255, 255, 255, 0.95),
        0 0 80px rgba(255, 255, 255, 0.9),
        0 0 110px rgba(255, 255, 255, 0.7);
    transform: translateY(-2px) scale(1.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arrow-img {
    filter: 
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    width: 30px;
    height: auto;
    transform: scaleX(1.3);
}

.arrow-img:hover {
    filter: 
        drop-shadow(0 0 15px rgba(255, 255, 255, 1))
        drop-shadow(0 0 30px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 45px rgba(255, 255, 255, 0.7));

}

@keyframes smoothFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smoothScaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .modal-title {
        max-width: 80%;
    }

    .button-row {
        gap: 25px;
    }

    .arrow-img {
        width: 100px;
        transform: scaleX(1.2);
    }

    .arrow-img:hover {
        transform: scaleX(1.3) scale(1.05);
    }

    .modal-button-text {
        font-size: 18px;
        padding: 10px 14px;
    }

    .divider {
        width: 250px;
    }

    .modal-description {
        max-width: 350px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-title {
        max-width: 90%;
    }

    .button-row {
        gap: 15px;
    }

    .arrow-img {
        width: 80px;
        transform: scaleX(1.15);
    }

    .modal-button-text {
        font-size: 16px;
    }
}