/* Rising Cat — retro risograph poster theme */
:root {
  --paper: #f5ecd7;
  --paper-2: #ede0c2;
  --navy: #1a2550;
  --navy-2: #24336b;
  --red: #ee4423;
  --blue: #2c4fa3;
  --ink: #1a2550;
  --muted: #4a5478;
  --display: "Anton", "Noto Sans TC", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --body: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --shadow: 6px 6px 0 var(--navy);
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* risograph grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1 0 0 0 0 .14 0 0 0 0 .31 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--navy); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: cover; mix-blend-mode: multiply; }
.brand b { font-family: var(--display); font-size: 26px; letter-spacing: .04em; color: var(--navy); line-height: 1; }
.brand small { display: block; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .2em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--red); }
.menu-btn { display: none; background: none; border: 3px solid var(--navy); width: 44px; height: 40px; font-size: 20px; color: var(--navy); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; font-weight: 900; font-size: 16px;
  border: 3px solid var(--navy); box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--navy); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--navy); }
.btn-red { background: var(--red); color: #fff; }
.btn-paper { background: var(--paper); color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 14px; box-shadow: 4px 4px 0 var(--navy); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--navy); border: 2px solid var(--navy); padding: 6px 12px; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
.hero .display {
  font-family: var(--display); font-size: 104px; line-height: .92; color: var(--navy);
  letter-spacing: .01em; margin: 22px 0 10px; text-transform: uppercase;
}
.hero .display span { color: var(--red); }
.hero h1 { font-size: 40px; font-weight: 900; line-height: 1.3; color: var(--navy); }
.hero h1 mark { background: none; color: var(--navy); box-shadow: inset 0 -.38em 0 rgba(238, 68, 35, .55); }
.hero .lead { font-size: 18px; color: var(--muted); margin: 14px 0 28px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-art { position: relative; aspect-ratio: 1; }
.orbit { position: absolute; inset: 2%; border: 2px dashed var(--navy); border-radius: 50%; opacity: .35; }
.orbit.o2 { inset: 14%; border-style: dotted; opacity: .3; }
.planet { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--red); top: 6%; right: 10%;
  background-image: radial-gradient(rgba(26, 37, 80, .35) 1.2px, transparent 1.4px); background-size: 6px 6px; }
.planet.p2 { width: 26px; height: 26px; top: auto; bottom: 12%; left: 4%; right: auto; background-color: var(--blue); }
.star { position: absolute; color: var(--navy); font-size: 22px; line-height: 1; }
.hero-art img { position: relative; width: 74%; height: auto; margin: 13% auto 0; border: 3px solid var(--navy); box-shadow: 10px 10px 0 var(--navy); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(0deg); } }

.stamp { position: absolute; left: -4%; bottom: 4%; width: 150px; height: 150px; transform: rotate(-14deg); }
.stamp svg { width: 100%; height: 100%; }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy); color: var(--paper); border-block: 3px solid var(--navy); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; padding: 14px 0; animation: marquee 28s linear infinite; font-weight: 900; font-size: 18px; letter-spacing: .06em; }
.ticker-track span::after { content: "✦"; color: var(--red); margin-left: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; border-bottom: 3px solid var(--navy); padding-bottom: 18px; }
.sec-head .tag { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--red); font-weight: 700; }
.sec-head h2 { font-size: 44px; font-weight: 900; line-height: 1.15; color: var(--navy); margin-top: 6px; }
.sec-head h2 em { font-style: normal; font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.sec-head p { color: var(--muted); max-width: 360px; text-align: right; }
.alt { background: var(--paper-2); }
.halftone { background-image: radial-gradient(rgba(26, 37, 80, .13) 1.3px, transparent 1.5px); background-size: 14px 14px; }

/* ---------- Mission (features) ---------- */
.missions { display: grid; grid-template-columns: repeat(4, 1fr); border: 3px solid var(--navy); background: var(--paper); box-shadow: 10px 10px 0 var(--navy); }
.mission { padding: 30px 24px 34px; border-right: 3px solid var(--navy); }
.mission:last-child { border-right: 0; }
.mission .no { font-family: var(--display); font-size: 54px; line-height: 1; color: var(--red); }
.mission svg { width: 40px; height: 40px; stroke: var(--navy); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; margin: 14px 0 10px; }
.mission h3 { font-size: 21px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.mission p { color: var(--muted); font-size: 15px; }

/* ---------- Boarding-pass breed tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ticket { --hole: var(--paper); position: relative; background: #fffaf0; border: 3px solid var(--navy); box-shadow: var(--shadow); transition: transform .15s; }
.ticket:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--navy); }
.ticket .top { display: flex; justify-content: space-between; background: var(--navy); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; padding: 8px 14px; }
.ticket .top b { color: var(--red); }
.ticket .main { padding: 18px 16px 16px; border-bottom: 3px dashed var(--navy); position: relative; }
.ticket .main::before, .ticket .main::after {
  content: ""; position: absolute; bottom: -14px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--hole); border: 3px solid var(--navy);
}
.ticket .main::before { left: -15px; clip-path: inset(0 0 0 50%); }
.ticket .main::after { right: -15px; clip-path: inset(0 50% 0 0); }
.ticket .label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.ticket h3 { font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1.25; }
.ticket .en { font-family: var(--display); font-size: 17px; color: var(--red); letter-spacing: .04em; }
.ticket .route { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.ticket .route i { flex: 1; border-top: 2px dotted var(--navy); margin: 0 8px; position: relative; }
.ticket .route i::after { content: "🚀"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-size: 14px; font-style: normal; }
.ticket .stub { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.barcode { height: 30px; width: 110px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px); }
.ticket .seat { font-family: var(--display); font-size: 26px; color: var(--navy); }
.center-cta { text-align: center; margin-top: 46px; }

/* ---------- Countdown process ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr) .7fr; gap: 0; border: 3px solid var(--navy); background: var(--paper); }
.count { padding: 28px 22px 30px; border-right: 3px solid var(--navy); }
.count .num { font-family: var(--display); font-size: 84px; line-height: .9; color: transparent; -webkit-text-stroke: 2.5px var(--navy); }
.count h3 { font-size: 20px; font-weight: 900; color: var(--navy); margin: 14px 0 6px; }
.count p { font-size: 15px; color: var(--muted); }
.liftoff { background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 14px; }
.liftoff .rk { font-size: 54px; animation: lift 2.4s ease-in-out infinite; }
.liftoff b { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: .04em; margin-top: 8px; }
.liftoff span { font-weight: 700; margin-top: 4px; }
@keyframes lift { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-10px); } }

/* ---------- Supply station (inverted) ---------- */
.supply { background: var(--navy); color: var(--paper); }
.supply .sec-head { border-color: var(--paper); }
.supply .sec-head h2 { color: var(--paper); }
.supply .sec-head p { color: #c7cde4; }
.supply-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.supply-list { list-style: none; }
.supply-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 2px dashed rgba(245, 236, 215, .35); font-size: 17px; }
.supply-list li b { font-family: var(--mono); color: var(--red); }
.supply .btn { margin-top: 28px; border-color: var(--paper); box-shadow: 6px 6px 0 var(--red); }
.supply .btn:hover { box-shadow: 3px 3px 0 var(--red); }
.crates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.crate { border: 3px solid var(--paper); padding: 26px 20px; position: relative; }
.crate:nth-child(2), .crate:nth-child(3) { background: var(--red); border-color: var(--red); }
.crate b { font-family: var(--display); font-size: 46px; line-height: 1; letter-spacing: .03em; display: block; }
.crate span { font-weight: 700; }
.crate::after { content: attr(data-no); position: absolute; top: 10px; right: 12px; font-family: var(--mono); font-size: 11px; opacity: .8; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border: 3px solid var(--navy); background: var(--paper); margin-bottom: 14px; box-shadow: 5px 5px 0 var(--navy); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 900; font-size: 17px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--display); color: var(--red); font-size: 22px; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--display); font-size: 28px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px 58px; color: var(--muted); }

/* ---------- HQ / contact ---------- */
.hq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border: 3px solid var(--navy); box-shadow: 10px 10px 0 var(--navy); background: var(--paper); }
.hq-info { padding: 36px 32px; border-right: 3px solid var(--navy); }
.hq-info .coords { font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .12em; }
.hq-info h2 { font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.2; margin: 6px 0 22px; }
.hq-row { padding: 14px 0; border-top: 2px dashed rgba(26, 37, 80, .35); }
.hq-row .label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.hq-row div:last-child { font-weight: 700; font-size: 17px; }
.hq-info .btn { margin-top: 22px; }
.hq-map { min-height: 420px; }
.hq-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: sepia(.25) saturate(.9); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #c7cde4; padding: 56px 0 30px; overflow: hidden; }
.big-name { font-family: var(--display); font-size: clamp(64px, 15vw, 210px); line-height: .85; color: var(--paper); letter-spacing: .01em; white-space: nowrap; }
.big-name span { color: var(--red); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 2px solid rgba(245, 236, 215, .25); font-size: 14px; }
.foot a:hover { color: var(--paper); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: #25d366;
  border: 3px solid var(--navy); box-shadow: 4px 4px 0 var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-art img, .liftoff .rk { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .display { font-size: 82px; }
  .missions { grid-template-columns: 1fr 1fr; }
  .mission:nth-child(2) { border-right: 0; }
  .mission:nth-child(-n+2) { border-bottom: 3px solid var(--navy); }
  .tickets { grid-template-columns: repeat(2, 1fr); }
  .countdown { grid-template-columns: 1fr 1fr; }
  .count:nth-child(2n) { border-right: 0; }
  .count { border-bottom: 3px solid var(--navy); }
  .liftoff { grid-column: 1 / -1; flex-direction: row; gap: 16px; }
  .liftoff b { margin-top: 0; }
}
@media (max-width: 780px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 3px solid var(--navy);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; border-top: 2px solid var(--paper-2); }
  .nav-links .btn { margin: 12px 20px 16px; justify-content: center; }
  .hero { padding: 28px 0 56px; }
  .hero-grid, .supply-grid, .hq { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 300px; margin: 0 auto; width: 100%; }
  .stamp { width: 104px; height: 104px; left: -2%; }
  .hero .display { font-size: 60px; margin-top: 16px; }
  .hero h1 { font-size: 30px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head h2 { font-size: 32px; }
  .sec-head p { text-align: left; }
  section { padding: 64px 0; }
  .hq-info { border-right: 0; border-bottom: 3px solid var(--navy); }
  .hq-map, .hq-map iframe { min-height: 320px; }
}
@media (max-width: 520px) {
  .missions { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--navy); }
  .mission { border-right: 0 !important; border-bottom: 3px solid var(--navy); }
  .mission:last-child { border-bottom: 0; }
  .tickets { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ticket { box-shadow: 4px 4px 0 var(--navy); }
  .ticket .top { font-size: 9px; padding: 6px 10px; letter-spacing: .08em; }
  .ticket .top span { overflow: hidden; white-space: nowrap; }
  .ticket .main { padding: 12px 12px 14px; }
  .ticket h3 { font-size: 18px; }
  .ticket .en { font-size: 12px; }
  .ticket .route { display: none; }
  .ticket .stub { padding: 10px 12px; }
  .barcode { width: 64px; height: 22px; }
  .ticket .seat { font-size: 20px; }
  .countdown { grid-template-columns: 1fr; }
  .count { border-right: 0; }
  .count .num { font-size: 64px; }
  .crate b { font-size: 34px; }
  .hq { box-shadow: 6px 6px 0 var(--navy); }
  .faq details p { padding-left: 20px; }
}
