/* ============================================
   茶杯狐影视 - 全局样式
   深色影院风格 / 响应式 / 动画
   ============================================ */

:root {
  --bg-dark: #0b0e14;
  --bg-panel: #131722;
  --bg-card: #1a1f2e;
  --bg-card-hover: #222941;
  --accent: #ff6b3d;
  --accent-light: #ff9a62;
  --accent-glow: rgba(255, 107, 61, 0.35);
  --gold: #f5c06b;
  --text-main: #f2f4f8;
  --text-muted: #9aa3b2;
  --text-dim: #6b7488;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --gradient: linear-gradient(135deg, #ff6b3d 0%, #ff2e63 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 107, 61, 0.16), rgba(255, 46, 99, 0.10));
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-glow);
}

.brand em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-list a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-list a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.nav-list a.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.nav-cta {
  padding: 10px 22px !important;
  border: 1px solid var(--accent);
  color: var(--accent-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-light);
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 107, 61, 0.25);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
  font-weight: 800;
}

.section-head h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 16px;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 110px 0 130px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 61, 0.18), transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(255, 46, 99, 0.16), transparent 45%),
    linear-gradient(180deg, #0d1119 0%, #0b0e14 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 1px;
  animation: fadeUp 0.9s ease both;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .hero-sub {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  animation: fadeUp 1s 0.1s ease both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: fadeUp 1s 0.2s ease both;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.hero-badges span i {
  font-style: normal;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  animation: fadeUp 1s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--accent-glow);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  animation: fadeIn 1.2s 0.2s ease both;
}

.hero-poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transform: rotate(1.5deg);
}

.hero-poster img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 14, 20, 0.75));
}

.hero-card-float {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: rgba(19, 23, 34, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: floatY 4s ease-in-out infinite;
}

.hero-card-float strong {
  display: block;
  font-size: 18px;
  color: var(--gold);
}

.hero-card-float span {
  color: var(--text-muted);
  font-size: 13px;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 2px;
  animation: bounceDown 2s ease-in-out infinite;
}

/* ---------- 特性区 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 61, 0.45);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 107, 61, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- 服务/内容区 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.service-card .thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

.service-card:hover .thumb img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(11, 14, 20, 0.72);
  color: var(--accent-light);
  backdrop-filter: blur(6px);
}

.service-body {
  padding: 22px 22px 26px;
}

.service-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-body p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.service-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- 详细内容区 ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-article {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.content-article h3 {
  font-size: 21px;
  margin: 24px 0 12px;
}

.content-article h3:first-child {
  margin-top: 0;
}

.content-article p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.content-article ul {
  margin: 0 0 18px 4px;
}

.content-article ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.content-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.side-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.side-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--text-muted);
  font-size: 14px;
  align-items: center;
}

.side-list li i {
  font-style: normal;
  color: var(--accent-light);
  font-weight: 700;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.rank-item .rank-thumb {
  width: 46px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.rank-item strong {
  font-size: 14.5px;
  line-height: 1.4;
  display: block;
}

.rank-item span {
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ---------- 新闻卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.news-card .news-thumb {
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-body {
  padding: 22px;
}

.news-body h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-body p {
  color: var(--text-muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- 影视榜单（products） ---------- */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.catalog-tabs button {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.catalog-tabs button:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.catalog-tabs button.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.film-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.film-poster {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.film-card:hover .film-poster img {
  transform: scale(1.08);
}

.film-score {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(11, 14, 20, 0.82);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.film-info {
  padding: 16px;
}

.film-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.film-info p {
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- 关于/联系页 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 16px;
}

.stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info li:last-child {
  border-bottom: 0;
}

.contact-info .ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 107, 61, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info strong {
  display: block;
  margin-bottom: 2px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(255, 107, 61, 0.45);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.faq-q .faq-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 46, 99, 0.22), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 61, 0.2), transparent 45%),
    var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #080b10;
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col li a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 34px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb span.sep {
  margin: 0 8px;
}

.page-hero {
  padding: 40px 0 60px;
}

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 900;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 680px;
  font-size: 16px;
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .film-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 14, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    display: none;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list a {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
  }
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .content-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .side-panel {
    position: static;
  }
  .film-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 70px 0 90px;
  }
  .hero-card-float {
    left: 12px;
  }
}

@media (max-width: 480px) {
  .film-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
