/* 抖阴官网 - 午夜影院播放风格 */
:root {
  --bg-deep: #06060f;
  --bg-main: #0c0c18;
  --bg-card: #141422;
  --bg-elevated: #1a1a2e;
  --accent-pink: #ff2d55;
  --accent-cyan: #00f2ea;
  --accent-magenta: #ff0050;
  --accent-gold: #d4af37;
  --accent-blue: #2fb3ff;
  --text-primary: #f5f5f7;
  --text-secondary: #9ea1a9;
  --text-muted: #6b6f7a;
  --border-subtle: rgba(255, 45, 85, 0.15);
  --glow-pink: rgba(255, 45, 85, 0.35);
  --glow-cyan: rgba(0, 242, 234, 0.2);
  --header-h: 64px;
  --strip-h: 56px;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 45, 85, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 242, 234, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-pink); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 6, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
  gap: 8px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
  background: rgba(255, 45, 85, 0.1);
}

.nav-cta {
  display: none;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-magenta));
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--glow-pink);
}

.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--glow-pink);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(12, 12, 24, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 1rem;
}

.nav-mobile a:hover { background: rgba(255, 45, 85, 0.08); color: var(--text-primary); }

/* ===== Download Strip ===== */
.download-strip {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 998;
  background: linear-gradient(90deg, rgba(20, 20, 34, 0.97), rgba(26, 26, 46, 0.97));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 45, 85, 0.2);
  height: var(--strip-h);
  transition: transform var(--transition), box-shadow var(--transition);
}

.download-strip.sticky-active {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.strip-inner::-webkit-scrollbar { display: none; }

.strip-app {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.strip-app:hover {
  background: rgba(255, 45, 85, 0.12);
  border-color: rgba(255, 45, 85, 0.3);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.strip-app.featured {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.2), rgba(255, 0, 80, 0.15));
  border-color: rgba(255, 45, 85, 0.4);
}

.strip-app img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.strip-app-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.strip-app-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-pink);
  color: #fff;
  font-weight: 600;
}

.strip-app-dl {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* ===== Main offset ===== */
.page-offset {
  padding-top: calc(var(--header-h) + var(--strip-h) + 8px);
}

/* ===== Hero - Cinema Player Style ===== */
.hero-cinema {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, var(--bg-deep) 100%),
    radial-gradient(circle at 30% 40%, rgba(255, 45, 85, 0.12), transparent 50%);
}

.hero-film-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #000 0px, #000 12px,
    transparent 12px, transparent 20px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-pink);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-pink);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-magenta));
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--glow-pink);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--glow-pink);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 480px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-pink);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-stack {
  position: relative;
  width: 280px;
  height: 360px;
  margin: 48px auto 0;
  flex-shrink: 0;
  z-index: 2;
}

.hero-stack-card {
  position: absolute;
  width: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 45, 85, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px var(--glow-pink);
  background: var(--bg-card);
  transition: transform var(--transition);
}

.hero-stack-card img {
  width: 100%;
  aspect-ratio: 9/14;
  object-fit: cover;
  display: block;
}

.hero-stack-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  z-index: 1;
}

.hero-stack-back {
  top: 0;
  right: 0;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.85;
}

.hero-stack-front {
  bottom: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 2;
}

.hero-cinema:hover .hero-stack-back { transform: rotate(4deg) translateY(-4px); }
.hero-cinema:hover .hero-stack-front { transform: rotate(-2deg) translateY(-6px); }

.hero-player-mock {
  display: none;
}

/* ===== Latest Videos ===== */
.latest-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 14px;
  background: rgba(0, 242, 234, 0.08);
  border: 1px solid rgba(0, 242, 234, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.latest-update::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.video-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 85, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity var(--transition);
}

.video-card:hover .video-play { opacity: 1; }

.video-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 45, 85, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-pink);
}

.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.65rem;
  border-radius: 4px;
  font-weight: 600;
}

.video-info {
  padding: 12px 14px 14px;
}

.video-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.video-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== Section Styles ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark { background: var(--bg-main); }
.section-deeper { background: var(--bg-deep); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ===== 3:7 Article Layout ===== */
.article-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}

.article-row.reverse .article-media { order: -1; }

.article-media {
  position: relative;
}

.article-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 85, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow-pink);
}

.article-media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  z-index: 2;
}

.article-media-frame img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.article-media-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.article-body h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
  color: var(--accent-cyan);
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-align: justify;
}

.article-body ul, .article-body ol {
  color: var(--text-secondary);
  margin: 16px 0 16px 24px;
  font-size: 0.95rem;
}

.article-body li { margin-bottom: 8px; }

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(255, 45, 85, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 85, 0.1);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Download Cards ===== */
.download-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
}

.download-card.primary {
  border-color: rgba(255, 45, 85, 0.35);
  background: linear-gradient(180deg, rgba(255, 45, 85, 0.08), var(--bg-card));
}

.download-card.primary::after {
  content: "官方主推";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.7rem;
  border-radius: 12px;
  font-weight: 600;
}

.download-card.hot::after {
  content: "热门推荐";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.7rem;
  border-radius: 12px;
  font-weight: 600;
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.download-card img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.download-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-pink);
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }

/* ===== Page Content ===== */
.page-hero {
  padding: 40px 0 60px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 600px;
}

.content-page {
  padding: 48px 0 80px;
}

.content-page .prose {
  max-width: 800px;
}

.content-page .prose h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--accent-cyan);
}

.content-page .prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.content-page .prose p,
.content-page .prose li {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.content-page .prose ul,
.content-page .prose ol {
  margin: 14px 0 14px 24px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent-cyan); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Error Pages ===== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-page h1 {
  font-size: 1.5rem;
  margin: 20px 0 12px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ===== Timeline ===== */
.version-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
  border-left: 2px solid rgba(255, 45, 85, 0.2);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--accent-pink);
  border-radius: 50%;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  .hero-cinema {
    display: grid;
    grid-template-columns: 1fr auto;
    flex-direction: unset;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 85vh;
  }

  .hero-content {
    padding: 80px 0;
    margin: 0;
  }

  .hero-stack {
    width: 340px;
    height: 440px;
    margin: 0;
    margin-right: 20px;
  }

  .hero-stack-card { width: 240px; }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .article-row {
    grid-template-columns: 3fr 7fr;
    gap: 40px;
  }

  .article-row.reverse {
    grid-template-columns: 7fr 3fr;
  }

  .article-row.reverse .article-media { order: 2; }
  .article-row.reverse .article-body { order: 1; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-showcase {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 56px;
    --strip-h: 80px;
  }

  .download-strip {
    height: auto;
    min-height: var(--strip-h);
    padding: 8px 0;
  }

  .strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 10px;
    overflow: visible;
    height: auto;
  }

  .strip-app {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    min-width: 0;
    white-space: normal;
    text-align: center;
    border-radius: 10px;
  }

  .strip-app img {
    width: 30px;
    height: 30px;
  }

  .strip-app-name {
    font-size: 0.68rem;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .strip-app-tag {
    font-size: 0.58rem;
    padding: 1px 5px;
    line-height: 1.3;
  }

  .strip-app-dl { display: none; }

  .hero-cinema { min-height: auto; }
  .hero-content { padding: 40px 20px 60px; }

  .section { padding: 56px 0; }
}
