/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #25a186 0%, #1e8b73 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.main-wrapper {
    display: flex;
    flex: 1;
}

/* 左侧边栏样式 */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #1e4d4d 0%, #0f2626 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25a186, #1e8b73);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(37, 161, 134, 0.3);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.nav-menu {
    position: relative;
    z-index: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

/* 导航项分类颜色 */
.nav-item[data-category="tools"]:hover {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(229, 90, 43, 0.2));
    border-left: 3px solid #FF6B35;
}





.nav-item[data-category="recommended"]:hover {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 87, 87, 0.2));
    border-left: 3px solid #ff6b6b;
}

.nav-item[data-category="webmaster"]:hover {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.2), rgba(58, 185, 176, 0.2));
    border-left: 3px solid #4ecdc4;
}

.nav-item[data-category="domain"]:hover {
    background: linear-gradient(45deg, rgba(255, 149, 0, 0.2), rgba(235, 129, 0, 0.2));
    border-left: 3px solid #ff9500;
}

.nav-item[data-category="cloudcn"]:hover {
    background: linear-gradient(45deg, rgba(255, 106, 0, 0.2), rgba(235, 86, 0, 0.2));
    border-left: 3px solid #ff6a00;
}

.nav-item[data-category="cloudus"]:hover {
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.2), rgba(46, 113, 224, 0.2));
    border-left: 3px solid #4285f4;
}

.nav-item[data-category="proxy"]:hover {
    background: linear-gradient(45deg, rgba(142, 68, 173, 0.2), rgba(122, 48, 153, 0.2));
    border-left: 3px solid #8e44ad;
}

.nav-item[data-category="payment"]:hover {
    background: linear-gradient(45deg, rgba(0, 112, 186, 0.2), rgba(0, 92, 166, 0.2));
    border-left: 3px solid #0070ba;
}

.nav-item[data-category="crypto"]:hover {
    background: linear-gradient(45deg, rgba(243, 186, 47, 0.2), rgba(223, 166, 27, 0.2));
    border-left: 3px solid #f3ba2f;
}

.nav-item[data-category="email"]:hover {
    background: linear-gradient(45deg, rgba(234, 67, 53, 0.2), rgba(214, 47, 33, 0.2));
    border-left: 3px solid #ea4335;
}

.nav-item[data-category="links"]:hover {
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.2), rgba(235, 85, 160, 0.2));
    border-left: 3px solid #ff69b4;
}

.nav-item[data-category="all"]:hover {
    background: linear-gradient(45deg, rgba(37, 161, 134, 0.2), rgba(30, 139, 115, 0.2));
    border-left: 3px solid #25a186;
}

.nav-item.active {
    background: rgba(37, 161, 134, 0.2);
    border-left-color: #25a186;
    color: #25a186;
}

/* 激活状态的分类颜色 */
.nav-item.active[data-category="tools"] {
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.3), rgba(229, 90, 43, 0.3));
    border-left: 3px solid #FF6B35;
    color: #FF6B35;
}





.nav-item.active[data-category="recommended"] {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(255, 87, 87, 0.3));
    border-left: 3px solid #ff6b6b;
    color: #ff6b6b;
}

.nav-item.active[data-category="webmaster"] {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.3), rgba(58, 185, 176, 0.3));
    border-left: 3px solid #4ecdc4;
    color: #4ecdc4;
}

.nav-item.active[data-category="domain"] {
    background: linear-gradient(45deg, rgba(255, 149, 0, 0.3), rgba(235, 129, 0, 0.3));
    border-left: 3px solid #ff9500;
    color: #ff9500;
}

.nav-item.active[data-category="cloudcn"] {
    background: linear-gradient(45deg, rgba(255, 106, 0, 0.3), rgba(235, 86, 0, 0.3));
    border-left: 3px solid #ff6a00;
    color: #ff6a00;
}

.nav-item.active[data-category="cloudus"] {
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.3), rgba(46, 113, 224, 0.3));
    border-left: 3px solid #4285f4;
    color: #4285f4;
}

.nav-item.active[data-category="proxy"] {
    background: linear-gradient(45deg, rgba(142, 68, 173, 0.3), rgba(122, 48, 153, 0.3));
    border-left: 3px solid #8e44ad;
    color: #8e44ad;
}

.nav-item.active[data-category="payment"] {
    background: linear-gradient(45deg, rgba(0, 112, 186, 0.3), rgba(0, 92, 166, 0.3));
    border-left: 3px solid #0070ba;
    color: #0070ba;
}

.nav-item.active[data-category="crypto"] {
    background: linear-gradient(45deg, rgba(243, 186, 47, 0.3), rgba(223, 166, 27, 0.3));
    border-left: 3px solid #f3ba2f;
    color: #f3ba2f;
}

.nav-item.active[data-category="email"] {
    background: linear-gradient(45deg, rgba(234, 67, 53, 0.3), rgba(214, 47, 33, 0.3));
    border-left: 3px solid #ea4335;
    color: #ea4335;
}

.nav-item.active[data-category="links"] {
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.3), rgba(235, 85, 160, 0.3));
    border-left: 3px solid #ff69b4;
    color: #ff69b4;
}

.nav-item.active[data-category="all"] {
    background: linear-gradient(45deg, rgba(37, 161, 134, 0.3), rgba(30, 139, 115, 0.3));
    border-left: 3px solid #25a186;
    color: #25a186;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-item.active .nav-icon svg {
    color: currentColor;
}

.nav-item:hover .nav-icon svg {
    color: currentColor;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.nav-item.active .nav-text {
    color: white;
    font-weight: 600;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding: 3rem 3rem 220px 3rem;
    overflow-y: auto;
    width: calc(100vw - 280px);
}

/* 推荐内容样式 */
.content-banners {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.content-banner {
    flex: 1;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.content-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-banner a {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.content-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    /* 确保图片在所有设备上都有统一的显示效果 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.content-banner a:hover .content-banner-image {
    transform: scale(1.02);
}

.content-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #25a186 0%, #1e8b73 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1rem;
}

.content-placeholder h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.promotion-info {
    height: 100%;
    background: linear-gradient(135deg, #25a186 0%, #1e8b73 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1rem;
}

.promotion-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promotion-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 推荐内容响应式设计 */
@media (max-width: 1200px) {
    .content-banners {
        gap: 0.8rem;
    }
    
    .content-banner {
        height: 110px;
    }
}

@media (max-width: 992px) {
    .content-banners {
        gap: 0.6rem;
    }
    
    .content-banner {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .content-banners {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .content-banner {
        height: 120px;
        max-width: 100%;
    }
    
    .content-banner-image {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .content-banners {
        margin: 1rem 0;
    }
    
    .content-banner {
        height: 100px !important;
    }
    
    .content-banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .content-placeholder {
        height: 100%;
        padding: 0.8rem;
    }
    
    .content-placeholder h3 {
        font-size: 1rem;
    }
    
    .content-placeholder p {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .content-banner {
        height: 80px !important;
    }
    
    .content-banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .content-placeholder {
        height: 100%;
        padding: 0.5rem;
    }
    
    .content-placeholder h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .content-placeholder p {
        font-size: 0.7rem;
    }
}

.header {
    margin-bottom: 3rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
}

/* 网站网格布局 */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    animation: fadeInUp 0.6s ease-out;
}

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

/* 网站卡片样式 */
.site-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 80px;
}

/* 分类颜色区分 */
.site-card[data-category="tools"] {
    border-left: 4px solid #FF6B35;
}

.site-card[data-category="tools"]:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}





.site-card[data-category="recommended"] {
    border-left: 4px solid #ff6b6b;
}

.site-card[data-category="recommended"]:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.site-card[data-category="webmaster"] {
    border-left: 4px solid #4ecdc4;
}

.site-card[data-category="webmaster"]:hover {
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
}

.site-card[data-category="domain"] {
    border-left: 4px solid #ff9500;
}

.site-card[data-category="domain"]:hover {
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.2);
}

.site-card[data-category="cloudcn"] {
    border-left: 4px solid #ff6a00;
}

.site-card[data-category="cloudcn"]:hover {
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

.site-card[data-category="cloudus"] {
    border-left: 4px solid #4285f4;
}

.site-card[data-category="cloudus"]:hover {
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.site-card[data-category="proxy"] {
    border-left: 4px solid #8e44ad;
}

.site-card[data-category="proxy"]:hover {
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.2);
}

.site-card[data-category="payment"] {
    border-left: 4px solid #0070ba;
}

.site-card[data-category="payment"]:hover {
    box-shadow: 0 8px 25px rgba(0, 112, 186, 0.2);
}

.site-card[data-category="crypto"] {
    border-left: 4px solid #f3ba2f;
}

.site-card[data-category="crypto"]:hover {
    box-shadow: 0 8px 25px rgba(243, 186, 47, 0.2);
}

.site-card[data-category="email"] {
    border-left: 4px solid #ea4335;
}

.site-card[data-category="email"]:hover {
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.2);
}

.site-card[data-category="links"] {
    border-left: 4px solid #ff69b4;
}

.site-card[data-category="links"]:hover {
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.site-card:hover::before {
    transform: scaleX(1);
}

.site-header {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 10px;
    object-fit: cover;
    background: #f7fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.site-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-info p {
    font-size: 12px;
    color: #718096;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-category {
    display: none;
}

/* 分类标签颜色 */
.site-category[data-category="tools"] {
    background: linear-gradient(45deg, #FF6B35, #e55a2b);
}





/* 分类标题样式 */
.category-title {
    width: 100%;
    margin: 30px 0 20px 0;
    grid-column: 1 / -1;
}

.category-title:first-child {
    margin-top: 0;
}

.category-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title h2::before {
    content: '';
    width: 4px;
    height: 24px;
    border-radius: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.category-divider {
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, transparent);
    border-radius: 1px;
    opacity: 0.3;
}

/* 不同分类的标题颜色 */
.category-title[data-category="tools"] h2::before {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}



.category-title[data-category="recommended"] h2::before {
    background: linear-gradient(135deg, #ff6b6b, #ff5757);
}

.category-title[data-category="webmaster"] h2::before {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.category-title[data-category="domain"] h2::before {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.category-title[data-category="cloudcn"] h2::before {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.category-title[data-category="cloudus"] h2::before {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.category-title[data-category="proxy"] h2::before {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.category-title[data-category="payment"] h2::before {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.category-title[data-category="crypto"] h2::before {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.category-title[data-category="email"] h2::before {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.category-title[data-category="links"] h2::before {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25a186, #1e8b73);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 161, 134, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 161, 134, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: transparent;
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: none;
}

.hamburger-line {
    width: 20px;
    height: 3px;
    background: #25a186;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端侧边栏遮罩 */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .container {
        flex-direction: column;
        width: 100vw;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #1e4d4d 0%, #0f2626 100%);
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 5rem 0 2rem 0;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .nav-item {
        flex-shrink: 0;
        padding: 1rem 1.5rem;
        border-left: 3px solid transparent;
        border-bottom: none;
        color: #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-item.active {
        border-left-color: #25a186;
        background: rgba(37, 161, 134, 0.2);
        color: #25a186;
    }
    
    .main-content {
        padding: 80px 15px 15px 15px;
        width: 100vw;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }
    
    .site-card {
        padding: 10px;
        height: 70px;
    }
    
    .site-icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .site-info h3 {
        font-size: 13px;
    }
    
    .site-info p {
        font-size: 11px;
    }
    
    /* 移动端推荐内容适配 - 确保高度统一 */
    .content-banners {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .content-banner {
        height: 120px !important;
        max-width: 100%;
        margin: 0;
    }
    
    .content-banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .content-placeholder {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    
    .content-placeholder h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .content-placeholder p {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .container {
        width: 100vw;
        max-width: none;
    }
    
    .main-content {
        width: calc(100vw - 280px);
    }
}

@media (max-width: 480px) {
    .sites-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 8px;
    }
    
    .site-card {
        padding: 8px;
        height: 60px;
    }
    
    .site-icon {
        width: 24px;
        height: 24px;
        margin-right: 6px;
    }
    
    .site-info h3 {
        font-size: 12px;
    }
    
    .site-info p {
        font-size: 10px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .category-title {
        margin: 20px 0 15px 0;
    }
    
    .category-title h2 {
        font-size: 1.2rem;
    }
    
    .category-title h2::before {
        width: 3px;
        height: 18px;
    }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #25a186;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 底部固定推荐内容样式 */
.bottom-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: transparent;
    z-index: 1000;
    height: 140px;
}

.content-card {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 移动端底部固定推荐内容适配 */
@media (max-width: 768px) {
    .bottom-content {
        flex-direction: column;
        gap: 0.8rem;
        height: 160px;
    }
    
    .content-card {
        height: 80px;
    }
    
    .promotion-info {
        padding: 0.8rem;
    }
    
    .promotion-info h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .promotion-info p {
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 2rem 1rem 240px 1rem;
    }
}

@media (max-width: 480px) {
    .bottom-content {
        gap: 0.6rem;
        padding: 0.6rem;
        height: 140px;
    }
    
    .content-card {
        height: 60px;
    }
    
    .promotion-info {
        padding: 0.6rem;
    }
    
    .promotion-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .promotion-info p {
        font-size: 0.7rem;
    }
    
    .main-content {
        padding: 1.5rem 0.5rem 220px 0.5rem;
    }
}