/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(rgba(245, 247, 250, 0.9), rgba(195, 207, 226, 0.9)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=travel%20landscape%20background%20blurred%20mountains%20and%20ocean&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    transform: scale(1.1);
    text-shadow: 3px 3px 6px rgba(102, 126, 234, 0.3);
}

.navbar:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.logo-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(360deg);
    transition: transform 1s ease;
}

body.dark-mode .logo-text {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* 搜索容器 */
.search-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 80px;
}

.search-bar {
    width: 100%;
    max-width: 800px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
    transform: none;
}

.search-bar:hover {
    box-shadow: none;
    transform: none;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

#search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

#ai-model {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#ai-model:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#search-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 15px;
    background: #007bff;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#search-btn:hover {
    background: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

/* 加载中状态 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    z-index: 100;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid #007bff;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

#loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* AI旅游规划结果 */
.ai-plan-result {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    position: relative;
}

/* 加载中状态 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 100;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid #007bff;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

#loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.ai-plan-result h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.plan-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.plan-content:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.plan-weather {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-weather h3,
.plan-route h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.plan-route {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.weather-suggestion-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-height: 350px;
    max-height: 350px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.weather-suggestion-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.weather-suggestion-content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.weather-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weather-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.weather-day:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.weather-day:last-child {
    border-bottom: none;
}

.weather-date {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-temp {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.weather-desc {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.5);
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.suggestion-item {
    margin-bottom: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggestion-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.suggestion-item:hover .suggestion-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.suggestion-text {
    flex: 1;
}

.suggestion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.suggestion-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    border-left-color: #0056b3;
}

.suggestion-item:hover::before {
    opacity: 1;
}

.route-content {
    width: 100%;
    flex: 1;
    min-height: 350px;
    max-height: 350px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    color: #333;
    line-height: 1.6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.route-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.route-content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 小红书风格样式 */
.xhs-content {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.xhs-header {
    margin-bottom: 20px;
}

.xhs-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.xhs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.xhs-tag {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.xhs-section {
    margin-bottom: 20px;
}

.xhs-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.xhs-subsection {
    margin-bottom: 15px;
    margin-left: 10px;
}

.xhs-subsection-title {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.xhs-paragraph {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #666;
    font-size: 14px;
}

.xhs-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

.xhs-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.xhs-footer-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

/* 旅游实例展示 */
.tourism-examples {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tourism-examples {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.section-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.nav-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.example-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.example-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-card:hover img {
    transform: scale(1.05);
}

.example-content {
    padding: 20px;
}

.example-content h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.example-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 旅游分享 */
.tourism-shares {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.shares-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.share-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.share-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.share-card-content {
    padding: 20px;
}

.share-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.share-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-right: 12px;
}

.share-user-info h4 {
    color: #333;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 600;
}

.share-time {
    font-size: 12px;
    color: #999;
}

.share-card-text {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.share-card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.share-card-image {
    width: calc(33.333% - 5px);
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.share-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.share-card:hover .share-card-image img {
    transform: scale(1.05);
}

.share-card-stats {
    display: flex;
    gap: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.share-card-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 12px;
}

.view-more-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.review-content {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 登录模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin: 15% auto;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    width: 80%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.modal-content:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.tab-content {
    margin-bottom: 20px;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#login-form input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    outline: none;
}

#login-form button {
    padding: 12px;
    border: none;
    border-radius: 15px;
    background: #007bff;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

#login-form button:hover {
    background: #0069d9;
}

/* 注册表单样式 */
#register-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#register-form input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    outline: none;
}

#register-form button {
    padding: 12px;
    border: none;
    border-radius: 15px;
    background: #007bff;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

#register-form button:hover {
    background: #0069d9;
}

/* 加载动画样式 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 123, 255, 0.2);
    border-left-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#loading-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}

.loading-subtext {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* 放大查看功能 */
.route-content {
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.route-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 放大模态框 */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zoom-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    animation: slideIn 0.3s ease;
}

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

.zoom-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.zoom-close:hover,
.zoom-close:focus {
    color: #000;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    text-decoration: none;
    cursor: pointer;
}

.zoom-content .xhs-content {
    font-size: 18px;
    line-height: 1.8;
}

.zoom-content .xhs-title {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.zoom-content .xhs-section-title {
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #333;
}

.zoom-content .xhs-subsection-title {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 25px;
    color: #555;
}

.zoom-content .xhs-paragraph {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

/* 隐藏滚动条但保留滚动功能 */
.zoom-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.zoom-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}



/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    #ai-model {
        width: 100%;
    }
    
    #search-btn {
        width: 100%;
    }
    
    .zoom-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}