:root {
  --bg: #0b0e17;
  --bg-2: #0c1224;
  --card: #111933;
  --text: #ffffff;
  --muted: #a9b4d0;
  --purple: #562be2;
  --purple-2: #7f187e;
  --red: #bd2727;
  --blue: #3aa0ff;
  --gold: #f0c14b;
  --line: rgba(255, 255, 255, 0.08);
  --container: 1170px;
  --header-h: 72px;
  --radius: 12px;
  --font: "Microsoft YaHei", "PingFang SC", Tahoma, Geneva, Verdana, sans-serif;
  --dl-gradient: linear-gradient(140deg, rgb(86, 43, 226) 0%, rgb(127, 24, 126) 30%, rgb(189, 39, 39) 100%);
}

* { 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;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* Top bar */
.topbar {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar img { height: 22px; width: auto; }
.jackpot-num,
.online-num {
  color: #f0c14b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}
.online-num { color: #8fd3ff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 23, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo img { height: 42px; width: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
}
.nav a { color: #dce4ff; }
.nav a:hover, .nav a.is-active { color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.btn-download {
  background: var(--dl-gradient);
  color: #fff;
  box-shadow: 0 8px 22px rgba(86, 43, 226, 0.28);
  min-height: 40px;
  padding: 6px 19px 8px;
}
.btn-download:hover { filter: brightness(1.08); }
.btn-download .dl-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
.btn-download-lg {
  min-width: 182px;
  min-height: 50px;
  padding: 10px 30px;
  font-size: 16px;
}
.btn-download-lg .dl-icon { width: 22px; height: 22px; }
.btn-download-xl {
  min-width: 199px;
  min-height: 53px;
  padding: 10px 30px;
  font-size: 18px;
}
.btn-download-xl .dl-icon { width: 24px; height: 24px; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 18px;
  background: #0a1020;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }

/* Hero = Sliderbg ambient neon */
.hero {
  padding: 18px 0 28px;
  background-color: rgb(11, 14, 23);
  background-image: url("../assets/images/original/img_index__Sliderbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}
.slider {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  min-height: 360px;
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slide {
  display: none;
  width: 100%;
  height: 100%;
}
.slide.is-active { display: block; }
.slide img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 6px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  cursor: pointer;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.35); cursor: pointer;
}
.slider-dots button.is-active { background: #fff; width: 18px; border-radius: 8px; }

.hero-side {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero-slogan { width: 100%; }
.slogan-line {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.slogan-line img {
  height: 36px;
  width: auto;
  display: inline-block;
}
.slogan-sub {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
}
.dltxt {
  width: min(100%, 220px);
  margin: 0 auto;
}

.section { padding: 48px 0; }
.section-title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 28px;
  position: relative;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 4px;
}
.section-title-left { text-align: left; }
.section-title-left::after { margin-left: 0; }

.events-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.event-item {
  text-align: center;
  color: #dbe5ff;
  font-size: 13px;
}
.event-item img {
  width: 78px;
  height: 78px;
  margin: 0 auto 8px;
  object-fit: contain;
}
.events-caption {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* Games = featurebg */
.games-section {
  background-color: #0b0e17;
  background-image: url("../assets/images/original/img_index__featurebg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0 56px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.game-card {
  border-radius: 8px;
  overflow: hidden;
  border: 0;
  background: transparent;
  transition: transform .2s ease;
  display: block;
}
.game-card:hover { transform: translateY(-4px); }
.game-card img {
  width: 100%;
  aspect-ratio: 480/320;
  object-fit: cover;
  border-radius: 8px;
}

/* Product features */
.features-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(68, 76, 124) 84%, rgb(140, 156, 255) 100%);
}
.features-glow {
  position: absolute;
  inset: auto 0 -40% 0;
  pointer-events: none;
  z-index: 1;
  text-align: center;
}
.features-glow .bottom-light {
  width: 140%;
  max-width: none;
  margin-left: -20%;
  opacity: .85;
}
.features-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}
.features-mask img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center bottom;
}
.feature-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.feature-copy { text-align: left; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 12px;
  margin: 20px 0 22px;
}
.feature-item {
  text-align: center;
  font-size: 15px;
  color: #fff;
  font-style: italic;
  font-weight: 700;
}
.feature-item img {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(140, 180, 255, .45));
}
.os-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.os-row img { height: 28px; width: auto; }
.device-note {
  margin: 12px 0 0;
  color: #d7e2ff;
  font-size: 13px;
}
.feature-visual {
  position: relative;
  z-index: 2;
}
.feature-visual img {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.ambassadors {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(80, 60, 140, .35), transparent 55%),
    linear-gradient(180deg, #0b0e17, #070912);
}
.ambassadors img {
  width: min(100%, 980px);
  margin: 18px auto 0;
}
.ambassadors p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
}
.amb-sub {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.site-footer {
  background: #050814;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
}
.footer-anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 28px;
}
.footer-anchors a {
  display: block;
  width: 110px;
  transition: transform .2s ease;
}
.footer-anchors a:hover { transform: translateY(-4px); }
.footer-anchors img {
  width: 100%;
  height: auto;
}
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
.footer-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 280px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid h4 { margin: 0 0 12px; color: #c9d5ff; font-size: 14px; }
.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-grid a:hover { color: #fff; }
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin: 18px 0;
}
.partners img { height: 36px; width: auto; object-fit: contain; }
.disclaimer, .copy {
  color: #7f8bb0;
  font-size: 12px;
  margin: 8px 0 0;
}

.page-hero {
  padding: 36px 0 18px;
  background:
    url("../assets/images/original/img_index__Sliderbg.png") center/cover no-repeat,
    #0b0e17;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 8px 0 10px; font-size: 32px; }
.page-hero p { margin: 0; color: var(--muted); max-width: 860px; }
.breadcrumb { color: var(--purple); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--blue); }

.content-wrap { padding: 28px 0 48px; }
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
}
.card-list { display: grid; gap: 14px; }
.article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
}
.article-card__cover {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.article-card__meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.article-card h3 { margin: 0 0 8px; font-size: 18px; }
.article-card p { margin: 0; color: var(--muted); font-size: 13px; }

.sidebar-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.sidebar-block h3 { margin: 0 0 12px; font-size: 16px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.hot-list a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #d5defe;
  font-size: 13px;
}
.hot-list a:last-child { border-bottom: 0; }
.hot-list span {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(123,92,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbb9ff;
  font-size: 12px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 180px;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}
.category-card .body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.category-card h3 { margin: 4px 0 0; }

.article-detail__cover {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  max-height: 420px;
  object-fit: cover;
}
.article-detail__meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.article-detail h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.35; }
.article-detail .lead { color: var(--muted); margin: 0 0 18px; }
.article-body h2 { margin: 28px 0 10px; font-size: 22px; }
.article-body h3 { margin: 18px 0 8px; font-size: 18px; }
.article-body p { margin: 0 0 12px; color: #d7dff5; }
.article-body ul, .article-body ol { margin: 0 0 14px 1.2em; color: #d7dff5; }
.article-body li { margin-bottom: 6px; }

.search-box {
  display: flex;
  gap: 10px;
  margin: 18px 0 14px;
}
.search-box input {
  flex: 1;
  background: #0f1730;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
}
.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,.15);
  border-radius: 12px;
}

.float-tools {
  position: fixed;
  right: 16px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  z-index: 90;
}
.float-tools a {
  width: 58px;
  background: #151d38;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 8px 4px;
  font-size: 12px;
  color: #dbe4ff;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.float-tools img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-grid, .feature-wrap, .content-layout, .footer-grid { grid-template-columns: 1fr; }
  .events-row { grid-template-columns: repeat(4, 1fr); }
  .game-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .slide img { height: 280px; }
  .features-glow .bottom-light { width: 180%; margin-left: -40%; }
  .section-title-left { text-align: center; }
  .section-title-left::after { margin: 10px auto 0; }
  .feature-copy { text-align: center; }
  .os-row { justify-content: center; }
  .feature-visual img { margin: 0 auto; }
}
@media (max-width: 768px) {
  .events-row, .game-grid, .category-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card__cover { height: 180px; }
  .slide img { height: 200px; }
  .slogan-line { font-size: 22px; }
  .footer-anchors a { width: 72px; }
}
