html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Responsive Backgrounds */
.background {
    background-image: url('/image/1440.jpg');
    background-position: top;
}

@media (max-width: 320px) {
    .background {
        background-image: url('/image/320.jpg');
    }
}

@media (max-width: 375px) {
    .background {
        background-image: url('/image/375.jpg');
    }
}

@media (min-width: 325px) {
    .background {
        background-image: url('/image/425.jpg');
    }
}

@media (min-width: 568px) {
    .background {
        background-image: url('/image/768.jpg');
    }
}

@media (min-width: 824px) {
    .background {
        background-image: url('/image/1024.jpg');
    }
}

@media (min-width: 1240px) {
    .background {
        background-image: url('/image/1440.jpg');
    }
}

@media (min-width: 1894px) {
    .background {
        background-image: url('/image/2560.jpg');
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.popup {
    max-width: 600px;
    min-height: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: white;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
}

.popup p {
    color: #313c42;
    font-size: 14px;
}

.popup-logo {
    text-align: center;
}

.popup-footer {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.popup-footer a {
    padding: 10px;
    margin: 0 10px;
    color: #fff;
}

.popup-footer svg {
    width: 14px;
}

.popup-body h3 {
    color: #313c42;
}

.popup-body img {
    max-height: 150px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.captcha-box {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 320px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #888;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox.loading {
    border-color: #3cba54;
}

.checkbox.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #3cba54;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.checkbox.checked {
    background: #3cba54;
    border-color: #3cba54;
}

.checkbox.checked::after {
    content: '✓';
    color: #fff;
    font-size: 16px;
    animation: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.label {
    font-size: 16px;
    color: #333;
    user-select: none;
}

.robot-icon {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background: url('/image/robot-check.png') no-repeat center;
    background-size: contain;
    opacity: 0.6;
}