* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body::-webkit-scrollbar {
    display: none;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: #000;
}

/* 容器 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  /* position: sticky; */
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.search-box {
  position: relative;
}

.search-input {
  padding: 10px 40px 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  width: 250px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);

}

.search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  cursor: pointer;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-links {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 18px;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.nav-links a:hover::after {
  width: 80%;
}



/* 主要内容 */
.main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  margin: 25px 0;
  padding: 0;
}

.left-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 部分标题 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.trending-title {
  color: #663399;
}

.premium-title {
  color: #ff9900;
}

.discover-title {
  color: #e63946;
}

.editors-title {
  color: #457b9d;
}

.section-title a {
  font-size: 0.8rem;
  color: #666;
  text-decoration: none;
}

/* 热门阅读 */
.trending-reads {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-reads:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.trending-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-item:hover {
  transform: translateY(-8px);
}

.trending-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-bottom: 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.trending-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.trending-item:hover .trending-image::before {
  left: 100%;
}

.trending-content {
  font-size: 0.9rem;
}

.trending-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  transition: all 0.3s ease;
}

.trending-item:hover .trending-content h3 {
  color: #667eea;
}

.trending-content p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trending-content a {
  font-size: 0.85rem;
  color: #667eea;
  text-decoration: none;
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.trending-content a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 精选阅读 */
.premium-reading {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-reading:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.premium-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-item:hover {
  transform: translateY(-8px);
}

.premium-image {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  margin-bottom: 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.premium-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.premium-item:hover .premium-image::before {
  left: 100%;
}

.premium-content {
  font-size: 0.85rem;
}

.premium-content h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.premium-item:hover .premium-content h3 {
  color: #f5576c;
}

.premium-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #999;
}

.premium-btn {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.premium-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

/* 发现和编辑推荐 */
.discover-editors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.discover-section,
.editors-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discover-section:hover,
.editors-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.discover-image,
.editors-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.discover-image {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.editors-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.discover-image::before,
.editors-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.discover-section:hover .discover-image::before,
.editors-section:hover .editors-image::before {
  left: 100%;
}

.discover-content h3,
.editors-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  transition: all 0.3s ease;
}

.discover-section:hover .discover-content h3 {
  color: #ee5a6f;
}

.editors-section:hover .editors-content h3 {
  color: #00f2fe;
}

.discover-content p,
.editors-content p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.discover-btn,
.editors-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.editors-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.discover-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
}

.editors-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

/* 右侧边栏 */
.right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 特色主题 */
.featured-topics {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-topics:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.topic-item {
  height: auto;
  min-height: 140px;
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.topic-image {
  width: 100%;
  height: 90px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.topic-item:hover .topic-image {
  transform: scale(1.1);
}

.topic-title {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.9;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-item:hover .topic-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.topic-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.5s ease;
}

.topic-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.topic-item:hover::before {
  left: 100%;
}

/* 不要错过 */
.dont-miss {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dont-miss:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dont-miss-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dont-miss-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dont-miss-item:hover {
  transform: translateX(8px);
}

.dont-miss-image {
  width: 100%;
  height: 202px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dont-miss-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.dont-miss-item:hover .dont-miss-image::before {
  left: 100%;
}

.dont-miss-content h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  transition: all 0.3s ease;
}

.dont-miss-item:hover .dont-miss-content h3 {
  color: #667eea;
}

.dont-miss-content p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
}

/* 页脚 */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: flex;

  align-items: center;
  justify-content: space-around;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 15px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

/* 页面元素动画 */
header {
  animation: fadeIn 0.8s ease-out forwards;
}

.trending-reads {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.premium-reading {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.discover-editors {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.featured-topics {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.dont-miss {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.footer-links a:hover {
  animation: pulse 0.5s ease-in-out;
}

/* 滚动动画类 */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

.scroll-animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .trending-grid,
  .premium-grid,
  .discover-editors,
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }

  .left-section {
    gap: 20px;
  }

  .right-section {
    gap: 15px;
  }

  .trending-grid,
  .premium-grid,
  .discover-editors,
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-top {
    gap: 15px;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
   overflow-x: auto;
    gap: 10px;
  }

  .nav-links a {
    padding: 8px 12px;
            flex-shrink: 0;
    font-size: 0.85rem;
  }

  .search-input {
    width: 100%;
  }

  .trending-reads,
  .premium-reading,
  .discover-section,
  .editors-section,
  .featured-topics,
  .dont-miss {
    padding: 15px;
    border-radius: 12px;
  }

  .section-header {
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
header {
    padding: 10px 0;
}
  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 5px;
    margin-top: 4px;

  }

  .nav-links a {
    padding: 6px;
    font-size: 0.8rem;
  }

  .trending-grid,
  .premium-grid,
  .topics-grid {
    gap: 10px;
  }

  .topic-item {
    min-height: 120px;
  }

  .topic-image {
    height: 170px;
  }

  .footer-content {

    flex-direction: column-reverse;
    align-content: flex-start;
  }

  .premium-image {
    height: 200px;
  }











}



.Blue .discover-btn,
.Blue .editors-btn,
.Blue .search-btn,
.Blue .premium-btn,
.Blue footer {
  background: linear-gradient(135deg, #03A9F4 0%, #03A9F4 100%);
}

.Blue .trending-title,
.Blue .premium-title,
.Blue .discover-title,
.Blue .editors-title,

.Blue .breadcrumb a,
.Blue.tag,
.Blue.editors-btn {
  color: #03A9F4 !important;
}


.Blue .back-to-top,

.Blue .article-category,
.Blue .top-bar {
  background: #03A9F4 !important;
}



.Grey .discover-btn,
.Grey .editors-btn,
.Grey .search-btn,
.Grey .premium-btn,
.Grey footer {
background: linear-gradient(135deg, #6699CC 0%, #6699CC 100%);
}

.Grey .trending-title,
.Grey .premium-title,
.Grey .discover-title,
.Grey .editors-title,

.Grey .breadcrumb a,
.Grey.tag,
.Grey.editors-btn {
color: #6699CC !important;
}


.Grey .back-to-top,

.Grey .article-category,
.Grey .top-bar {
background: #6699CC !important;
}