/* ================================================================
   小琦饼干 — 官方网页
   黑金配色 · 毛玻璃 · Mobile-First · 两列布局
   ================================================================ */

:root {
  /* ═══ 黑金调色板 ═══ */
  --color-bg:             #0D0B09;
  --color-bg-elevated:    #13110E;

  /* 毛玻璃卡片 */
  --glass-bg:             rgba(255,255,255,.025);
  --glass-border:         rgba(255,255,255,.06);
  --glass-border-hover:   rgba(232,168,23,.22);
  --glass-shadow:         0 4px 24px rgba(0,0,0,.30);

  /* 暖金 */
  --color-gold:           #E8A817;
  --color-gold-hover:     #F5BA2D;
  --color-gold-soft:      rgba(232,168,23,.10);
  --color-gold-mid:       rgba(232,168,23,.20);
  --color-gold-glow:      rgba(232,168,23,.35);

  /* 文字 — 黑底浅字 */
  --color-text:           #EDE9E3;
  --color-text-sub:       #9C948A;
  --color-text-muted:     #645E56;

  /* 字体 */
  --font-display: 'SF Pro Display', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text:    'SF Pro Text', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 间距 */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-xxxl: 64px;

  /* 圆角 */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-glow: 0 0 60px rgba(232,168,23,.10),
                 0 0 120px rgba(232,168,23,.04);
  --shadow-card: 0 1px 2px rgba(0,0,0,.20),
                 0 4px 16px rgba(0,0,0,.32);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple:cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-text);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; -webkit-tap-highlight-color:transparent; }

/* ═══ 背景光晕 ═══ */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(232,168,23,.10) 0%, rgba(232,168,23,.04) 30%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* 第二层小光晕 — 中下部 */
body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 40%;
  background: radial-gradient(ellipse 50% 40% at 50% 70%, rgba(232,168,23,.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ----- Lucide 图标全局 ----- */
.lucide {
  stroke-width: 1.75;
  width: 1em;
  height: 1em;
  display: block;
}

/* 品牌图标 */
.brand-icon .lucide {
  width: 28px;
  height: 28px;
  color: #0D0B09;
}

/* 卡片图标 */
.card-icon .lucide {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* 导航返回按钮 */
.nav-back .lucide {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

/* 功能列表图标 */
.feat-icon .lucide {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

/* 案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.case-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color 200ms var(--ease-out),
              background 200ms var(--ease-out),
              transform 150ms var(--ease-out);
}

.case-card:active {
  transform: scale(0.97);
  border-color: rgba(232,168,23,.25);
}

@media (hover: hover) {
  .case-card:hover {
    border-color: rgba(232,168,23,.25);
    background: rgba(255,255,255,.04);
  }
}

.case-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  min-width: 22px;
  opacity: .7;
}

.case-name {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--color-text);
  font-weight: 500;
}

.case-arrow {
  width: 14px;
  height: 14px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* 敬请期待大图标 */
.upcoming-hero .big-icon .lucide {
  width: 64px;
  height: 64px;
  color: var(--color-gold);
}

/* ================================================================
   轮播
   ================================================================ */

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--sp-lg) 0;
  width: 100%;
  height: 420px;
  background: rgba(255,255,255,.03);
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 400ms var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.01);
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 导航圆点 */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.40);
  cursor: pointer;
  padding: 0;
  transition: all 250ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.carousel-dots button.active {
  width: 20px;
  border-radius: 3px;
  background: var(--color-gold);
}

/* 左右箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 200ms;
  -webkit-tap-highlight-color: transparent;
}

.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }

.carousel:hover .carousel-arrow,
.carousel:active .carousel-arrow { opacity: 1; }

.carousel-arrow .lucide {
  width: 16px;
  height: 16px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 { font-size: clamp(1.5rem, 5vw, 1.75rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; }
h4 { font-size: 0.9375rem; }

p {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ----- Layout ----- */
.page-home,
.page-detail {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   首页 — 品牌区 · Logo 左 + 名称右
   ================================================================ */

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-xxl) 0 var(--sp-xl);
}

.brand-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #F5C842 0%, #E8A817 45%, #B87A0A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 4px 20px rgba(232,168,23,.30),
    0 0 40px rgba(232,168,23,.10),
    0 0 80px rgba(232,168,23,.04),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: box-shadow 300ms var(--ease-out),
              transform 200ms var(--ease-out);
}

.brand-icon:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* 图标高光线 */
.brand-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 10px;
  right: 10px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, transparent 100%);
  border-radius: 0 0 10px 10px;
  pointer-events: none;
}

.brand-text { flex: 1; }

.brand-text h1 {
  font-size: clamp(1.375rem, 4.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 2px;
}

.brand-text p {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  letter-spacing: 0.03em;
}

/* ================================================================
   首页 — 工作室介绍
   ================================================================ */

.intro {
  padding: 0 0 var(--sp-lg);
}

/* 金色横线 */
.intro-line {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, rgba(232,168,23,.15) 15%, rgba(232,168,23,.40) 50%, rgba(232,168,23,.15) 85%, transparent 100%);
}

.intro-line:first-child {
  margin-bottom: var(--sp-lg);
}

.intro-line:last-child {
  margin-top: var(--sp-lg);
}

.intro-text {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 2.2;
  letter-spacing: 0.02em;
}

/* 编号行间距 */
.intro-text br {
  content: '';
  display: block;
  margin-top: var(--sp-xs);
}

/* ================================================================
   首页 — 两列卡片网格
   ================================================================ */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: var(--sp-xxl);
}

/* ═══ 毛玻璃卡片 ═══ */
.card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 18px 14px 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 180ms var(--ease-out),
              border-color 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              background 220ms var(--ease-out);
  min-height: 148px;
}

/* 卡片微光叠层 */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232,168,23,.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

/* 卡片底边微光 — 模拟玻璃折射 */
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,168,23,.12) 30%, rgba(232,168,23,.12) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

@media (hover: hover) {
  .card:hover {
    border-color: rgba(232,168,23,.28);
    box-shadow: 0 8px 32px rgba(0,0,0,.45),
                0 0 0 1px rgba(232,168,23,.06),
                0 0 80px rgba(232,168,23,.04);
    background: rgba(255,255,255,.045);
    transform: translateY(-2px);
  }
  .card:hover::before,
  .card:hover::after { opacity: 1; }
}

.card:active {
  transform: scale(0.97);
  transition: transform 80ms var(--ease-apple),
              box-shadow 80ms var(--ease-apple);
}

/* Focus — 键盘导航可见 */
.card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: var(--radius-xl);
}

/* 卡片内容层级 */
.card-header,
.card-desc,
.card-cta {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0.5px solid rgba(255,255,255,.06);
}

/* 6 个图标 — 微妙的暖金底色渐变 */
.card-icon.price    { background: linear-gradient(135deg, rgba(255,180,80,.14), rgba(255,160,50,.08)); }
.card-icon.kook     { background: linear-gradient(135deg, rgba(255,200,120,.12), rgba(255,170,80,.06)); }
.card-icon.showcase { background: linear-gradient(135deg, rgba(255,175,70,.14), rgba(255,150,45,.08)); }
.card-icon.saas     { background: linear-gradient(135deg, rgba(255,190,95,.12), rgba(255,165,70,.06)); }
.card-icon.funpage  { background: linear-gradient(135deg, rgba(255,165,60,.16), rgba(255,140,40,.10)); }
.card-icon.upcoming { background: linear-gradient(135deg, rgba(200,180,150,.10), rgba(180,160,130,.05)); }

.card-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--sp-xs);
}

.card-cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-align: right;
  letter-spacing: 0.01em;
  margin-top: auto;
}

/* ----- Footer ----- */
.footer {
  text-align: center;
  padding: var(--sp-xl) 0 var(--sp-xxl);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.8;
  border-top: 0.5px solid rgba(255,255,255,.05);
}

.footer-icp {
  margin-top: var(--sp-xs);
}

.footer-icp a {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  transition: color 150ms;
}

.footer-icp a:hover {
  color: var(--color-text-sub);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xs);
}

.footer-links a {
  color: var(--color-gold);
  font-weight: 500;
  transition: opacity 150ms;
}

/* ================================================================
   详情页
   ================================================================ */

/* 毛玻璃导航栏 */
.nav-glass {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,11,9,.80);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  padding: 0 18px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  border-bottom: 0.5px solid rgba(255,255,255,.05);
}

.nav-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-gold);
  background: var(--color-gold-soft);
  flex-shrink: 0;
  transition: all 150ms var(--ease-out);
}

.nav-back:active {
  background: var(--color-gold-mid);
  transform: scale(0.92);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* Banner */
.detail-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: var(--sp-lg) 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}

/* 详情区块 */
.detail-section {
  margin-bottom: var(--sp-xl);
}

.detail-section:first-of-type { margin-top: var(--sp-sm); }

.detail-section h2 {
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: var(--sp-sm);
  color: var(--color-text);
}

.detail-section h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  margin-top: var(--sp-lg);
  color: var(--color-text);
}

.detail-section p { margin-bottom: var(--sp-sm); }

/* 高亮文字 — 金色底线 */
.detail-section .highlight {
  font-weight: 650;
  color: var(--color-text);
  background: linear-gradient(180deg, transparent 58%, rgba(232,168,23,.25) 58%);
  padding: 0 1px;
}

/* 图文 */
.media-row {
  margin: var(--sp-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.media-row img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: rgba(255,255,255,.03);
}

/* 对比图 */
.media-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin: var(--sp-lg) 0;
}

.media-compare img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}

.media-compare figcaption {
  font-size: 0.6875rem;
  color: var(--color-text-sub);
  text-align: center;
  margin-top: var(--sp-xs);
}

/* 功能列表 — 毛玻璃条 */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: var(--sp-lg) 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color 200ms;
}

.feature-list .feat-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(232,168,23,.12), rgba(232,168,23,.06));
}

.feature-list .feat-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1px;
  color: var(--color-text);
}

.feature-list .feat-text p {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-bottom: 0;
}

/* CTA 按钮并排 */
.cta-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-md);
}

/* 次要按钮 — 描边金 */
.cta-btn-outline {
  background: transparent !important;
  color: var(--color-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(232,168,23,.35), 0 0 20px rgba(232,168,23,.06) !important;
}

.cta-btn-outline:active {
  background: var(--color-gold-soft) !important;
}

@media (hover: hover) {
  .cta-btn-outline:hover {
    background: rgba(232,168,23,.10) !important;
    box-shadow: inset 0 0 0 1px rgba(232,168,23,.50), 0 0 30px rgba(232,168,23,.10) !important;
  }
}

/* CTA 区块 */
.cta-section {
  text-align: center;
  padding: var(--sp-xxl) 0 var(--sp-xl);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232,168,23,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.cta-section h2 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
}

.cta-section p {
  margin-bottom: var(--sp-lg);
  font-size: 0.875rem;
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #F5C842 0%, #E8A817 50%, #C0800E 100%);
  color: #0D0B09;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 650;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  box-shadow:
    0 2px 12px rgba(232,168,23,.25),
    0 0 40px rgba(232,168,23,.12),
    0 0 80px rgba(232,168,23,.04),
    inset 0 1px 0 rgba(255,255,255,.22);
  transition: all 200ms var(--ease-out);
  position: relative;
}

.cta-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.cta-btn:active {
  transform: scale(0.95);
  box-shadow:
    0 1px 4px rgba(232,168,23,.20),
    inset 0 1px 0 rgba(255,255,255,.12);
}

@media (hover: hover) {
  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
      0 8px 24px rgba(232,168,23,.38),
      0 0 60px rgba(232,168,23,.18),
      0 0 100px rgba(232,168,23,.06),
      inset 0 1px 0 rgba(255,255,255,.28);
  }
}

/* 分割线 */
.divider {
  height: 1px;
  background: rgba(255,255,255,.05);
  margin: var(--sp-xl) 0;
}

/* ================================================================
   动画
   ================================================================ */

.fade-in { opacity:1; transform:none; }

.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease-out),
              transform 500ms var(--ease-out);
}

.js-loaded .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片交错入场 */
.js-loaded .card:nth-child(1) { transition-delay: 30ms; }
.js-loaded .card:nth-child(2) { transition-delay: 60ms; }
.js-loaded .card:nth-child(3) { transition-delay: 90ms; }
.js-loaded .card:nth-child(4) { transition-delay: 120ms; }
.js-loaded .card:nth-child(5) { transition-delay: 150ms; }
.js-loaded .card:nth-child(6) { transition-delay: 180ms; }

.js-loaded .page-detail .detail-section:nth-child(2) { transition-delay: 40ms; }
.js-loaded .page-detail .detail-section:nth-child(3) { transition-delay: 80ms; }
.js-loaded .page-detail .detail-section:nth-child(4) { transition-delay: 120ms; }

/* 图片占位 — 无 src 时显示灰底，有 src 时自动消失 */
.img-placeholder {
  background: rgba(255,255,255,.04);
}

.img-placeholder[src=""],
.img-placeholder:not([src]) {
  min-height: 120px;
}

/* 有真实 URL 时清除占位背景 */
.img-placeholder[src]:not([src=""]) {
  background: transparent;
}

@keyframes slideIn {
  from { opacity:0; transform:translateX(10px); }
  to   { opacity:1; transform:translateX(0); }
}

.page-detail {
  animation: slideIn 260ms var(--ease-out);
}

/* ================================================================
   敬请期待
   ================================================================ */

.upcoming-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xxxl) 0;
  position: relative;
}

.upcoming-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232,168,23,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.upcoming-hero .big-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-lg);
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 32px rgba(232,168,23,.20));
}

.upcoming-hero h2 { font-size: 1.375rem; margin-bottom: var(--sp-sm); }
.upcoming-hero p { max-width: 260px; font-size: 0.875rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-8px) rotate(1deg); }
  66%      { transform: translateY(-3px) rotate(-0.5deg); }
}

/* ================================================================
   还原动效
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity:1; transform:none; }
  .upcoming-hero .big-icon { animation:none; }
  .js-loaded .card:nth-child(n),
  .js-loaded .page-detail .detail-section:nth-child(n) { transition-delay:0ms; }
}

/* ================================================================
   响应式
   ================================================================ */

@media (min-width: 520px) {
  .page-home,
  .page-detail {
    max-width: 500px;
    padding: 0 20px;
  }

  .cards {
    gap: 12px;
  }

  .card {
    padding: 22px 16px;
    min-height: 150px;
  }

  .card-title { font-size: 0.9375rem; }
  .card-desc  { font-size: 0.8125rem; }
}

@media (min-width: 768px) {
  .page-home,
  .page-detail {
    max-width: 600px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .card {
    padding: 24px 18px;
    min-height: 160px;
  }

  .brand {
    padding-top: 72px;
  }

  .brand-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    font-size: 2rem;
  }

  .brand-text h1 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
  .page-home,
  .page-detail {
    max-width: 720px;
  }

  .cards {
    gap: 16px;
  }

  .brand {
    padding-top: 80px;
  }
}
