/* 苹果CMS黑色竖图影视站 - 主样式文件 */
/* 严格按照设计文档规范 */

/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 容器系统 ========== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* PC端统一宽度限制 */
@media (min-width: 1200px) {
    .nav-container,
    .hero-slider,
    .section-header,
    .movie-grid {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== 顶部导航栏 ========== */
.header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
}

.main-nav {
    display: none;
    gap: 30px;
}

.nav-item {
    font-size: 16px;
    font-weight: 500;
    color: #b3b3b3;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #ffffff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #14b8a6;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}

.search-input {
    width: 150px;
    height: 36px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 1;
    min-width: 100px;
}

.search-input:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(255, 255, 255, 0.15);
    width: 200px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    height: 36px;
    padding: 0 20px;
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    border: none;
    border-radius: 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
}

/* ========== 主要内容区域 ========== */
.main-content {
    min-height: calc(100vh - 60px);
    padding-bottom: 80px;
}

/* ========== 轮播幻灯片 ========== */
.hero-section {
    margin: 15px auto 0;
    padding: 0 10px;
    max-width: 1400px;
}

.hero-container {
    display: flex;
    gap: 0;
    flex-direction: column;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
}

.hero-main {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-item.active {
    opacity: 1;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
}

.hero-info {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 2;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.hero-rating {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #14b8a6;
}

.hero-title {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 6px;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-tags {
    font-size: 12px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hero-actions {
    display: flex;
    gap: 10px;
}

.btn-play,
.btn-detail {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-play {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #ffffff;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-detail {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    width: 24px;
    border-radius: 4px;
    background: #14b8a6;
}

/* 右侧小卡片列表 */
.hero-sidebar {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    background: #0a0a0a;
    overflow-x: auto;
}

.hero-card {
    position: relative;
    min-width: 100px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1a1a;
    display: block;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.hero-card:hover {
    transform: scale(1.05);
    border-color: #14b8a6;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.hero-card.active {
    border-color: #14b8a6;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    transform: scale(1.02);
}

.hero-card.active .hero-card-img {
    filter: brightness(0.9);
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.hero-card-title {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-card-rating {
    font-size: 9px;
    color: #14b8a6;
    font-weight: 600;
}

/* PC端响应式 */
@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        height: 500px;
    }
    
    .hero-main {
        flex: 0 0 78%;
        height: 100%;
    }
    
    .hero-sidebar {
        flex: 0 0 22%;
        flex-direction: column;
        padding: 0 12px;
        gap: 12px;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        justify-content: space-evenly;
    }
    
    .hero-card {
        min-width: auto;
        height: calc((100% - 36px) / 4);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-tags {
        font-size: 13px;
    }
    
    .hero-info {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
}

/* ========== 分类区域 ========== */
.movie-section {
    padding: 15px 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.more-link {
    font-size: 14px;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #14b8a6;
}

/* ========== 影片网格 - 移动优先 ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        column-gap: 15px !important;
        row-gap: 19px !important;
    }
}

/* ========== 影片卡片 ========== */
.movie-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card-image {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%; /* 3:4 竖图比例 */
    overflow: hidden;
    background: #2a2a2a;
}

.poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 备注标签 - 叠加在图片上 */
.card-remarks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    z-index: 2;
}

/* 评分标签 */
.card-rating {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #14b8a6;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.card-info {
    padding: 12px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-tags {
    font-size: 11px;
    color: #808080;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.card-meta {
    font-size: 12px;
    color: #808080;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ========== 底部 ========== */
.footer {
    background: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    color: #808080;
    font-size: 14px;
}

/* ========== 移动端底部导航 ========== */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #000000;
    border-top: 1px solid #1a1a1a;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #808080;
    font-size: 12px;
    transition: color 0.3s ease;
    flex: 1;
    padding: 8px 0;
}

.mobile-bottom-nav .nav-item.active {
    color: #14b8a6;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* ========== 响应式断点 ========== */

/* 超小屏手机 (320px - 375px) */
@media (max-width: 375px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 8px;
    }
    
    .card-title {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* 标准手机 (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .card-title {
        font-size: 13px;
    }
}

/* 大屏手机 (415px - 767px) */
@media (min-width: 415px) and (max-width: 767px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
}

/* 平板端 (768px - 991px) */
@media (min-width: 768px) {
    .header {
        height: 70px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .main-nav {
        display: flex;
    }
    
    .search-input {
        width: 200px;
    }
    
    .search-input:focus {
        width: 250px;
    }
    
    .mobile-bottom-nav {
        display: none;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-info {
        bottom: 60px;
        left: 40px;
        right: 40px;
    }
    
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .main-content {
        padding-bottom: 40px;
    }
}

/* 小屏桌面 (992px - 1199px) */
@media (min-width: 992px) {
    .movie-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
        padding: 0 25px;
    }
}

/* 大屏桌面 (1200px+) */
@media (min-width: 1200px) {
    .hero-section {
        height: 600px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-desc {
        font-size: 18px;
        max-width: 600px;
    }
    
    .hero-info {
        bottom: 80px;
        left: 80px;
    }
    
    .movie-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
        padding: 0 30px;
    }
}

/* ========== 触摸优化 ========== */
.touch-target {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.touch-feedback {
    transition: transform 0.1s ease;
}

.touch-feedback:active {
    transform: scale(0.95);
}

/* ========== 加载动画 ========== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #1a1a1a;
    border-top: 3px solid #14b8a6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== 淡入动画 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== PC端底部样式 ========== */
.footer.pc-only {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    border-top: 1px solid #1a1a1a;
    padding: 60px 0 20px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .footer.pc-only {
        display: block;
    }
}

.footer.pc-only::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
}

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

.footer-content.compact {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.footer-section.compact-section {
    min-width: 0;
}

.footer-section.compact-section h3 {
    color: #14b8a6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links.compact-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.footer-links.compact-links li {
    margin-bottom: 0;
}

.footer-links.compact-links a {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    white-space: nowrap;
    transition: all 0.2s ease;
    color: #b0b0b0;
    text-decoration: none;
    display: block;
}

.footer-links.compact-links a:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-1px);
    color: #14b8a6;
}

/* 蜘蛛地图 */
.sitemap.compact-sitemap {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sitemap-title {
    color: #14b8a6;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.sitemap-grid.compact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}

.sitemap-section.compact-sitemap-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 6px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.sitemap-section.compact-sitemap-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
}

.sitemap-section.compact-sitemap-section h4 {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: left;
}

.sitemap-links.compact-sitemap-links {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.sitemap-links.compact-sitemap-links::-webkit-scrollbar {
    display: none;
}

.sitemap-links.compact-sitemap-links::-webkit-scrollbar {
    display: none;
}

.sitemap-links.compact-sitemap-links li {
    margin-bottom: 0;
    flex-shrink: 0;
}

.sitemap-links.compact-sitemap-links a {
    font-size: 10px;
    padding: 3px 5px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.sitemap-links.compact-sitemap-links a:hover {
    color: #14b8a6;
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.spider-info {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0 0;
    font-size: 11px;
    color: #b0b0b0;
}

.spider-info strong {
    color: #14b8a6;
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #606060;
    font-size: 12px;
    line-height: 1.6;
}

.copyright-text {
    margin-bottom: 15px;
}

.copyright-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.copyright-links a {
    color: #808080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-links a:hover {
    color: #14b8a6;
}

/* 响应式 */
@media (max-width: 1600px) {
    .footer-content.compact {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .footer-content.compact {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sitemap-grid.compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 900px) {
    .sitemap-grid.compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ========== 移动端底部样式 ========== */
/* 默认隐藏移动端底部 */
.footer.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .footer.pc-only {
        display: none;
    }
    
    /* 移动端底部 */
    .footer.mobile-only {
        display: block;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, #0a0a0a 100%);
        border-top: 1px solid rgba(255, 107, 53, 0.2);
        padding: 30px 20px 80px;
        position: relative;
        width: 100%;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
    
    .footer.mobile-only::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #14b8a6, transparent);
        animation: shimmer 3s ease-in-out infinite;
    }
    
    @keyframes shimmer {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
    
    /* 分类卡片区域 */
    .category-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .category-card {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
        border: 1px solid rgba(255, 107, 53, 0.2);
        border-radius: 16px;
        padding: 18px 15px;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s ease;
    }
    
    .category-card:active::before {
        left: 100%;
    }
    
    .category-card:active {
        transform: scale(0.96);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
        border-color: rgba(255, 107, 53, 0.5);
    }
    
    .card-icon {
        font-size: 24px;
        margin-bottom: 8px;
        display: block;
        filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
    }
    
    .card-title {
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .card-desc {
        font-size: 10px;
        color: #b0b0b0;
        line-height: 1.2;
        opacity: 0.8;
    }
    
    /* 滑动标签区域 */
    .tag-slider {
        margin-bottom: 25px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tag-slider::-webkit-scrollbar {
        display: none;
    }
    
    .tag-container {
        display: flex;
        gap: 10px;
        padding: 5px 0;
    }
    
    .tag-item-mobile {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 10px 16px;
        font-size: 12px;
        color: #e0e0e0;
        white-space: nowrap;
        transition: all 0.3s ease;
        cursor: pointer;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        text-decoration: none;
        display: inline-block;
    }
    
    .tag-item-mobile:active {
        background: rgba(255, 107, 53, 0.2);
        border-color: rgba(255, 107, 53, 0.4);
        color: #14b8a6;
        transform: scale(0.95);
    }
    
    /* 搜索引擎区域 */
    .search-engines {
        background: rgba(15, 15, 15, 0.6);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .engines-title {
        font-size: 13px;
        color: #14b8a6;
        margin-bottom: 12px;
        text-align: center;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .engines-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .engine-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        padding: 10px 8px;
        text-align: center;
        transition: all 0.2s ease;
        cursor: pointer;
        font-size: 10px;
        color: #a0a0a0;
        text-decoration: none;
        display: block;
    }
    
    .engine-item:active {
        background: rgba(255, 107, 53, 0.1);
        border-color: rgba(255, 107, 53, 0.3);
        color: #14b8a6;
        transform: translateY(-1px);
    }
    
    /* 版权信息区域 */
    .footer-info {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer-links-mobile {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .footer-link-mobile {
        color: #808080;
        text-decoration: none;
        font-size: 11px;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
    }
    
    .footer-link-mobile:active {
        background: rgba(255, 107, 53, 0.15);
        border-color: rgba(255, 107, 53, 0.3);
        color: #14b8a6;
        transform: scale(0.95);
    }
    
    .spider-status {
        background: rgba(255, 107, 53, 0.1);
        border: 1px solid rgba(255, 107, 53, 0.2);
        border-radius: 8px;
        padding: 10px;
        margin: 15px 0;
        font-size: 9px;
        color: #b0b0b0;
        text-align: center;
        line-height: 1.3;
    }
    
    .spider-status strong {
        color: #14b8a6;
        font-weight: 500;
    }
    
    .copyright-mobile {
        color: #606060;
        font-size: 10px;
        line-height: 1.5;
        margin-top: 15px;
    }
    
    .copyright-mobile p {
        margin-bottom: 5px;
    }
}
