@font-face {
    font-family: 'CustomFont';
    src: url('../../assets/fonts/SH.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f7fa;
    user-select: none;
}

.title-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    -webkit-app-region: drag;
    color: white;
    z-index: 100;
}

/* 移动端标题栏适配 */
@media (max-width: 768px) {
    .title-bar {
        padding: 0 15px;
        height: 50px;
    }
    
    .title-text {
        font-size: 16px;
    }
    
    .title-logo {
        width: 28px;
        height: 28px;
    }
    
    .btn-auth {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .title-bar-right {
        gap: 8px;
    }
}

.title-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-logo {
    width: 32px;
    height: 32px;
}

.title-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.title-bar-right {
    display: flex;
    gap: 10px;
    -webkit-app-region: no-drag;
}

.btn-auth {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    -webkit-app-region: no-drag;
}

.btn-auth:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-auth-primary {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-phone {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.title-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.title-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.close-btn:hover {
    background: #ff6b35;
    color: white;
}

.main-container {
    min-height: 100vh;
}

/* 移除侧边栏相关样式 */

.content-area {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    overflow-y: auto;
    background: #0a0a1a;
    position: relative;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px, 90px 90px;
    z-index: 0;
}

.content-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 0;
}

.mountain-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: linear-gradient(to top, #1a1a2e, transparent);
    clip-path: polygon(0% 100%, 5% 85%, 10% 90%, 15% 75%, 20% 80%, 25% 65%, 30% 70%, 35% 55%, 40% 60%, 45% 45%, 50% 50%, 55% 35%, 60% 40%, 65% 25%, 70% 30%, 75% 15%, 80% 20%, 85% 5%, 90% 10%, 95% 0%, 100% 5%, 100% 100%);
    z-index: 1;
}

.parser-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.status-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

/* 移动端状态栏适配 */
@media (max-width: 768px) {
    .status-bar {
        gap: 20px;
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .status-value {
        font-size: 24px;
    }
    
    .status-label,
    .status-unit {
        font-size: 12px;
    }
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.status-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.status-value {
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-section {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    padding: 120px 20px 80px;
    background: transparent;
    border-radius: 0;
    margin: 0 0 40px;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title-red {
    color: #ff4757;
    margin-right: 8px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.main-parser-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.main-parser-section .card {
    max-width: 800px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.main-parser-section .card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.main-parser-section .card-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2d3748;
    font-weight: 700;
}

.steps-section {
    margin-bottom: 80px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    margin-bottom: 10px;
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .steps-container {
        flex-wrap: nowrap;
    }
    
    .step-item {
        flex: 1;
        margin: 0;
    }
}

.card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
    text-align: center;
}

.input-group {
    margin-bottom: 30px;
}

.input-container {
    display: flex;
    gap: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    padding: 0 0 0 16px;
}

.input-icon {
    margin-right: 12px;
    color: #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-text {
    flex: 1;
    padding: 16px 20px 16px 0;
    border: none;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    color: #333;
    outline: none;
}

.input-text::placeholder {
    color: #9ca3af;
}

.btn-parse {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.btn-parse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    background: #ff8c61;
}

.btn-parse:active {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .input-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .input-wrapper {
        padding: 0 16px;
        border-radius: 8px;
    }
    
    .btn-parse {
        padding: 14px 32px;
        border-radius: 8px;
        justify-content: center;
    }
}

.result-card {
    margin-top: 30px;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platforms-section {
    margin-bottom: 80px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.platforms-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.platform-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    color: white;
    border-color: transparent;
}

.features-section {
    margin-bottom: 80px;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.features-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #ff4757;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.25);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.faq-section {
    margin-bottom: 80px;
    animation: fadeInUp 0.6s ease-out 1s both;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
}

.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 18px;
    line-height: 1.4;
    padding-left: 16px;
}

.faq-answer {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
    padding-left: 16px;
}

#contentFrame {
    width: 100%;
    height: 100%;
    position: relative;
}

.page-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step-item {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .card {
        padding: 30px;
    }
    
    .content-area {
        padding: 20px 10px;
    }
    
    .parser-container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 60px 10px;
    }
    
    .step-item {
        padding: 30px 20px;
    }
    
    .platforms-container {
        gap: 15px;
    }
    
    .platform-tag {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 40px 25px;
    }
    
    .faq-item {
        padding: 25px;
    }
    
    .faq-question {
        font-size: 18px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-desc {
        font-size: 14px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-desc {
        font-size: 14px;
    }
}

/* 底部功能图标栏 */
.bottom-features-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
    margin-top: 60px;
    animation: fadeInUp 0.6s ease-out 1.2s both;
    flex-wrap: wrap;
}

.bottom-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.bottom-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(255, 71, 87, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.bottom-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4757;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.2);
    transition: all 0.3s ease;
}

.bottom-feature-item:hover .bottom-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.25);
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    color: white;
}

.bottom-feature-text {
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .bottom-features-bar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 30px 0;
    }
    
    .bottom-feature-item {
        min-width: 100px;
        padding: 16px;
    }
    
    .bottom-feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .bottom-feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .bottom-feature-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .bottom-features-bar {
        gap: 15px;
        padding: 20px 0;
    }
    
    .bottom-feature-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .bottom-feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .bottom-feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* 解析结果弹出框样式 */
.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.result-modal-content {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 26, 0.98);
    border-radius: 16px 16px 0 0;
}

.result-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.result-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.result-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.result-modal-body {
    padding: 28px;
    background: rgba(10, 10, 26, 0.95);
    border-radius: 0 0 16px 16px;
}

.result-item {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-start;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.result-item.full-width {
    flex-direction: column;
    gap: 16px;
}

.result-label {
    width: 90px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    font-size: 16px;
}

.result-value {
    flex: 1;
    color: white;
    line-height: 1.6;
    font-size: 16px;
}

.btn-download {
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    background: #ff8c61;
}

.btn-download:active {
    transform: translateY(0);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.image-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
}

.image-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 移动端图片网格适配 */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
        margin-top: 10px;
    }
    
    .image-item {
        aspect-ratio: 3/4;
    }
}

.error {
    color: #ff4757;
    text-align: center;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 登录注册表单样式 */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-input-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 71, 87, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-actions {
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b35 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.btn-link {
    background: none;
    border: none;
    color: #ff4757;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-link:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateY(-1px);
    color: #ff6b35;
}

/* 表单验证状态 */
.form-group.success .form-input {
    border-color: rgba(46, 213, 115, 0.5);
    box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.1);
}

.form-group.error .form-input {
    border-color: rgba(255, 71, 87, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-error {
    font-size: 12px;
    color: #ff4757;
    margin-top: 4px;
    font-weight: 500;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form {
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    animation: fadeInUp 0.6s ease-out;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-actions {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.4s;
}

.form-footer {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.5s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-form {
        gap: 16px;
    }
    
    .form-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .btn-submit {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-footer {
        font-size: 13px;
    }
    
    .btn-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .result-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .result-modal-header {
        padding: 16px 20px;
    }
    
    .result-modal-body {
        padding: 20px;
    }
    
    .result-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .result-label {
        width: auto;
        font-size: 14px;
    }
    
    .result-value {
        font-size: 14px;
    }
    
    .auth-form {
        gap: 16px;
    }
    
    .form-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 14px;
    }
}

