/* ==========================================================================
   campaign-base.css
   賀凱國際「品牌快閃特賣」活動頁共用結構樣式
   -------------------------------------------------------------------------
   使用方式：
   1. 每個活動頁的 <head> 先載入這支 campaign-base.css
   2. 接著在頁面自己的 <style> 區塊裡「只」覆寫 :root 的顏色變數，
      不用重寫任何版面／排版規則
   3. 需要新增活動專屬區塊時，比照本檔案的 class 命名風格擴充，
      共用的結構（topbar/hero/countdown/locations/footer...）不要複製貼上修改，
      避免以後多支活動頁各自走鐘
   ========================================================================== */

:root{
  /* ---- 品牌配色（每個活動頁應在自己的 <style> 覆寫這一組） ---- */
  --c-bg:#0E2A47;          /* 主背景（深色系） */
  --c-bg-deep:#081A2C;     /* 更深的背景，用於 topbar / footer */
  --c-primary:#FF2E7E;     /* 主色（CTA、強調文字） */
  --c-primary-deep:#D6136A;/* 主色 hover 深色 */
  --c-secondary:#FF7A59;   /* 次色（漸層搭配） */
  --c-surface:#FBEEDC;     /* 淺色版面背景（stats/about 區） */
  --c-surface-deep:#F3DFC4;
  --c-accent:#17B8AC;      /* 第三色點綴（連結、hover） */
  --c-ink:#15233A;
  --c-ink-soft:#5A6B85;

  --radius:18px;
  --maxw:1180px;

  /* 字體：每場活動可依品牌調整，預設沿用 ROXY 場的字體組合 */
  --font-display:'Bebas Neue', 'Noto Sans TC', sans-serif;
  --font-body:'Noto Sans TC', sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--c-ink);
  background:var(--c-surface);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.display{font-family:var(--font-display); letter-spacing:0.03em;}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
@media(prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* ---------- TOP BAR ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:var(--c-bg-deep);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  min-height:56px; padding-top:8px; padding-bottom:8px;
  flex-wrap:nowrap;
}
.brandmark{display:flex; align-items:center; gap:12px; min-width:0; flex-shrink:1;}
.brandmark .herkai{
  font-size:11px; color:rgba(255,255,255,0.55); letter-spacing:0.06em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.brandmark .roxy-word{
  font-family:var(--font-display); font-size:22px; color:#fff; letter-spacing:0.06em;
}
.brandmark .roxy-word span{color:var(--c-primary);}
.brandmark-logo{ height:16px; width:auto; opacity:0.9; flex-shrink:0; display:block; }
.brandmark-logo--qs{ height:14px; }

.topnav{display:flex; align-items:center; gap:20px; font-size:14px; color:rgba(255,255,255,0.8); flex-shrink:0;}
.topnav .navlinks{ display:flex; gap:24px; white-space:nowrap; }
.topnav a{padding:6px 0; border-bottom:2px solid transparent; transition:border-color .2s, color .2s; white-space:nowrap;}
.topnav a:hover, .topnav a:focus-visible{color:#fff; border-color:var(--c-primary); outline:none;}
.topnav .backhome{
  background:rgba(255,255,255,0.08);
  padding:8px 14px; border-radius:999px; font-size:12.5px;
  white-space:nowrap; flex-shrink:0;
}
.topnav .backhome:hover{background:rgba(255,255,255,0.16);}

@media(max-width:760px){
  .topnav .navlinks{display:none;}
  .brandmark .herkai{ max-width:110px; }
}
@media(max-width:420px){
  .brandmark .herkai{ display:none; }
  .brandmark-logo{ height:14px; }
  .brandmark-logo--qs{ height:12px; }
}

/* ---------- HERO ---------- */
.hero{ position:relative; }

/* 純照片展示區：不疊加任何文字卡片，給照片完整的展示空間 */
.hero-photo-stage{
  position:relative;
  height:56vw; min-height:340px; max-height:560px;
  overflow:hidden;
  background:var(--c-bg-deep);
}
.hero-slideshow{ position:absolute; inset:0; z-index:0; }
.hs-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center 62%;
  opacity:0; transition:opacity 1.4s ease;
}
.hs-slide.is-active{ opacity:1; }
.hero-slideshow-fade{ position:absolute; left:0; right:0; z-index:1; pointer-events:none; }
.hero-slideshow-fade--bottom{ bottom:0; height:120px; background:linear-gradient(0deg, rgba(8,14,26,0.55), transparent); }

@media(max-width:600px){
  .hero-photo-stage{ height:70vw; min-height:260px; }
}

/* 內容區塊：跟照片完全分開，獨立的全寬米白色區塊 */
.hero-content-section{
  background:var(--c-surface);
  padding:44px 0 60px;
}
.hero-inner{ text-align:center; }

.hero-content-section .eyebrow{
  color:var(--c-primary-deep);
  background:rgba(255,46,126,0.08);
  border:1px solid rgba(255,46,126,0.25);
}
.hero-content-section .eyebrow::before{ color:var(--c-primary); }
.hero-logos-mini{
  display:flex; align-items:center; justify-content:center; gap:18px;
  margin:18px 0 20px; flex-wrap:wrap;
}
.hero-logos-mini img{ height:28px; width:auto; }
.hero-logo-x-mini{ font-size:16px; color:var(--c-ink-soft); font-weight:700; }
.hero-content-section .hero-tagline{
  color:var(--c-ink-soft);
  max-width:600px; margin-left:auto; margin-right:auto;
}
.hero-content-section .hero-tagline strong{ color:var(--c-primary-deep); }
.hero-content-section .countdown-note{ color:var(--c-ink-soft); }
.btn-ghost-dark{
  background:transparent; color:var(--c-ink); border:1.5px solid var(--c-surface-deep);
}
.btn-ghost-dark:hover{ background:var(--c-surface-deep); }


.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; letter-spacing:0.16em; color:#FFD9E7;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2);
  padding:7px 16px; border-radius:999px; margin-bottom:26px;
}
.eyebrow::before{content:"●"; color:var(--c-primary); font-size:8px;}
h1.hero-logo{
  font-size:clamp(52px, 11vw, 128px);
  line-height:0.95;
  background:linear-gradient(180deg, #ffffff 10%, #FFE1EE 55%, var(--c-primary) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 6px 30px rgba(255,46,126,0.35));
}
.hero-logo-x{
  display:inline-block; font-family:var(--font-body); font-weight:900;
  font-size:0.35em; vertical-align:middle; margin:0 0.15em; color:rgba(255,255,255,0.5);
}
.hero-sub{
  font-size:clamp(22px, 4vw, 34px);
  font-weight:900; margin-top:6px;
  letter-spacing:0.02em;
}
.hero-tagline{
  max-width:600px; margin:18px auto 0;
  color:rgba(255,255,255,0.82); font-size:15.5px; line-height:1.9;
}
.hero-tagline strong{color:#FFD9E7; font-weight:700;}

/* countdown */
.countdown-wrap{margin:40px auto 0; display:flex; flex-direction:column; align-items:center; gap:14px;}
.countdown-badge{
  font-size:12.5px; letter-spacing:0.12em; padding:6px 14px; border-radius:999px;
  background:var(--c-primary); color:#fff; font-weight:700;
}
.countdown-badge.is-live{background:var(--c-accent);}
.countdown-badge.is-over{background:rgba(255,255,255,0.25);}
.countdown-note{
  font-size:11.5px; color:rgba(255,255,255,0.55); margin-top:10px;
  max-width:380px; line-height:1.6;
}
.countdown{display:flex; gap:10px;}
.cd-box{
  width:82px; background:linear-gradient(180deg, rgba(255,255,255,0.08), var(--c-bg-deep));
  border:1px solid rgba(255,255,255,0.14);
  border-top:3px solid var(--c-primary);
  border-radius:14px;
  padding:12px 0 10px;
  text-align:center;
  box-shadow:0 12px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.cd-box .num{
  font-family:var(--font-display); font-size:40px; line-height:1; color:#fff;
  font-variant-numeric:tabular-nums;
}
.cd-box .lbl{font-size:11px; color:rgba(255,255,255,0.6); margin-top:6px; letter-spacing:0.08em;}
.cd-colon{align-self:center; font-family:var(--font-display); font-size:30px; color:rgba(255,255,255,0.35); padding-bottom:14px;}
@media(max-width:480px){
  .cd-box{width:64px; padding:9px 0 8px;}
  .cd-box .num{font-size:30px;}
  .cd-colon{font-size:22px;}
}

.hero-ctas{display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:999px; font-weight:700; font-size:15px;
  cursor:pointer; border:none; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--c-primary); color:#fff; box-shadow:0 10px 24px rgba(255,46,126,0.4);}
.btn-primary:hover{background:var(--c-primary-deep);}
.btn-ghost{background:rgba(255,255,255,0.08); color:#fff; border:1px solid rgba(255,255,255,0.3);}
.btn-ghost:hover{background:rgba(255,255,255,0.16);}

/* marquee */
.marquee{
  position:relative; z-index:2;
  background:var(--c-primary); color:#fff; overflow:hidden; white-space:nowrap;
  border-top:1px solid rgba(255,255,255,0.25); border-bottom:1px solid rgba(0,0,0,0.08);
}
.marquee-track{display:inline-flex; animation:scroll 26s linear infinite;}
.marquee-track span{
  display:inline-flex; align-items:center; gap:14px;
  font-family:var(--font-display); font-size:22px; letter-spacing:0.08em;
  padding:16px 26px;
}
.marquee-track span::after{content:"✦"; color:rgba(255,255,255,0.6); font-size:13px;}
@keyframes scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* wave divider */
.wave{display:block; width:100%; line-height:0; position:relative; z-index:2;}
.wave svg{width:100%; height:auto;}

/* ---------- STATS ---------- */
.stats{background:var(--c-surface); padding:56px 0 8px;}
.stats-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px; text-align:center;
  max-width:820px; margin:0 auto;
}
.stat .num{font-family:var(--font-display); font-size:56px; color:var(--c-primary-deep); line-height:1;}
.stat .lbl{font-size:13.5px; color:var(--c-ink-soft); margin-top:6px; letter-spacing:0.03em;}
@media(max-width:600px){ .stats-grid{gap:10px;} .stat .num{font-size:38px;} .stat .lbl{font-size:11.5px;} }

/* ---------- ABOUT ---------- */
.about{padding:70px 0; background:var(--c-surface);}
.about-inner{max-width:760px; margin:0 auto; text-align:center;}
.section-eyebrow{
  font-size:13px; letter-spacing:0.14em; color:var(--c-primary-deep); font-weight:700; margin-bottom:12px;
}
.section-title{
  font-size:clamp(28px,4vw,40px); font-weight:900; margin-bottom:18px; color:var(--c-bg);
}
.about p{color:var(--c-ink-soft); font-size:16px; line-height:2; margin-bottom:14px;}
.about .highlight{
  display:inline-block; margin-top:8px; background:#fff; border:1px solid var(--c-surface-deep);
  padding:10px 20px; border-radius:999px; font-size:14px; color:var(--c-bg); font-weight:700;
}

/* ---------- 春夏秋冬全系列照片列 ---------- */
.season-strip{ background:var(--c-bg-deep); padding:64px 0 72px; color:#fff; }
.season-strip .section-eyebrow{ color:#FFC15E; }
.season-strip .section-title{ color:#fff; }
.season-strip .locations-head p{ color:rgba(255,255,255,0.68); font-size:14.5px; line-height:1.8; max-width:640px; margin-top:8px; }
.season-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;
  max-width:var(--maxw); margin:0 auto;
}
.season-tile{
  position:relative; border-radius:14px; overflow:hidden; aspect-ratio:3/4;
  box-shadow:0 14px 32px rgba(0,0,0,0.3);
}
.season-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.season-tag{
  position:absolute; left:10px; bottom:10px;
  background:rgba(8,14,26,0.75); color:#fff; font-size:11px; font-weight:700;
  padding:5px 10px; border-radius:999px; letter-spacing:0.02em;
}
@media(max-width:720px){
  .season-grid{ grid-template-columns:repeat(2, 1fr); }
}

/* ---------- 關於特賣：拼貼海報風格照片組 ---------- */
.about-collage{
  position:relative;
  max-width:460px;
  margin:56px auto 40px;
  padding-bottom:64px;
}
.collage-blob{
  position:absolute;
  width:220px; height:220px;
  background:radial-gradient(circle, var(--c-secondary), transparent 70%);
  opacity:0.35;
  top:-30px; left:-40px;
  border-radius:50%;
  filter:blur(6px);
  z-index:0;
}
.collage-photo{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 20px 44px rgba(0,0,0,0.22);
  background:#fff;
}
.collage-photo img{
  display:block; width:100%; height:100%; object-fit:cover;
}
.collage-photo--main{
  transform:rotate(-3deg);
  aspect-ratio:4/5;
  z-index:1;
}
.collage-photo--accent{
  position:absolute;
  width:54%;
  right:-8%;
  bottom:-56px;
  aspect-ratio:1/1;
  transform:rotate(5deg);
  border:5px solid #fff;
  z-index:2;
}
.collage-caption{
  position:absolute; left:12px; bottom:12px;
  background:rgba(15,23,42,0.72);
  color:#fff; font-size:11.5px; font-weight:700; letter-spacing:0.03em;
  padding:6px 12px; border-radius:999px;
  backdrop-filter:blur(2px);
}
.collage-photo--accent .collage-caption{
  font-size:10px; padding:5px 10px; left:8px; bottom:8px;
}
@media(max-width:480px){
  .about-collage{max-width:320px; padding-bottom:56px;}
  .collage-photo--accent{width:58%; bottom:-46px;}
}

/* ---------- DUAL-LINE (品牌雙線分區，聯名活動用) ---------- */
.dual-line{padding:0 0 70px; background:var(--c-surface);}
.dual-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
  max-width:var(--maxw); margin:0 auto;
}
.dual-card{
  border-radius:var(--radius); padding:32px 26px; color:#fff;
  position:relative; overflow:hidden;
  aspect-ratio:3/2; min-height:340px;
}
.dual-card .dual-tag{font-size:12px; letter-spacing:0.14em; opacity:0.85; margin-bottom:10px;}
.dual-card .dual-title{font-family:var(--font-display); font-size:32px; margin-bottom:10px;}
.dual-card p{font-size:14px; line-height:1.9; opacity:0.92;}
@media(max-width:720px){
  .dual-grid{grid-template-columns:1fr;}
  .dual-card{ aspect-ratio:16/10 !important; }
}

/* ---------- LOCATIONS ---------- */
.locations{background:var(--c-bg-deep); padding:78px 0 90px; color:#fff; position:relative;}
.locations .section-eyebrow{color:#FFB1CE;}
.locations .section-title{color:#fff;}
.locations-head{text-align:center; max-width:640px; margin:0 auto 46px;}
.locations-head p{color:rgba(255,255,255,0.65); font-size:15px; line-height:1.8; margin-top:10px;}
.loc-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px;
  max-width:var(--maxw); margin:0 auto;
}
.loc-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius);
  padding:24px 22px 22px;
  display:flex; flex-direction:column; gap:12px;
  transition:transform .18s ease, border-color .18s ease;
}
.loc-card:hover{transform:translateY(-4px); border-color:var(--c-primary);}
.loc-top{display:flex; align-items:center; justify-content:space-between;}
.loc-code{
  font-family:var(--font-display); font-size:13px; letter-spacing:0.1em;
  color:var(--c-primary); background:rgba(255,46,126,0.14); border:1px solid rgba(255,46,126,0.4);
  padding:4px 10px; border-radius:999px;
}
.loc-badge-live{color:var(--c-accent); background:rgba(23,184,172,0.16); border:1px solid rgba(23,184,172,0.45);}
.loc-badge-soon{color:#FFC15E; background:rgba(255,193,94,0.14); border:1px solid rgba(255,193,94,0.4);}
.loc-badge-long{color:var(--c-primary); background:rgba(255,46,126,0.14); border:1px solid rgba(255,46,126,0.4);}
.loc-badge-main{color:#111; background:#FFC300; border:1px solid #FFC300; font-weight:700;}
.loc-desc{font-size:13px; color:rgba(255,255,255,0.68); line-height:1.6; margin-top:-2px;}
.loc-card--main{
  grid-column:span 2;
  border:2px solid #FFC300;
  background:linear-gradient(180deg, rgba(255,195,0,0.1), rgba(255,255,255,0.03));
}
.loc-card--main .loc-name{font-size:23px;}
@media(max-width:720px){
  .loc-card--main{grid-column:span 1;}
}
.loc-note{
  font-size:12px; color:#FFC15E; line-height:1.6; background:rgba(255,193,94,0.1);
  border:1px dashed rgba(255,193,94,0.35); border-radius:10px; padding:8px 10px; margin-top:2px;
}
.loc-area{font-size:12px; color:rgba(255,255,255,0.5);}
.loc-name{font-size:19px; font-weight:900;}
.loc-addr{font-size:13.5px; color:rgba(255,255,255,0.72); line-height:1.7;}
.loc-meta{display:flex; flex-direction:column; gap:6px; font-size:13px; color:rgba(255,255,255,0.6); border-top:1px dashed rgba(255,255,255,0.14); padding-top:12px; margin-top:2px;}
.loc-meta b{color:#fff; font-weight:700;}
.loc-map{
  margin-top:6px; align-self:flex-start;
  font-size:13px; font-weight:700; color:var(--c-accent);
  display:inline-flex; align-items:center; gap:6px;
}
.loc-map:hover{color:#5BEFE0;}
.loc-card.placeholder{
  border-style:dashed; align-items:center; justify-content:center; text-align:center;
  background:transparent; color:rgba(255,255,255,0.55);
}
.loc-card.placeholder .plus{font-size:30px; font-family:var(--font-display); color:var(--c-primary); margin-bottom:6px;}

/* ---------- CTA / CONTACT ---------- */
.cta-strip{
  background:linear-gradient(120deg, var(--c-primary), var(--c-secondary));
  padding:52px 0; text-align:center; color:#fff;
}
.cta-strip h3{font-size:clamp(22px,3vw,30px); font-weight:900; margin-bottom:8px;}
.cta-strip p{opacity:0.92; margin-bottom:22px; font-size:14.5px;}
.cta-strip .btn-primary{background:var(--c-bg-deep); box-shadow:none;}
.cta-strip .btn-primary:hover{background:var(--c-bg);}

/* ---------- FOOTER ---------- */
footer{background:var(--c-bg-deep); color:rgba(255,255,255,0.65); padding:50px 0 26px; font-size:13.5px;}
.footer-grid{display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,0.08);}
.footer-brand .roxy-word{font-family:var(--font-display); font-size:24px; color:#fff;}
.footer-brand p{max-width:280px; margin-top:10px; line-height:1.8;}
.footer-col h4{color:#fff; font-size:13px; letter-spacing:0.08em; margin-bottom:12px;}
.footer-col div{margin-bottom:6px;}
.footer-social{display:flex; gap:12px; margin-top:10px;}
.footer-social a{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; font-size:14px;
  border:1px solid rgba(255,255,255,0.14);
}
.footer-social a:hover{background:var(--c-primary); border-color:var(--c-primary);}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:20px; font-size:12px;}

/* floating mobile CTA */
.float-cta{position:fixed; right:16px; bottom:16px; z-index:60; display:none;}
@media(max-width:760px){
  .float-cta{display:block;}
  .float-cta .btn{padding:13px 20px; font-size:13.5px; box-shadow:0 10px 26px rgba(255,46,126,0.5);}
}

section{scroll-margin-top:70px;}

/* ---------- HUB PAGE (sale/index.html 專用) ---------- */
.hub-hero{padding:90px 0 70px; text-align:center;}
.hub-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:24px;
  max-width:var(--maxw); margin:0 auto; padding:0 24px 90px;
}
.hub-card{
  border-radius:var(--radius); overflow:hidden; position:relative;
  color:#fff; min-height:260px; display:flex; flex-direction:column; justify-content:flex-end;
  padding:26px; transition:transform .2s ease;
  background:linear-gradient(155deg, #12314A 0%, #081A2C 100%); /* 預設深色背景，避免忘記設定專屬配色時文字看不到 */
}
.hub-card:hover{transform:translateY(-6px);}
.hub-card .hub-logos{
  display:flex; align-items:center; gap:10px; margin:36px 0 14px; flex-wrap:wrap;
}
.hub-card .hub-logos img{ height:18px; width:auto; opacity:0.95; }
.hub-card .hub-status{
  position:absolute; top:18px; left:18px; font-size:11px; letter-spacing:0.1em;
  padding:5px 12px; border-radius:999px; font-weight:700;
}
.hub-status.live{background:var(--c-accent, #17B8AC); color:#fff;}
.hub-status.ended{background:rgba(255,255,255,0.25); color:#fff;}
.hub-card .hub-title{font-family:var(--font-display); font-size:30px; margin-bottom:6px;}
.hub-card .hub-meta{font-size:13px; opacity:0.85; margin-bottom:4px;}
.hub-card .hub-desc{font-size:13.5px; opacity:0.9; line-height:1.7; margin-top:6px;}
.hub-card.ended{opacity:0.6;}
