/* =====================================================
   dianyingzaixian.tj.cn — 在线电影观影平台
   视觉风格：新粗野主义 × 复古电影票根
   ===================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FFF9F0;
  background-image: radial-gradient(rgba(36, 52, 71, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  color: #243447;
  line-height: 1.6;
}

::selection {
  background: #FF6B4A;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FFF9F0;
}
::-webkit-scrollbar-thumb {
  background: #243447;
  border-radius: 8px;
  border: 2px solid #FFF9F0;
}

/* ================= 容器 & 区块 ================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(36, 52, 71, 0.05);
}

.section:nth-child(even) {
  background: #FFF3E9;
}

/* ================= 导航 ================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(36, 52, 71, 0.08);
  border-bottom: none;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #FF6B4A 0 14px,
    #FFC247 14px 28px,
    #2A9D8F 28px 42px,
    transparent 42px 56px
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #243447;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FF6B4A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid #243447;
  box-shadow: 3px 3px 0 #243447;
  transform: rotate(-6deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #243447;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF6B4A;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #FF6B4A;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px !important;
  background: #FF6B4A;
  color: #fff !important;
  border: 2px solid #243447;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #243447;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #243447;
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid #243447;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  color: #243447;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: #FF6B4A;
  color: #fff;
  transform: rotate(90deg);
}

/* ================= Hero ================= */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 140px 0 80px;
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 107, 74, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(42, 157, 143, 0.12) 0%, transparent 40%);
}

.hero::before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 24px solid rgba(255, 107, 74, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: -30px;
  top: 20%;
  width: 100px;
  height: 100px;
  background: rgba(255, 194, 71, 0.2);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  flex: 1 1 55%;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  background: #FFC247;
  color: #243447;
  border: 2px solid #243447;
  border-radius: 30px;
  box-shadow: 3px 3px 0 #243447;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.7;
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 45%;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #243447;
  box-shadow: 10px 10px 0 #243447;
  transform: rotate(2deg);
  background: #fff;
}

.hero-image::before {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(90deg, #FF6B4A 0 10px, #FFC247 10px 20px);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= 按钮 ================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid #243447;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-primary {
  background: #FF6B4A;
  color: #fff;
  box-shadow: 4px 4px 0 #243447;
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #243447;
  background: #FF5A35;
}

.btn-outline {
  background: transparent;
  color: #243447;
  box-shadow: 4px 4px 0 #243447;
}

.btn-outline:hover {
  background: #2A9D8F;
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #243447;
}

/* ================= 标签 / 标题 ================= */

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF6B4A;
  margin-bottom: 14px;
  padding: 0 4px;
}

.section-label::before {
  content: '// ';
  color: #2A9D8F;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #243447;
}

.section-desc {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 44px;
}

/* ================= 卡片网格 ================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border: 2px solid #243447;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 6px 6px 0 rgba(36, 52, 71, 0.9);
  transition: all 0.25s ease;
  position: relative;
}

.category-card:hover {
  transform: translate(3px, 3px) rotate(-0.5deg);
  box-shadow: 3px 3px 0 rgba(36, 52, 71, 0.9);
  background: #FFF3E9;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #FFEDE5;
  color: #FF6B4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  border: 2px solid #243447;
  box-shadow: 3px 3px 0 #243447;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #2A9D8F;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  transition: gap 0.2s, color 0.2s;
}

.card-link:hover {
  gap: 12px;
  color: #FF6B4A;
}

/* ================= 特性块 ================= */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #243447;
  box-shadow: 8px 8px 0 #FFC247;
  transform: rotate(-1.5deg);
  background: #fff;
  position: relative;
}

.feature-image::after {
  content: '';
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg, #2A9D8F 0 10px, #fff 10px 20px);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #fff;
  background: #2A9D8F;
  border: 2px solid #243447;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  box-shadow: 2px 2px 0 #243447;
}

/* ================= 数据条 ================= */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 28px 18px;
  border: 2px solid #243447;
  border-radius: 16px;
  box-shadow: 5px 5px 0 #243447;
  transition: all 0.2s ease;
}

.stat-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #243447;
}

.stat-number {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #FF6B4A;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= 内容墙 ================= */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border: 2px solid #243447;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 #243447;
  transition: all 0.25s ease;
}

.content-wall-item:hover {
  transform: translate(3px, 3px) rotate(0.5deg);
  box-shadow: 2px 2px 0 #243447;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #243447;
}

.content-wall-body {
  padding: 20px;
}

/* ================= FAQ ================= */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2px solid #243447;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0 #243447;
  transition: all 0.2s ease;
}

.faq-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #243447;
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #FF6B4A;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 14px;
  border-top: 1px dashed rgba(36, 52, 71, 0.15);
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= CTA 横幅 ================= */

.cta-banner {
  padding: 56px 48px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #FF6B4A 0%, #FF8E6E 60%, #FFC247 120%);
  color: #fff;
  border: 2px solid #243447;
  box-shadow: 8px 8px 0 #243447;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.cta-banner h2 {
  color: #fff !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #243447;
  border: 2px solid #243447;
  box-shadow: 4px 4px 0 #243447;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #FFC247;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #243447;
}

/* ================= 页脚 ================= */

.site-footer {
  background: #2A9D8F;
  padding: 56px 0 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #FFC247 0 14px, #FF6B4A 14px 28px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #FFC247;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: #FFC247;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ================= 工具类 ================= */

.text-accent {
  color: #FF6B4A;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.75;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ================= 响应式 ================= */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 110px 0 56px;
    gap: 40px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    transform: rotate(0deg);
    box-shadow: 6px 6px 0 #243447;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FFF9F0;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 2px solid #243447;
    box-shadow: 0 10px 30px rgba(36, 52, 71, 0.15);
    z-index: 999;
  }

  .main-nav.open a {
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .cta-banner {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 56px 0;
  }

  .header-inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }
}