/* Friday Theme - Index Page Styles */

/* 主要布局样式 */
.main-content {
  min-height: calc(100vh - var(--header-height, 64px));
  display: block;
  padding-bottom: var(--spacing-xxl);
}

/* Hero区域样式 */
.hero-section {
  padding: 4rem 0;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
    var(--bg-dark) 0%,
    #2a2d3a 25%,
    #343746 50%,
    #2a2d3a 75%,
    var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-main {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* 主标题样式 */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), #42a5f5, #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* 副标题样式 */
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* 特色功能展示 */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: var(--text-light);
  font-weight: 500;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.feature-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* 分类导航 */
.category-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.category-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.4);
}

.category-btn:hover::before {
  left: 100%;
}

.category-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.3s ease;
  opacity: 0.7;
}

/* Telegram社区区域 */
.community-section {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(66, 165, 245, 0.1));
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  margin-top: 2rem;
  text-align: center;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #0088cc, #00a0e6);
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
  margin: 0 auto;
  justify-content: center;
  max-width: 320px;
}

.telegram-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.telegram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
  background: linear-gradient(135deg, #006699, #0088cc);
}

.telegram-btn:hover::before {
  left: 100%;
}

.telegram-icon {
  flex-shrink: 0;
}

.btn-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 装饰元素 */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.decoration-circle-1 {
  top: 10%;
  left: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.decoration-circle-2 {
  top: 60%;
  right: 15%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #42a5f5 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.decoration-circle-3 {
  bottom: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #64b5f6 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-features {
    gap: 1.5rem;
  }

  .category-nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
  }

  .vod-thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-main {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .feature-item {
    padding: 0.75rem 1.25rem;
  }

  .category-nav {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .category-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .community-section {
    padding: 2rem 1.5rem;
  }

  .telegram-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    max-width: 280px;
  }

  .vod-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .community-section {
    padding: 1.5rem 1rem;
  }

  .telegram-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .decoration-circle {
    display: none;
  }

  .vod-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .vod-card--home .vod-card__content {
    padding: 0.75rem 0.8rem 0.85rem;
  }
}

@media (prefers-color-scheme: dark) {
  .hero-section {
    background: linear-gradient(135deg,
      #1a1d29 0%,
      #252833 25%,
      #2d3142 50%,
      #252833 75%,
      #1a1d29 100%);
  }
}
