/* 日本三级 - 主样式表 | cay56b.cn */
/* 原创配色方案：紫粉渐变主题 */

:root {
  --primary: #e91e8c;
  --primary-dark: #c2185b;
  --secondary: #9c27b0;
  --accent: #ff6eb4;
  --bg-dark: #0f0a1a;
  --bg-card: #1a1128;
  --bg-card2: #221535;
  --text-main: #f0e6f6;
  --text-sub: #b39dbe;
  --text-muted: #7c6b8a;
  --border: #3d2a54;
  --gradient-main: linear-gradient(135deg, #e91e8c 0%, #9c27b0 100%);
  --gradient-card: linear-gradient(145deg, #1a1128 0%, #221535 100%);
  --shadow: 0 8px 32px rgba(233,30,140,0.15);
  --shadow-hover: 0 16px 48px rgba(233,30,140,0.3);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin-top: 6px;
}
.section-subtitle { color: var(--text-sub); font-size: 0.95rem; margin-bottom: 32px; }
.section-header { margin-bottom: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(233,30,140,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,0.5); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-hot { background: linear-gradient(90deg,#ff4757,#ff6b81); color: #fff; }
.badge-new { background: linear-gradient(90deg,#2ed573,#1e90ff); color: #fff; }
.badge-live { background: linear-gradient(90deg,#e91e8c,#9c27b0); color: #fff; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.7} }
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  background: rgba(233,30,140,0.12);
  color: var(--accent);
  border: 1px solid rgba(233,30,140,0.2);
  margin: 2px;
}

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,10,26,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.site-logo img.logo-full {
  height: 36px;
  width: auto;
}
.site-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
nav.main-nav { flex: 1; }
nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav ul li a {
  display: block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-sub);
  transition: all 0.2s;
  white-space: nowrap;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
  color: var(--text-main);
  background: rgba(233,30,140,0.12);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-actions .live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--accent);
}
.header-actions .live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e91e8c;
  animation: pulse 1s infinite;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  background: rgba(26,17,40,0.9);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  gap: 10px;
  transition: border-color 0.2s;
}
.search-input-wrap:focus-within { border-color: var(--primary); }
.search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.search-hot-tags span { color: var(--text-muted); white-space: nowrap; }
.search-hot-tags a {
  color: var(--text-sub);
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s;
  white-space: nowrap;
}
.search-hot-tags a:hover { background: rgba(233,30,140,0.15); color: var(--accent); }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,10,26,0.85) 0%, rgba(156,39,176,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h1 .brand { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); }

/* ===== VIDEO CARDS ===== */
.videos-section { padding: 60px 0; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233,30,140,0.4);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn svg {
  width: 52px;
  height: 52px;
  fill: rgba(255,255,255,0.9);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-badge-wrap {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}
.video-info { padding: 14px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { margin-top: 8px; }

/* ===== LIVE SECTION ===== */
.live-section { padding: 60px 0; background: rgba(26,17,40,0.5); }
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.live-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.live-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.live-name { font-size: 0.9rem; font-weight: 600; color: #fff; }
.live-viewers { font-size: 0.78rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.live-info { padding: 12px; }
.live-title { font-size: 0.88rem; color: var(--text-sub); }

/* ===== EXPERT SECTION ===== */
.expert-section { padding: 60px 0; }
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(233,30,140,0.3); }
.expert-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.expert-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--accent); }
.expert-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 16px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.expert-actions { display: flex; gap: 10px; }

/* ===== COMMUNITY ===== */
.community-section { padding: 60px 0; background: rgba(26,17,40,0.5); }
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.community-card:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.community-img { aspect-ratio: 1; overflow: hidden; }
.community-img img { width: 100%; height: 100%; object-fit: cover; }
.community-info { padding: 10px; }
.community-info p { font-size: 0.82rem; color: var(--text-sub); }

/* ===== AI SECTION ===== */
.ai-section { padding: 60px 0; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ai-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(233,30,140,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ai-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.ai-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.ai-card p { font-size: 0.88rem; color: var(--text-sub); line-height: 1.6; }
.ai-features { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== PARTNER SECTION ===== */
.partner-section { padding: 60px 0; background: rgba(26,17,40,0.5); }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.3s;
}
.partner-logo:hover { border-color: var(--primary); color: var(--text-main); }

/* ===== HOW TO JOIN ===== */
.join-section { padding: 60px 0; }
.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.join-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.join-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.join-step p { font-size: 0.85rem; color: var(--text-sub); }

/* ===== FAQ ===== */
.faq-section { padding: 60px 0; background: rgba(26,17,40,0.5); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(233,30,140,0.4); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--bg-card);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-card2); }
.faq-q .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(233,30,140,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 60px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-size: 0.95rem; font-weight: 600; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
.review-stars { color: #ffd700; font-size: 0.85rem; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: var(--text-sub); line-height: 1.6; }
.review-tags { margin-top: 10px; }

/* ===== CONTACT ===== */
.contact-section { padding: 60px 0; background: rgba(26,17,40,0.5); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(233,30,140,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text .label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-item-text .value { font-size: 0.92rem; color: var(--text-main); }
.qr-codes { display: flex; gap: 24px; margin-top: 24px; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: 10px; border: 2px solid var(--border); }
.qr-item p { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.contact-community h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.community-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: all 0.2s;
}
.community-entry:hover { border-color: var(--primary); }
.community-entry-icon { font-size: 1.5rem; }
.community-entry-text .name { font-size: 0.92rem; font-weight: 600; }
.community-entry-text .desc { font-size: 0.8rem; color: var(--text-muted); }

/* ===== SHARE ===== */
.share-section { padding: 40px 0; }
.share-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: 0.9rem; color: var(--text-sub); }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-sub);
  transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); color: var(--text-main); }

/* ===== FOOTER ===== */
#site-footer {
  background: rgba(10,6,18,0.98);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--text-main); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.update-time { font-size: 0.78rem; color: var(--text-muted); }

/* ===== INNER PAGE ===== */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, rgba(233,30,140,0.08) 0%, rgba(156,39,176,0.08) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }
.page-content { padding: 48px 0; }

/* ===== VIDEO PLAYER PAGE ===== */
.video-player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/9;
}
.video-player-wrap iframe,
.video-player-wrap video {
  width: 100%;
  height: 100%;
  border: none;
}
.video-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.video-detail-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.video-detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.video-detail-desc { font-size: 0.9rem; color: var(--text-sub); line-height: 1.7; }
.video-actions { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.sidebar-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-video-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-video-item { display: flex; gap: 10px; cursor: pointer; }
.sidebar-video-item:hover .sv-title { color: var(--accent); }
.sv-thumb { width: 100px; flex-shrink: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.sv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sv-title { font-size: 0.85rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; overflow-x: auto; }
.tab-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .video-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  nav.main-nav { display: none; }
  nav.main-nav.open { display: block; position: fixed; top: 64px; left: 0; right: 0; background: rgba(15,10,26,0.98); border-bottom: 1px solid var(--border); padding: 16px; z-index: 999; }
  nav.main-nav.open ul { flex-direction: column; gap: 4px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .search-hot-tags { display: none; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .live-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.lazy { opacity: 0; transition: opacity 0.4s; }
.lazy.loaded { opacity: 1; }
