/* =========================================================
   FLOAT × KTV 提案 — 設計系統
   調性：純黑底 × 冷白字 × 白光外框 × 橙色選擇性點綴（FLOAT 識別）
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Noto+Serif+TC:wght@500;700;900&family=Bebas+Neue&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --ink: #000000;
  --ink-2: #0c0c0c;
  --ink-3: #161616;
  --paper: #ffffff;
  --paper-dim: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.16);
  --frame: rgba(255, 255, 255, 0.7);

  --holiday: #ee8a3a;
  --holiday-deep: #c97225;
  --float: #ee8a3a;
  --float-deep: #c97225;

  --hot: #ff3d2e;
  --neon: #c4ff00;
  --magenta: #ff2d8f;

  --display: "Bebas Neue", "Noto Sans TC", system-ui, sans-serif;
  --tc: "Noto Sans TC", system-ui, sans-serif;
  --serif: "Noto Serif TC", serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--tc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========================================================
   LANDING PAGE SCAFFOLD (scrolling, responsive)
   ========================================================= */
.page { position: relative; width: 100%; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}

.sec {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 11vw, 150px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.sec:first-child { border-top: 0; }
.sec > .wrap { position: relative; z-index: 1; }

/* fluid type helpers */
.h-hero { font-family: var(--tc); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(3rem, 11vw, 9rem); line-height: 0.96; margin: 0; }
.h-1 { font-family: var(--tc); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 6.4vw, 5.5rem); line-height: 1.04; margin: 0; }
.h-2 { font-family: var(--tc); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.12; margin: 0; }
.lead { font-family: var(--tc); font-weight: 400;
  font-size: clamp(1rem, 1.7vw, 1.45rem); line-height: 1.7; color: var(--paper-dim); margin: 0; }

/* responsive two-column → single column on narrow screens */
.cols { display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px); align-items: center; }
.cols--card { grid-template-columns: 1fr minmax(260px, 440px); }
.cols--card-left { grid-template-columns: minmax(260px, 440px) 1fr; }
@media (max-width: 880px) {
  .cols, .cols--card, .cols--card-left { grid-template-columns: 1fr; gap: 40px; }
  .cols--card .card-col, .cols--card-left .card-col { order: -1; justify-self: center; }
}

/* sticky top bar */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px clamp(20px, 5vw, 64px);
  background: rgba(0,0,0,0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.topbar .brand b { font-weight: 700; }
.topbar .brand .x { opacity: 0.4; margin: 0 7px; }
.topbar .tb-cta {
  color: var(--ink); background: var(--holiday);
  padding: 8px 16px; font-weight: 700; letter-spacing: 0.1em;
  text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.topbar .tb-cta:hover { background: #f59a4d; }
@media (max-width: 600px) { .topbar .tb-meta { display: none; } }

/* prominent "made for your brand" promise banner */
.brand-promise {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px);
  padding-left: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(238, 138, 58, 0.45);
  background: linear-gradient(180deg, rgba(238, 138, 58, 0.12), rgba(238, 138, 58, 0.03));
  overflow: hidden;
}
.brand-promise::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--holiday);
}
.bp-tag {
  font-family: var(--mono); font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--holiday);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.bp-head {
  font-family: var(--tc); font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.7rem); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--paper);
}
.bp-sub {
  margin-top: 16px; font-family: var(--tc);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem); line-height: 1.7;
  color: var(--paper-dim); max-width: 62ch;
}

/* ===== site footer (ported from FLOAT-BAR) ===== */
.footer {
  background: var(--ink-2);
  color: var(--paper);
  padding: clamp(48px, 7vw, 72px) 0 clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
  line-height: 1.65;
}
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.foot-col h5 {
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.14em;
  margin-bottom: 14px; font-size: 12px; text-transform: uppercase; color: var(--paper-dim);
}
.foot-col div { font-weight: 500; font-size: 14px; margin: 7px 0; }
.foot-col a { color: var(--holiday); text-decoration: none; transition: color 0.15s; }
.foot-col a:hover { color: #f59a4d; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; max-width: 460px; }
.foot-logo { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.foot-tagline { color: var(--paper-dim); font-weight: 400; line-height: 1.75; font-size: 14px; }
.foot-copy { margin-top: 28px; padding-top: 24px; font-size: 12.5px; letter-spacing: 0.04em;
  font-family: var(--mono); color: var(--paper-faint, rgba(255,255,255,0.42)); }
.foot-bottom { display: none; }
@media (max-width: 720px) {
  .foot-grid { flex-direction: column; gap: 32px; }
  .foot-copy { display: none; }
  .foot-bottom {
    display: block; margin-top: 28px; padding-top: 22px;
    border-top: 1px solid var(--line); font-size: 12.5px;
    font-family: var(--mono); color: rgba(255,255,255,0.42);
  }
}

/* ===== contact / lead form ===== */
.contact-block {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
@media (max-width: 860px) { .contact-block { grid-template-columns: 1fr; gap: 36px; } }
.contact-h {
  font-family: var(--tc); font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--paper); margin: 0;
}
.contact-reply {
  margin-top: clamp(20px, 2.6vw, 28px);
  font-family: var(--tc); font-size: 14px; line-height: 1.7;
  color: var(--paper-dim); max-width: 460px;
}
.contact-reply b { color: var(--paper); font-weight: 700; }
.contact-reply a {
  color: var(--holiday); text-decoration: none;
  border-bottom: 1px solid rgba(238,138,58,0.4); white-space: nowrap;
}
.contact-reply a:hover { border-color: var(--holiday); }

.lead-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
}
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 480px) { .lf-row { grid-template-columns: 1fr; } }
.lf-field { display: flex; flex-direction: column; gap: 8px; }
.lf-field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--paper-dim);
}
.lf-field .req { color: var(--holiday); }
.lf-field .opt { color: rgba(255,255,255,0.3); }
.lf-field input {
  appearance: none; width: 100%; box-sizing: border-box;
  height: 46px; padding: 0 14px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.18);
  color: var(--paper); font-family: var(--tc); font-size: 16px; outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.lf-field input::placeholder { color: rgba(255,255,255,0.28); }
.lf-field input:focus { border-color: var(--holiday); background: rgba(0,0,0,0.6); }
.lf-submit { width: 100%; justify-content: center; margin-top: 8px; border: 0; cursor: pointer; }
.lf-msg { margin-top: 14px; font-family: var(--tc); font-size: 14px; color: var(--paper-dim); }
.lf-msg.err { color: var(--hot); }
.lf-note { margin-top: 14px; font-family: var(--tc); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.4); }
.lf-done { text-align: center; padding: clamp(28px, 5vw, 48px) 16px; }
.lf-done-badge {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--holiday); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900;
}
.lf-done-title { font-family: var(--tc); font-weight: 900; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--paper); }
.lf-done-desc { margin-top: 12px; font-family: var(--tc); font-size: 16px; line-height: 1.7; color: var(--paper-dim); }

/* "why it works" comparison rows */
.work-rows { border-top: 1px solid var(--line); }
.work-row {
  display: grid; grid-template-columns: 1fr 64px 1fr;
  gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line);
}
.work-row .arrow { text-align: center; font-family: var(--mono);
  font-size: clamp(22px, 3vw, 32px); color: var(--float); }
@media (max-width: 720px) {
  .work-row { grid-template-columns: 1fr; gap: 8px; }
  .work-row .arrow { display: none; }
}

/* primary CTA link button */
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--holiday); color: var(--ink);
  padding: 16px 30px; font-family: var(--tc); font-weight: 900;
  font-size: clamp(15px, 1.3vw, 18px); letter-spacing: 0.06em;
  text-decoration: none; position: relative; transition: transform 0.2s, background 0.2s;
}
.cta-btn::after { content: ''; position: absolute; inset: -3px;
  border: 1px solid rgba(238,138,58,0.6); pointer-events: none; }
.cta-btn:hover { transform: translateY(-2px); background: #f59a4d; }
.cta-btn.ghost { background: transparent; color: var(--paper);
  border: 1px solid var(--frame); }
.cta-btn.ghost::after { display: none; }
.cta-btn.ghost:hover { background: rgba(255,255,255,0.06); }

/* ===== utilities ===== */
.dim { opacity: 0.45; }
.float-c { color: var(--float); }
.holiday-c { color: var(--holiday); }
.paper { color: var(--paper); }

.cjk-display {
  font-family: var(--tc);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.kicker {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.line-mark {
  width: 48px; height: 1px;
  background: var(--paper);
  display: inline-block;
}
.line-mark.green { background: var(--paper); }
.line-mark.red { background: var(--holiday); }

.strike {
  position: relative;
  color: rgba(245, 240, 230, 0.45);
}
.strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 50%;
  height: 4px;
  background: var(--holiday);
  transform: rotate(-2deg);
  border-radius: 2px;
}

/* ===== noise + scanlines ===== */
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.018) 0,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* ===== corner marks / stamps ===== */
.corner-marks::before,
.corner-marks::after,
.corner-marks > .tr,
.corner-marks > .bl {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--paper);
  opacity: 0.4;
}
.corner-marks::before { top: 32px; left: 32px; border-right: 0; border-bottom: 0; }
.corner-marks::after { bottom: 32px; right: 32px; border-left: 0; border-top: 0; }
.corner-marks > .tr { position: absolute; top: 32px; right: 32px; border: 1px solid var(--paper); border-left: 0; border-bottom: 0; opacity: 0.4; }
.corner-marks > .bl { position: absolute; bottom: 32px; left: 32px; border: 1px solid var(--paper); border-right: 0; border-top: 0; opacity: 0.4; }

.slide-pad {
  padding: 96px 120px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
}

.stamp-tl {
  position: absolute;
  top: 56px; left: 120px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.stamp-tl b { font-weight: 700; }

.stamp-br {
  position: absolute;
  bottom: 56px; right: 120px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.4);
}

.bg-numeral {
  position: absolute;
  font-family: var(--display);
  line-height: 0.8;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* ===== animations ===== */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin { to { --angle: 360deg; } }

@keyframes pulse-float {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 138, 58, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(238, 138, 58, 0); }
}
@keyframes pulse-holiday {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 138, 58, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(238, 138, 58, 0); }
}
@keyframes float-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-up-slow {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@keyframes card-burst {
  0% { transform: scale(0.2) translateY(40px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes glow-breath {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(238, 138, 58, 0.5)); }
  50% { filter: drop-shadow(0 0 28px rgba(238, 138, 58, 0.9)); }
}
@keyframes burst-ring-anim {
  0% { opacity: 0; box-shadow: 0 0 0 0 rgba(238, 138, 58, 0.7); }
  40% { opacity: 1; box-shadow: 0 0 30px 10px rgba(238, 138, 58, 0.5); }
  100% { opacity: 0; box-shadow: 0 0 100px 60px rgba(238, 138, 58, 0); }
}
/* scroll-reveal entry animations — fire when the parent .sec enters the viewport */
.slide-anim { opacity: 0; }
.in-view .slide-anim { animation: float-up 0.7s ease-out both; }
.in-view .slide-anim.delay-1 { animation-delay: 0.1s; }
.in-view .slide-anim.delay-2 { animation-delay: 0.25s; animation-name: float-up-slow; animation-duration: 0.9s; }
.in-view .slide-anim.delay-3 { animation-delay: 0.4s; }
.in-view .slide-anim.delay-4 { animation-delay: 0.55s; }
.in-view .slide-anim.delay-5 { animation-delay: 0.7s; }
.in-view .slide-anim.delay-6 { animation-delay: 0.85s; }
@media (prefers-reduced-motion: reduce) {
  .slide-anim { opacity: 1 !important; animation: none !important; }
}

/* ===== buttons ===== */
.btn-primary {
  background: var(--float);
  color: var(--ink);
  border: none;
  padding: 16px 28px;
  font-family: var(--tc);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.16em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  position: relative;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(238, 138, 58, 0.7);
  pointer-events: none;
}
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary:not(:disabled):hover {
  background: #d97525;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--paper-dim);
  border: 1px solid var(--paper-dim);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ===== poker card (DNA / Showcase) ===== */
.poker-card {
  width: 360px;
  height: 504px;
  position: relative;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7),
              0 0 0 1px rgba(245, 240, 230, 0.1);
  padding: 32px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.pc-corner-tl, .pc-corner-br {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pc-corner-br { align-self: flex-end; transform: rotate(180deg); }
.pc-num { font-family: var(--display); font-size: 80px; line-height: 1; }
.pc-suit { font-size: 44px; line-height: 1; margin-top: 4px; }
.pc-center { align-self: center; text-align: center; }
.pc-name {
  font-family: var(--tc);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.pc-en {
  font-family: var(--display);
  font-size: 22px;
  color: #666;
  letter-spacing: 0.25em;
  margin-top: 14px;
}
.pc-divider {
  margin: 28px auto 0;
  width: 160px; height: 1px;
  background: #999;
}
.pc-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #999;
  margin-top: 14px;
  text-transform: uppercase;
}

/* ===== FLOAT card back — clean black card, double white-light frame, real logo
   （參考 FLOAT-BAR 的 hero__card：黑卡 + 白光雙框 + FLOAT wordmark） ===== */
.physical-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 5 / 7;
  border-radius: 22px;
  position: relative;
  container-type: size;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(238, 138, 58, 0.12);
}

/* shared FLOAT card-back content — scales via container query units,
   so the hero and the phone-mock flip-card reuse one set of rules. */
.float-cardback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcb-frame {
  position: absolute;
  inset: 6.5cqw;
  border: 1px solid var(--frame);
  border-radius: 4.5cqw;
}
.fcb-frame::before {
  content: "";
  position: absolute;
  inset: 2cqw;
  border: 1px solid rgba(245, 240, 230, 0.22);
  border-radius: 3cqw;
  pointer-events: none;
}
.fcb-logo {
  position: relative;
  z-index: 1;
  width: 60cqw;
  height: auto;
  display: block;
  filter: invert(1);
}

/* ===== phone frame (re-used by digital ritual demo) ===== */
.phone-frame {
  position: relative;
  width: 360px;
  height: 740px;
  background: #050505;
  border-radius: 52px;
  padding: 14px;
  box-sizing: border-box;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 0 0 3px #2a2a2a,
    0 60px 120px rgba(0, 0, 0, 0.85),
    0 0 80px rgba(238, 138, 58, 0.12);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #050505;
  border-radius: 16px;
  z-index: 10;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper);
  z-index: 5;
}
.phone-status .icons { display: flex; gap: 4px; font-size: 12px; }
.phone-scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  border-radius: 40px;
}
.phone-scan-overlay::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(238, 138, 58, 0.08) 50%,
    transparent 100%
  );
  animation: scan-line 4s ease-in-out infinite;
}

/* ===== holographic god card ===== */
.god-card-wrap { position: relative; }
.burst-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.god-card-holo {
  position: relative;
  width: 200px;
  height: 290px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -10px rgba(0,0,0,0.7),
    0 0 0 2px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.2);
  background: #000;
  isolation: isolate;
}
.god-card-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from var(--angle, 0deg) at 50% 50%,
    var(--magenta), var(--float), var(--neon), var(--holiday), var(--magenta));
  filter: saturate(140%);
  opacity: 0.85;
  z-index: 0;
  animation: spin 6s linear infinite;
}
.god-card-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
  z-index: 1;
}
.god-card-holo .inner {
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(15,10,30,0.85), rgba(0,0,0,0.95));
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.15);
}
.god-row { display: flex; justify-content: space-between; align-items: flex-start; }
.god-star { font-family: var(--display); font-size: 28px; color: var(--float); line-height: 1; }
.god-rarity { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--float); }
.god-glyph {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 76px;
  color: var(--float);
  text-shadow: 0 0 24px rgba(238, 138, 58, 0.7);
}
.god-name {
  font-family: var(--display);
  font-size: 26px;
  line-height: 0.92;
  color: var(--paper);
  text-transform: uppercase;
}
.god-name-sub {
  display: block;
  font-family: var(--tc);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
  margin-top: 4px;
}
.god-stats {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 230, 0.7);
  border-top: 1px dashed rgba(255,255,255,0.2);
  padding-top: 10px;
  margin-top: 10px;
}
.god-stats b { color: var(--float); }

/* ===== LIVE SCAN DEMO (slide CH4) ===== */
.live-scan-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .live-scan-grid { grid-template-columns: 1fr; gap: 44px; }
  .live-scan-grid .ls-phone-wrap { order: -1; }
}

.ls-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ls-h2 {
  font-family: var(--tc);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0;
  color: var(--paper);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.ls-tagline {
  font-family: var(--tc);
  font-size: 17px;
  color: var(--paper-dim);
  line-height: 1.7;
  border-left: 2px solid var(--holiday);
  padding-left: 18px;
}
.ls-tagline b { color: var(--paper); font-weight: 700; }

.ls-console {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper-dim);
  background: rgba(20, 19, 18, 0.85);
  border: 1px solid var(--line);
  padding: 18px 22px;
  line-height: 1.95;
}
.ls-console-head { color: var(--paper); margin-bottom: 6px; letter-spacing: 0.06em; }
.ls-console b { color: var(--paper); font-weight: 500; }
.ls-console b.fate { color: var(--holiday); }

.ls-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ls-flag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-left: 8px;
  background: var(--hot);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* phone host */
.ls-phone-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.ls-host {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
}
.ls-screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px 28px;
  opacity: 0;
  transition: opacity 0.45s ease;
  box-sizing: border-box;
}
.ls-host[data-stage="idle"] .ls-screen--scan,
.ls-host[data-stage="flipping"] .ls-screen--scan,
.ls-host[data-stage="scanning"] .ls-screen--scan,
.ls-host[data-stage="revealed"] .ls-screen--reveal {
  display: flex;
  opacity: 1;
}

/* SCAN screen (idle / flipping / scanning) */
.ls-screen--scan {
  background:
    radial-gradient(circle at 50% 28%, rgba(238, 138, 58, 0.20) 0%, transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(238, 138, 58, 0.10) 0%, transparent 60%),
    #0a0a0a;
}
.ls-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--float);
  text-transform: uppercase;
  margin-bottom: 10px;
  z-index: 2;
}
.ls-headline {
  font-family: var(--tc);
  font-weight: 900;
  font-size: 22px;
  color: var(--paper);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 22px;
  z-index: 2;
}
.ls-headline span { color: var(--float); }

.ls-card-stage {
  position: relative;
  width: 200px;
  height: 290px;
  margin: 0 auto;
  z-index: 2;
  perspective: 1400px;
}
.ls-card-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotate(-3deg);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ls-host[data-stage="flipping"] .ls-card-flipper {
  transform: rotateY(180deg) rotate(2deg);
}
.ls-host[data-stage="scanning"] .ls-card-flipper {
  transform: scale(1.06) rotateY(180deg) rotate(2deg);
  transition: transform 0.6s ease;
}
.ls-card-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0,0,0,0.6),
              0 0 0 1px rgba(255,255,255,0.08);
}
.ls-card-back {
  container-type: size;
  background: #050505;
}
.ls-card-front {
  transform: rotateY(180deg);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.ls-card-front-qr {
  width: 100%;
  height: 100%;
  max-width: 152px;
  max-height: 152px;
}
.ls-card-front-qr svg { display: block; width: 100%; height: 100%; }

.ls-card-corners > span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--float);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 5;
}
.ls-host[data-stage="scanning"] .ls-card-corners > span { opacity: 1; }
.ls-card-corners > span:nth-child(1) { top: -6px; left: -6px; border-top-width: 2px; border-left-width: 2px; }
.ls-card-corners > span:nth-child(2) { top: -6px; right: -6px; border-top-width: 2px; border-right-width: 2px; }
.ls-card-corners > span:nth-child(3) { bottom: -6px; left: -6px; border-bottom-width: 2px; border-left-width: 2px; }
.ls-card-corners > span:nth-child(4) { bottom: -6px; right: -6px; border-bottom-width: 2px; border-right-width: 2px; }

.ls-line {
  position: absolute;
  left: -10px;
  right: -10px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--float), transparent);
  box-shadow: 0 0 14px var(--float), 0 0 32px rgba(238, 138, 58, 0.7);
  opacity: 0;
  z-index: 6;
}
.ls-host[data-stage="scanning"] .ls-line {
  opacity: 1;
  animation: scan-line 1.2s ease-in-out infinite;
}

.ls-status {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--float);
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}
.ls-status::before { content: '⊹ TAP TO ACTIVATE ⊹'; }
.ls-host[data-stage="flipping"] .ls-status::before { content: '◇ FLIPPING CARD…'; }
.ls-host[data-stage="scanning"] .ls-status::before { content: '● SCANNING QR…'; }

/* REVEAL screen */
.ls-screen--reveal {
  background:
    radial-gradient(circle at 50% 38%, rgba(238, 138, 58, 0.28) 0%, transparent 65%),
    #0a0a0a;
  justify-content: flex-start;
  padding: 36px 22px 18px;
}
.ls-reveal-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--float);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ls-reveal-tier {
  font-family: var(--tc);
  font-weight: 700;
  font-size: 14px;
  color: var(--paper);
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}
.ls-god-wrap { position: relative; margin-bottom: 18px; }
.ls-host[data-stage="revealed"] .ls-god-wrap {
  animation: card-burst 1.1s cubic-bezier(0.4, 0, 0.2, 1) both,
             glow-breath 3s ease-in-out 1.1s infinite;
}
.ls-host[data-stage="revealed"] .ls-burst-ring {
  animation: burst-ring-anim 0.9s ease-out both;
}
.ls-rule {
  font-family: var(--tc);
  font-weight: 500;
  font-size: 13px;
  color: var(--paper);
  text-align: center;
  line-height: 1.55;
  padding: 0 8px;
  margin-top: 4px;
}
.ls-rule b { color: var(--float); font-weight: 700; }
.ls-accept {
  width: 90%;
  padding: 13px 0;
  background: transparent;
  border: 1px solid var(--paper);
  border-radius: 100px;
  color: var(--paper);
  font-family: var(--tc);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-align: center;
  margin-top: auto;
  margin-bottom: 8px;
}
.ls-reveal-foot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(245, 240, 230, 0.4);
  letter-spacing: 0.15em;
}
.ls-reveal-foot .holiday-c { font-weight: 700; }

/* odds pie chart (right column) */
.ls-odds {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ls-odds-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.ls-odds-num {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--float);
  line-height: 0.9;
}
.ls-odds-text {
  font-family: var(--tc);
  font-size: 16px;
  color: var(--paper);
  line-height: 1.5;
}
.ls-odds-text b { color: var(--holiday); }

/* =========================================================
   RESPONSIVE — scale fixed-size visual blocks for tablet/phone
   ========================================================= */
@media (max-width: 760px) {
  /* tame the giant decorative numerals regardless of inline font-size */
  .bg-numeral { font-size: clamp(150px, 44vw, 360px) !important; }
}
@media (max-width: 600px) {
  .poker-card { width: min(78vw, 300px); height: auto; aspect-ratio: 5 / 7;
    padding: 22px; border-radius: 16px; }
  .pc-num { font-size: 56px; } .pc-suit { font-size: 30px; }
  .pc-name { font-size: 40px; } .pc-en { font-size: 16px; }
  .pc-divider { margin-top: 18px; } .pc-tag { margin-top: 10px; }

  .physical-card { max-width: 300px; border-radius: 18px; }

  .phone-frame { width: min(80vw, 300px); height: auto; aspect-ratio: 36 / 74;
    border-radius: 42px; padding: 11px; }
  .phone-screen { border-radius: 33px; }

  .god-card-holo { width: 168px; height: 244px; }
}
