/* ==================== 主页样式 ==================== */

/* 移除移动端白色触摸高亮，但保留其他点击反馈 */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 论坛顶部导航 */
.forum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

.breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 论坛版块按钮样式 */
.forum-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.forum-category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    background: #fff;
    color: #1d1d1f;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    min-width: 140px;
    text-align: center;
    transition: all var(--transition-normal);
    margin: 10px;
    flex: 0 0 auto;
}

/* 中等屏幕 - 3列布局 */
@media (min-width: 769px) and (max-width: 1024px) {
    .forum-sections {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .forum-category-btn {
        margin: 0;
        min-width: unset;
        flex: 1;
    }
}

/* 较大屏幕 - 4列布局 */
@media (min-width: 1025px) and (max-width: 1280px) {
    .forum-sections {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .forum-category-btn {
        margin: 0;
        min-width: unset;
        flex: 1;
    }
}

/* 大屏幕 - 4列布局 */
@media (min-width: 1281px) {
    .forum-sections {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .forum-category-btn {
        margin: 0;
        min-width: unset;
        flex: 1;
    }
}

/* 手机端响应式布局 - 2列布局 */
@media (max-width: 768px) {
    .forum-sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .forum-category-btn {
        margin: 0;
        min-width: unset;
        flex: 1;
    }
}

.forum-category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background: #f9f9fb;
}

.forum-category-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    background: #e8e8ea;
    border-color: #d1d1d3;
}

.forum-category-btn:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.forum-category-btn:focus:not(:focus-visible) {
    outline: none;
}

.forum-category-btn:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.forum-category-btn i {
    color: #0066cc;
    font-size: 18px;
    flex-shrink: 0;
}

.forum-category-btn span {
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    min-width: 88px;
    text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xs);
  gap: 2px;
  height: 100%;
  justify-content: center;
}

.section-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  margin-bottom: 2px;
  box-shadow: 0 4px 15px rgba(139, 90, 60, 0.3);
}

.section-info {
  flex: none;
}

.section-title {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-color);
}

.section-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.section-title a:hover {
  color: var(--primary-color);
}

.section-description {
  display: none;
}

.section-stats {
  display: none;
}

/* 论坛内容区域 */
.forum-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.posts-section {
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.section-title-bar h2 {
  margin: 0;
  color: var(--text-color);
  font-weight: 600;
}

.view-options {
  display: flex;
  gap: var(--spacing-sm);
}

.view-options a {
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
}

.view-options a:hover,
.view-options a.active {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

.view-options a:active {
  background: rgba(37, 99, 235, 0.2);
  transform: scale(0.98);
}

/* 论坛列表 - 玻璃透明风格 */
.post-list {
  padding: 0;
}

.post-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  align-items: center;
  
  /* 现代白色主题效果 */
  background: var(--background-color);
}

.post-item:hover {
  background: var(--background-light);
  transform: translateX(2px);
}

.post-item.top-post {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), var(--background-color));
  border-left: 3px solid var(--accent-color);
}

.post-item.hot-post {
  position: relative;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), var(--background-color));
}

.post-item.hot-post::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--success-color), var(--success-light));
}

/* 主页响应式样式 */
@media (max-width: 768px) {
  .forum-header {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .section-stats {
    flex-direction: row;
    justify-content: center;
  }
  
  .post-meta {
    font-size: 11px;
  }
  
  .stat-number {
    font-size: var(--font-size-sm);
  }
  
  .forum-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .post-item {
    grid-template-columns: 40px 1fr;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
  }
  
  .avatar-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .post-title {
    font-size: var(--font-size-sm);
  }
  
  .post-meta {
    font-size: 10px;
    gap: var(--spacing-xs);
  }
  
  .post-stats {
    gap: var(--spacing-sm);
  }
  
  .stat-number {
    font-size: var(--font-size-sm);
  }
}

.logo-dots {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    animation: rotateLogoDots 20s linear infinite;
}

.logo-text {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ==================== 提示和播放器容器 ==================== */
.hint-player-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* 操作提示区域 */
.operation-hint {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== 悬浮音乐播放器 ==================== */
.floating-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.06);
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    max-width: 320px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating-player:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.08);
}

/* 进度条 */
.floating-player-progress {
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,.06);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.floating-player-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff9500, #ff6b35);
    border-radius: 2px;
    transition: width .15s linear;
}

/* 播放器主体 */
.floating-player-body {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 按钮 */
.floating-player-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    flex-shrink: 0;
}

.floating-player-btn:hover {
    background: rgba(0,0,0,.06);
    color: #333;
}

.floating-player-btn:active {
    transform: scale(.9);
}

.floating-play-btn {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff9500, #ff6b35);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,107,53,.25);
}

.floating-play-btn:hover {
    background: linear-gradient(135deg, #ff7b00, #ff5722);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,107,53,.35);
}

/* 歌曲信息 */
.floating-player-info {
    flex: 1;
    min-width: 0;
    padding: 0 4px;
}

.floating-player-title {
    display: block;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    line-height: 1.3;
}

/* ==================== 音乐列表弹窗（保留） ==================== */
.playlist-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.playlist-modal-content {
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.playlist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    color: white;
    flex-shrink: 0;
}

.playlist-modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.playlist-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.playlist-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    max-height: 50vh;
}

.playlist-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.playlist-items li {
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.playlist-items li:last-child {
    border-bottom: none;
}

.playlist-items li:hover {
    background: #f8fafc;
}

.playlist-items li.playing {
    background: linear-gradient(90deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    font-weight: 500;
}

.playlist-items li.playing::before {
    content: '♪';
    color: #059669;
    font-size: 12px;
}

.playlist-loading {
    text-align: center;
    color: #9ca3af;
    padding: 20px;
}

.playlist-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #f8fafc;
    text-align: center;
    flex-shrink: 0;
}

.more-music-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(134, 239, 172, 0.3);
}

.more-music-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(134, 239, 172, 0.4);
}

.more-music-link svg {
    width: 16px;
    height: 16px;
}

/* 悬浮播放器响应式 */
@media (max-width: 768px) {
    .floating-player {
        bottom: 16px;
        right: 12px;
        min-width: 200px;
        max-width: 260px;
    }
    .floating-player-title {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .floating-player {
        bottom: 12px;
        right: 8px;
        min-width: 180px;
        max-width: 220px;
        padding: 4px 6px;
        border-radius: 24px;
    }
    .floating-player-title {
        max-width: 60px;
        font-size: 11px;
    }
    .floating-player-btn {
        width: 28px;
        height: 28px;
    }
    .floating-play-btn {
        width: 34px;
        height: 34px;
    }
}

/* ==================== 新增样式区域 ==================== */

/* 操作提示区域 */
.operation-hint {
    margin: var(--spacing-xl) 0;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hint-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 500px;
    transition: all var(--transition-normal);
}

.hint-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.hint-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
}

.hint-text h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.hint-text p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    line-height: 1.5;
}

/* 图片轮播区域 */
.image-slider {
    margin: var(--spacing-xl) 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px; /* 增加容器高度以适应不同比例的图片 */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #f8f9fa; /* 使用浅灰色背景填充空白区域 */
    user-select: none; /* 防止用户选择内容 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y; /* 允许垂直滚动，防止水平滑动 */
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 使用cover确保图片填充容器 */
    object-position: center; /* 图片居中显示 */
    display: block;
    opacity: 0; /* 默认隐藏 */
    transition: opacity 2.0s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 添加更加缓慢的淡入淡出过渡效果和平滑的缩放过渡 */
    pointer-events: none; /* 防止点击穿透 */
    will-change: transform, opacity; /* 优化性能，提前告知浏览器这些属性会变化 */
}

.slider-image.active {
    opacity: 1; /* 活动图片显示 */
    pointer-events: auto; /* 活动图片可交互 */
}

.slider-container:hover .slider-image.active {
    transform: scale(1.05); /* 悬停时轻微放大图片 */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 使用更平滑的贝塞尔曲线 */
}

.slider-image:hover {
    transform: scale(1.02); /* 鼠标悬停时轻微放大 */
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.8);
    user-select: none; /* 防止文本选择 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: manipulation; /* 优化移动端触摸 */
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.indicator:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.8);
}

.indicator:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.indicator:focus:not(:focus-visible) {
    outline: none;
}

.indicator:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 轮播箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7); /* 降低透明度，从0.9改为0.7 */
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* 提高层级确保点击有效性 */
    transition: all var(--transition-normal);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none; /* 防止文本选择 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.slider-arrow:active {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(0.95);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.slider-arrow:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.slider-arrow:focus:not(:focus-visible) {
    outline: none;
}

.slider-arrow:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

/* 箭头图标动画 */
.slider-arrow i {
    transition: transform var(--transition-normal);
}

.slider-arrow:hover i {
    transform: scale(1.2);
}

.slider-arrow-left:hover i {
    transform: scale(1.2) translateX(-2px);
}

.slider-arrow-right:hover i {
    transform: scale(1.2) translateX(2px);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .forum-sections {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 两列布局 */
        gap: var(--spacing-sm);
        margin: var(--spacing-md) 0;
        justify-items: center; /* 水平居中 */
    }
    
    .forum-category-btn {
        padding: 14px 20px;
        min-width: 120px;
        margin: 0; /* 重置margin */
        width: 100%; /* 占满网格单元 */
        box-sizing: border-box;
        max-width: 180px; /* 限制最大宽度 */
    }
    
    /* 第5个按钮（最后一个）居中显示 */

    
    .forum-category-btn i {
        font-size: 16px;
    }
    
    .forum-category-btn span {
        font-size: 15px;
        min-width: 70px;
        font-weight: 400;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    }
    
    .hint-box {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .hint-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hint-text h3 {
        font-size: var(--font-size-base);
    }
    
    .slider-container {
        height: 400px; /* 768px以下屏幕高度 */
        border-radius: 15px;
    }
    
    .slider-image {
        border-radius: 15px;
        object-fit: cover;
        object-position: center;
    }
    
    .slider-container:hover .slider-image.active {
        transform: scale(1.03); /* 小屏幕悬停时轻微放大 */
        transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 使用更平滑的贝塞尔曲线 */
    }
}

@media (max-width: 480px) {
    .forum-sections {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 两列布局 */
        gap: var(--spacing-xs);
        margin: var(--spacing-sm) 0;
        justify-items: center; /* 水平居中 */
    }
    
    .forum-category-btn {
        padding: 12px 16px;
        min-width: 100px;
        margin: 0; /* 重置margin */
        width: 100%; /* 占满网格单元 */
        box-sizing: border-box;
        max-width: 150px; /* 限制最大宽度 */
    }
    

    
    .forum-category-btn i {
        font-size: 14px;
    }
    
    .forum-category-btn span {
        font-size: 14px;
        min-width: 60px;
        font-weight: 400;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    }
    
    .operation-hint {
        margin: var(--spacing-md) 0;
    }
    
    .hint-box {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .slider-container {
        height: 300px; /* 480px以下屏幕高度 */
        border-radius: 10px;
    }
    
    .slider-image {
        border-radius: 10px;
        object-fit: cover;
        object-position: center;
    }
    
    .slider-container:hover .slider-image.active {
        transform: scale(1.04); /* 小屏幕稍微增大悬停效果 */
        transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 使用更平滑的贝塞尔曲线 */
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-arrow-left {
        left: 10px;
    }
    
    .slider-arrow-right {
        right: 10px;
    }
}