:root {
  --ink: #090609;
  --ink-soft: #120a10;
  --plum: #211020;
  --panel: #2b1426;
  --pink: #ff3d91;
  --coral: #ff7448;
  --gold: #f8d6a2;
  --mint: #a9ffcc;
  --cream: #fff7ee;
  --muted: #cdbcc7;
  --line: rgba(255,255,255,.14);
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 8%, rgba(255,61,145,.15), transparent 28rem),
    radial-gradient(circle at 8% 48%, rgba(255,116,72,.09), transparent 30rem),
    var(--ink);
  font-family: Tahoma, "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.76;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; z-index: 200; top: -80px; left: 16px; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 0 0 12px 12px; }
.skip:focus { top: 0; }

.top {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(9,6,9,.9);
  backdrop-filter: blur(18px);
}
.top-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: baseline; letter-spacing: -.07em; font-weight: 1000; line-height: 1; white-space: nowrap; }
.wordmark span { font-size: 25px; }
.wordmark b { color: var(--pink); font-size: 30px; }
.top nav { display: flex; align-items: center; gap: 5px; margin-right: auto; }
.top nav a { color: var(--muted); padding: 8px 11px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--cream); background: rgba(255,255,255,.08); }
.account { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.account a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; }
.account .hot { color: var(--ink); border-color: var(--pink); background: linear-gradient(135deg, var(--pink), var(--coral)); }
.menu { display: none; }

.campaign { position: relative; min-height: 720px; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.campaign-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; z-index: -3; }
.campaign-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(9,6,9,.97) 0%, rgba(9,6,9,.78) 38%, rgba(9,6,9,.08) 72%), linear-gradient(0deg, rgba(9,6,9,.72), transparent 48%); }
.campaign-copy { min-height: 720px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 100px; }
.campaign-copy > * { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--mint); font-size: 12px; line-height: 1.4; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 7.1vw, 104px); max-width: 780px !important; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.5vw, 64px); text-wrap: balance; }
h3 { font-size: 21px; }
.lead { margin: 0 0 32px; color: #f4e8ef; font-size: clamp(18px, 2vw, 23px); line-height: 1.65; }
.campaign-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 900; }
.pill.primary { color: var(--ink); border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--coral)); box-shadow: 0 15px 34px rgba(255,61,145,.23); }
.pill.ghost { background: rgba(9,6,9,.42); backdrop-filter: blur(8px); }
.pill:hover { transform: translateY(-2px); }
.vertical-label { position: absolute; right: 18px; top: 50%; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 900; letter-spacing: .22em; writing-mode: vertical-rl; transform: translateY(-50%); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); color: var(--ink); background: var(--gold); }
.marquee div { width: max-content; padding: 11px 0; font-size: 13px; font-weight: 1000; letter-spacing: .08em; animation: crawl 20s linear infinite; }
.marquee i { color: var(--pink); padding-inline: 18px; }
@keyframes crawl { to { transform: translateX(-20%); } }
.crumbs { display: flex; align-items: center; gap: 10px; padding-block: 24px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--mint); }

.world-section { padding: 110px 0 130px; }
.section-intro { display: grid; grid-template-columns: .65fr 1.3fr 1fr; align-items: end; gap: 40px; margin-bottom: 56px; }
.section-intro h2, .section-intro p { margin-bottom: 0; }
.section-intro > p:last-child { color: var(--muted); }
.world-grid { display: grid; grid-template-columns: 1.25fr .8fr; grid-template-rows: repeat(2, 330px); gap: 18px; }
.world { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.world:first-child { grid-row: 1 / 3; }
.world img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.world:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,6,9,.94), transparent 63%); }
.world span { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: grid; }
.world small { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.world strong { font-size: clamp(28px, 4vw, 50px); line-height: 1.05; }
.world i { color: var(--gold); font-size: 13px; font-style: normal; font-weight: 800; }
.world:hover img { transform: scale(1.04); }

.story { padding: 50px 0 120px; }
.story-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 80px; }
.story aside { position: sticky; top: 104px; align-self: start; min-width: 0; width: 100%; }
.story aside nav { display: grid; border-top: 1px solid var(--line); }
.story aside a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.4; }
.story aside a:hover { color: var(--mint); }
.story aside b { color: var(--pink); }
.story article { min-width: 0; }
.story-block { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 24px; padding: 0 0 90px; scroll-margin-top: 110px; }
.story-block + .story-block { padding-top: 70px; border-top: 1px solid var(--line); }
.scene-no { color: var(--pink); font-size: 14px; font-weight: 1000; letter-spacing: .12em; }
.story-block p { max-width: 790px; margin: 0 0 22px; color: #ddced7; }
.story-block p a { color: var(--mint); text-decoration: underline; text-decoration-color: rgba(169,255,204,.36); text-underline-offset: 4px; }
.story-block p strong { color: var(--gold); font-weight: 900; }
.story-block p .keyword { padding: 0 .08em; border-radius: 4px; }
.story-block p .keyword.primary { color: var(--pink); }
.story-block p .keyword.secondary { color: var(--gold); }
.story-block p .keyword.longtail { color: var(--cream); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.signal-board { padding: 100px 0; border-block: 1px solid var(--line); background: linear-gradient(135deg, var(--plum), #10090e); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related a { display: grid; min-height: 142px; align-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.related small { color: var(--pink); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.related span { font-size: 20px; font-weight: 900; }
.related a:hover { border-color: var(--mint); transform: translateY(-3px); }
.faq { padding: 120px 0; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.faq-layout > div:first-child p:last-child { color: var(--muted); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 22px 36px 22px 0; list-style: none; font-size: 18px; font-weight: 900; position: relative; }
summary:after { content: "+"; position: absolute; right: 2px; color: var(--pink); font-size: 24px; }
details[open] summary:after { content: "−"; }
details p { color: var(--muted); margin: 0; padding: 0 0 24px; }
.finale { padding: 120px 0; text-align: center; background: radial-gradient(circle at 50% 0, rgba(255,61,145,.27), transparent 34rem), var(--plum); }
.finale .shell { max-width: 880px; }
.finale p:not(.eyebrow) { color: var(--muted); max-width: 700px; margin: -20px auto 28px; }

footer { padding: 80px 0 105px; background: #050305; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; }
.footer-grid p { color: var(--muted); max-width: 520px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h3 { color: var(--gold); margin-bottom: 7px; }
.footer-grid a:not(.wordmark) { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--mint); }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--line); color: #8d7c86; font-size: 11px; }
.dock { display: none; }
.simple { min-height: 70vh; padding: 120px 0; }
.simple h1 { font-size: clamp(42px, 6vw, 84px); }
.simple p { max-width: 760px; color: var(--muted); }

@media (max-width: 960px) {
  .top nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; padding: 14px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: #120a10; box-shadow: var(--shadow); }
  .top nav.open { display: flex; }
  .top nav a { padding: 11px 14px; }
  .menu { display: block; margin-left: auto; color: var(--cream); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
  .account { margin-left: 0; }
  .account > a:first-child { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 12px; }
  .story-layout { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .story aside { position: static; }
  .story aside nav { grid-template-columns: repeat(2, 1fr); }
  .story aside a:nth-child(odd) { padding-right: 18px; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; padding-bottom: 62px; }
  .top-inner { min-height: 64px; gap: 10px; }
  .wordmark span { font-size: 21px; }
  .wordmark b { font-size: 25px; }
  .account .hot { padding: 7px 11px; font-size: 12px; }
  .campaign, .campaign-copy { min-height: 650px; }
  .campaign-art { object-position: 62% center; }
  .campaign-shade { background: linear-gradient(0deg, rgba(9,6,9,.98) 0%, rgba(9,6,9,.75) 58%, rgba(9,6,9,.13) 100%); }
  .campaign-copy { justify-content: flex-end; padding-block: 72px 48px; }
  h1 { font-size: clamp(43px, 15vw, 64px); }
  h2 { font-size: 38px; }
  .lead { font-size: 17px; }
  .vertical-label { display: none; }
  .world-section { padding: 78px 0; }
  .world-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .world, .world:first-child { grid-row: auto; min-height: 290px; }
  .story { padding-bottom: 80px; }
  .story aside { overflow: hidden; }
  .story aside nav { display: flex; width: 100%; max-width: 100%; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; }
  .story aside nav::-webkit-scrollbar { display: none; }
  .story aside a { flex: 0 0 240px; scroll-snap-align: start; }
  .story-block { grid-template-columns: 1fr; gap: 9px; padding-bottom: 62px; }
  .story-block + .story-block { padding-top: 52px; }
  .related { grid-template-columns: 1fr; }
  .signal-board, .faq, .finale { padding: 78px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .legal { flex-direction: column; }
  .dock { position: fixed; z-index: 90; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 5px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(9,6,9,.96); backdrop-filter: blur(12px); }
  .dock a { color: var(--muted); text-align: center; font-size: 11px; font-weight: 800; }
  .dock a:last-child { color: var(--pink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
