/* 海角社区在线观看网站 - 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* 导航栏样式 */
.hjsq-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.hjsq-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hjsq-nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.hjsq-nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.hjsq-nav-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* 横幅区域 */
.hjsq-hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.hjsq-hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hjsq-hero-content p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

/* 内容容器 */
.hjsq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 20px;
}

/* 栏目标题 */
.hjsq-section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.hjsq-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* 漫画网格布局 */
.hjsq-manga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.hjsq-manga-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hjsq-manga-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hjsq-manga-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.hjsq-manga-info {
  padding: 1.5rem;
}

.hjsq-manga-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.hjsq-manga-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 特色推荐区 */
.hjsq-featured-section {
  background: #fff;
  padding: 3rem 2rem;
  margin: 3rem 0;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.hjsq-featured-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hjsq-featured-item:hover {
  background: #f0f0f0;
  transform: scale(1.02);
}

.hjsq-featured-img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.hjsq-featured-content h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.hjsq-featured-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 分类区域 */
.hjsq-category-section {
  margin: 3rem 0;
}

.hjsq-category-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hjsq-category-tab {
  padding: 0.8rem 2rem;
  background: #fff;
  border: 2px solid #667eea;
  border-radius: 25px;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hjsq-category-tab:hover,
.hjsq-category-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 排行榜区域 */
.hjsq-ranking-section {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 3rem 0;
}

.hjsq-ranking-list {
  list-style: none;
}

.hjsq-ranking-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.hjsq-ranking-item:hover {
  background: #f9f9f9;
  transform: translateX(10px);
}

.hjsq-ranking-number {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  min-width: 50px;
}

.hjsq-ranking-number.top {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hjsq-ranking-thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.hjsq-ranking-info {
  flex: 1;
}

.hjsq-ranking-info h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.hjsq-ranking-info p {
  color: #666;
  font-size: 0.9rem;
}

/* 更新动态区 */
.hjsq-updates-section {
  margin: 3rem 0;
}

.hjsq-updates-list {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hjsq-update-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.hjsq-update-item:last-child {
  border-bottom: none;
}

.hjsq-update-title {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hjsq-update-title:hover {
  color: #667eea;
}

.hjsq-update-date {
  color: #999;
  font-size: 0.9rem;
}

/* 页脚 */
.hjsq-footer {
  background: #2d3748;
  color: #fff;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.hjsq-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.hjsq-footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hjsq-footer-section ul {
  list-style: none;
}

.hjsq-footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.hjsq-footer-section a:hover {
  color: #667eea;
}

.hjsq-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  color: #cbd5e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hjsq-nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hjsq-hero-content h2 {
    font-size: 1.8rem;
  }

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

  .hjsq-featured-item {
    flex-direction: column;
  }

  .hjsq-ranking-item {
    flex-wrap: wrap;
  }
}
