* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* 代跑功能页面使用更宽的容器 */
#new-order-form .container,
#proxy-run-selection .container,
#query-order-display .container {
    max-width: 650px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand-subtitle {
    margin-top: -10px;
}

.brand-meaning {
    font-size: 0.9em;
    color: #718096;
    font-weight: 400;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.logo {
    width: 200px;
    height: 200px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    color: #2d3748;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

header p {
    color: #718096;
    font-size: 1.2em;
    font-weight: 400;
}

/* 公告横幅样式 */
.announcement-banner {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border: 2px solid #f6ad55;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.2);
    position: relative;
    overflow: hidden;
    animation: announcementGlow 3s ease-in-out infinite alternate;
}

/* 代跑优势介绍样式 */
.proxy-advantages-banner {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 100%);
    border: 2px solid #4a90e2;
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.proxy-advantages-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

.advantages-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.advantage-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: bounce 2s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.advantage-content {
    flex: 1;
}

.advantage-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.advantage-desc {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    font-weight: 500;
}

.announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes announcementGlow {
    0% {
        box-shadow: 0 4px 15px rgba(246, 173, 85, 0.2);
    }
    100% {
        box-shadow: 0 6px 20px rgba(246, 173, 85, 0.4);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.announcement-icon {
    font-size: 28px;
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.announcement-content {
    flex: 1;
    text-align: center;
}

.announcement-title {
    font-size: 18px;
    font-weight: 700;
    color: #744210;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-text {
    font-size: 14px;
    color: #8b5a2b;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.section {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* 按钮样式重新设计 */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(113, 128, 150, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(113, 128, 150, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 101, 101, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(66, 153, 225, 0.4);
}

/* 按钮组布局 */
.auth-buttons,
.proxy-run-buttons,
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.form-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

/* 表单样式重新设计 */
.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-group input[type="file"] {
    padding: 12px 16px;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #667eea;
    background: #edf2f7;
}

.form-help {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #718096;
    font-style: normal;
    line-height: 1.5;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* 手机类型选择重新设计 */
.phone-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.phone-type-option {
    position: relative;
    cursor: pointer;
}

.phone-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.phone-type-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #4a5568;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.phone-type-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-type-label .label-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.phone-type-label .phone-icon {
    font-size: 24px;
}

.phone-type-option input[type="radio"]:checked + .phone-type-label {
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.phone-type-option input[type="radio"]:checked + .phone-type-label::before {
    opacity: 1;
}

.phone-type-option:hover .phone-type-label {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 设备信息指南重新设计 */
.device-info-guide {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.device-info-guide h4 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-info-guide h4::before {
    content: '📱';
    font-size: 20px;
}

.example-images {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.example-item {
    text-align: center;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.example-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.example-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.example-img:hover {
    transform: scale(1.05);
    border-color: #667eea;
}

.example-item p {
    margin-top: 12px;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.app-download {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border-radius: 16px;
    border: 1px solid #81e6d9;
    text-align: center;
}

.app-download h4 {
    color: #234e52;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-download h4::before {
    content: '📥';
    font-size: 18px;
}

.app-download p {
    color: #2c7a7b;
    font-size: 14px;
    margin-top: 12px;
}

/* iOS 提示框重新设计 */
.ios-notice-box {
    padding: 20px;
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border: 1px solid #f6ad55;
    border-radius: 16px;
    color: #744210;
    text-align: center;
}

.ios-notice-box h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ios-notice-box h4::before {
    content: '🍎';
    font-size: 18px;
}

/* 用户信息卡片重新设计 */
.user-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 40px;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.user-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}



.user-details {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.user-details h3 {
    margin: 0 0 12px 0;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.user-details .user-account {
    text-align: left;
    margin-top: 16px;
}

.user-identity {
    margin: 8px 0;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.user-college {
    margin: 8px 0;
    font-size: 0.95em;
    opacity: 0.9;
    line-height: 1.5;
}

.user-class {
    margin: 8px 0;
    font-size: 0.95em;
    opacity: 0.9;
    line-height: 1.5;
}

.user-account {
    margin: 8px 0 0 0;
    font-size: 0.9em;
    opacity: 0.8;
}

/* 订单显示重新设计 */
.order-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.order-item h4 {
    color: #2d3748;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.order-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.status-waiting {
    background: linear-gradient(135deg, #fef5e7, #fed7aa);
    color: #744210;
}

.status-running {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    color: #22543d;
}

.status-completed {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    color: #234e52;
}

.status-failed {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    color: #742a2a;
}

.queue-info {
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    display: inline-block;
}

/* 成绩显示重新设计 */
.grade-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.grade-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.grade-item h3 {
    color: #2d3748;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.grade-item p {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 15px;
}

.grade-score {
    font-weight: 700;
    color: #667eea;
    font-size: 1.2em;
}

.grade-stats {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid #cbd5e0;
}

.grade-stats h3 {
    color: #2d3748;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.grade-stats p {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 15px;
}

/* 加载和消息样式 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #4a5568;
    font-size: 16px;
    font-weight: 500;
}

.message {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    z-index: 1500;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.message.success {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.message.error {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    color: #742a2a;
    border: 1px solid #fc8181;
}

.message.info {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    color: #234e52;
    border: 1px solid #81e6d9;
}

/* 客服联系按钮 */
.customer-service-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    color: white;
}

.customer-service-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.service-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.service-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 客服二维码弹窗 */
.customer-service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.customer-service-modal.show {
    opacity: 1;
    visibility: visible;
}

.customer-service-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.customer-service-modal.show .customer-service-content {
    transform: scale(1);
}

.customer-service-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #718096;
    transition: color 0.3s ease;
}

.customer-service-close:hover {
    color: #2d3748;
}

.service-header h3 {
    color: #2d3748;
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
}

.service-header p {
    color: #718096;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-img {
    width: 300px;
    height: auto;
    max-height: 400px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    object-fit: contain;
}

.qrcode-tip {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

/* 图片预览模态框 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal img {
    max-width: 70vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.image-modal-title {
    color: white;
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 24px;
        margin: 10px;
        border-radius: 20px;
    }
    
    header h1 {
        font-size: 2.2em;
    }
    
    .user-info-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    /* 修复手机端按钮间距 */
    .function-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .form-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .phone-type-selection {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .example-images {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        margin: 5px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    header p {
        font-size: 1.1em;
    }
    
    /* 手机端公告样式调整 */
    .announcement-banner {
        padding: 16px;
        margin: 16px 0;
        gap: 12px;
        /* 保持桌面端的所有视觉效果 */
        background: linear-gradient(135deg, #ff9a56 0%, #ffad56 50%, #ffc956 100%);
        border: 2px solid #ff8c42;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(255, 154, 86, 0.3);
        position: relative;
        overflow: hidden;
        animation: announcementGlow 3s ease-in-out infinite alternate;
    }
    
    .announcement-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: shimmer 2s infinite;
    }
    
    .announcement-icon {
        font-size: 24px;
    }
    
    .announcement-title {
        font-size: 14px;
        color: #fff;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
    }
    
    .announcement-text {
        font-size: 13px;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        margin: 0;
    }
    
    /* 手机端代跑优势样式调整 */
    .proxy-advantages-banner {
        padding: 20px;
        margin: 20px 0;
    }
    
    .advantages-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .advantages-list {
        gap: 16px;
    }
    
    .advantage-item {
        padding: 16px;
        gap: 12px;
    }
    
    .advantage-icon {
        font-size: 24px;
    }
    
    .advantage-name {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .advantage-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .phone-type-label {
        padding: 16px 12px;
        min-height: 70px;
    }
    
    .example-img {
        width: 100px;
        height: 130px;
    }
    
    .image-modal-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .message {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
    
    /* 手机端客服按钮调整 */
    .customer-service-btn {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        font-size: 20px;
    }
    
    .service-text {
        font-size: 10px;
    }
    
    /* 手机端客服弹窗调整 */
    .customer-service-content {
        padding: 30px 20px;
        margin: 20px;
        max-width: 90%;
    }
    
    .qrcode-img {
        width: 250px;
        height: auto;
        max-height: 320px;
    }
    
    .service-header h3 {
        font-size: 20px;
    }
    
    .service-header p {
        font-size: 14px;
    }
}

/* 功能按钮布局美化 */
.function-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.function-buttons .btn:last-child {
    grid-column: 1 / -1;
    margin-top: 10px;
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.function-buttons .btn:last-child:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

/* 移动端功能按钮适配 */
@media (max-width: 480px) {
    .function-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .function-buttons .btn:last-child {
        margin-top: 0;
    }
}