/* 每日大赛影视媒体站 - 移动端优先响应式样式 */
:root {
  --primary: #B8793A;
  --primary-dark: #8F5724;
  --accent: #F4D08A;
  --bg: #0d0b09;
  --bg-soft: #16120e;
  --bg-card: #211a14;
  --surface: #fffaf0;
  --text: #f8f2e7;
  --muted: #cdbfae;
  --dark-text: #1b1510;
  --line: rgba(248,242,231,.14);
  --shadow: 0 22px 60px rgba(0,0,0,.24);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(184,121,58,.20), transparent 38%), var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { min-height: 70vh; }
.site-header, header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(13,11,9,.88);
  backdrop-filter: blur(18px);
}
.mobile-header {
  height: 62px;
  display: grid;
  grid-template-columns: 48px 1fr 78px;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.desktop-header { display: none; }
.logo img { width: 142px; height: auto; object-fit: contain; }
.mobile-logo { justify-self: center; }
.menu-button {
  width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: rgba(255,255,255,.06); display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.menu-button span { width: 21px; height: 2px; background: var(--text); border-radius: 999px; transition: .25s ease; }
.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { opacity: 0; }
.menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.top-action-button, .main-button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--primary); color: #fffaf0;
  min-height: 42px; padding: 0 18px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 12px 28px rgba(184,121,58,.28); border: 1px solid rgba(255,255,255,.14);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.top-action-button:hover, .main-button:hover { filter: brightness(.85); transform: translateY(-1px); }
.mobile-panel {
  position: fixed; top: 62px; left: 0; bottom: 0; width: min(82vw, 340px);
  background: #120f0b; transform: translateX(-102%); transition: transform .28s ease;
  padding: 18px; z-index: 60; border-right: 1px solid var(--line); box-shadow: var(--shadow);
}
.menu-open .mobile-panel { transform: translateX(0); }
.panel-mask { position: fixed; inset: 62px 0 0 0; background: rgba(0,0,0,.48); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 55; }
.menu-open .panel-mask { opacity: 1; pointer-events: auto; }
.mobile-nav, nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a { padding: 13px 14px; border-radius: 14px; color: var(--muted); font-weight: 700; }
.mobile-nav a.active, .mobile-nav a:hover { background: rgba(184,121,58,.16); color: var(--accent); }
.search-icon {
  width: 38px; height: 38px; border-radius: 999px; position: relative; border: 1px solid var(--line);
}
.search-icon::before { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid var(--muted); border-radius: 50%; left: 10px; top: 9px; }
.search-icon::after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--muted); transform: rotate(45deg); left: 22px; top: 24px; border-radius: 99px; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.movie-hero, .banner-section {
  position: relative; overflow: hidden; min-height: 620px; display: grid; align-items: center;
  background: linear-gradient(90deg, rgba(13,11,9,.96) 0%, rgba(13,11,9,.78) 52%, rgba(13,11,9,.22) 100%), url('/banner.webp') center/cover no-repeat;
}
.movie-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-content { position: relative; z-index: 2; width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 72px 0 96px; }
.eyebrow, .page-badge, .tag {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); background: rgba(184,121,58,.15);
  border: 1px solid rgba(184,121,58,.28); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800;
}
h1 { font-size: clamp(34px, 9vw, 72px); line-height: 1.05; letter-spacing: -.05em; margin: 18px 0; }
h2 { font-size: clamp(24px, 5vw, 40px); line-height: 1.16; letter-spacing: -.03em; margin: 0 0 14px; }
h3 { margin: 0 0 10px; font-size: 20px; }
p { color: var(--muted); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 3.8vw, 21px); max-width: 780px; color: #eadfce; }
.hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.section { padding: 62px 0; }
.section-head { margin-bottom: 28px; max-width: 780px; }
.category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.movie-card, .service-card, .info-card, .faq-item {
  background: linear-gradient(180deg, rgba(255,250,240,.08), rgba(255,250,240,.04));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 38px rgba(0,0,0,.12);
}
.movie-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.movie-card a, .text-link { color: var(--accent); font-weight: 800; }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card .tag { margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.media-panel { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); box-shadow: var(--shadow); }
.copy-panel { padding: 6px 0; }
.data-chart-panel {
  display: grid; gap: 14px; background: linear-gradient(135deg, rgba(184,121,58,.18), rgba(255,250,240,.05));
  border: 1px solid rgba(184,121,58,.28); border-radius: 24px; padding: 22px;
}
.metric-row { display: grid; grid-template-columns: 96px 1fr 62px; gap: 12px; align-items: center; font-weight: 800; }
.metric-row span:first-child { color: var(--text); }
.metric-row span:last-child { color: var(--accent); text-align: right; }
.bar { height: 10px; background: rgba(255,255,255,.10); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; }
.device-showcase {
  background: linear-gradient(180deg, rgba(255,250,240,.06), rgba(184,121,58,.10));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.security-section { background: rgba(255,250,240,.04); }
.parental-guidance-section { background: linear-gradient(135deg, rgba(184,121,58,.14), rgba(0,0,0,.12)); }
.notice-box { border-left: 4px solid var(--primary); background: rgba(184,121,58,.12); padding: 18px; border-radius: 14px; }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { color: var(--text); }
.site-cta {
  margin: 48px auto 0; padding: 32px; border-radius: 26px;
  background: radial-gradient(circle at 20% 10%, rgba(244,208,138,.28), transparent 34%), linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fffaf0; display: grid; gap: 18px; align-items: center;
}
.site-cta p { color: rgba(255,250,240,.88); }
.site-cta .main-button { background: #fffaf0; color: var(--dark-text); box-shadow: none; width: fit-content; }
.page-hero { padding: 82px 0 36px; background: radial-gradient(circle at top right, rgba(184,121,58,.22), transparent 35%); }
.content-block { display: grid; gap: 18px; max-width: 900px; }
.card-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: rgba(255,250,240,.04); }
th, td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); }
th { color: var(--text); background: rgba(184,121,58,.15); }
.steps { counter-reset: item; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: item; padding: 18px 18px 18px 58px; position: relative; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,250,240,.05); color: var(--muted); }
.steps li::before { content: counter(item); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }
.site-footer, footer { margin-top: 64px; background: #090806; border-top: 1px solid var(--line); }
.footer-grid { width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 44px 0; display: grid; gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; margin-bottom: 12px; }
.footer-brand img { width: 118px; }
.site-footer h2 { font-size: 16px; color: var(--text); margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); margin: 8px 0; }
.site-footer a:hover { color: var(--accent); }
.legal-strip { width: min(100% - 32px, var(--max)); margin: 0 auto; border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: 13px; }
@media (min-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-cta { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .mobile-header, .mobile-panel, .panel-mask { display: none; }
  .desktop-header { width: min(100% - 42px, 1320px); height: 78px; margin: 0 auto; display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 22px; }
  .desktop-logo img { width: 150px; }
  .desktop-nav { flex-direction: row; justify-content: center; gap: 4px; }
  .desktop-nav a { padding: 26px 9px 22px; color: var(--muted); font-weight: 800; font-size: 14px; position: relative; white-space: nowrap; }
  .desktop-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 16px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: center; transition: .2s ease; }
  .desktop-nav a:hover, .desktop-nav a.active { color: var(--accent); }
  .desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
  .header-tools { display: flex; align-items: center; gap: 12px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; }
  .split.reverse .media-panel { order: 2; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .movie-hero { min-height: 690px; }
}
@media (min-width: 1180px) {
  .desktop-nav a { padding-left: 13px; padding-right: 13px; font-size: 15px; }
}
