:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --text: #f5f5f6;
  --muted: rgba(245, 245, 246, 0.72);
  --red: #ee0002;
  --line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: "Barlow Condensed", "PingFang TC", "Microsoft JhengHei", sans-serif; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: 0.9; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.95; margin: 0 0 12px; }
h3 { margin: 0; font-size: 1.35rem; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  background: #050505;
  backdrop-filter: none;
}
.brand { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: 0.12em; font-size: 1.5rem; }
.main-nav {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: #050505; flex-direction: column; padding: 12px 22px 18px; z-index: 21;
}
.topbar.is-open .main-nav { display: flex; }
.header-cta { display: none; }
.top-links { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.top-links a { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 12px; font-size: 0.92rem; }
.main-nav a { color: var(--muted); font-size: 0.95rem; }
.lang select {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
}
.lang select option {
  color: #141416;
  background: #fff;
}
.burger { display: block; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; margin-left: 8px; }
.burger span { display: block; height: 2px; margin: 5px 0; background: #fff; }
.btn {
  display: inline-block; background: var(--red); color: #fff;
  font-weight: 700; border-radius: 999px; padding: 12px 18px;
}
.header-cta { padding: 8px 14px; }
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; margin-top: -68px;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.05) 28%, rgba(0,0,0,.45));
}
.hero-copy { position: relative; z-index: 1; text-align: center; padding: 18vh 20px 10vh; }
.hero h1 span { display: block; text-shadow: 0 8px 30px rgba(0,0,0,.45); }
.join {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(20, 20, 22, 0.72); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700;
}
.avatars { display: flex; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.panel { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 20px; }
.kicker { color: var(--red); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 40rem; margin: 0 0 22px; font-size: 1.15rem; }
.stack { position: relative; height: 460px; margin: 20px auto 10px; max-width: 760px; }
.stack img {
  position: absolute; width: min(240px, 34vw); aspect-ratio: 3/4; object-fit: cover;
  border-radius: 22px; border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.stack img:nth-child(1) { left: 6%; top: 30px; transform: rotate(-8deg); }
.stack img:nth-child(2) { left: 28%; top: 0; transform: rotate(2deg); z-index: 2; }
.stack img:nth-child(3) { left: 50%; top: 36px; transform: rotate(6deg); }
.stack img:nth-child(4) { left: 68%; top: 12px; transform: rotate(-3deg); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.flip { direction: rtl; }
.flip > * { direction: ltr; }
.phone {
  width: min(280px, 100%); margin-inline: auto; background: #000; border-radius: 32px;
  padding: 12px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.phone > img { height: 420px; width: 100%; object-fit: cover; border-radius: 22px; }
.pills { display: flex; gap: 8px; justify-content: center; margin-top: -28px; position: relative; }
.pills span, .chips li {
  background: rgba(20,20,22,.86); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px; font-size: 0.85rem;
}
.pills .on { background: var(--red); border-color: var(--red); }
.feed { display: grid; grid-template-columns: 1fr 0.7fr; gap: 10px; }
.feed img { height: 180px; width: 100%; object-fit: cover; border-radius: 18px; }
.feed img:first-child { grid-row: 1 / span 2; height: 100%; min-height: 370px; }
.bubbles { margin-top: 12px; display: grid; gap: 8px; }
.bubbles p { margin: 0; background: #1e1e1e; border-radius: 16px; padding: 10px 12px; }
.bubbles .me { background: var(--red); justify-self: end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button {
  background: transparent; color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.tabs button.is-on { background: var(--red); border-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.is-on { display: block; }
.tab-panel.split.is-on { display: grid; }
.signup { text-align: center; padding: 88px 20px 36px; }
.signup h2 { font-size: clamp(3rem, 8vw, 6.4rem); margin-bottom: 18px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.stores a { border: 1px solid #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; }
.community { text-align: center; padding: 80px 20px 40px; }
.community p { color: var(--muted); max-width: 40rem; margin: 0 auto 22px; font-size: 1.2rem; }
.faces { display: flex; justify-content: center; }
.faces img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid #0b0b0c; margin-left: -18px; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rail a, .rail article { flex: 0 0 280px; scroll-snap-align: start; }
.rail img { height: 340px; width: 100%; object-fit: cover; border-radius: 18px; }
.rail.shop img { height: 280px; background: #ececec; object-fit: cover; }
.rail h3 { margin-top: 10px; }
.pros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.pros article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-height: 92px; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); }
.foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.foot a, .foot h3 { display: block; margin: 0 0 8px; }
.foot h3 { color: var(--text); }
.legal { grid-column: 1 / -1; font-size: 0.88rem; }
section { scroll-margin-top: 76px; }

@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
  .burger { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: #0b0b0c; flex-direction: column; padding: 12px 22px 18px;
  }
  .topbar.is-open { background: #0b0b0c; }
  .topbar.is-open .main-nav { display: flex; }
  .split, .flip, .pros, .foot { grid-template-columns: 1fr; direction: ltr; }
  .stack { height: auto; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
  .stack img { position: static; width: 210px; transform: none; flex: 0 0 210px; }
  .phone > img { height: 360px; }
  .feed img:first-child { min-height: 240px; }
  select, .btn, .tabs button, .stores a { font-size: 16px; }
}
html[dir="rtl"] .main-nav { margin-right: 0; margin-left: auto; }

.qr-card {
  position: fixed; left: 14px; bottom: 14px; z-index: 25;
  width: 96px; background: #111; color: #fff; border-radius: 14px;
  padding: 8px; text-align: center; font-size: 0.72rem; line-height: 1.2;
}
.qr-card img { width: 100%; height: auto; background: #fff; border-radius: 8px; margin-bottom: 6px; }
.stage { background: #050505; padding: 88px 28px 48px; }
.stage-lead { text-align: center; color: #e8e8e8; margin: 0 0 18px; }
.cards4 { position: relative; height: 540px; display: block; }
.moment-set {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: center;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.moment-set.is-on { opacity: 1; pointer-events: auto; }
.moment-set article {
  width: 230px; margin: 0 -30px; position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12);
}
.moment-set article:nth-child(1) { transform: rotate(-8deg); z-index: 1; }
.moment-set article:nth-child(2) { transform: rotate(-2deg); z-index: 2; }
.moment-set article:nth-child(3) { transform: rotate(4deg); z-index: 3; }
.moment-set article:nth-child(4) { transform: rotate(8deg); z-index: 2; }
.cards4 img { width: 100%; height: 430px; object-fit: cover; }
.card-x { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.45); }
.card-x::before, .card-x::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: #fff; }
.card-x::before { transform: rotate(45deg); }
.card-x::after { transform: rotate(-45deg); }
.stage h2 { font-size: clamp(3rem, 7vw, 5.6rem); }
.center { text-align: center; }
.sub.center { margin-left: auto; margin-right: auto; }
.device {
  width: min(300px, 100%); margin-left: auto; position: relative;
  background: #050505; border: 10px solid #161616; border-radius: 40px; padding: 8px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.device > img { width: 100%; height: 540px; object-fit: cover; border-radius: 30px; }
.cam { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 28px; }
.cam-side { width: 36px; height: 36px; border-radius: 10px; border: 2px solid #fff; opacity: .85; }
.cam-rec { width: 68px; height: 68px; border-radius: 50%; background: #e10600; box-shadow: 0 0 0 4px #fff; }
.bubbles.over { position: absolute; right: 18px; top: 22%; display: grid; gap: 8px; margin: 0; }
.bubbles.over p { margin: 0; background: #2f6bff; color: #fff; border-radius: 16px; padding: 8px 12px; max-width: 180px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mosaic img { height: 176px; width: 100%; object-fit: cover; border-radius: 10px; }
.float3 { position: absolute; left: 12px; right: 12px; top: 64px; display: flex; gap: 6px; animation: floaty 7s ease-in-out infinite; }
.float3 img { width: 33%; height: 150px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.marquee { overflow: hidden; cursor: grab; margin-bottom: 28px; }
.marquee.is-drag { cursor: grabbing; }
.marquee-track {
  display: flex; gap: 18px; width: max-content; align-items: center;
  animation: marquee-move var(--dur, 32s) linear infinite;
}
.marquee.is-drag .marquee-track { animation: none; }
@keyframes marquee-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee .city { flex: 0 0 360px; width: 360px; }
.marquee .city-row { display: flex; grid-template-columns: none; }
.marquee .rail { overflow: visible; padding: 0; }
.marquee .rail a, .marquee .posters a { flex: 0 0 250px; }
.marquee .shop-fan { min-height: 0; justify-content: flex-start; align-items: center; }
.marquee .shop-fan a { margin: 12px 0; flex: 0 0 240px; }
.profile-device { margin-left: 0; margin-right: auto; }
.profile-chips { position: absolute; left: 12px; right: 12px; top: 28%; }
.profile-chips li { background: rgba(20,20,20,.82); }
.city-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.city { position: relative; height: 420px; border-radius: 28px; overflow: hidden; }
.city .bg { width: 100%; height: 100%; object-fit: cover; }
.city .avatar {
  position: absolute; left: 22px; top: 22px; width: 118px; height: 118px;
  border-radius: 50%; object-fit: cover; border: 5px solid #3ddc84;
}
.plane {
  position: absolute; left: 108px; top: 112px; width: 34px; height: 34px; border-radius: 50%;
  background: #141414 center / 16px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233ddc84' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E");
}
.rail.posters a { position: relative; flex-basis: 240px; }
.rail.posters img { height: 360px; border-radius: 22px; }
.rail.posters h3 { position: absolute; left: 14px; bottom: 14px; right: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.shop-fan { display: flex; justify-content: center; align-items: flex-end; min-height: 480px; }
.shop-fan a {
  position: relative; width: 230px; margin: 0 -42px; transform: rotate(var(--r));
  border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.shop-fan img { width: 100%; height: 440px; object-fit: cover; }
.shop-fan span { position: absolute; left: 12px; bottom: 14px; background: rgba(0,0,0,.5); border-radius: 999px; padding: 4px 10px; }
.dock { margin: 32px auto 0; background: #2a2a2e; width: max-content; padding: 6px; }
.dock button { border: 0; background: transparent; }
.dock button.is-on { background: #5a5a60; }
.tab-panel.explore-only.is-on { display: grid; }
#experience {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 96px 40px 40px;
}
#experience .tab-panel.split.is-on,
#community .split {
  width: min(1040px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 400px);
  gap: 56px;
  align-items: center;
}
#community {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 96px 40px;
}
#community .split { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); }
#experience .device,
#community .device { width: 100%; margin: 0; }
#experience .device > img,
#community .device > img { height: min(70vh, 640px); }
#experience h2,
#community h2 {
  font-size: clamp(3.6rem, 6.5vw, 6rem);
  line-height: 0.9;
  margin: 0 0 18px;
}
#experience .sub,
#community .sub { font-size: 1.2rem; line-height: 1.45; max-width: 26rem; color: rgba(245,245,246,.78); }
#experience .dock {
  margin: 36px auto 0;
  padding: 8px;
  gap: 6px;
  background: #2a2a2e;
}
#experience .dock button {
  min-width: 92px;
  padding: 12px 22px;
  font-size: 1.05rem;
  color: #fff;
}
@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
  .top-links { display: none; }
  .cards4 { height: 420px; }
  .cards4 img { height: 300px; }
  .moment-set article { width: 168px; margin: 0 -18px; }
  .device { margin: 0 auto; }
  #experience .tab-panel.split.is-on,
  #community .split { grid-template-columns: 1fr; }
  #experience .device > img,
  #community .device > img { height: 520px; }
  .qr-card { width: 72px; font-size: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .float3 { animation: none; }
  .moment-set { transition: none; }
}
.btn.header-cta { display: none; }
