/* ============================================================
   JND28 Official Site
   ============================================================ */
:root {
  --bg: #070b14;
  --bg-2: #0b1222;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef3fc;
  --muted: #94a3b8;
  --muted-2: #6b7a90;
  --violet: #6d5efc;
  --violet-2: #9a8cff;
  --cyan: #22d3ee;
  --gold: #f6b73c;
  --green: #34d399;
  --red: #fb7185;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
code {
  background: rgba(109, 94, 252, .16);
  color: #c4bcff;
  border: 1px solid rgba(109, 94, 252, .25);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Background */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(109, 94, 252, .16), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, .10), transparent 38%),
    linear-gradient(180deg, #080d18 0%, #070b14 55%, #080d18 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; left: -160px; top: -120px; background: rgba(109, 94, 252, .35); }
.orb-2 { width: 420px; height: 420px; right: -120px; top: 180px; background: rgba(34, 211, 238, .18); animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; left: 38%; bottom: -180px; background: rgba(246, 183, 60, .09); animation-delay: -11s; }
.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, 30px, 0) scale(1.05); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #6d5efc, #8b7bff);
  color: #fff;
  box-shadow: 0 12px 30px rgba(109, 94, 252, .35);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(109, 94, 252, .45); }
.btn-outline {
  background: rgba(255, 255, 255, .035);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15.5px; border-radius: 14px; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 20, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d5efc, #22d3ee);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 21px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(109, 94, 252, .38);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; }
.brand-text small { font-size: 8.5px; letter-spacing: 1.8px; color: var(--muted-2); margin-top: 3px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.site-nav a {
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-login { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  border-radius: 11px;
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #dbe4f0; border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 168px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 40px;
  border: 1px solid rgba(109, 94, 252, .3);
  background: rgba(109, 94, 252, .10);
  color: #c9c2ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2s infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 800;
}
.gradient-text {
  background: linear-gradient(100deg, #a99bff 0%, #6d5efc 35%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted-2); font-size: 13px;
}
.hero-tags span::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .4);
  box-shadow: inset 0 0 0 3px rgba(52, 211, 153, .18);
}

/* Live card */
.hero-visual { position: relative; }
.live-card {
  position: relative;
  background: linear-gradient(155deg, rgba(27, 35, 62, .94), rgba(11, 18, 34, .96));
  border: 1px solid rgba(139, 123, 255, .26);
  border-radius: 28px;
  padding: 26px 26px 22px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(109, 94, 252, .20), transparent 55%);
  pointer-events: none;
}
.live-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #b9c4d8; letter-spacing: 1.4px; text-transform: uppercase; }
.live-status {
  padding: 4px 11px; border-radius: 20px;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .25);
  color: var(--green); font-size: 11px; font-weight: 700;
}
.live-term-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; }
.live-game { font-size: 21px; font-weight: 800; color: #fff; }
.live-term { font-size: 12px; color: var(--muted-2); }
.live-term b { color: #dbe4f0; font-weight: 700; letter-spacing: .5px; }
.live-countdown {
  margin-top: 10px;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(246, 183, 60, .22);
}
.live-countdown-label { font-size: 11px; color: var(--muted-2); margin-top: 5px; }
.live-result {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding: 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .06);
}
.balls { display: flex; align-items: center; gap: 8px; }
.ball {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #6d5efc, #8b7bff);
  box-shadow: 0 8px 18px rgba(109, 94, 252, .28);
}
.ball:nth-child(2) { background: linear-gradient(135deg, #2f8bfd, #22d3ee); box-shadow: 0 8px 18px rgba(34, 211, 238, .22); }
.ball:nth-child(3) { background: linear-gradient(135deg, #f6b73c, #f59e0b); color: #171003; box-shadow: 0 8px 18px rgba(246, 183, 60, .22); }
.ball.ghost { background: rgba(255, 255, 255, .06); color: var(--muted-2); box-shadow: none; }
.result-sum { font-size: 12px; color: var(--muted); }
.result-sum b { color: var(--gold); font-size: 23px; margin-left: 4px; }
.live-meta {
  display: flex; justify-content: space-between;
  margin-top: 14px; font-size: 11px; color: var(--muted-2);
}
.live-meta b { color: #b9c4d8; }
.live-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 52px; margin-top: 18px; opacity: .55;
}
.live-bars span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(139, 123, 255, .9), rgba(109, 94, 252, .12));
}
.live-bars span:nth-child(3n) { background: linear-gradient(180deg, rgba(34, 211, 238, .8), rgba(34, 211, 238, .08)); }
.live-bars span:nth-child(4n) { background: linear-gradient(180deg, rgba(246, 183, 60, .75), rgba(246, 183, 60, .06)); }
.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .9);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px);
  animation: floatBadge 6s ease-in-out infinite;
}
.float-badge b { display: block; font-size: 12.5px; color: #fff; }
.float-badge small { display: block; font-size: 10px; color: var(--muted-2); }
.fb-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(109, 94, 252, .16); font-size: 16px;
}
.badge-speed { top: -56px; right: -8px; }
.badge-safe { left: -34px; bottom: 26px; animation-delay: -3s; }
.badge-safe .fb-icon { background: rgba(52, 211, 153, .14); }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Recent */
.recent-wrap {
  margin-top: 46px;
  display: flex; align-items: center; gap: 24px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}
.recent-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.recent-list { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.recent-list::-webkit-scrollbar { display: none; }
.recent-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 12px; color: var(--muted-2); }
.ri-code { color: #dbe4f0; font-family: ui-monospace, monospace; }
.ri-sum { color: var(--gold); font-weight: 800; }

/* Trust strip */
.trust-strip {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  padding: 17px 0;
}
.trust-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.trust-track span {
  font-size: 12px; letter-spacing: 2.4px; color: var(--muted-2);
  text-transform: uppercase; white-space: nowrap;
}
.trust-track i { width: 5px; height: 5px; border-radius: 50%; background: rgba(109, 94, 252, .55); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: rgba(255, 255, 255, .016); border-top: 1px solid rgba(255, 255, 255, .045); border-bottom: 1px solid rgba(255, 255, 255, .045); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.section-head.center { display: block; text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: 2.4px; font-weight: 700;
  color: var(--violet-2); margin-bottom: 12px;
}
.section-head h2, .play-copy h2, .telegram-copy h2, .agent-card h2, .cta-card h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -1px;
  font-weight: 800;
}
.section-head p, .play-copy > p, .telegram-copy > p, .agent-card > p, .cta-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 13px;
}
.section-head.center p { max-width: 620px; margin-left: auto; margin-right: auto; }
.link-arrow { color: var(--violet-2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.link-arrow span { display: inline-block; transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }
.empty-block { grid-column: 1 / -1; padding: 46px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }

/* Games */
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.game-card {
  position: relative;
  display: flex; align-items: center; gap: 13px;
  padding: 19px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.game-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(109, 94, 252, .18), transparent 55%);
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 123, 255, .45);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
}
.game-card:hover::after { opacity: 1; }
.game-icon {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #6d5efc, #22d3ee);
  box-shadow: 0 8px 20px rgba(109, 94, 252, .26);
}
.game-card:nth-child(2n) .game-icon { background: linear-gradient(135deg, #2f8bfd, #22d3ee); }
.game-card:nth-child(3n) .game-icon { background: linear-gradient(135deg, #f6b73c, #f97316); }
.game-card:nth-child(4n) .game-icon { background: linear-gradient(135deg, #34d399, #14b8a6); }
.game-info { min-width: 0; }
.game-info h3 { font-size: 15.5px; font-weight: 750; }
.game-info p { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.game-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 9px; padding: 2px 7px; border-radius: 10px;
  color: var(--green); background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .22);
}
.game-arrow { margin-left: auto; color: var(--muted-2); font-size: 16px; transition: transform .2s ease, color .2s ease; }
.game-card:hover .game-arrow { color: #fff; transform: translateX(4px); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 25px; height: 25px; }
.icon-violet { color: #b3a8ff; background: rgba(109, 94, 252, .15); }
.icon-cyan { color: #67e8f9; background: rgba(34, 211, 238, .11); }
.icon-gold { color: #fcd34d; background: rgba(246, 183, 60, .12); }
.icon-green { color: #6ee7b7; background: rgba(52, 211, 153, .12); }
.icon-blue { color: #93c5fd; background: rgba(59, 130, 246, .13); }
.icon-pink { color: #f9a8d4; background: rgba(236, 72, 153, .11); }
.feature-card h3 { font-size: 17px; font-weight: 750; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* Play */
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 70px; align-items: center; }
.play-copy h2 { margin-top: 2px; }
.play-list { margin-top: 30px; display: grid; gap: 5px; }
.play-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.play-row:last-child { border-bottom: none; }
.play-index {
  color: var(--violet-2); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; padding-top: 3px; min-width: 22px;
}
.play-row h3 { font-size: 15px; font-weight: 700; }
.play-row p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.play-demo { position: relative; }
.demo-card {
  border-radius: 24px; padding: 24px;
  background: linear-gradient(160deg, rgba(27, 35, 62, .92), rgba(11, 18, 34, .97));
  border: 1px solid rgba(139, 123, 255, .24);
  box-shadow: var(--shadow);
}
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; }
.demo-kicker { display: block; font-size: 11px; color: var(--muted-2); letter-spacing: 1px; }
.demo-head strong { display: block; font-size: 20px; font-weight: 800; margin-top: 2px; }
.demo-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--green);
}
.demo-result {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px; margin-top: 18px;
  border-radius: 15px; background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .055);
}
.demo-result .ball { width: 42px; height: 42px; font-size: 18px; }
.demo-sum { font-size: 11px; color: var(--muted); }
.demo-sum b { color: var(--gold); font-size: 21px; margin-left: 3px; }
.demo-tabs { display: flex; gap: 4px; margin-top: 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.demo-tabs span { padding: 9px 12px; font-size: 11.5px; color: var(--muted-2); }
.demo-tabs .active { color: #fff; font-weight: 700; border-bottom: 2px solid var(--gold); }
.demo-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.demo-options span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 15px; font-weight: 800;
}
.demo-options span small { font-size: 9px; color: var(--gold); font-weight: 600; }
.demo-options span.selected {
  background: linear-gradient(135deg, rgba(109, 94, 252, .9), rgba(139, 123, 255, .7));
  border-color: #8b7bff;
  box-shadow: 0 8px 20px rgba(109, 94, 252, .28);
}
.demo-amount {
  display: flex; align-items: center; gap: 4px; margin-top: 16px;
  padding: 12px 15px; border-radius: 12px;
  background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .08);
}
.demo-amount span { color: var(--gold); font-weight: 700; }
.demo-amount b { font-size: 19px; }
.demo-amount em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--muted-2); }
.demo-submit {
  margin-top: 12px; text-align: center; padding: 14px;
  border-radius: 12px; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, #6d5efc, #8b7bff);
  box-shadow: 0 10px 25px rgba(109, 94, 252, .3);
}
.demo-note { text-align: center; margin-top: 10px; font-size: 9.5px; color: var(--muted-2); }

/* Steps */
.steps-grid { display: flex; align-items: stretch; gap: 0; }
.step-card {
  flex: 1;
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
}
.step-num {
  position: absolute; top: 16px; right: 18px;
  font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .18);
  letter-spacing: 1px;
}
.step-icon {
  width: 58px; height: 58px; border-radius: 18px; margin: 4px auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(109, 94, 252, .12);
  border: 1px solid rgba(109, 94, 252, .2);
  font-size: 24px;
}
.step-card h3 { font-size: 17px; font-weight: 750; }
.step-card p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 8px; }
.step-line {
  width: 46px; align-self: center; height: 1px;
  background: linear-gradient(90deg, rgba(109, 94, 252, .5), rgba(34, 211, 238, .5));
  position: relative;
}
.step-line::after {
  content: ""; position: absolute; right: -2px; top: -2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
}

/* Telegram */
.telegram-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 70px; align-items: center; }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 28px; color: #c3cddf; font-size: 13.5px; line-height: 1.7;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52, 211, 153, .12); color: var(--green);
  font-size: 10px; font-weight: 800;
}
.command-box { margin: 28px 0; display: grid; gap: 8px; }
.command-box div {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 15px; border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
}
.command-box span { font-family: ui-monospace, monospace; font-size: 13px; color: #c4bcff; }
.command-box em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.chat-window {
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 34, 58, .96), rgba(11, 18, 34, .98));
  border: 1px solid rgba(139, 123, 255, .22);
  box-shadow: var(--shadow);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 19px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6d5efc, #22d3ee);
  font-size: 17px; font-weight: 800;
}
.chat-head strong { display: block; font-size: 13.5px; }
.chat-head small { display: block; font-size: 10px; color: var(--muted-2); }
.chat-online { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--green); }
.chat-body { padding: 20px 18px; display: grid; gap: 11px; }
.chat-msg { display: flex; }
.chat-msg.right { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%; padding: 11px 14px; border-radius: 13px 13px 13px 4px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 11.5px; line-height: 1.65; color: #dbe4f0;
}
.chat-bubble.user {
  border-radius: 13px 13px 4px 13px;
  background: linear-gradient(135deg, rgba(109, 94, 252, .85), rgba(139, 123, 255, .65));
  border-color: rgba(139, 123, 255, .4);
  color: #fff;
}
.chat-tag {
  display: inline-block; margin-right: 5px; padding: 1px 6px;
  border-radius: 6px; font-size: 9px; font-weight: 700;
  background: rgba(148, 163, 184, .14); color: #c3cddf;
}
.chat-tag.success { background: rgba(52, 211, 153, .14); color: var(--green); }
.chat-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: 11px;
}
.chat-input i {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--violet); color: #fff; font-style: normal; font-size: 12px;
}

/* Agent */
.agent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 70px; align-items: center; }
.agent-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.agent-points div {
  padding: 15px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
}
.agent-points b { display: block; font-size: 13px; margin-bottom: 3px; }
.agent-points span { font-size: 10.5px; color: var(--muted-2); }
.agent-visual { position: relative; }
.agent-panel {
  border-radius: 24px; padding: 24px;
  background: linear-gradient(160deg, rgba(24, 34, 58, .95), rgba(11, 18, 34, .98));
  border: 1px solid rgba(52, 211, 153, .2);
  box-shadow: var(--shadow);
}
.ap-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.ap-live { color: var(--green); font-weight: 800; font-size: 10px; letter-spacing: 1.4px; }
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.ap-stats div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.ap-stats span { display: block; font-size: 10px; color: var(--muted-2); }
.ap-stats b { display: block; font-size: 15px; margin-top: 3px; color: #fff; }
.ap-stats div:nth-child(3) b { color: var(--green); }
.ap-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 20px; }
.ap-chart span {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(52, 211, 153, .85), rgba(52, 211, 153, .08));
}
.ap-foot { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; color: var(--muted-2); }
.ap-foot b { color: var(--gold); }
.badge-agent { right: -24px; bottom: -22px; }
.badge-agent .fb-icon { background: rgba(52, 211, 153, .14); }

/* Stats band */
.stats-band {
  padding: 40px 0;
  background: linear-gradient(90deg, rgba(109, 94, 252, .12), rgba(34, 211, 238, .08), rgba(246, 183, 60, .06));
  border-top: 1px solid rgba(139, 123, 255, .16);
  border-bottom: 1px solid rgba(139, 123, 255, .16);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(255, 255, 255, .07); }
.stat-item:last-child { border-right: none; }
.stat-item b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -1px; }
.stat-item b small { font-size: 16px; color: var(--gold); margin-left: 2px; }
.stat-item span { font-size: 12px; color: var(--muted); }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.security-card {
  padding: 26px 22px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line);
}
.security-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(52, 211, 153, .1); color: var(--green);
  font-size: 21px; font-weight: 800; margin-bottom: 16px;
}
.security-card h3 { font-size: 15.5px; font-weight: 750; margin-bottom: 7px; }
.security-card p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] { border-color: rgba(139, 123, 255, .35); background: rgba(109, 94, 252, .055); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 17px 20px; font-size: 14.5px; font-weight: 650;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 21px; color: var(--violet-2); font-weight: 400;
  transition: transform .25s ease; flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px 18px; color: var(--muted); font-size: 13px; line-height: 1.85;
  animation: faqIn .25s ease;
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* CTA */
.cta-section { padding: 40px 0 100px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 46px 48px; border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, .16), transparent 40%),
    linear-gradient(120deg, rgba(109, 94, 252, .24), rgba(15, 23, 42, .9));
  border: 1px solid rgba(139, 123, 255, .3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.cta-card h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 14, .6);
  padding: 60px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted-2); font-size: 12.5px; line-height: 1.8; margin: 18px 0 18px; max-width: 320px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-size: 10.5px; color: var(--muted); transition: all .2s ease;
}
.footer-social a:hover { color: #fff; border-color: rgba(139, 123, 255, .4); background: rgba(109, 94, 252, .12); }
.footer-col h4 { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: #c3cddf; margin-bottom: 16px; }
.footer-col a, .footer-plain {
  display: block; font-size: 12.5px; color: var(--muted-2); padding: 5px 0; transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 11px;
}
.footer-disclaimer { max-width: 720px; }

/* Back top */
.back-top {
  position: fixed; right: 24px; bottom: 26px; z-index: 80;
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .9);
  border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, color .2s ease;
  backdrop-filter: blur(10px);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: #fff; transform: translateY(-3px); }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal.delay-1 { transition-delay: .08s; }
.js .reveal.delay-2 { transition-delay: .16s; }
.js .reveal.delay-3 { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .play-grid, .telegram-grid, .agent-grid { gap: 44px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: span 1; }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 78px; left: 18px; right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(10, 16, 30, .98);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
  .site-nav .nav-login {
    display: block !important;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--violet-2);
    font-weight: 700;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-tags { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .play-grid, .telegram-grid, .agent-grid { grid-template-columns: 1fr; }
  .play-copy br, .telegram-copy br { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .steps-grid { flex-direction: column; gap: 14px; }
  .step-line { width: 1px; height: 26px; margin: 0 auto; }
  .step-line::after { right: -2px; top: auto; bottom: -2px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .recent-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .recent-list { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { height: 70px; gap: 12px; }
  .brand-text small { display: none; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; }
  .header-actions .btn { height: 40px; padding: 0 15px; font-size: 13px; }
  .site-nav { top: 70px; left: 12px; right: 12px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-desc { font-size: 15px; }
  .btn-lg { height: 50px; padding: 0 22px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-tags { gap: 11px; flex-direction: column; align-items: center; }
  .float-badge { display: none; }
  .live-card { padding: 22px 20px; }
  .live-countdown { font-size: 44px; }
  .ball { width: 42px; height: 42px; font-size: 18px; }
  .section { padding: 74px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
  .section-head.center { margin-bottom: 32px; }
  .games-grid, .features-grid, .security-grid { grid-template-columns: 1fr; }
  .game-card { padding: 17px; }
  .agent-points { grid-template-columns: 1fr; }
  .demo-options { gap: 6px; }
  .demo-result .ball { width: 38px; height: 38px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .07); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .back-top { right: 16px; bottom: 18px; }
  .cta-section { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
