:root {
  --red: #e63946;
  --dark-red: #c1121f;
  --bg: #fdfaf6;
  --text: #2b2b2b;
  --text-light: #666;
  --tape: rgba(230, 210, 160, 0.6);
  --board: #d4b895;
  --border: #e0dcd3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.brand img { height: 32px; }
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; }
.nav-links a:hover { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.search-box {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.9rem;
  outline: none;
  width: 140px;
}
.btn-download {
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s;
}
.btn-download:hover { background: var(--dark-red); }

/* Hero */
.hero {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}
.clapperboard {
  flex: 1.2;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
}
.clapper-top {
  height: 40px;
  background: repeating-linear-gradient(
    45deg,
    #fff,
    #fff 20px,
    #222 20px,
    #222 40px
  );
  border-bottom: 2px solid #222;
}
.clapper-body {
  padding: 40px;
  color: #fff;
  text-align: center;
  background: #2a2a2a;
  border: 4px solid #111;
  border-radius: 0 0 8px 8px;
}
.clapper-body h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}
.clapper-body p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 30px;
  font-style: italic;
}
.btn-start {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-start:hover { transform: scale(1.05); }
.hero-monitors {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.monitor {
  background: #111;
  border-radius: 6px;
  padding: 6px;
  border: 2px solid #333;
  position: relative;
}
.monitor::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  background: #111;
}
.monitor img {
  width: 100%;
  border-radius: 2px;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.signal-line {
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.3);
  animation: scan 2s linear infinite;
}
@keyframes scan {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Section General */
section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--text);
  display: inline-block;
  position: relative;
  padding: 0 15px;
}
.section-title h2::before, .section-title h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--red);
}
.section-title h2::before { left: -20px; }
.section-title h2::after { right: -20px; }

/* Notice Board */
.notice-board {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}
.notice-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 20px;
  align-items: center;
}
.notice-row:last-child { border-bottom: none; }
.notice-row.today {
  background: #fff5f5;
  position: relative;
}
.notice-row.today::after {
  content: '今日开机';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  color: var(--red);
  border: 3px solid var(--red);
  padding: 5px 10px;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 4px;
  opacity: 0.8;
}
.notice-date {
  width: 100px;
  flex-shrink: 0;
  font-weight: bold;
  color: var(--text-light);
}
.notice-content {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.mini-drama {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f9f9f9;
  padding: 8px;
  border-radius: 6px;
  min-width: 200px;
}
.mini-drama img {
  width: 50px;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
}
.mini-drama-info h3 { font-size: 0.9rem; margin-bottom: 4px; }
.mini-drama-info span {
  font-size: 0.75rem;
  background: var(--red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Casting Board */
.casting-board {
  background: var(--board);
  padding: 40px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}
.cast-card {
  background: #fff;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s;
  position: relative;
}
.cast-card:hover { transform: rotate(0deg) scale(1.02); z-index: 2; }
.cast-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.cast-card h3 {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 8px;
}
.cast-imgs {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.cast-imgs img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
}

/* Wrap Wall */
.wrap-wall {
  position: relative;
}
.wrap-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 30px;
  letter-spacing: 4px;
}
.wrap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wrap-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.wrap-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.wrap-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.wrap-info { padding: 10px; text-align: center; }
.wrap-info h3 { font-size: 1rem; margin-bottom: 4px; }
.wrap-info p { font-size: 0.8rem; color: var(--text-light); }

/* Hot Search */
.hot-search {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.hot-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.hot-item:last-child { border-bottom: none; }
.hot-rank {
  width: 30px;
  font-weight: bold;
  color: #999;
  font-size: 1.1rem;
}
.hot-item:nth-child(1) .hot-rank, .hot-item:nth-child(2) .hot-rank, .hot-item:nth-child(3) .hot-rank { color: var(--red); }
.hot-title { flex: 1; font-size: 1rem; }
.hot-title .tag {
  font-size: 0.7rem;
  background: var(--red);
  color: #fff;
  padding: 1px 4px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}
.hot-cover { width: 40px; height: 53px; object-fit: cover; border-radius: 4px; margin-left: 15px; }
.hot-heat { width: 80px; text-align: right; color: #999; font-size: 0.85rem; }

/* Support Wall */
.support-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; color: var(--red); font-weight: bold; }
.stat-label { font-size: 0.9rem; color: var(--text-light); }
.light-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.light-card {
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.2);
  display: flex;
  gap: 12px;
  animation: flicker 3s infinite alternate;
}
@keyframes flicker {
  0% { box-shadow: 0 0 10px rgba(230, 57, 70, 0.1); }
  100% { box-shadow: 0 0 25px rgba(230, 57, 70, 0.4); }
}
.light-card:nth-child(even) { animation-delay: 1.5s; }
.light-avatar { width: 40px; height: 40px; border-radius: 50%; }
.light-content { flex: 1; }
.light-user { display: flex; justify-content: space-between; margin-bottom: 4px; }
.light-name { font-weight: bold; font-size: 0.9rem; }
.light-stars { color: var(--red); font-size: 0.8rem; }
.light-text { font-size: 0.85rem; color: var(--text-light); }

/* Download */
.download-section {
  background: #f4f4f4;
  padding: 60px 0;
}
.faq-list { max-width: 800px; margin: 0 auto 40px; }
.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 15px 20px;
  border-left: 4px solid var(--red);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; color: var(--text-light); }
.pass-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}
.pass-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #222;
  border-radius: 50%;
}
.pass-card img { height: 50px; margin: 0 auto 20px; }
.pass-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.pass-card p { color: var(--text-light); margin-bottom: 30px; }
.dl-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.dl-btn {
  background: var(--text);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.dl-btn:hover { background: var(--red); }

/* Footer */
footer {
  background: #222;
  color: #888;
  padding: 40px 0 20px;
  font-size: 0.85rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand h3 { color: #fff; margin-bottom: 10px; }
.footer-links h4 { color: #fff; margin-bottom: 15px; font-weight: normal; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.75rem;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; }
  .wrap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .search-box { display: none; }
  .hero-monitors { grid-template-columns: repeat(2, 1fr); }
  .notice-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .notice-date { width: auto; }
  .casting-board { padding: 20px; grid-template-columns: repeat(2, 1fr); }
  .wrap-grid { grid-template-columns: repeat(2, 1fr); }
  .support-stats { flex-direction: column; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .clapper-body h1 { font-size: 1.8rem; }
  .casting-board { grid-template-columns: 1fr; }
  .wrap-grid { grid-template-columns: 1fr; }
  .light-wall { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}