/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    /* 先铺底色，避免背景图未加载时反复等待；大图不阻塞首屏交互 */
    background-color: #1a1a2e;
    background-image: url('/static/resource_web/bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    color: #450a0a;
    overflow-x: hidden;
    position: relative;
}

/* 添加半透明遮罩层以确保文字可读性 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -2;
}


/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(255, 154, 158, 0.3);
    border-bottom: 3px solid #ff6b9d;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fef3c7;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(69, 10, 10, 0.4);
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
    transform: scale(1.02);
}

.logo-img {
    width: 36px;
    height: 36px;
    margin-right: 0.8rem;
    border-radius: 8px;
    border: 2px solid #ff9a9e;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.45);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-img {
    border-color: #fde68a;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 1;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 107, 157, 0.4);
    z-index: 10;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #ff6b9d, #ff9a9e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.admin-link {
    background: linear-gradient(135deg, #ff6b9d, #feca57);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 3px solid #fff;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.admin-link:hover {
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.45);
    border-color: #fff;
}

.admin-link::after {
    display: none;
}

.admin-link i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

/* 主要内容 */
.main-content {
    min-height: 100vh;
}

/* 英雄区域 */
.hero {
    padding: calc(80px + 4rem) 2rem 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #feca57);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    animation: float 3s ease-in-out infinite;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff9a9e);
    opacity: 0.35;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #fef3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 分类按钮区域 */
.category-filters {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: linear-gradient(135deg, #fff, #fff1f2);
    border: 3px solid #ff9a9e;
    color: #ff6b9d;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.filter-btn:hover {
    border-color: #ff6b9d;
    color: #e05580;
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.2);
    background: linear-gradient(135deg, #fff, #ffe4e6);
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff6b9d, #ff9a9e);
    border-color: #ff6b9d;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.35);
}

.filter-btn i {
    font-size: 1.1rem;
}

/* 网站展示区域 */
.websites {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #ff6b9d;
    animation: bounce 2s infinite;
}

.website-count {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.website-card {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid #ff9a9e;
    border-left: 6px solid #ff6b9d;
}

.website-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
    transition: left 0.5s ease;
}

.website-card:hover::before {
    left: 100%;
}

.website-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.25);
    border-color: #ff6b9d;
    background: linear-gradient(135deg, #fff 0%, #ffe0e6 100%);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff6b9d, #ff9a9e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 1.2rem;
    box-shadow: 0 6px 18px rgba(255, 107, 157, 0.3);
    overflow: hidden;
    border: 2px solid #fff;
}

.website-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
    background: white;
    padding: 4px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b9d;
    flex: 1;
    text-shadow: 1px 1px 2px rgba(255, 107, 157, 0.1);
    letter-spacing: 0.3px;
}

.card-category {
    background: linear-gradient(135deg, #ff6b9d, #feca57);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-description {
    margin-bottom: 1.5rem;
}

.card-description p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0.5px 0.5px 1px rgba(255, 107, 157, 0.1);
}

.card-footer {
    text-align: center;
}

.visit-btn {
    background: linear-gradient(135deg, #ff6b9d, #ff9a9e);
    color: white;
    border: 3px solid #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.visit-btn:hover {
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.35);
    color: white;
    border-color: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #999;
}

.empty-state p {
    font-size: 1rem;
    color: #aaa;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.website-list {
    display: grid;
    gap: 1rem;
}

.website-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.website-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.website-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.website-name i {
    color: #667eea;
}

.website-desc {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: #764ba2;
}

/* 关于区域 */
.about {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #feca57;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: #feca57;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    opacity: 0.8;
}

/* 页脚 - 动漫风格 */
.footer {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #333;
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid #ff6b9d;
    box-shadow: 0 -4px 30px rgba(255, 154, 158, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
}

.footer-links a:hover {
    color: #fde68a;
}

/* B站图标样式 */
.footer-links .bilibili-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.51.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .356-.124.657-.373.906zM6.747 10.16c-.373 0-.684.124-.929.373-.245.249-.367.556-.367.92 0 .363.122.67.367.92.245.249.556.373.929.373.373 0 .684-.124.929-.373.245-.25.367-.557.367-.92 0-.364-.122-.671-.367-.92a1.285 1.285 0 0 0-.929-.373zm7.373 0c-.373 0-.684.124-.929.373-.245.249-.367.556-.367.92 0 .363.122.67.367.92.245.249.556.373.929.373.373 0 .684-.124.929-.373.245-.25.367-.557.367-.92 0-.364-.122-.671-.367-.92a1.285 1.285 0 0 0-.929-.373zM6.747 14.827c.036.071.089.134.16.187a.74.74 0 0 0 .267.107c.124.018.231 0 .32-.053.089-.054.142-.134.16-.24a.893.893 0 0 0-.053-.32c-.036-.107-.107-.178-.213-.213a.74.74 0 0 0-.32-.053c-.107.018-.196.089-.267.213a.74.74 0 0 0-.107.267c-.018.053-.018.089.053.107zm7.373 0c.036.071.089.134.16.187a.74.74 0 0 0 .267.107c.124.018.231 0 .32-.053.089-.054.142-.134.16-.24a.893.893 0 0 0-.053-.32c-.036-.107-.107-.178-.213-.213a.74.74 0 0 0-.32-.053c-.107.018-.196.089-.267.213a.74.74 0 0 0-.107.267c-.018.053-.018.089.053.107z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* 确保导航栏过渡效果 */
.header {
    transition: transform 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

/* 移动端汉堡菜单 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ff6b9d;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 107, 157, 0.12);
}

.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    border-top: 2px solid #ff6b9d;
    padding: 1rem 0;
}

.mobile-nav-menu.active {
    display: block;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 1rem 2rem;
    margin: 0;
    border-radius: 0;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}

.mobile-nav-menu .nav-link:hover {
    background: rgba(255, 107, 157, 0.12);
}

.mobile-nav-menu .admin-link {
    background: linear-gradient(135deg, #ff6b9d, #feca57);
    color: white !important;
    margin: 0.5rem 1rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .website-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .filter-buttons {
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* 导航栏移动端适配 */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    .nav-logo {
        font-size: 1.4rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    /* 英雄区域移动端适配 */
    .hero {
        padding: calc(80px + 2rem) 1rem 2rem 1rem;
        min-height: auto;
        display: block;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .avatar-circle {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 分类按钮移动端适配 */
    .category-filters {
        padding: 1.5rem 1rem;
    }
    
    .filter-buttons {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    /* 网站卡片移动端适配 */
    .websites {
        padding: 3rem 1rem;
    }
    
    .website-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .website-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-category {
        padding: 0.25rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .visit-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* 关于区域移动端适配 */
    .about {
        padding: 3rem 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 2.5rem;
    }
    
    /* 模态框移动端适配 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    /* 页脚移动端适配 */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .footer-links a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕适配 */
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 28px;
        height: 28px;
        margin-right: 0.6rem;
    }
    
    .hero {
        padding: calc(80px + 1.5rem) 0.8rem 1.5rem 0.8rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .category-filters {
        padding: 1rem 0.8rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .websites {
        padding: 2rem 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .website-card {
        padding: 1.2rem;
        border-radius: 15px;
    }
    
    .card-header {
        margin-bottom: 1rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 0.8rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .visit-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .about {
        padding: 2rem 0.8rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 1.2rem;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .website-item {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .website-name {
        font-size: 1.1rem;
    }
    
    .website-desc {
        font-size: 0.9rem;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
}

/* 横屏模式适配 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: calc(80px + 1rem) 1rem 1rem 1rem;
        min-height: auto;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after {
        display: none;
    }
    
    .website-card:hover {
        transform: none;
    }
    
    .website-card:active {
        transform: scale(0.98);
    }
}
