:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --card: #111;
  --ink: #ff7a2f;
  --text: #ffffff;
  --muted: #ffffff;
  --line: #2a1408;
  --orange: #ff5a00;
  --orange-2: #ff8a3d;
  --white: #ffe8d6;
  --max: 1120px;
  --font: "Noto Sans TC", "PingFang HK", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; }
body {
  margin: 0;
  font-family: var(--font);
  background: #000;
  color: #ffffff;
  line-height: 1.65;
}
a { color: var(--orange-2); text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.top {
  position: sticky; top: 0; z-index: 20;
  background: #000;
  border-bottom: 1px solid #ff5a00;
}
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #ff7a2f; font-weight: 800; }
.mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: #ff5a00; color: #000;
  display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: #ff7a2f; font-size: 14px; font-weight: 600; }
nav a.active, nav a:hover { color: #9a9a9a; }
.top-tools { margin-left: auto; }
.lang { display: flex; background: #000; border: 1px solid #ff5a00; border-radius: 999px; overflow: hidden; }
.lang button {
  background: transparent; color: #cfcfcf; border: 0; padding: 6px 11px;
  cursor: pointer; font: 12px/1 var(--font);
}
.lang button.on { background: #ff5a00; color: #000; font-weight: 800; }

.hero { padding: 72px 0 28px; background: #000; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.eyebrow { color: #ff5a00; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: #ff7a2f; }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: .98; letter-spacing: -.04em; margin: 14px 0 18px; font-weight: 800; }
.hero p { color: #ffffff; max-width: 520px; font-size: 16px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff5a00; color: #000; font-weight: 800;
  border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer;
}
.btn:hover { background: #ff8a3d; }
.btn.ghost { background: #000; color: #ff7a2f; border: 1px solid #ff5a00; }
.btn.is-off { display: none; }

.panel {
  background: #0d0d0d;
  border: 1px solid #ff5a00;
  border-radius: 22px;
  padding: 22px;
}
.panel h3 { margin: 0 0 14px; font-size: 18px; color: #ff7a2f; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
 .tile {
  background: #000; border: 1px solid #3a1c0c; border-radius: 14px;
  padding: 14px; color: #ffffff;
}
.tile:hover { border-color: #ff5a00; }
.tile strong { color: #ff7a2f; }
.tile span { display: block; color: #ffffff; font-size: 12px; margin-top: 4px; }
.links { margin-top: 14px; display: grid; gap: 6px; }
.links a {
  display: flex; justify-content: space-between; color: #ff7a2f;
  padding: 8px 2px; border-top: 1px solid #3a1c0c; font-size: 14px;
}

section { padding: 28px 0 72px; background: #000; }
.white { background: #050505; border-top: 1px solid #ff5a00; }
.white h2, .white h3 { color: #ff7a2f; }
.white p, .white li, .lead { color: #ffffff; }
.lead { margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: #0a0a0a; border: 1px solid #3a1c0c; border-radius: 18px;
  padding: 20px; color: #ffffff;
  border-left: 3px solid #ff5a00;
}
.white a.card { color: #ffffff; display: block; }
.card:hover { border-color: #ff5a00; }
.card h3 { margin: 6px 0 8px; font-size: 20px; color: #ff7a2f; }
.card p { margin: 0; color: #ffffff; font-size: 14px; }
.card .eyebrow { margin-bottom: 6px; color: #ff5a00; }
.match-card .vs { color: #ff5a00; }
code { background: #1a0c06; color: #ff8a3d; padding: 1px 6px; border-radius: 6px; font-size: 13px; }

footer { background: #000; border-top: 1px solid #ff5a00; padding: 20px 0 32px; color: #ffffff; font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .top-inner { flex-wrap: wrap; }
  nav { width: 100%; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 36px; }
  .hero { padding-top: 40px; }
}

.exit-card { cursor: pointer; text-decoration: none; }
.exit-card:hover { transform: translateY(-2px); }
.exit-label {
  display: inline-block; margin-top: 12px; padding: 8px 14px;
  background: #ff5a00; color: #000; font-weight: 800; border-radius: 999px; font-size: 13px;
}

.match-card, a.exit-card, article.match-card {
  border: 2px solid #e6b325 !important;
  box-shadow: 0 0 0 1px #8a6a12, 0 10px 28px rgba(230,179,37,.22);
}
.exit-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.exit-label.alt { background: transparent; color:#e6b325; border:1px solid #e6b325; }

.btn, .exit-label, .tile, .lang button {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, color .18s ease;
}
.btn:hover, .exit-label:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 18px rgba(255,90,0,.35);
}
.btn:active, .exit-label:active { transform: translateY(1px); }
.exit-label {
  animation: btnPulse 2.8s ease-in-out infinite;
}
.exit-label.alt { animation-delay: 1.2s; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,179,37,.0); }
  50% { box-shadow: 0 0 0 6px rgba(230,179,37,.18); }
}
.tile:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .exit-label, .tile, .lang button { animation: none; transition: none; }
}
