* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* App Bar Styles */
.app-bar {
    background-color: #f8f8f8;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-button {
    background: none;
    border: none;
    padding: 8px;
    margin-right: 8px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.app-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

/* Loading Styles */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Help Cards Styles */
.help-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.help-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 120px;
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-card:active {
    transform: translateY(0);
}

.help-card-single {
    width: calc(50% - 5px);
    margin: 0 auto;
}

.help-card-grid {
    width: calc(50% - 5px);
}

.help-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    object-fit: contain;
}

.help-card-title {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 0;
    color: #999;
    font-size: 16px;
}

/* Customer Service Section */
.customer-service-section {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15vh;
}

.customer-service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.customer-service-content:hover {
    transform: scale(1.05);
}

.customer-service-image {
    margin-bottom: 10px;
}

.customer-service-image img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.customer-service-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal.show {
    display: flex;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    animation: modalFadeIn 0.3s ease;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .help-cards-container {
        gap: 8px;
    }
    
    .help-card-grid,
    .help-card-single {
        width: calc(50% - 4px);
    }
    
    .help-card {
        padding: 20px;
        min-height: 100px;
    }
    
    .help-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .help-card-title {
        font-size: 13px;
    }
    
    .customer-service-image img {
        width: 100px;
    }
    
    .customer-service-text {
        font-size: 15px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

/* Load More Card Styles - 主页特有样式 */
.load-more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 2px dashed #ddd;
    cursor: default;
}

.load-more-card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.load-more-card .load-more-content {
    flex-direction: column;
    gap: 8px;
}

.load-more-card .load-more-text {
    font-size: 12px;
    color: #999;
    text-align: center;
}