/* ============================================================
   VibePrompt · 中文精选版
   克制、清晰、适合中文长文本阅读的深色界面
   ============================================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --bg-primary:    #07111f;
  --bg-secondary:  #0b1727;
  --bg-card:       rgba(13,31,51,0.72);
  --bg-card-hover: rgba(18,40,65,0.88);

  --purple:        #4f7cff;
  --purple-light:  #8da9ff;
  --amber:         #f6a865;
  --amber-light:   #ffd5a6;
  --cyan:          #39c6d8;
  --green:         #3dc9a5;
  --red:           #f06e77;
  --pink:          #d888d5;
  --orange:        #f58a67;

  --text-primary:   #f3f7fb;
  --text-secondary: #aebdcb;
  --text-muted:     #718599;

  --border:       rgba(145,180,210,0.12);
  --border-hover: rgba(145,180,210,0.25);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 20px;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 100px;

  --t: all 0.22s ease;
}

/* ─── RESET ─── */
*, *::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-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ─── LAYOUT ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section    { padding: 64px 0; }

/* ─── UTILITY ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  white-space: nowrap;
}
.badge-chatgpt   { background: rgba(16,163,127,.15); color: #10a37f;  border: 1px solid rgba(16,163,127,.3); }
.badge-gptimage2 { background: rgba(25,195,125,.14); color: #28c98b; border: 1px solid rgba(40,201,139,.28); }
.badge-gemini    { background: rgba(66,133,244,.15);  color: #4285f4;  border: 1px solid rgba(66,133,244,.3); }
.badge-midjourney{ background: rgba(124,58,237,.15);  color: var(--purple-light); border: 1px solid rgba(124,58,237,.3); }
.badge-lovable   { background: rgba(236,72,153,.15);  color: var(--pink);  border: 1px solid rgba(236,72,153,.3); }
.badge-bolt      { background: rgba(245,158,11,.15);  color: var(--amber); border: 1px solid rgba(245,158,11,.3); }
.badge-dalle     { background: rgba(249,115,22,.15);  color: var(--orange);border: 1px solid rgba(249,115,22,.3); }
.badge-cursor    { background: rgba(6,182,212,.15);   color: var(--cyan);  border: 1px solid rgba(6,182,212,.3); }
.badge-cat       { background: rgba(255,255,255,.06); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-hot       { background: rgba(239,68,68,.15);   color: var(--red);   border: 1px solid rgba(239,68,68,.3); }
.badge-trending  { background: rgba(245,158,11,.12);  color: var(--amber); border: 1px solid rgba(245,158,11,.25); }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: rgba(6,6,15,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.navbar.scrolled { background: rgba(6,6,15,.97); box-shadow: 0 4px 30px rgba(0,0,0,.3); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--purple), var(--amber));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.logo-text {
  background: linear-gradient(135deg, #fff, var(--purple-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-badge {
  font-size: 10px; font-weight: 700; color: var(--amber);
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3);
  padding: 2px 6px; border-radius: 4px; -webkit-text-fill-color: var(--amber);
}
.nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}
.nav-links a {
  padding: 7px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: var(--t); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,.06); }
.nav-links .earn-link { color: var(--amber); }
.nav-links .earn-link:hover { background: rgba(245,158,11,.08); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: 16px; transition: var(--t);
}
.nav-icon-btn:hover { color: var(--text-primary); background: rgba(255,255,255,.1); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; background: linear-gradient(135deg, var(--purple), #5b21b6);
  border-radius: var(--r-sm); font-size: 13px; font-weight: 700; color: #fff;
  transition: var(--t); box-shadow: 0 0 20px rgba(124,58,237,.3);
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 25px rgba(124,58,237,.5); }
.hamburger {
  display: none; width: 36px; height: 36px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid var(--border);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text-primary); transition: var(--t); border-radius: 2px; }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 998;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 12px; display: none;
  transform: translateY(-110%); opacity: 0; transition: var(--t);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a {
  padding: 11px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: var(--t); display: block;
}
.mobile-menu nav a:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }

/* ─── ALERT TICKER ─── */
.alert-bar {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: linear-gradient(90deg, rgba(124,58,237,.12), rgba(245,158,11,.12));
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 34px; display: flex; align-items: center; overflow: hidden;
}
.alert-inner { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 13px; color: var(--text-muted); animation: ticker 35s linear infinite; }
.alert-inner strong { color: var(--amber); }
.alert-inner .pill {
  background: rgba(124,58,237,.15); color: var(--purple-light);
  border: 1px solid rgba(124,58,237,.25); padding: 1px 8px; border-radius: 4px; font-weight: 600; font-size: 11px;
}
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ─── HERO ─── */
.hero {
  padding-top: 140px; padding-bottom: 60px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.25);
  border-radius: var(--r-full); font-size: 13px; font-weight: 600; color: var(--purple-light);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(34px, 6vw, 72px); font-weight: 900; line-height: 1.1;
  letter-spacing: -2px; margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 20px); color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-subtitle strong { color: var(--amber); }

/* Search */
.hero-search { max-width: 600px; margin: 0 auto 40px; position: relative; }
.hero-search-input {
  width: 100%; height: 58px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 0 58px 0 54px;
  font-size: 15px; color: var(--text-primary); outline: none; transition: var(--t);
}
.hero-search-input::placeholder { color: var(--text-muted); }
.hero-search-input:focus { border-color: var(--purple); background: rgba(124,58,237,.05); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-muted); pointer-events: none; }
.search-submit {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  height: 44px; padding: 0 20px;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  border-radius: var(--r-full); font-size: 14px; font-weight: 700; color: #fff; transition: var(--t);
}
.search-submit:hover { opacity: .9; box-shadow: 0 4px 20px rgba(124,58,237,.5); }

/* Stats */
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-stat  { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.hero-stat strong { color: var(--text-secondary); font-weight: 700; }
.stat-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }

/* ─── TRENDING ─── */
.trending-section { padding: 32px 0 40px; }
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sec-title  { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sec-link   { font-size: 13px; color: var(--purple-light); font-weight: 600; transition: var(--t); }
.sec-link:hover { opacity: .8; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 13px; color: var(--text-secondary); cursor: pointer; transition: var(--t);
}
.chip:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-card-hover); }
.chip-num { font-size: 11px; font-weight: 700; color: var(--text-muted); }

/* ─── CATEGORY TABS ─── */
.cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-bottom: 28px; border-top: 1px solid var(--border); padding-top: 24px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; cursor: pointer; transition: var(--t); flex-shrink: 0;
}
.cat-tab:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-card-hover); }
.cat-tab.active { border-color: var(--purple); background: rgba(124,58,237,.1); color: var(--purple-light); }
.cat-tab.active-earn { border-color: var(--amber); background: rgba(245,158,11,.1); color: var(--amber); }
.tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 18px; padding: 0 5px;
  border-radius: var(--r-full); background: rgba(255,255,255,.08);
  font-size: 10px; font-weight: 700;
}

/* ─── PROMPT GRID ─── */
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

/* ─── PROMPT CARD ─── */
.prompt-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: var(--t); position: relative; overflow: hidden;
}
.prompt-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
  opacity: 0; transition: var(--t);
}
.prompt-card:hover {
  border-color: rgba(124,58,237,.3); background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,.3), 0 0 20px rgba(124,58,237,.08);
}
.prompt-card:hover::before { opacity: 1; }

.prompt-card.earn-card { border-color: rgba(245,158,11,.15); }
.prompt-card.earn-card::before { background: linear-gradient(90deg, transparent, rgba(245,158,11,.5), transparent); }
.prompt-card.earn-card:hover { border-color: rgba(245,158,11,.35); box-shadow: 0 10px 40px rgba(0,0,0,.3), 0 0 20px rgba(245,158,11,.08); }

.prompt-card.featured-card { border-color: rgba(124,58,237,.2); background: linear-gradient(135deg, rgba(124,58,237,.06), rgba(245,158,11,.04)); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.card-save {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted); background: rgba(255,255,255,.04); transition: var(--t);
}
.card-save:hover { color: #ef4444; background: rgba(239,68,68,.1); }

.card-title {
  font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-preview {
  flex: 1; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--r-sm); padding: 12px;
  font-size: 12.5px; color: var(--text-secondary); line-height: 1.65;
  font-family: 'Courier New', Courier, monospace;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; font-size: 11px; color: var(--text-muted); }
.card-meta span { display: flex; align-items: center; gap: 3px; }
.card-actions { display: flex; gap: 7px; }

.btn-copy {
  display: flex; align-items: center; gap: 5px; padding: 7px 14px;
  border-radius: var(--r-sm); font-size: 12px; font-weight: 700;
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.28); color: var(--purple-light);
  transition: var(--t); white-space: nowrap;
}
.btn-copy:hover { background: rgba(124,58,237,.22); border-color: rgba(124,58,237,.5); transform: translateY(-1px); }
.btn-copy.copied { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.28); color: var(--green); }

.btn-wa {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(63,187,80,.1); border: 1px solid rgba(63,187,80,.25); color: #3fbb50;
  font-size: 14px; transition: var(--t); flex-shrink: 0;
}
.btn-wa:hover { background: rgba(63,187,80,.2); }

/* ─── CARD IMAGE PREVIEW ─── */
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  flex-shrink: 0;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.card-img-wrap:hover .card-img {
  transform: scale(1.06);
}
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card-img-wrap:hover .card-img-overlay {
  opacity: 1;
}
.overlay-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(124,58,237,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(124,58,237,0.4);
  padding: 3px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.3px;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(4, 4, 12, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}
.lightbox.open { opacity: 1; visibility: visible; }

/* Inner two-column panel */
.lb-panel {
  display: flex;
  width: 100%;
  max-width: 1000px;
  max-height: 88vh;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,58,237,0.15);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox.open .lb-panel { transform: scale(1) translateY(0); }

/* Left: image side */
.lb-img-side {
  flex: 1.2;
  min-width: 0;
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.lb-img-side:hover .lb-img { transform: scale(1.03); }

/* Gradient overlay at bottom of image */
.lb-img-grad {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  pointer-events: none;
}
.lb-tool-badge {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 11px; font-weight: 700;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; padding: 5px 12px; border-radius: var(--r-full);
}

/* Right: info side */
.lb-info-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.lb-close-btn {
  position: absolute; top: 16px; right: 18px; z-index: 10;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 16px; cursor: pointer;
  transition: var(--t);
}
.lb-close-btn:hover { background: rgba(239,68,68,0.15); color: var(--red); border-color: rgba(239,68,68,0.3); }

.lb-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lb-title {
  font-size: 17px; font-weight: 800; color: var(--text-primary);
  line-height: 1.4; margin-bottom: 16px;
}
.lb-divider {
  height: 1px; background: var(--border); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.lb-divider-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-muted);
  white-space: nowrap; padding: 0 2px;
}
.lb-divider-line { flex: 1; height: 1px; background: var(--border); }

/* Scrollable prompt text */
.lb-prompt-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.4) transparent;
  margin-bottom: 18px;
  padding-right: 4px;
}
.lb-prompt-scroll::-webkit-scrollbar { width: 4px; }
.lb-prompt-scroll::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 4px; }
.lb-prompt-text {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.8; white-space: pre-wrap; word-break: break-word;
  font-family: 'Courier New', Courier, monospace;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-sm); padding: 14px;
}

/* Stats row */
.lb-stats {
  display: flex; gap: 16px; margin-bottom: 16px;
}
.lb-stat {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.lb-stat strong { color: var(--text-secondary); font-weight: 700; }

/* Action buttons */
.lb-actions { display: flex; gap: 10px; }
.lb-copy-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff; transition: var(--t);
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
  border: none; cursor: pointer;
}
.lb-copy-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 25px rgba(124,58,237,.5); }
.lb-copy-btn.copied {
  background: linear-gradient(135deg, var(--green), #059669);
  box-shadow: 0 0 20px rgba(16,185,129,.3);
}
.lb-wa-btn {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(63,187,80,.12); border: 1px solid rgba(63,187,80,.28);
  color: #3fbb50; font-size: 18px; text-decoration: none;
  transition: var(--t); flex-shrink: 0;
}
.lb-wa-btn:hover { background: rgba(63,187,80,.22); transform: translateY(-1px); }

/* Mobile: stack vertically */
@media (max-width: 700px) {
  .lb-panel {
    flex-direction: column;
    max-height: 92vh;
    border-radius: var(--r-lg);
  }
  .lb-img-side {
    flex: none;
    height: 220px;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .lb-info-side {
    flex: 1;
    padding: 18px 18px 16px;
    border-left: none;
    overflow-y: auto;
  }
  .lb-prompt-scroll { max-height: 160px; }
}


.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); grid-column: 1/-1; }
.empty-state .ico { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }

/* ─── BRIDGE BANNER ─── */
.bridge-banner {
  margin: 20px 0 60px; padding: 40px;
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(239,68,68,.06));
  border: 1px solid rgba(245,158,11,.2); border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.bridge-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,.18), transparent);
  pointer-events: none;
}
.bridge-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.bridge-title { font-size: clamp(20px, 3vw, 28px); font-weight: 900; line-height: 1.3; margin-bottom: 10px; }
.bridge-sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.bridge-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.bridge-stat-val { font-size: 22px; font-weight: 900; color: var(--amber); }
.bridge-stat-lbl { font-size: 12px; color: var(--text-muted); }
.bridge-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-download {
  display: flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: var(--r-lg); font-size: 16px; font-weight: 800; color: #000;
  transition: var(--t); box-shadow: 0 0 30px rgba(245,158,11,.4); white-space: nowrap;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(245,158,11,.6); }
.bridge-note { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; transition: var(--t);
}
.faq-item[open] { border-color: rgba(124,58,237,.25); background: rgba(124,58,237,.04); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--text-primary); transition: var(--t); gap: 16px;
}
.faq-item summary:hover { color: var(--purple-light); }
.faq-item summary::after { content: '▾'; font-size: 16px; color: var(--text-muted); flex-shrink: 0; transition: var(--t); }
.faq-item[open] summary::after { content: '▴'; color: var(--purple-light); }
.faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 28px; left: 50%; z-index: 9999;
  transform: translateX(-50%) translateY(80px);
  background: rgba(16,185,129,.95); backdrop-filter: blur(8px);
  color: #fff; padding: 11px 24px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 24px rgba(16,185,129,.4); white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── SEARCH OVERLAY ─── */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,6,15,.8); backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 100px;
  opacity: 0; visibility: hidden; transition: var(--t);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 100%; max-width: 620px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.5);
  transform: translateY(-16px); transition: transform .3s ease; position: relative;
}
.search-overlay.active .search-box { transform: translateY(0); }
.search-field {
  width: 100%; height: 62px; background: transparent; border: none;
  border-bottom: 1px solid var(--border); padding: 0 52px 0 56px;
  font-size: 16px; color: var(--text-primary); outline: none;
}
.search-field::placeholder { color: var(--text-muted); }
.search-box-icon { position: absolute; top: 21px; left: 20px; font-size: 20px; color: var(--text-muted); pointer-events: none; }
.search-close { position: absolute; top: 16px; right: 14px; font-size: 22px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 4px; }
.search-close:hover { color: var(--text-primary); }
.search-hint { padding: 20px; text-align: center; font-size: 14px; color: var(--text-muted); }

/* ─── FOOTER ─── */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.footer-made { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.footer-col h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: var(--t); }
.footer-col ul li a:hover { color: var(--text-secondary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); transition: var(--t); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.55s ease forwards; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }

@keyframes glow { 0%,100% { box-shadow: 0 0 20px rgba(245,158,11,.35); } 50% { box-shadow: 0 0 45px rgba(245,158,11,.65); } }
.glow { animation: glow 3s ease-in-out infinite; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .bridge-banner { flex-direction: column; text-align: center; }
  .bridge-stats { justify-content: center; }
  .bridge-cta { width: 100%; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero { padding-top: 116px; padding-bottom: 40px; }
  .hero-title { letter-spacing: -1px; }
  .prompts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bridge-banner { padding: 24px; }
  .section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -0.5px; }
  .card-footer { flex-direction: column; align-items: flex-start; }
  .card-actions { width: 100%; }
  .btn-copy { flex: 1; justify-content: center; }
}

/* ============================================================
   中文本地化视觉覆盖
   ============================================================ */

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(79,124,255,.10), transparent 28%),
    radial-gradient(circle at 82% 32%, rgba(57,198,216,.06), transparent 22%),
    var(--bg-primary);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 70%);
}

::selection { background: rgba(79,124,255,.36); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #07111f;
  background: #fff;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.gradient-text {
  background: linear-gradient(112deg, #91aaff 0%, #70d5df 48%, #f6bd82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  background: rgba(7,17,31,.78);
  border-bottom-color: rgba(145,180,210,.10);
}
.navbar.scrolled { background: rgba(7,17,31,.94); box-shadow: 0 10px 40px rgba(0,0,0,.24); }
.nav-logo { letter-spacing: -.3px; }
.logo-icon {
  border-radius: 11px;
  color: #06101d;
  background: linear-gradient(145deg, #9bb2ff, #5ed5de);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 26px rgba(79,124,255,.24);
  font-weight: 900;
  font-size: 16px;
}
.logo-text {
  background: linear-gradient(120deg, #fff, #b6c7d6);
  -webkit-background-clip: text;
  background-clip: text;
}
.logo-badge {
  color: #83dce4;
  background: rgba(57,198,216,.08);
  border-color: rgba(57,198,216,.22);
  -webkit-text-fill-color: #83dce4;
}
.nav-links a { font-size: 13px; }
.nav-links a:hover, .nav-links a.active { background: rgba(145,180,210,.08); }
.nav-cta,
.search-submit,
.lb-copy-btn {
  background: linear-gradient(135deg, #527fff, #4667d8);
  box-shadow: 0 10px 28px rgba(79,124,255,.20);
}
.nav-icon-btn { font-size: 22px; line-height: 1; }

.alert-bar {
  background: rgba(9,25,42,.88);
  border-bottom-color: rgba(145,180,210,.10);
}
.alert-inner { color: #8194a6; }
.alert-inner strong { color: #87d8df; }
.alert-inner .pill {
  color: #aebfff;
  background: rgba(79,124,255,.09);
  border-color: rgba(79,124,255,.18);
}

.hero {
  min-height: 680px;
  padding-top: 158px;
  padding-bottom: 74px;
  display: flex;
  align-items: center;
}
.hero::before {
  width: 1000px;
  height: 720px;
  top: -32%;
  background: radial-gradient(circle, rgba(79,124,255,.13) 0%, rgba(57,198,216,.03) 40%, transparent 68%);
}
.hero::after { background: linear-gradient(90deg, transparent, rgba(109,169,224,.35), transparent); }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  color: #a9bcff;
  background: rgba(79,124,255,.08);
  border-color: rgba(115,151,255,.20);
  letter-spacing: .2px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ed5df;
  box-shadow: 0 0 0 5px rgba(57,198,216,.10);
}
.hero-title {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(38px, 5.8vw, 72px);
  letter-spacing: -3.2px;
  line-height: 1.16;
}
.hero-subtitle { max-width: 690px; font-size: clamp(15px, 1.8vw, 18px); }
.hero-subtitle strong { color: #c0cef9; }
.hero-search { max-width: 680px; }
.hero-search-input {
  background: rgba(9,24,42,.78);
  border-color: rgba(148,180,211,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03);
}
.hero-search-input:focus {
  border-color: rgba(108,147,255,.70);
  background: rgba(10,28,48,.92);
  box-shadow: 0 0 0 4px rgba(79,124,255,.11), 0 20px 54px rgba(0,0,0,.20);
}
.search-icon { font-size: 24px; line-height: 1; }
.hero-stats { gap: 14px; }
.hero-stat { flex-direction: column; gap: 0; min-width: 94px; }
.hero-stat strong { color: #eaf1f7; font-size: 18px; }
.hero-stat span { font-size: 11px; color: var(--text-muted); }
.stat-dot { background: rgba(145,180,210,.25); }

.tool-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: #667b90;
  font-size: 12px;
}
.tool-strip span { margin-right: 4px; }
.tool-strip b { color: #8fa2b5; font-weight: 600; }
.tool-strip i { width: 3px; height: 3px; border-radius: 50%; background: #486076; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(121,161,197,.10);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 560px; height: 560px; left: -350px; top: 120px; }
.orbit-two { width: 460px; height: 460px; right: -320px; top: 40px; }

.trending-section { padding-top: 42px; }
.section-kicker {
  margin-bottom: 5px;
  color: #6ed5df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sec-title { font-size: 22px; letter-spacing: -.4px; }
.sec-note { color: var(--text-muted); font-size: 12px; }
.chip {
  min-height: 38px;
  background: rgba(13,31,51,.62);
  border-color: rgba(145,180,210,.11);
}
.chip:hover {
  border-color: rgba(93,134,255,.42);
  background: rgba(79,124,255,.10);
}
.chip-num { color: #6b83ce; font-variant-numeric: tabular-nums; }

.cat-tabs { border-top-color: rgba(145,180,210,.10); }
.cat-tab { background: rgba(13,31,51,.56); }
.cat-tab.active {
  border-color: rgba(100,139,255,.58);
  background: rgba(79,124,255,.13);
  color: #b8c7ff;
}
.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: #9fb4c5;
  font-size: 10px;
  border: 1px solid rgba(145,180,210,.18);
  border-radius: 6px;
}
.cat-tab.active .tab-icon { color: #dce4ff; border-color: rgba(126,157,255,.42); }
.prompt-header { margin-top: 32px; }

.prompts-grid { grid-template-columns: repeat(auto-fill, minmax(328px, 1fr)); gap: 18px; }
.load-more-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 34px auto 0;
  text-align: center;
}
.load-more-zone[hidden],
.load-more-sentinel[hidden] { display: none; }
.load-progress {
  color: var(--text-secondary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 176px;
  min-height: 48px;
  padding: 0 24px;
  color: #eaf0ff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(106,146,255,.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79,124,255,.20), rgba(57,198,216,.10));
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.load-more-button:hover {
  transform: translateY(-2px);
  border-color: rgba(123,161,255,.62);
  background: linear-gradient(135deg, rgba(79,124,255,.30), rgba(57,198,216,.16));
}
.load-more-button:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid rgba(141,169,255,.42);
  outline-offset: 3px;
}
.load-more-button:disabled { opacity: .55; cursor: default; transform: none; }
.load-more-button svg { width: 17px; height: 17px; }
.load-more-hint { color: var(--text-muted); font-size: 11px; }
.load-more-sentinel { width: 100%; height: 1px; }

.back-to-top {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 1800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  color: #eef3ff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(133,162,224,.32);
  border-radius: 999px;
  background: linear-gradient(145deg, #162d4a, #0b1c31);
  box-shadow: 0 14px 38px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.03) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, border-color .22s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { border-color: rgba(137,169,255,.64); transform: translateY(-2px); }
.back-to-top svg { width: 17px; height: 17px; }

.prompt-card {
  background: linear-gradient(145deg, rgba(13,31,51,.84), rgba(8,22,38,.90));
  border-color: rgba(145,180,210,.12);
  border-radius: 18px;
  padding: 18px;
  gap: 13px;
  box-shadow: 0 16px 50px rgba(0,0,0,.10);
}
.prompt-card::before { background: linear-gradient(90deg, transparent, rgba(91,136,255,.62), rgba(75,202,211,.42), transparent); }
.prompt-card:hover {
  border-color: rgba(98,141,255,.30);
  background: linear-gradient(145deg, rgba(17,38,62,.94), rgba(10,27,47,.94));
  box-shadow: 0 20px 54px rgba(0,0,0,.22), 0 0 24px rgba(79,124,255,.05);
}
.prompt-card.featured-card { border-color: rgba(86,132,255,.24); background: linear-gradient(145deg, rgba(28,49,84,.76), rgba(9,27,46,.94)); }
.card-title { font-size: 16px; letter-spacing: -.2px; }
.card-preview {
  font-family: var(--font);
  background: rgba(2,12,23,.34);
  border-color: rgba(145,180,210,.08);
  line-height: 1.75;
  -webkit-line-clamp: 4;
}
.card-meta { gap: 10px; }
.btn-copy {
  color: #b8c8ff;
  background: rgba(79,124,255,.11);
  border-color: rgba(98,141,255,.25);
}
.btn-copy:hover { background: rgba(79,124,255,.20); border-color: rgba(98,141,255,.45); }
.btn-wa {
  color: #86dce4;
  background: rgba(57,198,216,.08);
  border-color: rgba(57,198,216,.20);
  font-size: 16px;
}
.btn-wa:hover { background: rgba(57,198,216,.16); }
.card-save.saved { color: #f29399; background: rgba(240,110,119,.10); }

.badge { text-transform: none; letter-spacing: 0; }
.badge-deepseek { color: #81a4ff; background: rgba(52,103,240,.12); border: 1px solid rgba(70,117,245,.25); }
.badge-doubao { color: #fa9ca6; background: rgba(242,82,104,.10); border: 1px solid rgba(242,82,104,.22); }
.badge-kimi { color: #88d9ff; background: rgba(80,181,235,.10); border: 1px solid rgba(80,181,235,.22); }
.badge-qwen { color: #a996ff; background: rgba(121,92,246,.11); border: 1px solid rgba(121,92,246,.24); }
.badge-jimeng { color: #f6b884; background: rgba(245,138,103,.10); border: 1px solid rgba(245,138,103,.22); }
.badge-claude { color: #efa77f; background: rgba(219,120,75,.10); border: 1px solid rgba(219,120,75,.22); }
.badge-hot { color: #f5959b; background: rgba(240,110,119,.10); border-color: rgba(240,110,119,.20); }
.badge-trending { color: #f1bd7d; background: rgba(246,168,101,.09); border-color: rgba(246,168,101,.20); }

.card-img-wrap {
  height: 178px;
  cursor: pointer;
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(145deg, #172c4d, #0b1d33);
  isolation: isolate;
}
.card-cover-image,
.lb-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: -3;
}
.card-cover-image { object-fit: contain; }
.card-cover-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: -4;
  opacity: .78;
  filter: blur(22px) brightness(.42) saturate(.78);
  transform: scale(1.06);
  pointer-events: none;
}
.lb-cover-image[hidden] { display: none; }
.lb-cover-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: -4;
  opacity: .82;
  filter: blur(26px) brightness(.36) saturate(.72);
  transform: scale(1.06);
  pointer-events: none;
}
.lb-cover-backdrop[hidden] { display: none; }
.card-cover-image { transition: transform .48s ease; }
.card-img-wrap:hover .card-cover-image { transform: scale(1.035); }
.card-cover.has-image::before,
.lb-img-side.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3,10,18,.04) 18%, rgba(3,10,18,.20) 50%, rgba(3,10,18,.84) 100%);
}
.lb-img-side.has-image::before {
  background: linear-gradient(180deg, rgba(3,10,18,.02), rgba(3,10,18,.08));
}
.card-cover.has-image::after,
.lb-img-side.has-image::after { display: none; }
.card-cover.has-image .cover-grid,
.lb-img-side.has-image .lb-cover-grid { opacity: .08; }
.lb-img-side.has-image .lb-cover-grid,
.lb-img-side.has-image .lb-cover-kicker,
.lb-img-side.has-image .lb-cover-icon,
.lb-img-side.has-image .lb-cover-title,
.lb-img-side.has-image .lb-tool-badge { display: none; }
.card-cover::after,
.lb-img-side::after {
  content: "";
  position: absolute;
  inset: auto -15% -65% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  filter: blur(2px);
  z-index: -1;
}
.cover-grid,
.lb-cover-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 76%);
}
.cover-kicker,
.lb-cover-kicker {
  position: absolute;
  top: 16px;
  left: 17px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.cover-icon,
.lb-cover-icon {
  position: absolute;
  right: 18px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: rgba(255,255,255,.92);
  font-family: "STSong", "SimSun", serif;
  font-size: 16px;
}
.cover-title,
.lb-cover-title {
  position: absolute;
  left: 17px;
  bottom: 20px;
  max-width: 72%;
  color: #fff;
  font-size: 21px;
  letter-spacing: -.5px;
  line-height: 1.25;
  text-shadow: 0 4px 18px rgba(0,0,0,.20);
}
.cover-action {
  position: absolute;
  right: 16px;
  bottom: 18px;
  color: rgba(255,255,255,.70);
  font-size: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: .22s ease;
}
.card-img-wrap:hover .cover-action { opacity: 1; transform: translateY(0); }
.cover-action b { margin-left: 3px; font-size: 13px; }

.cover-ai-image { background: linear-gradient(145deg, #4b315c 0%, #203f64 54%, #11253d 100%); }
.cover-office { background: linear-gradient(145deg, #193e55 0%, #145263 45%, #122d45 100%); }
.cover-writing { background: linear-gradient(145deg, #493b2f 0%, #75533d 42%, #263549 100%); }
.cover-coding { background: linear-gradient(145deg, #1e325b 0%, #314d85 48%, #10283f 100%); }
.cover-social { background: linear-gradient(145deg, #5b3047 0%, #814c59 42%, #293852 100%); }
.cover-learning { background: linear-gradient(145deg, #28443f 0%, #397161 45%, #19374a 100%); }
.cover-ads { background: linear-gradient(145deg, #4f302f 0%, #7b4b3f 45%, #1a2e42 100%); }
.cover-poster { background: linear-gradient(145deg, #4b2433 0%, #733c3c 45%, #182b46 100%); }
.cover-portrait { background: linear-gradient(145deg, #153d4e 0%, #285b63 45%, #111f39 100%); }
.cover-illustration { background: linear-gradient(145deg, #3c315d 0%, #365f7c 45%, #182640 100%); }

.lightbox { background: rgba(3,10,18,.88); padding: 12px; }
.lb-panel {
  position: relative;
  width: min(1680px, calc(100vw - 24px));
  max-width: none;
  height: min(960px, calc(100dvh - 24px));
  max-height: none;
  background: #0b192a;
  border-color: rgba(145,180,210,.14);
}
.lb-img-side {
  flex: 1 1 auto;
  min-height: 0;
  isolation: isolate;
  align-items: initial;
  justify-content: initial;
}
.lb-info-side { flex: 0 0 clamp(340px, 27vw, 430px); }
.lb-image-expand {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(3,10,18,.58);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.lb-image-expand:hover {
  background: rgba(18,38,60,.82);
  border-color: rgba(255,255,255,.42);
  transform: translateY(-1px);
}
.lb-image-expand svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-cover-image { cursor: zoom-in; }
.lightbox.image-only .lb-panel {
  width: calc(100vw - 16px);
  height: calc(100dvh - 16px);
  border-radius: 16px;
}
.lightbox.image-only .lb-img-side {
  flex: 1 1 100%;
  width: 100%;
  height: 100%;
}
.lightbox.image-only .lb-info-side { display: none; }
.lightbox.image-only .lb-cover-image { cursor: zoom-out; }
.lightbox.image-only .lb-close-btn {
  color: #fff;
  background: rgba(3,10,18,.58);
  border-color: rgba(255,255,255,.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lb-cover-kicker { top: 32px; left: 34px; font-size: 11px; }
.lb-cover-icon { top: 30px; right: 32px; width: 52px; height: 52px; font-size: 23px; }
.lb-cover-title { left: 34px; bottom: 70px; max-width: 70%; font-size: clamp(28px, 4vw, 46px); }
.lb-tool-badge { bottom: 30px; left: 34px; }
.lb-prompt-text {
  font-family: var(--font);
  font-size: 13px;
  background: rgba(2,12,23,.38);
  border-color: rgba(145,180,210,.08);
  line-height: 1.85;
}
.lb-wa-btn { color: #8adbe3; background: rgba(57,198,216,.08); border-color: rgba(57,198,216,.22); }
.lb-wa-btn:hover { background: rgba(57,198,216,.17); }

.workflow-section { padding: 18px 0 72px; }
.workflow-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1.25fr auto;
  align-items: center;
  gap: 40px;
  padding: 38px 40px;
  border: 1px solid rgba(118,159,196,.15);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 10%, rgba(79,124,255,.14), transparent 28%),
    linear-gradient(135deg, rgba(18,41,68,.92), rgba(9,27,46,.92));
  box-shadow: 0 26px 80px rgba(0,0,0,.16);
}
.workflow-card::after {
  content: "V";
  position: absolute;
  right: -6px;
  bottom: -90px;
  color: rgba(255,255,255,.025);
  font-size: 280px;
  font-weight: 900;
  line-height: 1;
}
.workflow-copy, .workflow-steps, .workflow-actions { position: relative; z-index: 1; }
.workflow-copy h2 { margin-bottom: 10px; font-size: clamp(22px, 3vw, 31px); line-height: 1.3; letter-spacing: -.8px; }
.workflow-copy > p:last-child { color: var(--text-secondary); font-size: 13px; line-height: 1.75; }
.workflow-steps { display: flex; flex-direction: column; gap: 12px; }
.workflow-steps li { display: flex; align-items: center; gap: 13px; }
.workflow-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #9fb7ff;
  background: rgba(79,124,255,.10);
  border: 1px solid rgba(79,124,255,.18);
  font-size: 10px;
  font-weight: 800;
}
.workflow-steps strong { display: block; margin-bottom: 1px; font-size: 13px; }
.workflow-steps p { color: var(--text-muted); font-size: 11px; }
.workflow-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-download {
  justify-content: center;
  min-width: 124px;
  padding: 12px 22px;
  color: #07111f;
  background: linear-gradient(135deg, #8fa9ff, #66d1da);
  border-radius: 12px;
  box-shadow: none;
  font-size: 13px;
}
.btn-download:hover { box-shadow: 0 10px 30px rgba(79,124,255,.22); }
.secondary-btn {
  min-height: 42px;
  padding: 9px 18px;
  color: var(--text-secondary);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(145,180,210,.14);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  transition: var(--t);
}
.secondary-btn:hover { color: #fff; background: rgba(255,255,255,.07); }

.faq-section { border-top: 1px solid rgba(145,180,210,.08); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 { margin: 4px 0 12px; font-size: 32px; letter-spacing: -1px; }
.faq-heading > p:last-child { max-width: 320px; color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.faq-list { max-width: none; }
.faq-item { background: rgba(13,31,51,.58); }
.faq-item[open] { border-color: rgba(79,124,255,.25); background: rgba(79,124,255,.05); }
.faq-item summary:hover { color: #b8c8ff; }

.search-overlay { background: rgba(3,10,18,.76); }
.search-box { background: #0d1d31; border-color: rgba(145,180,210,.16); }
.search-box-icon { font-size: 26px; top: 16px; }

.toast {
  color: #07111f;
  background: rgba(141,222,212,.96);
  box-shadow: 0 12px 36px rgba(20,90,85,.24);
}

footer { background: rgba(6,17,30,.86); }
.footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
.footer-col ul li span { color: var(--text-muted); font-size: 14px; }
.footer-legal span { color: var(--text-muted); font-size: 12px; }

.empty-state .secondary-btn { margin-top: 20px; }

@media (max-width: 1024px) {
  .workflow-card { grid-template-columns: 1fr 1fr; }
  .workflow-actions { grid-column: 1 / -1; flex-direction: row; }
  .workflow-actions > * { flex: 1; }
  .faq-layout { gap: 46px; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 54px; }
  .hero-title { letter-spacing: -2px; }
  .hero-subtitle br { display: none; }
  .tool-strip { max-width: 440px; margin-left: auto; margin-right: auto; }
  .orbit-one, .orbit-two { display: none; }
  .prompt-header { margin-top: 22px; }
  .workflow-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .workflow-actions { grid-column: auto; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading { position: static; }
  .lightbox { padding: 6px; }
  .lb-panel {
    flex-direction: column;
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: none;
    border-radius: 16px;
  }
  .lb-img-side {
    flex: 0 0 clamp(270px, 42dvh, 390px);
    width: 100%;
    height: auto;
    min-height: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .lb-info-side {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 18px 18px 16px;
    overflow-y: auto;
    border-left: 0;
  }
  .lb-prompt-scroll { max-height: none; }
  .lb-image-expand { top: 12px; left: 12px; min-height: 36px; padding: 7px 11px; }
  .lightbox.image-only .lb-panel {
    width: calc(100vw - 8px);
    height: calc(100dvh - 8px);
    border-radius: 12px;
  }
  .lightbox.image-only .lb-img-side {
    flex: 1 1 100%;
    height: 100%;
    border-bottom: 0;
  }
  .lb-cover-kicker { top: 22px; left: 22px; }
  .lb-cover-icon { top: 20px; right: 68px; width: 40px; height: 40px; font-size: 18px; }
  .lb-cover-title { left: 22px; bottom: 58px; font-size: 28px; }
  .lb-tool-badge { left: 22px; bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; letter-spacing: -1.8px; }
  .hero-search-input { height: 56px; padding-left: 48px; padding-right: 82px; font-size: 13px; }
  .search-icon { left: 17px; }
  .search-submit { right: 6px; padding: 0 16px; }
  .hero-stats { gap: 7px; }
  .hero-stat { min-width: 72px; }
  .hero-stat strong { font-size: 16px; }
  .hero-stat span { font-size: 10px; }
  .tool-strip { display: none; }
  .sec-header { align-items: flex-end; }
  .prompts-grid { gap: 14px; }
  .load-more-zone { margin-top: 26px; }
  .load-more-button { width: min(100%, 280px); }
  .back-to-top {
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 50px;
    min-height: 50px;
    padding: 0;
  }
  .back-to-top span { display: none; }
  .back-to-top svg { width: 19px; height: 19px; }
  .prompt-card { padding: 15px; }
  .card-img-wrap { height: 164px; }
  .card-footer { align-items: stretch; }
  .card-meta { justify-content: space-between; width: 100%; }
  .workflow-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ============================================================
   CINEMATIC HERO · Lumora-inspired, adapted for VibePrompt
   ============================================================ */

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body.menu-open { overflow: hidden; }

.cinematic-navbar {
  height: 86px;
  padding: 0;
  color: #fff;
  background: transparent;
  border-bottom: none;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}

.cinematic-navbar.scrolled {
  height: 74px;
  background: rgba(7, 17, 31, .78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
}

.cinematic-navbar .nav-inner { max-width: 1320px; }
.cinematic-navbar .nav-logo { gap: 10px; color: #fff; }
.cinematic-navbar .logo-text {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-family: "STSong", "Songti SC", "SimSun", Georgia, serif;
  font-size: 29px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .1px;
  text-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.cinematic-navbar .logo-badge {
  color: rgba(255,255,255,.76);
  -webkit-text-fill-color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.cinematic-navbar .nav-actions { margin-left: auto; }
.cinematic-navbar .nav-links {
  flex: none;
  justify-content: flex-end;
  gap: 2px;
  padding: 5px 5px 5px 12px;
  border-radius: 999px;
  background: rgba(8, 16, 25, .16);
}
.cinematic-navbar .nav-links::before { border-radius: 999px; }
.cinematic-navbar .nav-links a {
  position: relative;
  z-index: 1;
  padding: 9px 12px;
  color: rgba(255,255,255,.88);
  background: transparent;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 450;
}
.cinematic-navbar .nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.cinematic-navbar .nav-icon-btn {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: 0 2px;
  color: rgba(255,255,255,.88);
  background: transparent;
  border: none;
}
.cinematic-navbar .nav-icon-btn svg { width: 16px; height: 16px; stroke-width: 1.8; }
.cinematic-navbar .nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.cinematic-navbar .nav-cta {
  padding: 9px 18px;
  color: #17212b;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 5px 22px rgba(0,0,0,.12);
  font-weight: 700;
}
.cinematic-navbar .nav-cta:hover { color: #17212b; background: rgba(255,255,255,.91); }

.cinematic-navbar .hamburger {
  position: relative;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(8,16,25,.16);
  border: none;
  border-radius: 50%;
}
.cinematic-navbar .hamburger::before { border-radius: 50%; }
.cinematic-navbar .hamburger svg {
  position: absolute;
  inset: 0;
  width: 19px;
  height: 19px;
  margin: auto;
  stroke-width: 1.7;
  transition: opacity .3s ease, transform .3s cubic-bezier(.4,0,.2,1);
}
.cinematic-navbar .hamburger .menu-icon { opacity: 1; transform: rotate(0) scale(1); }
.cinematic-navbar .hamburger .close-icon { opacity: 0; transform: rotate(-90deg) scale(.75); }
.cinematic-navbar .hamburger.is-open .menu-icon { opacity: 0; transform: rotate(90deg) scale(.75); }
.cinematic-navbar .hamburger.is-open .close-icon { opacity: 1; transform: rotate(0) scale(1); }

.cinematic-hero {
  position: relative;
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #000;
  text-align: center;
}
.cinematic-hero::before,
.cinematic-hero::after { display: none; }

.hero-video-layer,
.hero-video,
.hero-foreground,
.hero-cinematic-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-layer { z-index: 0; background: #000; }
.hero-video {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1000ms ease-in-out;
}
.hero-video.active { opacity: 1; }

.hero-foreground {
  z-index: 1;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.03);
  animation: train-bob 3s ease-in-out infinite;
}

@keyframes train-bob {
  0%, 100% { transform: translateY(0) scale(1.03); }
  50% { transform: translateY(-6px) scale(1.03); }
}

.hero-cinematic-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,9,13,.30) 0%, rgba(4,9,13,.04) 27%, rgba(4,9,13,.12) 70%, rgba(4,9,13,.50) 100%),
    radial-gradient(circle at center, rgba(0,0,0,0) 18%, rgba(0,0,0,.20) 100%);
}

.cinematic-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
  padding-top: 112px;
  padding-bottom: 26px;
}

.hero-center {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 24px 0 14px;
}

.cinematic-hero .hero-eyebrow {
  position: relative;
  margin-bottom: 18px;
  padding: 8px 17px;
  color: rgba(255,255,255,.88);
  background: rgba(7,14,20,.08);
  border: none;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color 700ms ease, background 700ms ease;
}
.cinematic-hero .hero-eyebrow::before { border-radius: 999px; }

.cinematic-hero .hero-title {
  max-width: 790px;
  margin: 0 auto 16px;
  color: #fff;
  font-family: "STSong", "Songti SC", "SimSun", Georgia, serif;
  font-size: clamp(42px, 4.9vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2.4px;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0,0,0,.22);
  transition: color 700ms ease;
}
.cinematic-hero .hero-title span { font-style: italic; }

.cinematic-hero .hero-subtitle {
  max-width: 570px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.82);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.72;
  text-shadow: 0 2px 16px rgba(0,0,0,.22);
  transition: color 700ms ease;
}

.cinematic-hero .hero-search {
  display: flex;
  align-items: center;
  width: min(100%, 430px);
  height: 56px;
  margin: 0 auto 18px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: rgba(8,16,24,.10);
  transition: color 700ms ease, background 700ms ease;
}
.cinematic-hero .hero-search::before { border-radius: 999px; }
.cinematic-hero .search-icon {
  position: static;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  color: rgba(255,255,255,.75);
  transform: none;
  stroke-width: 1.8;
  transition: color 700ms ease;
}
.cinematic-hero .hero-search-input {
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}
.cinematic-hero .hero-search-input:focus { background: transparent; border: none; box-shadow: none; }
.cinematic-hero .hero-search-input::placeholder { color: rgba(255,255,255,.62); }
.cinematic-hero .search-submit {
  position: static;
  flex: 0 0 auto;
  height: 46px;
  padding: 0 20px;
  color: #18212a;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 5px 22px rgba(0,0,0,.12);
  transform: none;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}
.cinematic-hero .search-submit:hover { opacity: .9; box-shadow: 0 7px 26px rgba(0,0,0,.16); }

.video-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.scene-button {
  padding: 7px 11px 6px;
  color: #fff;
  border-bottom: 1px solid transparent;
  opacity: .5;
  font-size: 11px;
  font-weight: 500;
  transition: color 700ms ease, opacity .2s ease, border-color 700ms ease;
}
.scene-button:hover { opacity: .82; }
.scene-button.active { border-bottom-color: currentColor; opacity: 1; }
.scene-button.unavailable { text-decoration: line-through; text-decoration-thickness: 1px; opacity: .32; }

.cinematic-stats {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 22px;
  width: 100%;
  color: rgba(255,255,255,.72);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.cinematic-stats .hero-stat {
  flex-direction: row;
  min-width: 0;
  gap: 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.cinematic-stats .hero-stat strong,
.cinematic-stats .hero-stat span { color: rgba(255,255,255,.76); font-size: 12px; }
.cinematic-stats .hero-stat strong { font-weight: 650; }
.stat-divider { color: rgba(255,255,255,.28); font-size: 12px; }

.cinematic-hero.dark-scene .hero-eyebrow,
.cinematic-hero.dark-scene .hero-title,
.cinematic-hero.dark-scene .hero-subtitle,
.cinematic-hero.dark-scene .scene-button { color: #182c41; text-shadow: none; }
.cinematic-hero.dark-scene .hero-search { background: rgba(255,255,255,.08); }
.cinematic-hero.dark-scene .hero-search-input { color: #182c41; }
.cinematic-hero.dark-scene .hero-search-input::placeholder { color: rgba(24,44,65,.62); }
.cinematic-hero.dark-scene .search-icon { color: rgba(24,44,65,.72); }
.cinematic-hero.dark-scene .video-switcher {
  padding: 2px 7px;
  background: rgba(255,255,255,.38);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 5px 24px rgba(24,44,65,.08);
}

.trending-section { padding-top: 50px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 24px 30px;
  color: #fff;
  background: rgba(0,0,0,.60);
  border: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  visibility: hidden;
  opacity: 0;
  transform: none;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility .5s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  gap: 5px;
}
.mobile-menu-panel a,
.mobile-search-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 10px 14px;
  color: #fff;
  background: transparent;
  font-family: "STSong", "Songti SC", "SimSun", Georgia, serif;
  font-size: clamp(26px, 8vw, 34px);
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .5s var(--item-delay, 100ms) cubic-bezier(.4,0,.2,1),
    transform .5s var(--item-delay, 100ms) cubic-bezier(.4,0,.2,1),
    background .2s ease;
}
.mobile-menu.open .mobile-menu-panel a,
.mobile-menu.open .mobile-search-link { opacity: 1; transform: translateY(0); }
.mobile-menu-panel a:hover,
.mobile-search-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-search-link svg { width: 22px; height: 22px; stroke-width: 1.5; }
.mobile-menu-panel .mobile-menu-cta {
  width: auto;
  margin-top: 18px;
  padding: 12px 24px;
  color: #15202b;
  background: #fff;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(16px) scale(.92);
}
.mobile-menu.open .mobile-menu-cta { transform: translateY(0) scale(1); }
.cinematic-navbar { z-index: 1600; }
.search-overlay { z-index: 2200; }

@media (max-width: 900px) {
  .cinematic-navbar .nav-links { display: none; }
  .cinematic-navbar .hamburger { display: flex; }
}

@media (min-width: 901px) {
  .cinematic-navbar .hamburger { display: none; }
  .mobile-menu { display: none; }
}

@media (max-width: 768px) {
  .cinematic-navbar { height: 74px; }
  .cinematic-navbar.scrolled { height: 68px; }
  .cinematic-navbar .logo-text { font-size: 25px; }
  .cinematic-hero {
    height: 100svh;
    min-height: 700px;
    padding: 0;
  }
  .cinematic-content { padding-top: 88px; padding-bottom: 22px; }
  .hero-center { padding-top: 14px; }
  .cinematic-hero .hero-eyebrow { margin-bottom: 20px; padding: 7px 14px; font-size: 10px; }
  .cinematic-hero .hero-title {
    max-width: 540px;
    margin-bottom: 16px;
    font-size: clamp(36px, 9.4vw, 48px);
    line-height: 1.07;
    letter-spacing: -1.7px;
  }
  .cinematic-hero .hero-subtitle {
    max-width: 500px;
    margin-bottom: 24px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.75;
  }
  .cinematic-hero .hero-search { width: min(100%, 390px); }
  .scene-button { padding-inline: 8px; font-size: 10px; }
  .cinematic-stats { flex-wrap: wrap; gap: 7px 16px; }
  .cinematic-stats .hero-stat { flex: 0 0 calc(50% - 14px); justify-content: center; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .cinematic-navbar .nav-inner { padding-inline: 18px; }
  .cinematic-navbar .hamburger { width: 43px; height: 43px; }
  .cinematic-content { padding-inline: 16px; }
  .cinematic-hero .hero-title { font-size: clamp(34px, 10.5vw, 42px); letter-spacing: -1.4px; }
  .cinematic-hero .hero-subtitle br { display: none; }
  .cinematic-hero .hero-search {
    width: 100%;
    height: 54px;
    padding-left: 14px;
  }
  .cinematic-hero .hero-search-input { padding-inline: 6px; font-size: 11px; }
  .cinematic-hero .search-submit { height: 44px; padding-inline: 15px; font-size: 11px; }
  .video-switcher { width: 100%; justify-content: space-between; gap: 0; }
  .scene-button { padding-inline: 4px; font-size: 9.5px; }
  .cinematic-stats .hero-stat strong,
  .cinematic-stats .hero-stat span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-foreground { animation: none !important; transform: scale(1.03); }
}


/* SEO / no-script fallback */
.noscript-notice { padding: 14px 20px; background: #101d2d; color: #dbe7f1; text-align: center; font-size: 14px; }
.noscript-notice a { color: #76d7e4; }
.prompt-card { scroll-margin-top: 96px; }
