﻿/* 糖心Vlog - tvlog.cyou 全局样式 */
:root {
  --primary-start: #ffb800;
  --primary-end: #d6008d;
  --accent-red: #ff3b30;
  --bg-dark: #0a0a0a;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;
  --border-color: #2a2a2a;
  --gradient: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  --shadow: 0 4px 24px rgba(214, 0, 141, 0.15);
  --radius: 12px;
  --header-h: 64px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary-start); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-end); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-link:hover { color: var(--text-primary); }
.logo-link img { width: 40px; height: 40px; border-radius: 10px; }

.nav-desktop { display: flex; gap: 28px; list-style: none; }
.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text-primary); }
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile li { border-bottom: 1px solid var(--border-color); }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1rem;
}
.nav-mobile a:hover { color: var(--primary-start); }

.hero {
  padding: 60px 0 40px;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 184, 0, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 0%, rgba(214, 0, 141, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  padding: 12px 28px;
  background: var(--gradient);
  color: #fff;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  padding: 12px 28px;
  border: 2px solid var(--primary-start);
  color: var(--primary-start);
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255, 184, 0, 0.1); color: var(--primary-start); }

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.section { padding: 50px 0; }
.section-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}
.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 36px;
  font-size: 0.95rem;
}
.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 0, 141, 0.3);
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-start);
}
.feature-card p { color: var(--text-secondary); font-size: 0.92rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 9/16;
  max-height: 320px;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.category-card:hover img { transform: scale(1.05); }
.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.category-overlay h3 { font-size: 0.95rem; }
.category-overlay p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-item {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.showcase-item:hover { border-color: rgba(255, 184, 0, 0.3); }
.showcase-item img {
  width: 200px;
  min-height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}
.showcase-body { padding: 20px; flex: 1; }
.showcase-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.showcase-body p { color: var(--text-secondary); font-size: 0.9rem; }

.content-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  margin: 20px 0;
}
.content-article h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  color: var(--primary-start);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.content-article h2:first-child { margin-top: 0; }
.content-article h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
  color: var(--text-primary);
}
.content-article p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: justify;
}
.content-article ul, .content-article ol {
  color: var(--text-secondary);
  margin: 0 0 16px 24px;
}
.content-article li { margin-bottom: 8px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q::after { content: "+"; font-size: 1.2rem; color: var(--primary-start); }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a {
  display: none;
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.faq-item.open .faq-a { display: block; }

.page-header {
  padding: 48px 0 32px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(214, 0, 141, 0.06) 0%, transparent 70%);
}
.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); }

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { color: var(--text-muted); }

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--primary-start);
}
.legal-content p, .legal-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.legal-content ul, .legal-content ol { margin: 0 0 16px 24px; }
.legal-content .update-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.error-page h1 { font-size: 1.5rem; margin: 16px 0 8px; }
.error-page p { color: var(--text-secondary); margin-bottom: 24px; }

.site-footer {
  background: #060606;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img { width: 48px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--primary-start); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.82rem; }

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 24px 0;
}
.internal-links a {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.internal-links a:hover {
  border-color: var(--primary-start);
  color: var(--primary-start);
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }

  .hero { padding: 36px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-image { max-width: 280px; margin: 0 auto; }

  .feature-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item { flex-direction: column; }
  .showcase-item img { width: 100%; min-height: auto; aspect-ratio: 16/9; }

  .content-article { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 36px 0; }
  .section-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { max-height: 220px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}

/* ========== 首页专属样式 ========== */
.page-home { --home-nav-top: 64px; }

.home-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 184, 0, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(214, 0, 141, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0d0d0d 0%, var(--bg-dark) 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: rgba(255, 184, 0, 0.25); top: -80px; left: -60px; }
.orb-2 { width: 280px; height: 280px; background: rgba(214, 0, 141, 0.22); top: 10%; right: -40px; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: rgba(255, 59, 48, 0.15); bottom: 10%; left: 35%; animation-delay: -5s; }

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary-start);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.home-hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: unset;
}

.home-hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.home-stats {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.home-stats li { display: flex; flex-direction: column; gap: 2px; }
.home-stats strong {
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-stats span { font-size: 0.8rem; color: var(--text-muted); }

.phone-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  height: 480px;
}

.phone-frame {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 184, 0, 0.08);
  background: #111;
}

.phone-frame img { width: 100%; height: auto; display: block; }

.phone-back {
  width: 58%;
  right: 0;
  top: 24px;
  transform: rotate(4deg);
  opacity: 0.75;
  z-index: 1;
}

.phone-front {
  width: 68%;
  left: 0;
  top: 0;
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.phone-stack:hover .phone-front { transform: rotate(0deg) translateY(-4px); }

.channel-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.channel-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.channel-nav-inner::-webkit-scrollbar { display: none; }

.channel-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  white-space: nowrap;
}
.channel-pill:hover,
.channel-pill.active {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.section-head { text-align: center; margin-bottom: 40px; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-start);
  margin-bottom: 10px;
}

.home-section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(22, 22, 22, 0.6) 50%, transparent 100%);
}

.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-feature {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.home-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}

.home-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 0, 141, 0.35);
  box-shadow: var(--shadow);
}
.home-feature:hover::before { opacity: 1; }

.home-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, 0.1);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.home-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.home-feature p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 184, 0, 0.25);
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.bento-card:hover img { transform: scale(1.06); }

.bento-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.88) 100%);
}

.bento-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gradient);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  width: fit-content;
}

.bento-info h3 { font-size: 1rem; font-weight: 700; }
.bento-info p { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }

.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.module-card:hover {
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
}

.module-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.module-body { padding: 18px 20px; }
.module-body h3 { font-size: 1rem; margin-bottom: 6px; }
.module-body p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

.module-featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.module-featured img { aspect-ratio: 16/11; flex: 1; min-height: 200px; object-fit: cover; }
.module-featured .module-body { padding: 24px; flex: 1; }
.module-featured .module-body p { font-size: 0.95rem; }

.vlog-scroll-wrap {
  margin: 0 -20px;
  padding: 0 20px;
  overflow: hidden;
}

.vlog-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.vlog-scroll::-webkit-scrollbar { display: none; }

.vlog-item {
  flex: 0 0 160px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, border-color 0.2s;
  display: block;
  color: var(--text-primary);
}

.vlog-item:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 0, 141, 0.4);
  color: var(--text-primary);
}

.vlog-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.vlog-item span {
  display: block;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: var(--bg-card);
}

.download-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  overflow: hidden;
  position: relative;
}

.download-split::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 0, 141, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  max-width: 320px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.download-visual img { width: 100%; display: block; }

.download-content { position: relative; z-index: 1; }
.download-content h2 {
  font-size: 1.6rem;
  margin: 12px 0 16px;
  line-height: 1.35;
}
.download-content > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.download-steps {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.download-steps li span {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.download-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 56px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.article-toc h3 {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.article-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.article-toc a:hover {
  color: var(--primary-start);
  background: rgba(255, 184, 0, 0.06);
  border-left-color: var(--primary-start);
}

.home-article { margin: 0; }

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.community-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 0, 141, 0.3);
}

.community-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.community-body { padding: 20px 22px; }
.community-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.community-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.faq-grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-cta {
  padding: 48px 0;
  margin-top: 20px;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  background: var(--gradient);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(214, 0, 141, 0.25);
}

.home-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #fff;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.home-cta .btn-primary {
  background: #fff;
  color: #d6008d;
  flex-shrink: 0;
}
.home-cta .btn-primary:hover {
  background: #fff;
  color: #b8006f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .home-features { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .bento-lg { grid-column: span 2; grid-row: span 2; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-featured { grid-column: span 2; grid-row: span 1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 768px) {
  .home-hero { padding: 40px 0 32px; min-height: auto; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-hero h1 { font-size: 1.75rem; }
  .home-hero-visual { order: -1; }
  .phone-stack { height: 360px; max-width: 300px; }
  .home-stats { gap: 20px; }
  .home-stats strong { font-size: 1.15rem; }
  .home-features { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento-lg { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .module-grid { grid-template-columns: 1fr; }
  .module-featured { grid-column: span 1; }
  .download-split { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .download-visual { max-width: 260px; }
  .community-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .home-cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .home-hero-actions { flex-direction: column; }
  .home-hero-actions .btn-primary,
  .home-hero-actions .btn-outline { text-align: center; }
}

@media (max-width: 480px) {
  .bento-grid { grid-auto-rows: 140px; gap: 10px; }
  .vlog-item { flex: 0 0 130px; }
}
