:root {
  --bg: #000;
  --bg-elevated: #0d0d0f;
  --bg-card: #141416;
  --bg-card-2: #1a1a1e;
  --text: #fff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --pink: #da1c5c;
  --purple: #7a1878;
  --accent: #db2777;
  --amber: #fbbf24;
  --border: rgba(255, 255, 255, 0.08);
  --max: 1200px;
  --header-h: 80px;
  --grad-cta: linear-gradient(90deg, #da1c5c, #7a1878, #7a1878, #da1c5c);
  --font: "Open Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.nav-main a {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
  white-space: nowrap;
  transition: color .2s;
}

.nav-main a:hover,
.nav-main a.active { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-actions .link-download {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform .15s, opacity .15s, box-shadow .2s;
}

.btn:hover { transform: translateY(-1px); opacity: .95; }

.btn-cta {
  background: var(--grad-cta);
  color: #fff;
  min-width: 72px;
  height: 40px;
  box-shadow: 0 0 0 0 transparent;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  height: 40px;
  padding: 8px 22px;
}

.btn-lg { height: 48px; padding: 12px 28px; font-size: 15px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  height: 36px;
}

.search-box input {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0 14px;
  width: 160px;
  outline: none;
  font-size: 13px;
}

.search-box button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0 12px;
  height: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(122, 24, 120, 0.35), transparent 60%),
    linear-gradient(180deg, #1a050a 0%, #000 70%);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-media video,
.hero-media img.hero-poster {
  width: min(58%, 780px);
  height: 100%;
  object-fit: cover;
  object-position: center right;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.hero-claw {
  position: absolute;
  left: 0;
  top: 0;
  width: min(42vw, 520px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 56px;
  max-width: 560px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-suits {
  display: flex;
  gap: 22px;
  margin: 18px 0 28px;
  flex-wrap: wrap;
}

.hero-suits .suit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #f3f4f6;
}

.hero-suits .suit img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.reward-card {
  margin-top: 28px;
  background: rgba(20, 20, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  max-width: 480px;
}

.reward-card h5 {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 16px;
  font-weight: 700;
}

.reward-card p {
  margin: 0 0 16px;
  color: #e5e7eb;
  font-size: 14px;
}

.reward-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt { background: #050507; }

.section-head {
  margin-bottom: 36px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Promo grid */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.promo-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 28, 92, 0.45);
}

.promo-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.promo-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card .body {
  padding: 14px 14px 18px;
  flex: 1;
}

.promo-card h5 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.promo-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature rows */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, #151518, #0c0c0e);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.feature-card img.icon {
  width: 72px;
  height: auto;
  margin-bottom: 14px;
}

.feature-card .stat {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #fff, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card h5 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Experience */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.exp-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.exp-card .thumb {
  aspect-ratio: 1;
  background: #0a0a0c;
}

.exp-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.exp-card .body { padding: 14px; }
.exp-card h4 { margin: 0 0 6px; font-size: 15px; }
.exp-card p { margin: 0; font-size: 12px; color: var(--text-muted); }

/* Tournament */
.tourney-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.tourney-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0c;
}

.tourney-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tourney-list {
  display: grid;
  gap: 12px;
}

.tourney-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  transition: border-color .2s;
}

.tourney-item:hover { border-color: rgba(218, 28, 92, 0.5); }

.tourney-item img {
  width: 88px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.tourney-item h5 { margin: 0 0 4px; font-size: 14px; }
.tourney-item p { margin: 0; font-size: 12px; color: var(--text-muted); }

/* Sponsors */
.sponsors {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #000 url("../assets/images/original/sponsor-bg.webp") center / cover no-repeat;
}

.sponsors::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sponsors .container { position: relative; z-index: 1; }

.sponsors h2 {
  margin: 0 0 28px;
  font-size: 36px;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  height: 48px;
  width: auto;
  filter: brightness(1.05);
}

/* Download */
.download-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.download-section img.devices {
  width: 100%;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.platform-badges span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #e5e7eb;
}

/* FAQ */
.faq-list { max-width: 860px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item .answer {
  display: none;
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-item.open .answer { display: block; }
.faq-item .chev::after { content: "+"; color: var(--accent); font-size: 20px; }
.faq-item.open .chev::after { content: "−"; }

/* News / list */
.page-banner {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #140810, #000);
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

.page-banner p { margin: 0; color: var(--text-muted); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 0 64px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 28, 92, 0.4);
}

.news-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .body { padding: 16px; }

.news-card .cat {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.news-card .meta {
  font-size: 12px;
  color: var(--text-dim);
}

.news-card .excerpt {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.filters a,
.filters button {
  border: 1px solid var(--border);
  background: #111;
  color: #ddd;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}

.filters a.active,
.filters button.active {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 64px;
}

.pager button {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #111;
  color: #fff;
}

.pager button.active {
  background: var(--grad-cta);
  border-color: transparent;
}

/* Article */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 40px 0 72px;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.article-main .cover {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}

.article-main .cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-main h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.25;
}

.article-meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
}

.article-body {
  font-size: 16px;
  color: #e5e7eb;
}

.article-body p { margin: 0 0 16px; }
.article-body h2 {
  margin: 28px 0 12px;
  font-size: 22px;
}
.article-body h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}
.article-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.article-body li { margin-bottom: 6px; }
.article-body img {
  border-radius: 10px;
  margin: 16px 0;
  width: 100%;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.side-card h4 {
  margin: 0 0 12px;
  font-size: 15px;
}

.side-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: #ddd;
}

.side-list a:last-child { border-bottom: 0; }

/* Footer */
.site-footer {
  background: #070708;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.footer-col h5 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--accent); }

.footer-compliance {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-compliance img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.footer-copy {
  padding-top: 18px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}

.footer-copy p { margin: 0 0 8px; }

/* Mobile page special */
.mobile-hero {
  text-align: center;
  padding: 48px 0 24px;
}

.mobile-hero img.devices {
  max-width: 520px;
  margin: 24px auto 0;
}

/* Utils */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }

@media (max-width: 1100px) {
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-main,
  .search-box { display: none; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #000;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    gap: 14px;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: auto; }
  .hero-content { max-width: 100%; padding: 40px 0 32px; }
  .hero h1 { font-size: 32px; }
  .hero-media { opacity: 0.35; }
  .promo-grid,
  .exp-grid,
  .feature-grid,
  .news-grid { grid-template-columns: 1fr; }
  .tourney-layout,
  .download-section,
  .article-wrap { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
