/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* 容器样式 */
.anime-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 头部样式 */
.anime-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.mascot {
    position: absolute;
    left: 50px;
    top: 0;
    width: 80px;
    height: 80px;
    animation: float 3s ease-in-out infinite;
}

.cat-ears {
    position: absolute;
    top: -15px;
    left: 15px;
    width: 50px;
    height: 30px;
    background: #ff6b9d;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(180deg);
}

.cat-ears::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 20px;
    background: #ff9ec0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(180deg);
}

.cat-face {
    width: 80px;
    height: 80px;
    background: #ffcc00;
    border-radius: 50%;
    position: relative;
}

.cat-eyes {
    position: absolute;
    top: 25px;
    left: 15px;
    width: 20px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    box-shadow: 25px 0 #333;
}

.cat-mouth {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 20px;
    height: 10px;
    background: #ff6b9d;
    border-radius: 0 0 10px 10px;
}

.anime-header h1 {
    color: #ff6b9d;
    font-size: 3rem;
    text-shadow: 3px 3px 0 #ffcc00,
                 6px 6px 0 rgba(255, 107, 157, 0.2);
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 表单容器 */
.anime-form-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid #ffcc00;
    position: relative;
    overflow: hidden;
}

.anime-form-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ff6b9d, #ffcc00, #6b5bff);
    z-index: -1;
    border-radius: 30px;
    animation: gradient 3s ease infinite;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px dashed #ffcc00;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: #6b5bff;
    margin-bottom: 25px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 表单组 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ff6b9d;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    border: 3px solid #ffcc00;
    border-radius: 15px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: #fffdf0;
}

.form-group input:focus {
    outline: none;
    border-color: #6b5bff;
    box-shadow: 0 0 0 3px rgba(107, 91, 255, 0.2);
    transform: translateY(-2px);
}

/* 上传区域 */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.upload-item {
    text-align: center;
}

.upload-box {
    background: linear-gradient(135deg, #f8f9ff, #e8f4ff);
    border: 3px dashed #6b5bff;
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.upload-box:hover {
    background: linear-gradient(135deg, #e8f4ff, #d9e8ff);
    transform: translateY(-5px);
    border-color: #ff6b9d;
    box-shadow: 0 10px 20px rgba(107, 91, 255, 0.2);
}

.upload-box i {
    font-size: 3rem;
    color: #6b5bff;
}

.upload-box span {
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.upload-box .hint {
    color: #999;
    font-size: 0.9rem;
    margin-top: 5px;
}

.upload-box.zip-box {
    height: auto;
    min-height: 150px;
}

.upload-item input[type="file"] {
    display: none;
}

.image-preview {
    margin-top: 15px;
    min-height: 100px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ffcc00;
    background: #f8f9ff;
}

.image-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.file-info {
    margin-top: 10px;
    padding: 10px;
    background: #f0f8ff;
    border-radius: 10px;
    color: #6b5bff;
}

/* 按钮样式 */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.btn {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 200px;
}

.reset-btn {
    background: linear-gradient(135deg, #ff9999, #ff6b6b);
    color: white;
    box-shadow: 0 6px 0 #cc5555;
}

.reset-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #cc5555;
}

.submit-btn {
    background: linear-gradient(135deg, #6bff95, #00cc44);
    color: white;
    box-shadow: 0 6px 0 #009933;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #009933;
}

/* 页脚 */
.anime-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    position: relative;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100px;
    top: -50px;
    left: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.star {
    color: #ffcc00;
    left: 10%;
    animation-delay: 0s;
}

.heart {
    color: #ff6b9d;
    left: 30%;
    animation-delay: 1s;
}

.circle {
    color: #6b5bff;
    left: 50%;
    animation-delay: 2s;
}

/* 警告框 */
.anime-alert {
    padding: 20px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.5s ease-out;
}

.anime-alert.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 3px solid #155724;
    color: #155724;
}

/* 动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(360deg);
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .anime-header h1 {
        font-size: 2rem;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        width: 100%;
    }
    
    .mascot {
        position: relative;
        left: 0;
        margin: 0 auto 20px;
    }
}