.container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
}

/* 装饰元素 */
.decoration {
    position: absolute;
    z-index: -1;
}

.decoration.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(123, 44, 191, 0.2);
    top: -50px;
    right: -50px;
}

.decoration.square {
    width: 150px;
    height: 150px;
    border: 3px solid rgba(123, 44, 191, 0.3);
    transform: rotate(45deg);
    bottom: 30px;
    left: -60px;
}

.decoration.triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(123, 44, 191, 0.15);
    top: 40%;
    left: 10%;
    transform: rotate(30deg);
}

/* 表单卡片 */
.form-card {
    background: linear-gradient(135deg, #1a0638, #390a75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(123, 44, 191, 0.3);
}

.header2 {
    text-align: center;
    margin-bottom: 30px;
}

.header2 h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #e2e2e2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header2 p {
    color: #fafafa;
    font-size: 1.1rem;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.form-control {
    width: 95%;
    padding: 15px 20px;
    border: none;
    background: rgba(57, 10, 117, 0.25);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgb(255 255 255 / 30%);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c77dff;
    box-shadow: 0 0 0 3px rgba(199, 125, 255, 0.3);
    background: rgba(57, 10, 117, 0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 文件上传 */
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border: 2px dashed rgba(199, 125, 255, 0.4);
    border-radius: 12px;
    background: rgba(57, 10, 117, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #c77dff;
    background: rgba(57, 10, 117, 0.25);
}

.file-upload i {
    font-size: 3rem;
    color: #c77dff;
    margin-bottom: 15px;
}

.file-upload p {
    color: #d0b3e6;
    text-align: center;
    margin-bottom: 15px;
}

/* 按钮 */
.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    background: linear-gradient(45deg, #9d4edd, #7b2cbf);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(123, 44, 191, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s;
}

.btn:hover::after {
    left: 120%;
}

/* 浮动元素 */
.floating {
    position: absolute;
    border-radius: 50%;
    background: rgba(199, 125, 255, 0.1);
    animation: float 15s infinite linear;
}

.floating:nth-child(1) {
    width: 50px;
    height: 50px;
    top: 10%;
    left: 5%;
    animation-duration: 20s;
}

.floating:nth-child(2) {
    width: 30px;
    height: 30px;
    top: 25%;
    right: 10%;
    animation-duration: 15s;
    animation-delay: -5s;
}

.floating:nth-child(3) {
    width: 70px;
    height: 70px;
    bottom: 15%;
    left: 15%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-card {
        padding: 30px 20px;
    }
    
    .header2 h1 {
        font-size: 2rem;
    }
    
    .decoration {
        display: none;
    }
}