/* fotbet.net — layout inspired by sangbet.com agent style */
:root {
  --bg: #0a0e17;
  --bg2: #111827;
  --card: #141c2b;
  --card2: #1a2438;
  --border: rgba(212, 175, 55, 0.22);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --gold: #d4af37;
  --gold2: #f0d78c;
  --green: #1d9e75;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --tg: #2aabee;
  --tg-dark: #229ed9;
  --radius: 16px;
  --header-h: 64px;
  --bottom-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-h) + var(--safe-b) + 8px);
  position: relative;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), 92%); margin: 0 auto; position: relative; z-index: 1; }

/* ========== Ambient background animation ========== */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(29, 158, 117, 0.05), transparent 55%),
    var(--bg);
}
.bg-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 28s linear infinite;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
@keyframes gridDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(48px, 48px) rotate(0deg); }
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  will-change: transform;
}
.bg-orb-1 {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -8%;
  top: 12%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
  animation: orbFloat1 16s ease-in-out infinite;
}
.bg-orb-2 {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  right: -6%;
  top: 38%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.28) 0%, transparent 70%);
  animation: orbFloat2 20s ease-in-out infinite;
}
.bg-orb-3 {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  left: 30%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.12) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
  animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 12%) scale(1.12); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, -8%) scale(1.15); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6%, -10%) scale(1.08); }
  66% { transform: translate(-8%, 6%) scale(0.95); }
}
.bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

/* Keep page content above ambient bg */
.hero,
.section,
.site-footer,
.site-header,
.bottom-tab,
.access-main {
  position: relative;
  z-index: 1;
}
.site-header { z-index: 100; }
.bottom-tab { z-index: 300; }
.hero { z-index: 2; }

/* ========== Header (over hero / transparent + animations) ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Nav sits on full-bleed hero */
.site-header--over-hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  animation: headerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-header--over-hero.is-scrolled {
  position: fixed;
  height: 58px;
  background: rgba(10, 14, 23, 0.94);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(212, 175, 55, 0.12);
  animation: headerSolid 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes headerSolid {
  from {
    transform: translateY(-8px);
    opacity: 0.85;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.site-header--over-hero .nav-desktop a {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.site-header--over-hero .nav-desktop a:hover,
.site-header--over-hero .nav-desktop a.is-active {
  color: #fff;
}
.site-header--over-hero .logo small { color: rgba(255, 255, 255, 0.75); }

.header-inner {
  width: min(var(--max), 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  color: #fff; font-weight: 800; font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover {
  transform: translateY(-1px);
}
.logo-text {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.15;
}
.logo-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  transition: letter-spacing 0.3s ease, color 0.25s ease, text-shadow 0.3s ease;
}
.logo:hover .logo-name {
  letter-spacing: 0.1em;
  color: var(--gold2);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.logo-text small,
.logo small {
  display: block; font-size: 0.65rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.site-header--over-hero .logo-text small {
  color: rgba(255, 255, 255, 0.78);
}
.site-header--over-hero.is-scrolled .logo-name {
  font-size: 1.05rem;
}
.logo-mark { display: none; }

.nav-desktop {
  display: none;
  gap: 0.35rem;
  align-items: center;
}
.nav-desktop a {
  position: relative;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  opacity: 0;
}
.nav-desktop a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 55%;
  opacity: 1;
}
.nav-desktop a.is-active {
  color: var(--gold2);
  background: rgba(212, 175, 55, 0.1);
}
.site-header--over-hero.is-scrolled .nav-desktop a {
  text-shadow: none;
}
.site-header--over-hero.is-scrolled .nav-desktop a.is-active {
  color: var(--gold2);
}

.header-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

/* Language switch: 中文 / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(241, 245, 249, 0.78) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
}
.lang-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn.is-active {
  color: #1a1200 !important;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}
.site-header--solid .lang-switch {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(10, 14, 24, 0.75);
}
@media (max-width: 639px) {
  .lang-btn {
    min-width: 1.9rem;
    padding: 0.26rem 0.45rem;
    font-size: 0.68rem;
  }
  .header-actions .btn-sm {
    padding: 0.42rem 0.7rem;
    font-size: 0.75rem;
  }
}
.header-actions .btn {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    filter 0.25s ease;
}
.header-actions .btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
}
.header-actions .btn:active {
  transform: translateY(0) scale(0.98);
}
.header-tg { display: none; }
@media (min-width: 640px) {
  .header-tg { display: inline-flex; }
}

/* ========== Buttons (app brand colors) ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.72rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.15s;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* WhatsApp official green */
.btn-wa {
  color: #fff !important;
  background: linear-gradient(180deg, #2fe574 0%, var(--wa) 45%, var(--wa-dark) 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.btn-wa:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

/* Telegram official blue */
.btn-tg {
  color: #fff !important;
  background: linear-gradient(180deg, #54c8f5 0%, var(--tg) 50%, var(--tg-dark) 100%);
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.4);
}
.btn-tg:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(42, 171, 238, 0.5);
}

.btn-gold {
  color: #1a1200 !important;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}
.btn-outline {
  color: #fff !important;
  background: transparent;
  border: 1px solid var(--border);
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
.btn-block { width: 100%; min-height: 48px; }
.btn-lg { padding: 0.9rem 1.4rem; font-size: 0.98rem; min-height: 52px; }

/* ========== Hero: full-bleed image carousel to top ========== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #05080f;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6.5s ease;
  will-change: opacity, transform;
}
.hero-slide--sports { background-image: url("../images/hero-sports.jpg"); }
.hero-slide--live { background-image: url("../images/hero-live.jpg"); }
.hero-slide--slots { background-image: url("../images/hero-slots.jpg"); }
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.42) 0%, rgba(5, 8, 15, 0.22) 32%, rgba(8, 12, 22, 0.72) 68%, rgba(8, 12, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.45) 0%, rgba(5, 8, 15, 0.12) 55%, rgba(5, 8, 15, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 0.75rem) 0 1.1rem;
}
.hero-content-inner {
  width: 100%;
  max-width: 100%;
}

/* Glass content panel — mobile first */
.hero-panel {
  width: 100%;
  padding: 1.05rem 1rem 1rem;
  border-radius: 18px;
  background: rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 42, 34, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}
.badge-full { display: none; }
.badge-short { display: inline; }

.hero-slide-tag {
  display: inline-block;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold2);
  background: rgba(18, 22, 36, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero h1 {
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero h1 .hl {
  display: block;
  background: linear-gradient(105deg, #f0d78c 0%, #fff 45%, #c9f0d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(241, 245, 249, 0.92);
}

.hero-divider {
  width: 40px;
  height: 2px;
  margin: 0 0 0.7rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold2), transparent);
}

/* Lead: short on mobile, full on PC */
.hero-lead {
  color: rgba(226, 232, 240, 0.95);
  margin-bottom: 0.95rem;
  line-height: 1.55;
}
.hero-lead--pc { display: none; }
.hero-lead--m {
  display: block;
  font-size: 0.88rem;
  color: rgba(203, 213, 225, 0.95);
}
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-inline-link {
  color: var(--gold2);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}
.hero-inline-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Mobile CTA: 2 equal buttons + full-width line */
.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.hero-cta .btn-lg {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 0.7rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.hero-btn-line {
  grid-column: 1 / -1;
  border-color: rgba(240, 215, 140, 0.45) !important;
  background: rgba(10, 14, 24, 0.55) !important;
  color: #fff !important;
}
.hero-btn-line:hover {
  background: rgba(212, 175, 55, 0.18) !important;
  border-color: var(--gold2) !important;
  color: #fff !important;
}

/* Meta chips — single horizontal scroll-friendly row on mobile */
.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.9);
  white-space: nowrap;
}
.hero-meta li a {
  color: var(--gold2);
  text-decoration: none;
}
.hero-meta-line a:hover { color: #fff; }

.hero-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
}
.hero-dot {
  width: 22px;
  height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, box-shadow 0.25s;
}
.hero-dot.is-active {
  width: 36px;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

/* ========== Mobile hero redesign: centered, large type, full-bleed bg ========== */
@media (max-width: 639px) {
  .hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-slide {
    background-position: center 30%;
    background-size: cover;
  }
  .hero-overlay {
    background:
      radial-gradient(ellipse 90% 55% at 50% 48%, rgba(5, 8, 15, 0.55) 0%, transparent 70%),
      linear-gradient(180deg,
        rgba(5, 8, 15, 0.5) 0%,
        rgba(5, 8, 15, 0.22) 26%,
        rgba(5, 8, 15, 0.48) 50%,
        rgba(5, 8, 15, 0.35) 70%,
        rgba(5, 8, 15, 0.82) 100%
      );
  }

  /* 整块内容水平垂直居中 */
  .hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding:
      calc(var(--header-h) + 0.75rem)
      0
      calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px) + 0.6rem);
    box-sizing: border-box;
  }
  .hero-content-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.15rem;
    transform: none;
    text-align: center;
  }
  /* 覆盖全局 .container 的左对齐宽度感 */
  .hero .container.hero-content-inner {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panel {
    width: 100%;
    max-width: 22.5rem;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
  }

  .hero-kicker {
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
  }
  .badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    letter-spacing: 0.04em;
  }
  .hero-slide-tag {
    font-size: 0.78rem;
    padding: 0.38rem 0.8rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
    gap: 0.35rem;
    align-items: center;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
  }
  .hero-sub {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.96);
  }
  .hero-divider {
    width: 56px;
    height: 3px;
    margin: 0 auto 0.85rem;
    background: linear-gradient(90deg, transparent, var(--gold2), transparent);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  }

  .hero-lead--m {
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 auto 1.15rem;
    max-width: 18.5rem;
    color: rgba(241, 245, 249, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }

  /* 按钮：全宽堆叠，更好点按 */
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0 auto 0.95rem;
    width: 100%;
    max-width: 20rem;
  }
  .hero-cta .btn-lg {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  }
  .hero-cta .btn-lg svg {
    width: 20px;
    height: 20px;
  }
  .hero-btn-line {
    grid-column: auto;
    min-height: 48px;
    font-size: 0.95rem;
    border-color: rgba(240, 215, 140, 0.55) !important;
    background: rgba(8, 12, 22, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* 标签居中 */
  .hero-meta {
    justify-content: center;
    gap: 0.4rem;
    margin: 0 auto;
    max-width: 20rem;
  }
  .hero-meta li {
    font-size: 0.76rem;
    padding: 0.35rem 0.7rem;
    background: rgba(8, 12, 22, 0.58);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-meta-line {
    display: none;
  }

  .hero-dots {
    justify-content: center;
    margin-top: 1rem;
    gap: 0.45rem;
  }
  .hero-dot {
    width: 24px;
    height: 4px;
  }
  .hero-dot.is-active {
    width: 40px;
  }
}

/* 小屏再微调（窄机） */
@media (max-width: 374px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero-sub {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }
  .hero-lead--m {
    font-size: 0.9rem;
  }
  .hero-cta .btn-lg {
    min-height: 48px;
    font-size: 0.95rem;
  }
  .hero-content-inner {
    padding: 0 0.95rem;
  }
}

/* 较高手机：中部再略往上一点更舒适 */
@media (max-width: 639px) and (min-height: 740px) {
  .hero-content-inner {
    transform: translateY(-1.5vh);
  }
  .hero h1 {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
  }
  .hero-lead--m {
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
  }
  .hero-cta {
    gap: 0.6rem;
    margin-bottom: 1.05rem;
  }
  .hero-cta .btn-lg {
    min-height: 54px;
  }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 959px) {
  .hero {
    min-height: min(78vh, 680px);
  }
  .hero-content {
    align-items: flex-end;
    padding: calc(var(--header-h) + 1.25rem) 0 1.75rem;
  }
  .hero-content-inner {
    max-width: 34rem;
  }
  .hero-panel {
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-sub {
    font-size: 1.1rem;
  }
  .badge-full { display: inline; }
  .badge-short { display: none; }
  .hero-lead--pc {
    display: block;
    font-size: 0.95rem;
    max-width: 100%;
  }
  .hero-lead--m { display: none; }
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
  }
  .hero-cta .btn-lg {
    width: auto;
    min-width: 148px;
    flex: 0 1 auto;
  }
  .hero-btn-line {
    grid-column: auto;
  }
  .hero-dots {
    justify-content: flex-start;
  }
}

/* Desktop — open, cinematic, no heavy glass box */
@media (min-width: 960px) {
  .hero {
    min-height: min(100vh, 920px);
  }
  .hero-content {
    align-items: center;
    padding: calc(var(--header-h) + 2.75rem) 0 4rem;
  }
  .hero-content-inner {
    max-width: 52rem;
  }
  .nav-desktop { display: flex; }
  body { padding-bottom: 0; }

  .hero-panel {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-kicker {
    margin-bottom: 1.15rem;
    gap: 0.55rem;
  }
  .badge {
    padding: 0.4rem 0.9rem;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
  }
  .badge-full { display: inline; }
  .badge-short { display: none; }
  .hero-slide-tag {
    padding: 0.38rem 0.85rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
  }
  .hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 3.55rem);
    margin-bottom: 0.75rem;
    gap: 0.4rem;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
  }
  .hero-sub {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  }
  .hero-divider {
    width: 88px;
    height: 3px;
    margin-bottom: 1.2rem;
  }
  .hero-lead--pc {
    display: block;
    font-size: 1.1rem;
    line-height: 1.72;
    max-width: 40rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  }
  .hero-lead--m { display: none; }
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
  }
  .hero-cta .btn-lg {
    width: auto;
    min-width: 176px;
    min-height: 54px;
    padding: 0.9rem 1.45rem;
    font-size: 0.95rem;
  }
  .hero-btn-line {
    grid-column: auto;
    backdrop-filter: blur(8px);
  }
  .hero-meta {
    gap: 0.5rem;
    margin-bottom: 0;
  }
  .hero-meta li {
    padding: 0.42rem 0.9rem;
    font-size: 0.8rem;
    background: rgba(8, 12, 22, 0.65);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
  }
  .hero-dots {
    justify-content: flex-start;
    margin-top: 1.35rem;
  }
  .hero-dot {
    width: 28px;
    height: 4px;
  }
  .hero-dot.is-active {
    width: 44px;
  }
}

/* ========== Sections ========== */
.section {
  padding: 2.5rem 0;
  background: transparent;
}
.section-head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.45rem;
}
.section-head p { color: var(--muted); }
.about-lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 40rem;
}

/* About FOTBET + agent notice */
.about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.25rem;
  align-items: stretch;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
}
.about-main,
.about-agent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  background-color: #121a2b;
}
/* 左侧：官方品牌 — 体育氛围底图 */
.about-main {
  background-image:
    linear-gradient(155deg, rgba(10, 16, 28, 0.88) 0%, rgba(12, 20, 34, 0.9) 45%, rgba(10, 14, 24, 0.94) 100%),
    url("../images/hero-sports.jpg");
  background-size: cover;
  background-position: center;
  border-color: rgba(212, 175, 55, 0.28);
}
/* 右侧：授权代理 — 综合娱乐氛围底图 */
.about-agent {
  background-image:
    linear-gradient(165deg, rgba(32, 26, 10, 0.9) 0%, rgba(18, 24, 40, 0.92) 50%, rgba(12, 16, 28, 0.95) 100%),
    url("../images/hero-live.jpg");
  background-size: cover;
  background-position: center;
  border-color: rgba(212, 175, 55, 0.5);
}
.about-main::before,
.about-agent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(29, 158, 117, 0.08), transparent 50%);
}
.about-agent::before {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(240, 215, 140, 0.08), transparent 50%);
}
.about-main > *,
.about-agent > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) {
  .about-main,
  .about-agent {
    min-height: 100%;
  }
}
.about-main h3,
.about-agent h3 {
  font-size: 1.08rem;
  margin: 0 0 0.7rem;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.about-main p,
.about-agent p {
  color: rgba(203, 213, 225, 0.95);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 0.65rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.about-main p:last-of-type,
.about-agent p:last-of-type {
  margin-bottom: 0.85rem;
}
.about-points {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  margin-top: auto;
}
.about-points li {
  position: relative;
  padding: 0.6rem 0.8rem 0.6rem 1.9rem;
  border-radius: 10px;
  background: rgba(10, 14, 24, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.about-points--agent li {
  background: rgba(12, 16, 26, 0.85);
  border-color: rgba(212, 175, 55, 0.32);
}
.agent-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.agent-badge--muted {
  color: #f0d78c;
  background: rgba(10, 14, 24, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
/* Product image cards */
.products-block {
  margin-top: 1.35rem;
}
.products-head {
  margin-bottom: 1rem;
}
.product-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .product-cards { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(240, 215, 140, 0.45);
}
.product-card--sports .product-card-bg { background-image: url("../images/card-sports.jpg"); }
.product-card--live .product-card-bg { background-image: url("../images/card-live.jpg"); }
.product-card--slots .product-card-bg { background-image: url("../images/card-slots.jpg"); }
.product-card--esports .product-card-bg { background-image: url("../images/card-esports.jpg"); }
.product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.product-card:hover .product-card-bg {
  transform: scale(1.08);
}
.product-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 15, 0.15) 0%,
    rgba(5, 8, 15, 0.45) 40%,
    rgba(5, 8, 15, 0.88) 100%
  );
}
.product-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 0.95rem 1.05rem;
  color: #fff;
}
.product-emoji {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}
.product-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.product-card-body p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(241, 245, 249, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
/* accent tints per category */
.product-card--sports .product-card-bg::after {
  background: linear-gradient(180deg, rgba(6, 40, 20, 0.2) 0%, rgba(5, 12, 10, 0.55) 45%, rgba(4, 10, 8, 0.92) 100%);
}
.product-card--live .product-card-bg::after {
  background: linear-gradient(180deg, rgba(60, 10, 20, 0.2) 0%, rgba(20, 8, 12, 0.55) 45%, rgba(10, 5, 8, 0.92) 100%);
}
.product-card--slots .product-card-bg::after {
  background: linear-gradient(180deg, rgba(40, 10, 60, 0.2) 0%, rgba(15, 8, 30, 0.55) 45%, rgba(8, 5, 16, 0.92) 100%);
}
.product-card--esports .product-card-bg::after {
  background: linear-gradient(180deg, rgba(10, 20, 60, 0.25) 0%, rgba(8, 12, 28, 0.55) 45%, rgba(5, 8, 16, 0.92) 100%);
}

/* How to open — clean steps, mobile first */
.section-start {
  padding: 1.5rem 0 1.75rem;
}
.journey {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  padding: 1.2rem 1rem 1.15rem;
  background: linear-gradient(160deg, #1c2335 0%, #121a2b 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 0% 0%, rgba(212, 175, 55, 0.1), transparent 55%);
}
.journey-head,
.journey-steps {
  position: relative;
  z-index: 1;
}
.journey-head {
  text-align: left;
  margin: 0 0 1rem;
}
.journey-eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold2);
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.journey-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.journey-lead {
  margin: 0;
  color: rgba(148, 163, 184, 0.98);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* Mobile: compact horizontal-ish step rows with gold rail */
.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.journey-steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.2),
    rgba(212, 175, 55, 0.75),
    rgba(52, 211, 153, 0.4)
  );
  border-radius: 2px;
}
.journey-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.journey-num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 900;
  color: #1a1200;
  background: linear-gradient(145deg, #f0d78c, var(--gold));
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  line-height: 1;
}
.journey-body {
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.journey-card h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  color: #fff;
  font-weight: 700;
}
.journey-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.98);
}

/* Desktop: 3 premium columns */
@media (min-width: 860px) {
  .section-start {
    padding: 2.5rem 0 2.75rem;
  }
  .journey {
    padding: 2.2rem 2.1rem 1.85rem;
    border-radius: 24px;
    border-color: rgba(212, 175, 55, 0.4);
    background:
      linear-gradient(165deg, rgba(48, 40, 18, 0.98) 0%, #141c2e 38%, #0e1524 100%);
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  .journey::before {
    background:
      radial-gradient(ellipse 80% 55% at 10% -10%, rgba(212, 175, 55, 0.16), transparent 55%),
      radial-gradient(ellipse 50% 40% at 100% 100%, rgba(29, 158, 117, 0.08), transparent 50%);
  }
  .journey-head {
    text-align: center;
    max-width: 34rem;
    margin: 0 auto 1.6rem;
  }
  .journey-eyebrow {
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.75rem;
    letter-spacing: 0.1em;
  }
  .journey-head h2 {
    font-size: 1.75rem;
    margin-bottom: 0.45rem;
  }
  .journey-lead {
    font-size: 0.95rem;
  }
  .journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-bottom: 0;
  }
  .journey-steps::before {
    left: 12%;
    right: 12%;
    top: 28px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.15),
      rgba(212, 175, 55, 0.75),
      rgba(52, 211, 153, 0.4)
    );
  }
  .journey-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
  }
  .journey-num {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  }
  .journey-body {
    width: 100%;
    padding: 1.15rem 1.05rem 1.2rem;
    border-radius: 16px;
    background: rgba(8, 12, 22, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    min-height: 118px;
    transition: border-color 0.25s, transform 0.25s;
  }
  .journey-card:hover .journey-body {
    border-color: rgba(212, 175, 55, 0.48);
    transform: translateY(-3px);
  }
  .journey-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }
  .journey-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* CTA dual band */
.cta-panel {
  background: linear-gradient(145deg, #2a2410 0%, #1a2438 40%, #141c2b 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 1.6rem 1.3rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
@media (min-width: 800px) {
  .cta-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2rem;
  }
}
.cta-panel h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 0.4rem;
  color: #fff;
}
.cta-panel p { color: var(--muted); margin-bottom: 0.5rem; }
.cta-btns {
  display: grid; gap: 0.65rem;
}
.cta-btns .btn { width: 100%; }
.cta-panel--simple {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .cta-panel--simple {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 2.2rem;
  }
  .cta-btns--row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .cta-btns--row .btn {
    width: auto;
    min-width: 180px;
  }
}
.cta-simple-text p {
  margin: 0 auto;
  max-width: 32rem;
}

/* CTA 内嵌全部访问线路 — 紧凑芯片 + 背景光效 */
.cta-access {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 1.2rem 0.9rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  text-align: left;
  background:
    linear-gradient(160deg, rgba(42, 36, 16, 0.55) 0%, rgba(14, 20, 34, 0.92) 42%, rgba(10, 16, 28, 0.96) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cta-access::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(29, 158, 117, 0.1), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 60%);
}
.cta-access::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(240, 215, 140, 0.5), transparent);
}
.cta-access-head,
.cta-access-grid,
.cta-access-more {
  position: relative;
  z-index: 1;
}
.cta-access-head {
  text-align: center;
  margin-bottom: 0.95rem;
}
.cta-access-head h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.cta-access-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.cta-access-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.cta-access-col {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(20, 28, 46, 0.9) 0%, rgba(10, 14, 24, 0.85) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 0.8rem 0.7rem 0.75rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.cta-access-col::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 68%);
}
.cta-access-col:last-child::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 68%);
}
.cta-access-col .access-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  padding: 0.26rem 0.55rem;
}

/* 紧凑双列网址芯片，避免整行过长 */
.cta-link-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta-link-list > li {
  min-width: 0;
}
.cta-link-list .link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.5rem 0.45rem 0.55rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(26, 36, 56, 0.95) 0%, rgba(12, 18, 32, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cta-link-list .link-item:hover,
.cta-link-list .link-item:active {
  transform: translateY(-1px);
  background:
    linear-gradient(145deg, rgba(34, 46, 72, 0.98) 0%, rgba(18, 26, 44, 0.98) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(212, 175, 55, 0.08);
  color: #fff !important;
}
.cta-link-list .link-name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.cta-link-list .link-go {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold2);
  padding: 0.18rem 0.35rem;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  line-height: 1.2;
}
.cta-access-more {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.84rem;
}
.cta-access-more a {
  color: var(--gold2);
  font-weight: 600;
}
.cta-access-more a:hover {
  color: #fff;
}

/* 手机：更紧凑触控友好 */
@media (max-width: 639px) {
  .cta-access {
    margin-top: 0.35rem;
    padding: 1.05rem 0.75rem 0.95rem;
    border-radius: 16px;
  }
  .cta-access-head {
    margin-bottom: 0.8rem;
  }
  .cta-access-head h3 {
    font-size: 1.12rem;
  }
  .cta-access-head p {
    font-size: 0.78rem;
    padding: 0 0.25rem;
  }
  .cta-access-grid {
    gap: 0.65rem;
  }
  .cta-access-col {
    padding: 0.7rem 0.6rem 0.65rem;
    border-radius: 12px;
  }
  .cta-access-col .access-tag {
    margin-bottom: 0.5rem;
    font-size: 0.64rem;
  }
  .cta-link-list {
    gap: 0.35rem;
  }
  .cta-link-list .link-item {
    min-height: 40px;
    padding: 0.4rem 0.4rem 0.4rem 0.5rem;
    border-radius: 9px;
  }
  .cta-link-list .link-name {
    font-size: 0.74rem;
  }
  .cta-link-list .link-go {
    font-size: 0.64rem;
    padding: 0.15rem 0.3rem;
  }
  .cta-access-more {
    margin-top: 0.75rem;
    font-size: 0.8rem;
  }
}

/* 极窄屏：单列短芯片，避免域名挤在一起 */
@media (max-width: 360px) {
  .cta-link-list {
    grid-template-columns: 1fr;
  }
  .cta-link-list .link-name {
    font-size: 0.82rem;
  }
}

/* 平板 / PC */
@media (min-width: 640px) {
  .cta-access {
    padding: 1.35rem 1.15rem 1.2rem;
  }
  .cta-link-list .link-name {
    font-size: 0.84rem;
  }
  .cta-link-list .link-item {
    min-height: 44px;
    padding: 0.5rem 0.6rem;
  }
}
@media (min-width: 800px) {
  .cta-access {
    padding: 1.5rem 1.35rem 1.3rem;
    border-radius: 20px;
  }
  .cta-access-head h3 {
    font-size: 1.35rem;
  }
  .cta-access-head p {
    font-size: 0.9rem;
  }
  .cta-access-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  .cta-access-col {
    padding: 1rem 0.9rem 0.95rem;
  }
  .cta-link-list {
    gap: 0.45rem;
  }
  .cta-link-list .link-name {
    font-size: 0.88rem;
  }
  .cta-link-list .link-go {
    font-size: 0.72rem;
    padding: 0.2rem 0.4rem;
  }
}

.note {
  margin-top: 1rem;
  font-size: 0.8rem; color: var(--muted);
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
  background: #141c2b;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.note--access { margin-top: 1.25rem; }
.note .link-wa { color: #25d366; }
.note .link-tg { color: #2aabee; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 calc(1.2rem + var(--bottom-h) + var(--safe-b));
  color: var(--muted); font-size: 0.86rem;
  background: rgba(12, 17, 28, 0.88);
  backdrop-filter: blur(8px);
}
@media (min-width: 960px) {
  .site-footer { padding-bottom: 1.5rem; }
}
.footer-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}
.footer-grid > div {
  background: #141c2b;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.site-footer h4 { color: #fff; margin-bottom: 0.5rem; font-size: 0.95rem; }
.site-footer a {
  display: block; color: var(--muted); margin-bottom: 0.3rem; font-size: 0.85rem;
}
.copyright {
  border-top: 1px solid var(--border);
  padding: 0.95rem 1.05rem;
  margin-top: 0.25rem;
  font-size: 0.76rem;
  line-height: 1.5;
  background: #141c2b;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* ========== Bottom tab bar (mobile) ========== */
.bottom-tab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  height: calc(var(--bottom-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: #0c101a;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.bottom-tab a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.15rem;
  font-size: 0.62rem; font-weight: 700;
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
  padding: 0 2px;
}
.bottom-tab a svg { width: 20px; height: 20px; }
.bottom-tab a:active { transform: scale(0.94); }
.bottom-tab a.tab-home.active,
.bottom-tab a.tab-home:hover { color: var(--gold2); }
.bottom-tab a.tab-access {
  color: var(--muted);
}
.bottom-tab a.tab-access.active,
.bottom-tab a.tab-access:hover { color: var(--gold2); }
.bottom-tab a.tab-wa {
  color: var(--wa);
}
.bottom-tab a.tab-wa:hover { color: #4ae07c; }
.bottom-tab a.tab-tg {
  color: var(--tg);
}
.bottom-tab a.tab-tg:hover { color: #5bc4f5; }
.bottom-tab a .tab-ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: -2px;
}
.bottom-tab a.tab-wa .tab-ico {
  background: rgba(37, 211, 102, 0.15);
}
.bottom-tab a.tab-tg .tab-ico {
  background: rgba(42, 171, 238, 0.15);
}
.bottom-tab a.tab-access .tab-ico-access {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold2);
}
.bottom-tab a.tab-access .tab-ico-access svg {
  width: 18px; height: 18px;
}

@media (min-width: 960px) {
  .bottom-tab { display: none; }
}

.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.show { opacity: 1; transform: none; }

/* ========== Access lines page ========== */
.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: headerIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nav-desktop a.is-current {
  color: var(--gold2);
  background: rgba(212, 175, 55, 0.1);
}
.nav-desktop a.is-current::after {
  width: 55%;
  opacity: 1;
}
.page-access {
  background: transparent;
}
.access-main {
  padding: 1.5rem 0 2.5rem;
  min-height: 60vh;
}

/* 访问线路页 — 顶部介绍：背景图 + 遮罩 */
.access-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 0;
  margin-bottom: 1.15rem;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.access-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/hero-sports.jpg");
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
}
.access-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.72) 48%, rgba(20, 28, 20, 0.78) 100%),
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(29, 158, 117, 0.12), transparent 50%);
}
.access-hero-body {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.15rem 1.3rem;
}
.access-hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  margin: 0.55rem 0 0.55rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.access-hero p {
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.92rem;
  max-width: 40rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.access-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.access-hero-actions .btn-outline {
  border-color: rgba(240, 215, 140, 0.45) !important;
  background: rgba(8, 12, 22, 0.45) !important;
  color: #fff !important;
  backdrop-filter: blur(6px);
}

.access-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1.1rem;
  }
}

/* 线路面板 + 背景效果 */
.access-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(160deg, rgba(26, 36, 56, 0.96) 0%, rgba(12, 18, 32, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 1.05rem 0.9rem 0.95rem;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.access-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}
.access-panel--login .access-panel-bg {
  background-image: url("../images/card-sports.jpg");
}
.access-panel--backup .access-panel-bg {
  background-image: url("../images/card-live.jpg");
}
.access-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(10, 14, 24, 0.82) 0%, rgba(10, 14, 24, 0.9) 100%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(212, 175, 55, 0.14), transparent 55%);
}
.access-panel--backup::before {
  background:
    linear-gradient(165deg, rgba(10, 14, 24, 0.82) 0%, rgba(10, 14, 24, 0.9) 100%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(52, 211, 153, 0.14), transparent 55%);
}
.access-panel-head,
.access-panel .link-list {
  position: relative;
  z-index: 2;
}
.access-panel-head {
  margin-bottom: 0.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.access-panel-head h2 {
  font-size: 1.12rem;
  color: #fff;
  margin: 0.4rem 0 0.25rem;
}
.access-panel-head p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
}
.access-tag {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.access-tag-login {
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
}
.access-tag-backup {
  color: #fff;
  background: #1d4a3a;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

/* 默认链接列表 */
.link-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #121a2b;
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.link-item:hover {
  transform: translateY(-2px);
  background: #1e2a42;
  border-color: rgba(212, 175, 55, 0.45);
  color: #fff !important;
}
.link-name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}
.link-go {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold2);
  flex-shrink: 0;
}

/* 紧凑双列芯片 — 缩短网址框 */
.link-list--chips {
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.link-list--chips > li {
  min-width: 0;
}
.link-list--chips .link-item {
  gap: 0.3rem;
  min-height: 42px;
  padding: 0.45rem 0.45rem 0.45rem 0.55rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(26, 36, 56, 0.96) 0%, rgba(12, 18, 32, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.24);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.link-list--chips .link-item:hover,
.link-list--chips .link-item:active {
  transform: translateY(-1px);
  background:
    linear-gradient(145deg, rgba(36, 48, 74, 0.98) 0%, rgba(16, 24, 40, 0.98) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(212, 175, 55, 0.08);
}
.link-list--chips .link-name {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.link-list--chips .link-go {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.35rem;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  line-height: 1.2;
}

/* 手机适配 */
@media (max-width: 639px) {
  .access-main {
    padding: 1.15rem 0 2rem;
  }
  .access-hero {
    border-radius: 16px;
    margin-bottom: 0.95rem;
  }
  .access-hero-bg {
    background-position: center 30%;
  }
  .access-hero-body {
    padding: 1.15rem 1rem 1.1rem;
  }
  .access-hero h1 {
    font-size: 1.45rem;
    margin: 0.45rem 0 0.45rem;
  }
  .access-hero p {
    font-size: 0.86rem;
    margin-bottom: 0.85rem;
  }
  .access-hero-actions {
    gap: 0.4rem;
  }
  .access-hero-actions .btn-sm {
    flex: 1 1 auto;
    min-width: calc(50% - 0.3rem);
    justify-content: center;
    min-height: 40px;
  }
  .access-hero-actions .btn-outline {
    flex: 1 1 100%;
  }
  .access-panel {
    padding: 0.9rem 0.75rem 0.85rem;
    border-radius: 14px;
  }
  .access-panel-head h2 {
    font-size: 1.05rem;
  }
  .access-panel-head p {
    font-size: 0.8rem;
  }
  .link-list--chips {
    gap: 0.35rem;
  }
  .link-list--chips .link-item {
    min-height: 40px;
    padding: 0.4rem 0.4rem 0.4rem 0.5rem;
  }
  .link-list--chips .link-name {
    font-size: 0.74rem;
  }
  .link-list--chips .link-go {
    font-size: 0.64rem;
    padding: 0.15rem 0.3rem;
  }
}
@media (max-width: 360px) {
  .link-list--chips {
    grid-template-columns: 1fr;
  }
  .link-list--chips .link-name {
    font-size: 0.84rem;
  }
}
@media (min-width: 860px) {
  .access-hero-body {
    padding: 1.75rem 1.6rem 1.65rem;
  }
  .access-hero p {
    font-size: 1rem;
  }
  .access-panel {
    padding: 1.25rem 1.1rem 1.15rem;
    border-radius: 18px;
  }
  .link-list--chips .link-name {
    font-size: 0.86rem;
  }
  .link-list--chips .link-item {
    min-height: 44px;
    padding: 0.5rem 0.55rem 0.5rem 0.65rem;
  }
}
@media (min-width: 960px) {
  .page-access .nav-desktop { display: flex; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .bg-grid {
    animation: none !important;
  }
  .bg-particles {
    display: none !important;
  }
  .hero-slide {
    transition: opacity 0.4s ease !important;
  }
}
