/* =============================================
   四虎视频 - 影视传媒社区 全局样式
   bdhack.cn
   ============================================= */

:root {
  --primary: #e8174a;
  --primary-dark: #b5103a;
  --primary-light: #ff4d7a;
  --secondary: #1a1a2e;
  --accent: #f5a623;
  --bg-main: #0d0d1a;
  --bg-card: #16213e;
  --bg-card2: #1e2a45;
  --text-main: #f0f0f0;
  --text-muted: #a0a8b8;
  --text-dark: #2c2c3e;
  --border: rgba(255,255,255,0.08);
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-primary: linear-gradient(135deg, #e8174a 0%, #f5a623 100%);
  --gradient-card: linear-gradient(145deg, #16213e, #1e2a45);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-hover: 0 16px 48px rgba(232,23,74,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

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

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  overflow: hidden;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: -4px;
  -webkit-text-fill-color: var(--text-muted);
}

/* ---- NAVIGATION ---- */
.site-nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(232,23,74,0.15);
}

.nav-list a.active { color: var(--primary-light); }

/* ---- SEARCH BAR ---- */
.header-search {
  position: relative;
  flex-shrink: 0;
}

.header-search input {
  width: 200px;
  padding: 8px 40px 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-main);
  font-size: 13px;
  transition: var(--transition);
}

.header-search input:focus {
  outline: none;
  width: 240px;
  border-color: var(--primary);
  background: rgba(232,23,74,0.08);
}

.header-search input::placeholder { color: var(--text-muted); }

.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-muted);
  font-size: 15px;
  padding: 0;
  transition: var(--transition);
}

.search-btn:hover { color: var(--primary); }

/* ---- SEARCH DROPDOWN ---- */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.search-dropdown.show { display: block; }

.search-hot-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.search-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-hot-tags span {
  padding: 4px 10px;
  background: rgba(232,23,74,0.12);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary-light);
  cursor: pointer;
  transition: var(--transition);
}

.search-hot-tags span:hover { background: var(--primary); color: #fff; }

/* ---- MOBILE MENU ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { margin: 0 6px; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,23,74,0.15) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ---- SECTION ---- */
.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(232,23,74,0.15);
  border: 1px solid rgba(232,23,74,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- CARD ---- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,23,74,0.3);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 20px; }

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(232,23,74,0.15);
  border-radius: 20px;
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 10px;
}

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

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.card-meta i { margin-right: 4px; }

/* ---- VIDEO CARD ---- */
.video-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,23,74,0.3);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
  opacity: 0.7;
}

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

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

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(232,23,74,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(232,23,74,0.5);
}

.video-card:hover .play-btn { transform: scale(1); }

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 3px;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.video-quality {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.video-info { padding: 16px; }

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

.video-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ---- BUTTON ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,23,74,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,23,74,0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(232,23,74,0.08);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.badge-red { background: rgba(232,23,74,0.2); color: var(--primary-light); }
.badge-gold { background: rgba(245,166,35,0.2); color: var(--accent); }
.badge-blue { background: rgba(56,128,255,0.2); color: #6ba3ff; }
.badge-green { background: rgba(52,211,153,0.2); color: #34d399; }

/* ---- STATS ROW ---- */
.stats-row {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- TABS ---- */
.tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- EXPERT CARD ---- */
.expert-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,23,74,0.3);
}

.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
}

.expert-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-role {
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.expert-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.expert-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* ---- REVIEW CARD ---- */
.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(232,23,74,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- FAQ ---- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary-light); }

.faq-question.open { color: var(--primary-light); }

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(232,23,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: var(--transition);
}

.faq-question.open .faq-icon { background: var(--primary); transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-answer.open { display: block; }

/* ---- PARTNER LOGOS ---- */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  text-align: center;
  min-width: 120px;
}

.partner-logo:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(232,23,74,0.08);
}

/* ---- CONTACT SECTION ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(232,23,74,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
}

/* ---- QR CODE ---- */
.qr-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-item {
  text-align: center;
}

.qr-box {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qr-box canvas { width: 100% !important; height: 100% !important; }

.qr-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- SHARE BAR ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 13px;
  color: var(--text-muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: none;
  color: var(--text-muted);
}

.share-btn:hover { transform: translateY(-2px); }
.share-btn.wechat:hover { border-color: #07c160; color: #07c160; background: rgba(7,193,96,0.1); }
.share-btn.weibo:hover { border-color: #e6162d; color: #e6162d; background: rgba(230,22,45,0.1); }
.share-btn.douyin:hover { border-color: #fe2c55; color: #fe2c55; background: rgba(254,44,85,0.1); }
.share-btn.bilibili:hover { border-color: #00a1d6; color: #00a1d6; background: rgba(0,161,214,0.1); }

/* ---- HERO SECTION ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,26,0.95) 40%, rgba(13,13,26,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(232,23,74,0.15);
  border: 1px solid rgba(232,23,74,0.3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- FLOATING ELEMENTS ---- */
.hero-float {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 40px;
}

.float-card {
  background: rgba(22,33,62,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

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

.float-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.float-card-info { padding: 10px 12px; }

.float-card-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.float-card-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---- LIVE BADGE ---- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #080810;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

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

.footer-brand .logo-text {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a { color: var(--primary-light); }

.footer-update {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-icp {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-icp a { color: var(--text-muted); }
.footer-icp a:hover { color: var(--primary-light); }

/* ---- NOTICE BAR ---- */
.notice-bar {
  background: rgba(232,23,74,0.12);
  border-bottom: 1px solid rgba(232,23,74,0.2);
  padding: 8px 0;
  font-size: 13px;
  color: var(--primary-light);
  text-align: center;
}

/* ---- LAZY LOAD ---- */
img[data-src] { opacity: 0; transition: opacity 0.4s; }
img.loaded { opacity: 1; }

/* ---- MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover { background: var(--primary); color: #fff; }

/* ---- SEARCH RESULTS MODAL ---- */
.search-results-modal {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(13,13,26,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 24px 0;
  max-height: 60vh;
  overflow-y: auto;
}

.search-results-modal.show { display: block; }

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
  box-shadow: 0 4px 16px rgba(232,23,74,0.4);
}

.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

/* ---- HIGHLIGHT ---- */
.text-primary { color: var(--primary-light); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ---- TAG CLOUD ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  padding: 5px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.tag:hover {
  background: rgba(232,23,74,0.15);
  border-color: rgba(232,23,74,0.3);
  color: var(--primary-light);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }

  .site-nav { display: none; }
  .site-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px; }
  .site-nav.open .nav-list { flex-direction: column; }
  .menu-toggle { display: flex; }

  .header-search input { width: 160px; }
  .header-search input:focus { width: 180px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 48px 0; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 28px; }

  .tabs { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }

/* ---- SKELETON LOADING ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- HOW TO JOIN ---- */
.steps-list { counter-reset: step; }

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- VIDEO MODAL ---- */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.video-modal-overlay.show { display: flex; }

.video-modal-inner {
  width: 90%;
  max-width: 900px;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.video-modal-close:hover { background: var(--primary); }

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.video-placeholder-icon {
  width: 80px;
  height: 80px;
  background: rgba(232,23,74,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: rgba(232,23,74,0.08);
  border: 1px solid rgba(232,23,74,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
}

/* ---- NOTICE ---- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--accent);
}
