/*
Design Reminder — 新国潮赛博影棚
本文件必须强化：曜石黑基底、朱砂橙与电蓝点亮、场记板切角、片场导视感、动漫优先叙事、非居中模板化布局。
任何样式选择都应回答：它是在强化“每日大赛”的片场感、更新感与品牌识别，还是在削弱它？
*/

:root {
  --bg: #07111f;
  --bg-soft: #101a2d;
  --bg-card: rgba(11, 21, 39, 0.82);
  --bg-card-strong: rgba(13, 24, 44, 0.92);
  --line: rgba(151, 175, 214, 0.16);
  --line-strong: rgba(255, 132, 58, 0.32);
  --text: #f5f7fb;
  --text-soft: #b7c4db;
  --text-mute: #7e8ba3;
  --brand: #ff7c3a;
  --brand-deep: #ca5620;
  --brand-pale: #ffd8b8;
  --accent: #4ec5ff;
  --accent-soft: rgba(78, 197, 255, 0.2);
  --gold: #f1c36d;
  --success: #7fdca0;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 124, 58, 0.14), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(78, 197, 255, 0.13), transparent 22%),
    linear-gradient(180deg, #08111d 0%, #091320 38%, #0b1524 100%);
  line-height: 1.75;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 124, 58, 0.18), transparent 68%);
  filter: blur(10px);
}

.site-shell::after {
  left: -120px;
  bottom: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(78, 197, 255, 0.16), transparent 68%);
  filter: blur(12px);
}

.texture {
  position: relative;
}

.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.35;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 14, 26, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 10px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.brand-copy h1,
.brand-copy .mini-title {
  margin: 0;
}

.brand-copy .mini-title {
  font-size: 0.82rem;
  color: var(--brand-pale);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-copy h1 {
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-chip,
.top-badge,
.stat-chip,
.tag,
.faq-tag,
.data-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 18px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  transition: all .25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: #fff;
  border-color: rgba(255,124,58,0.34);
  background: rgba(255,124,58,0.08);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-band {
  padding-bottom: 18px;
}

.ubir2 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.ubir2 input {
  width: 100%;
  padding: 18px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,13,24,0.76);
  color: var(--text);
  border-radius: 18px;
  outline: none;
}

.ubir2 button,
.primary-btn,
.secondary-btn,
.share-btn,
.filter-btn,
.more-btn {
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ubir2 button,
.primary-btn {
  padding: 0 22px;
  min-height: 58px;
  border-radius: 18px;
  color: #101522;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd69e, #ff8b4d);
  box-shadow: 0 12px 34px rgba(255, 124, 58, 0.24);
}

.ubir2 button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.share-btn:hover,
.filter-btn:hover,
.more-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn,
.filter-btn,
.more-btn {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero {
  padding: 38px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.22fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.panel,
.stats-ribbon,
.review-card,
.faq-item,
.footer-card,
.side-note,
.video-card,
.article-card,
.detail-card,
.contact-card,
.guide-step {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(16, 26, 45, 0.9), rgba(9, 17, 31, 0.88));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.section-kicker,
.hero-note,
.panel-head .eyebrow,
.breadcrumb,
.meta-strip,
.update-label,
.json-label {
  color: var(--brand-pale);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-copy h2 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.06;
  margin: 16px 0 18px;
  max-width: 11ch;
}

.hero-copy p {
  max-width: 60ch;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.hero-actions,
.filter-bar,
.share-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags,
.tag-row,
.data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-visual {
  min-height: 580px;
  overflow: hidden;
  position: relative;
}

.hero-visual img,
.feature-image,
.expert-image,
.detail-hero img,
.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(7, 14, 26, 0.72);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}

.hero-stat strong,
.num {
  display: block;
  font-size: 1.25rem;
  color: #fff;
}

.hero-stat span,
.meta,
.small-muted,
.footer-card p,
.note-text {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2,
.section-head h3,
.panel-head h3,
.footer-card h4,
.article-card h3,
.detail-card h3 {
  margin: 8px 0 0;
}

.section-head p {
  max-width: 64ch;
  color: var(--text-soft);
  margin: 0;
}

.feature-grid,
.card-grid,
.logo-wall,
.guide-grid,
.review-grid,
.faq-grid,
.footer-grid,
.article-grid,
.contact-grid,
.stats-grid,
.expert-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: 1.25fr 0.95fr 0.95fr;
}

.card-grid,
.review-grid,
.faq-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expert-grid,
.contact-grid,
.guide-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logo-wall {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.panel,
.article-card,
.review-card,
.faq-item,
.detail-card,
.contact-card,
.guide-step {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.panel::before,
.article-card::before,
.review-card::before,
.faq-item::before,
.detail-card::before,
.contact-card::before,
.guide-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 110px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.panel ul,
.article-card ul,
.detail-card ul,
.contact-card ul,
.footer-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.panel li,
.article-card li,
.detail-card li,
.contact-card li,
.footer-card li {
  margin-bottom: 8px;
}

.feature-image-card {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.feature-image-card .content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(6, 12, 24, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}

.feature-image-card h3,
.video-card h3,
.review-card h4,
.faq-item h4,
.guide-step h4,
.contact-card h4 {
  margin: 0 0 10px;
}

.video-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  padding: 0;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.video-thumb {
  position: relative;
  height: 100%;
  overflow: hidden;
}

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

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0.88);
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}

.video-play::before {
  content: "";
  margin-left: 4px;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-card:hover .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 15, 0.94));
}

.video-meta p,
.article-card p,
.review-card p,
.faq-item p,
.guide-step p,
.contact-card p,
.detail-card p {
  color: var(--text-soft);
  margin: 0;
}

.video-stats,
.inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--brand-pale);
}

.logo-tile {
  min-height: 94px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 16px;
}

.review-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--brand-pale);
  margin-bottom: 12px;
}

.review-name,
.faq-item h4,
.article-card h3,
.contact-card h4,
.detail-card h3,
.panel h3 {
  color: #fff;
}

.faq-item {
  min-height: 240px;
}

.notice-band {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
}

.footer {
  padding: 18px 0 42px;
}

.footer-top {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(14,24,40,0.9), rgba(7,14,26,0.94));
  box-shadow: var(--shadow);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  overflow: hidden;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qr-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.canvas-qr {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-soft);
}

.breadcrumb {
  margin-bottom: 12px;
}

.page-hero {
  padding: 36px 0 20px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
}

.page-hero-copy {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.92), rgba(8, 15, 27, 0.92));
  box-shadow: var(--shadow);
}

.page-hero-copy h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 10px 0 16px;
}

.page-hero-copy p {
  color: var(--text-soft);
}

.detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: rgba(255,255,255,0.03);
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

th {
  color: var(--brand-pale);
  font-weight: 700;
  background: rgba(255,255,255,0.03);
}

.code-block,
.json-block {
  padding: 18px;
  border-radius: 20px;
  background: #040913;
  border: 1px solid rgba(255,255,255,0.08);
  color: #cce7ff;
  font-size: 0.95rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.share-row {
  margin-top: 16px;
}

.share-btn {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

.share-btn:hover {
  background: rgba(255,124,58,0.12);
  border-color: rgba(255,124,58,0.26);
}

.porfixn5 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-only {
  display: none;
}

@media (max-width: 1120px) {
  .hero-grid,
  .page-hero-grid,
  .notice-band,
  .feature-grid,
  .stats-grid,
  .video-cards,
  .logo-wall,
  .expert-grid,
  .contact-grid,
  .guide-grid,
  .footer-grid,
  .review-grid,
  .faq-grid,
  .article-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .page-hero-grid,
  .notice-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .header-top,
  .main-nav,
  .footer-bottom,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-wrap {
    align-items: flex-start;
  }

  .feature-grid,
  .stats-grid,
  .video-cards,
  .logo-wall,
  .expert-grid,
  .contact-grid,
  .guide-grid,
  .footer-grid,
  .review-grid,
  .faq-grid,
  .article-grid,
  .card-grid,
  .hero-overlay,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .ubir2 {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .page-hero-copy,
  .panel,
  .review-card,
  .faq-item,
  .detail-card,
  .contact-card,
  .guide-step,
  .footer-top {
    padding: 22px 18px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-copy h2 {
    font-size: 2.3rem;
  }

  .page-hero-copy h2 {
    font-size: 2rem;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
