/* ============================================
   红桃视频网 - 共享样式表
   Hongtao Video Network - Shared Stylesheet
   ============================================ */

:root {
  --red: #c41e3a;
  --red-dark: #a01830;
  --red-light: #e63950;
  --navy: #1a1a2e;
  --navy-light: #2d2d44;
  --white: #ffffff;
  --gold: #e8c547;
  --gold-dark: #c9a92e;
  --light-gray: #f8f8f8;
  --mid-gray: #e5e5e5;
  --dark-gray: #666666;
  --text-dark: #1a1a2e;
  --text-light: #999999;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.18);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--light-gray);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   顶部导航栏 - Top Navigation
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-block;
}

.logo-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(-45deg);
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 4px;
}

.logo-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: -14px -14px 0 -6px var(--red), 14px -14px 0 -6px var(--red);
}

.logo-icon {
  width: 32px;
  height: 32px;
  position: relative;
  display: inline-block;
}

.logo-heart {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
  margin-right: 4px;
}

.logo-heart::before,
.logo-heart::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 50%;
}

.logo-heart::before {
  top: -14px;
  left: 0;
}

.logo-heart::after {
  top: 0;
  left: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 4px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 24px;
}

.main-nav a.active {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--light-gray);
  border-radius: 24px;
  padding: 8px 16px;
  gap: 8px;
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 180px;
  color: var(--text-dark);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--dark-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ============================================
   Hero Banner - 首页横幅
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 50%, var(--red) 100%);
  color: var(--white);
  padding: 80px 32px 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 197, 71, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-heart {
  position: absolute;
  opacity: 0.08;
  background: var(--white);
  transform: rotate(-45deg);
}

.hero-heart::before,
.hero-heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.hero-heart::before {
  top: -50%;
  left: 0;
}

.hero-heart::after {
  top: 0;
  left: 50%;
}

.hero-heart.h1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
}

.hero-heart.h2 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 5%;
}

.hero-heart.h3 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 30%;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.hero-play {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, #2d2d44, #16213e);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.hero-play::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(196, 30, 58, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(232, 197, 71, 0.2) 0%, transparent 60%);
}

.hero-play:hover {
  transform: translateY(-50%) scale(1.02);
}

.play-btn {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(196, 30, 58, 0.3);
  transition: var(--transition);
}

.play-btn:hover {
  background: var(--red-dark);
  box-shadow: 0 0 0 14px rgba(196, 30, 58, 0.2);
}

.play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}

/* ============================================
   Section Common - 通用区块
   ============================================ */
.section {
  padding: 80px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 32px;
  background: var(--red);
  border-radius: 2px;
}

.section-more {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1px;
}

.section-more:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* ============================================
   Ticker / Marquee - 滚动公告
   ============================================ */
.ticker-bar {
  background: var(--navy);
  color: var(--white);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-bar .ticker-label {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 2px;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 40s linear infinite;
  padding-left: 180px;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.ticker-track span::before {
  content: "♥";
  color: var(--gold);
  margin-right: 8px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Video Cards - 视频卡片
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.video-thumb.aspect-video {
  aspect-ratio: 16 / 9;
}

.video-thumb.aspect-tall {
  aspect-ratio: 3 / 4;
}

.video-thumb.aspect-square {
  aspect-ratio: 1 / 1;
}

.video-thumb .thumb-gradient {
  position: absolute;
  inset: 0;
}

.video-thumb .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-icon-sm {
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon-sm::before {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 14px solid var(--white);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 1px;
}

.video-badge.live {
  background: var(--red);
  animation: pulse 2s infinite;
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 2px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.video-info {
  padding: 16px 20px 20px;
}

.video-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.video-meta .views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-meta .views::before {
  content: "♥";
  color: var(--red);
}

/* 特色大卡 Featured card */
.video-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.video-card.featured .video-thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 480px;
}

/* Asymmetric magazine grid */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

.magazine-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.magazine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.magazine-card .thumb-gradient {
  position: absolute;
  inset: 0;
}

.magazine-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
}

.magazine-card .card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.magazine-card .card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-card .card-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.mag-card-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.mag-card-md {
  grid-column: span 1;
  grid-row: span 1;
}

.mag-card-sm {
  grid-column: span 1;
  grid-row: span 1;
}

/* ============================================
   Creator Spotlight - 创作者聚焦
   ============================================ */
.creator-spotlight {
  background: linear-gradient(135deg, var(--navy) 0%, #16213e 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.creator-spotlight::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.creator-avatar {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 16px 48px rgba(196, 30, 58, 0.4);
  border: 6px solid var(--gold);
  position: relative;
  z-index: 1;
}

.creator-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.creator-info {
  position: relative;
  z-index: 1;
}

.creator-role {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.creator-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.creator-info p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.creator-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.creator-stats .stat {
  text-align: center;
}

.creator-stats .stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}

.creator-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.creator-actions {
  display: flex;
  gap: 12px;
}

/* ============================================
   Category Cards - 分类卡片
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-banner {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.category-banner .banner-gradient {
  position: absolute;
  inset: 0;
}

.category-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-body h3::before {
  content: "♥";
  color: var(--red);
  font-size: 18px;
}

.category-desc {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.category-count {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--mid-gray);
}

.category-count strong {
  color: var(--red);
  font-size: 18px;
}

/* ============================================
   Ranking - 排行榜
   ============================================ */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ranking-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  background: var(--mid-gray);
  flex-shrink: 0;
}

.rank-number.top1 { background: var(--red); }
.rank-number.top2 { background: #e67e22; }
.rank-number.top3 { background: var(--gold-dark); }

.rank-thumb {
  width: 120px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rank-thumb .thumb-gradient {
  width: 100%;
  height: 100%;
}

.rank-info {
  flex: 1;
}

.rank-info h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.rank-info .meta {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  gap: 16px;
}

.rank-stats {
  text-align: right;
  flex-shrink: 0;
}

.rank-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
}

.rank-stats span {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================
   Star Cards - 明星卡片
   ============================================ */
.star-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.star-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.star-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.star-avatar {
  height: 240px;
  position: relative;
}

.star-avatar .avatar-gradient {
  position: absolute;
  inset: 0;
}

.star-avatar .star-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.star-body {
  padding: 20px;
}

.star-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.star-title {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.star-followers {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--mid-gray);
  font-size: 13px;
  color: var(--dark-gray);
}

.star-followers strong {
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   Live Rooms - 直播房间
   ============================================ */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.live-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.live-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.live-thumb .thumb-gradient {
  position: absolute;
  inset: 0;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse 2s infinite;
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}

.live-viewers {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-viewers::before {
  content: "♥";
  color: var(--red);
}

.live-body {
  padding: 16px 20px;
}

.live-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.live-host {
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================
   Join / Forms - 加入我们
   ============================================ */
.join-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
}

.join-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.join-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

.form-container {
  max-width: 720px;
  margin: -60px auto 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 48px;
  position: relative;
  z-index: 10;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mid-gray);
  border-radius: 6px;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   Sidebar - 侧边栏
   ============================================ */
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}

.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list li .num {
  width: 24px;
  height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--light-gray);
  color: var(--text-dark);
  border-radius: 16px;
  font-size: 13px;
  transition: var(--transition);
}

.tag:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================
   Editor's Note / Feature Player
   ============================================ */
.feature-player {
  background: var(--navy);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.feature-player .player-gradient {
  position: absolute;
  inset: 0;
}

.feature-player .player-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.feature-player .play-btn-lg {
  width: 96px;
  height: 96px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(196, 30, 58, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.feature-player .play-btn-lg:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 18px rgba(196, 30, 58, 0.2);
}

.feature-player .play-btn-lg::before {
  content: "";
  border-left: 28px solid var(--white);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}

.feature-player h2 {
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
}

.editor-note {
  background: var(--light-gray);
  border-left: 4px solid var(--red);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 40px;
}

.editor-note h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.editor-note p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
}

/* ============================================
   Live Chat Mockup - 直播聊天
   ============================================ */
.live-chat {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.chat-body {
  padding: 20px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.chat-msg .chat-user {
  font-weight: 600;
  color: var(--red);
  flex-shrink: 0;
}

.chat-msg .chat-text {
  color: var(--text-dark);
  word-break: break-all;
}

.chat-msg.gift .chat-text {
  color: var(--gold-dark);
  font-weight: 600;
}

/* ============================================
   Schedule Table - 直播预告
   ============================================ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
  color: var(--text-dark);
}

.schedule-table tr:hover td {
  background: var(--light-gray);
}

/* ============================================
   Benefits Grid - 平台福利
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--red);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ============================================
   Tabs - 标签切换
   ============================================ */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--mid-gray);
}

.tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.tab:hover {
  color: var(--red);
}

.tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ============================================
   Footer - 页脚
   ============================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 32px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Gradient Helpers - 渐变背景
   ============================================ */
.grad-red {
  background: linear-gradient(135deg, #c41e3a, #8b0000);
}

.grad-navy {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.grad-gold {
  background: linear-gradient(135deg, #e8c547, #b8860b);
}

.grad-sunset {
  background: linear-gradient(135deg, #ff6b6b, #c41e3a);
}

.grad-ocean {
  background: linear-gradient(135deg, #667eea, #1a1a2e);
}

.grad-forest {
  background: linear-gradient(135deg, #11998e, #1a1a2e);
}

.grad-violet {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.grad-coral {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.grad-night {
  background: linear-gradient(135deg, #141e30, #243b55);
}

.grad-fire {
  background: linear-gradient(135deg, #f12711, #f5af19);
}

.grad-rose {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.grad-teal {
  background: linear-gradient(135deg, #0abcf9, #2b5876);
}

.grad-magenta {
  background: linear-gradient(135deg, #c471f5, #fa71cd);
}

.grad-amber {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.grad-emerald {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.grad-sakura {
  background: linear-gradient(135deg, #ffc3a0, #ffafbd);
}

/* ============================================
   Responsive - 响应式
   ============================================ */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .star-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .with-sidebar {
    grid-template-columns: 1fr;
  }
  .hero-play {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 32px;
  }
  .hero {
    padding-bottom: 48px;
  }
  .hero-content {
    text-align: left;
  }
  .hero h1 {
    font-size: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-play {
    width: 100%;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .live-grid {
    grid-template-columns: 1fr;
  }
  .star-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .creator-spotlight {
    grid-template-columns: 1fr;
    padding: 32px;
    text-align: center;
  }
  .creator-avatar {
    margin: 0 auto;
  }
  .creator-stats {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .section {
    padding: 48px 20px;
  }
  .ticker-track {
    padding-left: 120px;
  }
  .ranking-item {
    flex-wrap: wrap;
  }
  .rank-stats {
    width: 100%;
    text-align: left;
  }
}
