/* 弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #110c06;
    border: 1px solid #db8e21;
    border-radius: 25px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.popup-close::before, .popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #db8e21;
}

.popup-close::before {
    transform: rotate(45deg);
}

.popup-close::after {
    transform: rotate(-45deg);
}

.popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #db8e21;
    text-align: center;
    margin-bottom: 30px;
}

.popup-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #514532;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #db8e21;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #db8e21;
    border: 1px solid #db8e21;
    border-radius: 50px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #5a5751;
    color: #ffb227;
    box-shadow: 1px 1px 20px 2px rgba(219, 242, 33, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .popup-container {
        padding: 30px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media screen and (max-width: 400px) {
    .popup-container {
        padding: 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
}