/* CSS Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --red-color: #dc3545;
    --red-hover: #c82333;
    --light-red: #ffe9e9;
    --dark-red: #a71e2a;
}

/* 通用样式 */
body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: var(--dark-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 英雄区样式 */
.hero-section {
    background: linear-gradient(135deg, #ff5252, #ef5350);
    color: white;
    padding: 1.5rem 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(255, 82, 82, 0.3);
    margin-bottom: 1rem;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffffff;
}

/* 紧凑英雄区样式（搜索结果页） */
.hero-section-compact {
    background: linear-gradient(135deg, #ff5252, #ef5350);
    color: white;
    padding: 0.75rem 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 10px rgba(255, 82, 82, 0.3);
    margin-bottom: 0.75rem;
    position: relative;
}

.hero-section-compact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
}

/* 紧凑头部布局 */
.header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* 紧凑logo容器 */
.logo-container-compact {
    flex-shrink: 0;
}

.text-logo-compact {
    text-align: center;
    color: white;
}

.text-logo-compact h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 紧凑搜索容器 */
.search-container-compact {
    flex: 1;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-tabs-compact {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.category-tabs-compact .category-tab {
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-color);
    transition: all 0.3s ease;
    position: relative;
}

.category-tabs-compact .category-tab.active {
    color: var(--red-color);
    font-weight: 600;
}

.category-tabs-compact .category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red-color);
}

.search-container-compact .search-input {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.search-container-compact .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* 小型logo容器（搜索结果页） */
.logo-container-small {
    text-align: center;
    margin-bottom: 0.75rem;
}

.text-logo-small {
    text-align: center;
    color: white;
}

.text-logo-small h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 小型搜索容器（搜索结果页） */
.search-container-small {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-tabs-small {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
}

.category-tabs-small .category-tab {
    padding: 0.375rem 1rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-color);
    transition: all 0.3s ease;
    position: relative;
}

.category-tabs-small .category-tab.active {
    color: var(--red-color);
    font-weight: 600;
}

.category-tabs-small .category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red-color);
}

.search-container-small .search-input {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.search-container-small .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* 文本Logo样式 */
.text-logo {
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

.text-logo h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    letter-spacing: 3px;
}

.text-logo p {
    font-size: 1.5rem;
    margin: 0.75rem 0 0 0;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

/* 紧凑文本Logo样式 */
.text-logo-compact {
    text-align: center;
    color: white;
}

.text-logo-compact h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    letter-spacing: 1.5px;
}

/* 小型文本Logo样式 */
.text-logo-small {
    text-align: center;
    color: white;
}

.text-logo-small h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

/* 图片占位样式 */
.image-placeholder {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #ff4d4f;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
}

.image-placeholder:hover {
    border-color: #ff1a1a;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(255, 77, 79, 0.4);
}

.image-placeholder::before {
    content: "千搜123";
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ff4d4f;
    text-shadow: 0 1px 2px rgba(255, 77, 79, 0.2);
}

.image-placeholder::after {
    content: "qiansou123.com";
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.3rem;
    color: #333;
}

.image-placeholder:hover::before {
    color: #ff1a1a;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(255, 77, 79, 0.3);
}

.image-placeholder:hover::after {
    opacity: 1;
    transform: scale(1.05);
    color: #ff4d4f;
}

.movie-poster .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.result-image .image-placeholder {
    width: 100%;
    height: 200px;
}

/* 搜索容器样式 */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 分类选项卡样式 */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.category-tab {
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-color);
    transition: all 0.3s ease;
    position: relative;
}

.category-tab.active {
    color: var(--red-color);
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 20px;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red-color);
}

/* 搜索框样式 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--red-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* 搜索按钮样式 */
.search-buttons {
    display: flex;
    margin-left: 0.75rem;
}

.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.375rem;
}

.btn-primary {
    background-color: var(--red-color);
    color: white;
    border: 2px solid var(--red-color);
}

.btn-primary:hover {
    background-color: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--gray-color);
    color: white;
    transform: translateY(-2px);
}

/* 热门搜索样式 */
.hot-search-section {
    max-width: 1200px;
    margin: 3rem auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red-color);
}

.hot-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* 电影卡片样式 */
.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.movie-poster {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.movie-info {
    padding: 1rem;
}

.movie-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--dark-color);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.movie-title:hover {
    color: var(--red-color);
}

/* 页脚样式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.beian-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.beian-link:hover {
    color: white;
}

.beian-link img {
    margin-right: 0.5rem;
}

/* 搜索结果样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 搜索头部样式 */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.search-stats {
    font-size: 0.9rem;
    color: var(--gray-color);
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* 排序选项样式 */
.sort-options {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sort-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-right: 1rem;
}

.sort-btn {
    background: none;
    border: 1px solid var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.sort-btn:hover {
    background: var(--light-gray);
}

.sort-btn.active {
    background: var(--red-color);
    color: white;
    border-color: var(--red-color);
}

.result-item {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.25rem;
    border: 2px solid var(--light-gray);
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
    border-color: var(--red-color);
    background: rgba(255, 107, 107, 0.02);
}

.result-image {
    flex-shrink: 0;
    width: 120px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

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

.result-item:hover .result-image img {
    transform: scale(1.05);
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.result-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--red-color);
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-color);
    gap: 0.75rem;
}

.result-episodes, .result-filesize {
    background: var(--light-gray);
    padding: 0.1875rem 0.625rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.result-source {
    background: var(--light-gray);
    padding: 0.1875rem 0.625rem;
    border-radius: 10px;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

.result-date {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.result-info {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

/* 结果操作按钮 */
.result-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.result-link {
    display: inline-block;
    background: var(--red-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.result-link:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    color: white;
}

.btn-preview {
    background: white;
    color: var(--red-color);
    border: 1px solid var(--red-color);
    padding: 0.375rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-preview:hover {
    background: var(--red-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 4rem;
    color: var(--gray-color);
}

.loading-more {
    text-align: center;
    padding: 1rem;
    color: var(--gray-color);
}

/* 无结果状态样式 */
.no-result {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--gray-color);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.no-result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-result h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.no-result p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

/* 加载更多按钮样式 */
.load-more {
    text-align: center;
    margin: 2rem 0;
}

.btn-load-more {
    background: white;
    color: var(--red-color);
    border: 2px solid var(--red-color);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--red-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

/* 功能介绍样式 */
.features-section {
    padding: 3rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2);
    border-color: var(--red-color);
    background: rgba(255, 107, 107, 0.03);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.5;
}

/* 优势特点样式 */
.advantages-section {
    padding: 3rem 0;
    background: var(--light-color);
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.2);
    border-color: var(--red-color);
    background: rgba(255, 107, 107, 0.03);
}

.advantage-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.advantage-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.advantage-content p {
    color: var(--gray-color);
    line-height: 1.5;
    margin: 0;
}

/* 使用说明样式 */
.usage-section {
    padding: 3rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.usage-steps {
    margin-top: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background: var(--light-gray);
}

.step-number {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--gray-color);
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .logo {
        max-width: 200px;
    }

    .search-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-buttons {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .btn {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .hot-movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-container {
        margin: 0;
    }

    .result-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .result-image {
        width: 200px;
    }

    .result-meta {
        justify-content: center;
    }

    .search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sort-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sort-btn {
        margin-right: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .result-actions {
        justify-content: center;
    }

    /* 功能介绍响应式 */
    .features-section,
    .advantages-section,
    .usage-section {
        padding: 2rem 0;
        margin: 1rem;
    }

    .features-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* 使用说明响应式 */
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }

    .step-item:not(:last-child)::before {
        display: none;
    }

    .step-number {
        align-self: flex-start;
    }

    .step-content {
        align-self: flex-start;
    }
}

/* 搜索进度样式 */
.search-progress {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#progress-text {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.btn-stop {
    background: var(--gray-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-stop:hover {
    background: var(--dark-color);
}

.progress-bar-container {
    background: var(--light-gray);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--red-color), var(--accent-color), var(--red-hover));
    background-size: 200% 100%;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-position 0.5s ease;
    border-radius: 10px;
    animation: progressGradient 2s ease infinite;
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 响应式设计 - 搜索进度 */
@media (max-width: 768px) {
    .search-progress {
        padding: 0.75rem;
    }

    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .btn-stop {
        align-self: flex-end;
    }
}

/* 广告样式 */
.ads-section {
    padding: 2rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.ads-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    border: 2px dashed var(--light-gray);
}

.ad-item {
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ad-item:hover .ad-image {
    transform: scale(1.02);
}

.ad-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.ad-text a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ad-text a:hover {
    color: var(--red-color);
}

.ad-loading, .ad-empty, .ad-error {
    color: var(--gray-color);
    font-size: 1rem;
    text-align: center;
}

/* 响应式设计 - 广告 */
@media (max-width: 768px) {
    .ads-section {
        padding: 1.5rem 0;
        margin: 1rem;
    }

    .ads-container {
        min-height: 150px;
        padding: 0.75rem;
    }

    .ad-text {
        font-size: 1rem;
    }
}

/* 分享海报样式 */
.poster-container {
    width: 1200px;
    height: 675px;
    background: linear-gradient(135deg, #ff5252, #ef5350);
    color: white;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.poster-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
}

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

.poster-container h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.poster-container p {
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.poster-container p strong {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.poster-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.poster-feature {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.poster-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.poster-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.poster-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.poster-feature-desc {
    font-size: 1rem;
    opacity: 0.9;
}

.poster-cta {
    margin-top: 2rem;
    padding: 1.5rem 3rem;
    background: white;
    color: #ff5252;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.poster-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.poster-footer {
    margin-top: 3rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.poster-tags {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}
