:root {
  --bg-deep: #070d12;
  --bg-card: #0e1821;
  --bg-card-hover: #13212e;
  --bg-elevated: #162635;
  --border-subtle: rgba(120, 190, 175, 0.16);
  --border-strong: rgba(94, 219, 183, 0.45);
  --accent-primary: #4fd1a5;
  --accent-glow: rgba(79, 209, 165, 0.25);
  --accent-gold: #f0c068;
  --accent-gold-bg: rgba(240, 192, 104, 0.14);
  --linepay-green: #06c755;
  --lemon-yellow: #ffc233;
  --lemon-purple: #7047eb;
  --text-main: #edf5fc;
  --text-secondary: #9bb0c4;
  --text-muted: #687f94;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-main: 0 18px 48px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: "Inter", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 209, 165, 0.11), transparent 38%),
    radial-gradient(circle at 82% 16%, rgba(240, 192, 104, 0.08), transparent 36%),
    linear-gradient(180deg, #070d12 0%, #0a131b 50%, #070d12 100%);
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #7ee8c4;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79, 209, 165, 0.22), rgba(240, 192, 104, 0.18));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-primary);
  box-shadow: 0 0 18px var(--accent-glow);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 700;
}
.brand-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
  border-bottom-color: var(--accent-primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  background: #0c161e;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 3px;
  gap: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-btn:hover {
  color: var(--text-main);
}
.lang-btn.active {
  background: var(--bg-elevated);
  color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.member-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #162b36 0%, #102029 100%);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.member-trigger-btn:hover {
  background: #1d3847;
  transform: translateY(-1px);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}
.status-dot.active {
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

/* Announcement Banner */
.top-notice {
  margin-top: 22px;
  background: rgba(79, 209, 165, 0.08);
  border: 1px solid rgba(79, 209, 165, 0.28);
  border-radius: 11px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #d4f3e9;
}
.top-notice-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}
.region-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.badge-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11.5px;
}
.badge-pill.lemon {
  background: rgba(112, 71, 235, 0.22);
  color: #cbb8ff;
  border: 1px solid rgba(112, 71, 235, 0.45);
}
.badge-pill.linepay {
  background: rgba(6, 199, 85, 0.18);
  color: #72f3a3;
  border: 1px solid rgba(6, 199, 85, 0.45);
}

/* Game Server Editions Bar */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.edition-info h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
}
.edition-price {
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 3px;
}
.edition-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hero Section */
.hero-section {
  padding: 42px 0 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(79, 209, 165, 0.12);
  border: 1px solid rgba(79, 209, 165, 0.3);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 16px;
}
.hero-title span {
  background: linear-gradient(90deg, #58e2b6, #f0c068);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #4fd1a5 0%, #329d79 100%);
  color: #06130e;
  box-shadow: 0 8px 24px rgba(79, 209, 165, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: #04100b;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: #1d3142;
  color: #fff;
}
.btn-linepay {
  background: linear-gradient(135deg, #06c755 0%, #049f43 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.25);
}
.btn-linepay:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-1px);
}
.btn-lemon {
  background: linear-gradient(135deg, #7047eb 0%, #5532c7 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(112, 71, 235, 0.28);
}
.btn-lemon:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-price-box {
  background: linear-gradient(180deg, #111f2b 0%, #0c161f 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
}
.hero-price-badge {
  display: inline-block;
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  border: 1px solid rgba(240, 192, 104, 0.4);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hero-price-main {
  font-size: 23px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
}
.hero-checklist {
  list-style: none;
  margin-bottom: 20px;
}
.hero-checklist li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-checklist li::before {
  content: "✓";
  color: var(--accent-primary);
  font-weight: 900;
}
.hero-pay-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Video Showcase Section */
.section-block {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.section-header {
  margin-bottom: 26px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-main);
}
.video-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.video-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}
.chapter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chapter-btn {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.chapter-btn:hover,
.chapter-btn.active {
  color: var(--accent-primary);
  border-color: var(--border-strong);
  background: #1a2f40;
}

.video-frame-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #04080b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}
.video-frame-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .shot-gallery {
    grid-template-columns: 1fr;
  }
}
.shot-card {
  background: #0a1219;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.shot-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.shot-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}
.shot-card-caption {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* 6 Features Grid (Inspired by /features with distinct original copy) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.feature-idx {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-primary);
  background: rgba(79, 209, 165, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.feature-lead {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Advanced Features & Scope Box */
.advanced-panel {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(16, 30, 42, 0.92), rgba(11, 21, 30, 0.95));
  border: 1px solid rgba(240, 192, 104, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.advanced-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.advanced-panel p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.adv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.adv-tag {
  background: rgba(240, 192, 104, 0.12);
  border: 1px solid rgba(240, 192, 104, 0.35);
  color: #f7d794;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

/* Installation Guide Section */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.step-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}
.step-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Dual Sales / Pricing Section */
.pricing-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.sales-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-main);
}
.sales-card.asia {
  border-color: rgba(6, 199, 85, 0.5);
}
.sales-card.global {
  border-color: rgba(112, 71, 235, 0.5);
}
.sales-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 12px;
}
.sales-card.asia .sales-region-tag {
  background: rgba(6, 199, 85, 0.16);
  color: #6df09e;
  border: 1px solid rgba(6, 199, 85, 0.4);
}
.sales-card.global .sales-region-tag {
  background: rgba(112, 71, 235, 0.2);
  color: #cbb8ff;
  border: 1px solid rgba(112, 71, 235, 0.45);
}
.sales-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}
.sales-price-line {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.sales-features {
  list-style: none;
  margin-bottom: 22px;
}
.sales-features li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 7px 0 7px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  line-height: 1.65;
}
.sales-features li::before {
  content: "✦";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  top: 7px;
}

/* Member Portal Section */
.member-portal-card {
  background: linear-gradient(180deg, #101c26 0%, #0b141c 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-main);
}
.member-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}
.member-box {
  background: rgba(7, 13, 18, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}
.member-box h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: #0d1822;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 13.5px;
  outline: none;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--accent-primary);
}

.license-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(79, 209, 165, 0.12);
  border: 1px solid rgba(79, 209, 165, 0.35);
  margin-bottom: 14px;
}
.license-key-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.license-code {
  flex: 1;
  font-family: "JetBrains Mono", Consolas, monospace;
  background: #060b0f;
  border: 1px solid var(--border-subtle);
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 1px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 10, 0.82);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.hidden {
  display: none !important;
}
.modal-card {
  background: #0f1b25;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-header h3 {
  font-size: 19px;
  font-weight: 800;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
}
.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 14px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #06c755;
  font-weight: 900;
  border: 4px solid #06c755;
  text-align: center;
}

/* Footer */
.site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0 44px;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
