@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@900&display=swap");

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

button,
input {
    font: inherit;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #0c1321;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 300px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    transform: translate(-50%, -50%);
}

.logo-container {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.logo {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #ffd700, #f0c400, #ffdb4d);
    background-clip: text;
    font-family: "Noto Serif TC", serif;
    font-size: 32px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "萬利";
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-line {
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: linear-gradient(to right, transparent, #ffd700, #f0c400, #ffd700, transparent);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.logo-pinyin {
    background: linear-gradient(to bottom, #ffd700, #f0c400);
    background-clip: text;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.captcha-group input {
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ffd700;
    background-color: #0c1321;
    color: #ffd700;
    font-size: 16px;
}

.form-group input {
    width: 100%;
}

.captcha-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.captcha-group input {
    width: 60%;
    margin-right: 10px;
}

.captcha-image {
    display: flex;
    width: 40%;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    object-fit: fill;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-container input {
    margin-right: 5px;
}

.login-button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(to bottom, #ffd700, #f0c400, #ffdb4d);
    color: #0c1321;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.login-button:hover {
    background: linear-gradient(to bottom, #ffdb4d, #f0c400, #ffd700);
}

@media (prefers-reduced-motion: reduce) {
    .star {
        animation: none;
    }
}
