/* Campaign page styles — Penghu Fireworks × Dragon Ball Z */
* { box-sizing: border-box; }
body { background: var(--bg-canvas); margin: 0; }

.cmp-nav { position: sticky; top: 0; z-index: 50; background: rgba(15,42,107,.92); backdrop-filter: blur(8px); padding: 14px 64px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cmp-nav img { height: 36px; }
.cmp-nav-links { display: flex; gap: 22px; }
.cmp-nav-links a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); cursor: pointer; }
.cmp-nav-links a:hover { color: var(--vital-orange); text-decoration: none; }
.cmp-nav .cta { margin-left: auto; }

.cmp-hero { position: relative; min-height: 720px; overflow: hidden; color: #fff; }
.cmp-hero-bg { position: absolute; inset: 0; background:
  url("hero-bg.png") center/cover no-repeat,
  linear-gradient(180deg, #0a1a4a 0%, #0f2a6b 40%, #1c3e8e 100%);
  animation: cmpken 24s ease-in-out infinite alternate; }
@keyframes cmpken { from { transform: scale(1); } to { transform: scale(1.08); } }
.cmp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,74,.35) 0%, rgba(10,26,74,.15) 30%, rgba(0,0,0,.55) 100%); }
.cmp-hero-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #FFE6C8; box-shadow: 0 0 12px 3px #f0a890; }
.cmp-hero-body { position: relative; max-width: 1200px; margin: 0 auto; padding: 120px 64px 80px; }
.cmp-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(240,90,40,.18); border: 1px solid rgba(240,90,40,.5); color: #FFD7C2; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cmp-hero h1 { font-size: 88px; font-weight: 900; line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 8px; color: #fff; max-width: 920px; text-wrap: balance; }
.cmp-hero h1 .orange { color: var(--vital-orange); }
.cmp-hero .sub { font-size: 22px; color: rgba(255,255,255,.92); max-width: 680px; line-height: 1.55; margin: 14px 0 36px; }
.cmp-hero .actions { display: flex; gap: 14px; }
.cmp-hero-stats { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 64px 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cmp-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 20px; backdrop-filter: blur(6px); }
.cmp-stat .big { font-family: var(--font-latin); font-size: 36px; font-weight: 900; color: var(--vital-orange); line-height: 1; font-variant-numeric: tabular-nums; }
.cmp-stat .lbl { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 8px; letter-spacing: .04em; font-weight: 700; }
.cmp-stat .det { font-size: 13px; color: rgba(255,255,255,.92); margin-top: 4px; font-weight: 700; }

.cmp-btn { font-family: var(--font-sans); font-weight: 800; border: 0; cursor: pointer; padding: 14px 26px; border-radius: 999px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; transition: filter .12s, transform .12s; text-decoration: none; }
.cmp-btn:hover { filter: brightness(.94); }
.cmp-btn:active { transform: scale(.98); }
.cmp-btn svg { width: 18px; height: 18px; stroke-width: 2; }
.cmp-btn-pri { background: var(--vital-orange); color: #fff; box-shadow: 0 6px 20px rgba(240,90,40,.4); }
.cmp-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }

.cmp-section { max-width: 1200px; margin: 0 auto; padding: 100px 64px; }
.cmp-section-head { text-align: center; margin-bottom: 56px; }
.cmp-section-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.cmp-section-head h2 { font-size: 48px; font-weight: 900; letter-spacing: -.015em; margin-bottom: 14px; text-wrap: balance; }
.cmp-section-head p { color: var(--fg-2); max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.7; }

.cmp-schedule { background: var(--bg-surface); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line-soft); }
.cmp-schedule table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-schedule th { background: var(--ocean-blue); color: #fff; padding: 16px 20px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cmp-schedule td { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cmp-schedule tr:last-child td { border-bottom: 0; }
.cmp-schedule tr:hover td { background: rgba(240,90,40,.04); }
.cmp-schedule .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.cmp-schedule .pill-main { background: var(--vital-orange-lt); color: var(--vital-orange-dk); }
.cmp-schedule .pill-island { background: var(--ocean-blue-lt); color: var(--ocean-blue); }
.cmp-schedule .pill-local { background: var(--dragon-green-lt); color: var(--dragon-green); }
.cmp-schedule .pill-trial { background: #F2EFEA; color: var(--fg-2); }
.cmp-schedule .place { font-weight: 800; color: var(--fg-1); }
.cmp-schedule .date { font-family: var(--font-latin); font-weight: 700; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.cmp-schedule .note { color: var(--fg-2); font-size: 13px; }

.cmp-spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cmp-spot { background: var(--bg-surface); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 220px 1fr; transition: transform .24s var(--ease-out-soft), box-shadow .24s; }
.cmp-spot:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.cmp-spot .img { position: relative; min-height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cmp-spot .img::after { content:""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.35) 100%); }
.cmp-spot .num { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--vital-orange); font-family: var(--font-latin); font-weight: 900; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.cmp-spot .body { padding: 20px 22px; }
.cmp-spot .place { font-size: 21px; font-weight: 900; margin: 0 0 4px; letter-spacing: -.005em; }
.cmp-spot .ip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; background: var(--dragon-green-lt); color: var(--dragon-green); border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; margin-bottom: 10px; }
.cmp-spot .desc { font-size: 14px; color: var(--fg-2); line-height: 1.7; margin: 0; }

.cmp-band-orange { background: linear-gradient(135deg, #d94814 0%, #f05a28 60%, #f07860 100%); color: #fff; padding: 80px 64px; text-align: center; }
.cmp-band-orange h2 { font-size: 44px; font-weight: 900; margin-bottom: 14px; color: #fff; }
.cmp-band-orange p { color: rgba(255,255,255,.95); font-size: 17px; line-height: 1.7; max-width: 680px; margin: 0 auto 28px; }
.cmp-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cmp-band-orange .cmp-btn-on { background: #fff; color: var(--vital-orange-dk); }
.cmp-band-orange .cmp-btn-ghost-on { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }

.cmp-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cmp-prod { background: var(--bg-surface); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 200px 1fr auto; align-items: stretch; transition: transform .24s, box-shadow .24s; cursor: pointer; }
.cmp-prod:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.cmp-prod .img { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cmp-prod .body { padding: 18px 20px; }
.cmp-prod .code { font-family: var(--font-latin); font-size: 11px; color: var(--fg-3); letter-spacing: .06em; font-weight: 700; }
.cmp-prod h4 { font-size: 16px; font-weight: 800; margin: 4px 0 4px; line-height: 1.35; }
.cmp-prod .sub { font-size: 13px; color: var(--fg-2); margin: 0; }
.cmp-prod .right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 0 22px; background: var(--bg-band); border-left: 1px solid var(--line-soft); min-width: 140px; }
.cmp-prod .right .from { font-size: 11px; color: var(--fg-3); }
.cmp-prod .right .price { font-family: var(--font-latin); font-weight: 900; font-size: 24px; color: var(--vital-orange); font-variant-numeric: tabular-nums; line-height: 1; margin: 4px 0 8px; }
.cmp-prod .right .price::before { content: "NT$"; font-size: .55em; margin-right: 4px; }
.cmp-prod .right .go { font-size: 12px; color: var(--ocean-blue); font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }

.cmp-footer { background: var(--ocean-blue-dk); color: rgba(255,255,255,.7); text-align: center; padding: 48px 64px; }
.cmp-footer img { height: 40px; margin-bottom: 14px; }
.cmp-footer .tag { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.cmp-footer .legal { font-size: 11px; color: rgba(255,255,255,.4); font-family: var(--font-latin); letter-spacing: .04em; margin-top: 12px; }

.cmp-back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.cmp-back-link:hover { background: rgba(255,255,255,.1); text-decoration: none; color: #fff; }

/* ============ Tablet (≤ 1024px) ============ */
@media (max-width: 1024px) {
  .cmp-nav { padding: 12px 24px; gap: 16px; }
  .cmp-nav-links { gap: 14px; }
  .cmp-hero-body { padding: 88px 24px 56px; }
  .cmp-hero h1 { font-size: 64px; }
  .cmp-hero .sub { font-size: 19px; }
  .cmp-hero-stats { padding: 0 24px 48px; gap: 14px; }
  .cmp-section { padding: 72px 24px; }
  .cmp-section-head h2 { font-size: 38px; }
  .cmp-spots { grid-template-columns: 1fr; gap: 20px; }
  .cmp-products { grid-template-columns: 1fr; }
  .cmp-band-orange { padding: 64px 24px; }
  .cmp-band-orange h2 { font-size: 36px; }
  .cmp-footer { padding: 40px 24px; }
}

/* ============ Mobile (≤ 640px) ============ */
@media (max-width: 640px) {
  .cmp-nav { padding: 10px 16px; gap: 10px; }
  .cmp-nav img { height: 28px; }
  .cmp-nav-links { display: none; }
  .cmp-nav .cta { margin-left: auto; padding: 8px 14px !important; font-size: 12px !important; }
  .cmp-nav .cta svg { width: 14px; height: 14px; }

  .cmp-hero { min-height: 0; }
  .cmp-hero-body { padding: 64px 20px 40px; }
  .cmp-hero h1 { font-size: 40px; line-height: 1.08; }
  .cmp-hero .sub { font-size: 16px; margin: 12px 0 24px; }
  .cmp-hero .actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cmp-hero .actions .cmp-btn { justify-content: center; width: 100%; }
  .cmp-hero-stats { padding: 0 20px 40px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cmp-stat { padding: 14px; }
  .cmp-stat .big { font-size: 28px; }
  .cmp-stat .lbl { font-size: 11px; }
  .cmp-stat .det { font-size: 12px; }

  .cmp-btn { padding: 12px 20px; font-size: 14px; }

  .cmp-section { padding: 56px 20px; }
  .cmp-section-head { margin-bottom: 36px; }
  .cmp-section-head h2 { font-size: 28px; }
  .cmp-section-head p { font-size: 14px; }

  /* Schedule: convert table to stacked cards on mobile */
  .cmp-schedule { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  .cmp-schedule table, .cmp-schedule thead, .cmp-schedule tbody, .cmp-schedule tr, .cmp-schedule td { display: block; width: 100%; }
  .cmp-schedule thead { display: none; }
  .cmp-schedule tr { background: var(--bg-surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
  .cmp-schedule td { padding: 4px 0; border: 0; }
  .cmp-schedule td:first-child { margin-bottom: 6px; }
  .cmp-schedule .place { font-size: 15px; }
  .cmp-schedule .date { font-size: 14px; margin-top: 2px; }
  .cmp-schedule .note { font-size: 12px; margin-top: 4px; }
  .cmp-schedule tr:hover td { background: transparent; }

  /* Spots: stack image above body */
  .cmp-spot { grid-template-columns: 1fr; grid-template-rows: 200px auto; }
  .cmp-spot .img { min-height: 200px; }
  .cmp-spot .body { padding: 16px 18px 20px; }
  .cmp-spot .place { font-size: 19px; }
  .cmp-spot .desc { font-size: 13px; }

  /* Products: stack image / body / price */
  .cmp-prod { grid-template-columns: 1fr; grid-template-rows: 160px auto auto; }
  .cmp-prod .img { min-height: 160px; }
  .cmp-prod .body { padding: 14px 16px 4px; }
  .cmp-prod h4 { font-size: 15px; }
  .cmp-prod .sub { font-size: 12px; }
  .cmp-prod .right { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 16px; border-left: 0; border-top: 1px solid var(--line-soft); min-width: 0; gap: 10px; }
  .cmp-prod .right .from { font-size: 11px; }
  .cmp-prod .right .price { font-size: 22px; margin: 0; flex: 1; text-align: left; }
  .cmp-prod .right .go { font-size: 12px; }

  /* Bottom band */
  .cmp-band-orange { padding: 56px 20px; }
  .cmp-band-orange h2 { font-size: 28px; }
  .cmp-band-orange p { font-size: 15px; margin-bottom: 22px; }
  .cmp-band-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cmp-band-actions .cmp-btn { justify-content: center; width: 100%; }

  .cmp-footer { padding: 36px 20px; }
  .cmp-footer img { height: 32px; }
  .cmp-footer .tag { font-size: 12px; }
  .cmp-footer .legal { font-size: 10px; }
}
