:root {
  --bg: #030a16;
  --bg-deep: #020611;
  --bg-soft: #071a30;
  --panel: rgba(9, 30, 56, 0.78);
  --panel-solid: #0a2038;
  --text: #f2f9ff;
  --muted: #93aecb;
  --primary: #0B5FFF;
  --primary-bright: #4FB6FF;
  --blue-light: #A9E4FF;
  --cyan: #35E7FF;
  --navy: #061c36;
  --line: rgba(120, 205, 255, 0.2);
  --success: #4be0ba;
  --danger: #ff6d86;
  --shine: rgba(233, 246, 255, 0.9);
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: #020815; }
body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(11, 95, 255, 0.24), transparent 30%),
    radial-gradient(circle at 89% 30%, rgba(53, 231, 255, 0.16), transparent 33%),
    radial-gradient(circle at 50% 94%, rgba(11, 95, 255, 0.28), transparent 45%),
    linear-gradient(180deg, #020815 0%, #061a36 48%, #02091a 100%);
  font-family: "Outfit", sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

/* Background blue flame: add the .blue-flame-page HTML directly after <body>. */
.blue-flame-page {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(11, 111, 255, 0.18), transparent 58%);
}
.blue-flame-page::before {
  content: "";
  position: absolute;
  inset: -10%;
  opacity: 0.4;
  background:
    radial-gradient(circle at 10% 17%, rgba(53, 200, 255, 0.18), transparent 19%),
    radial-gradient(circle at 92% 37%, rgba(53, 231, 255, 0.17), transparent 21%),
    radial-gradient(circle at 25% 73%, rgba(11, 95, 255, 0.16), transparent 20%),
    radial-gradient(circle at 79% 84%, rgba(53, 200, 255, 0.15), transparent 22%);
  animation: blueHeatPulse 15s ease-in-out infinite alternate;
}
.blue-flame-glow {
  position: absolute;
  bottom: -24%;
  width: min(62vw, 760px);
  height: min(54vw, 680px);
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.55;
  animation: blueGlowPulse 7s ease-in-out infinite alternate;
}
.blue-flame-glow-left { left: -20%; background: rgba(11, 95, 255, 0.42); }
.blue-flame-glow-right { right: -20%; background: rgba(53, 231, 255, 0.3); animation-delay: -3.5s; }
.blue-flame-ripple {
  position: absolute;
  width: 145vmax;
  height: 48vmax;
  left: 50%;
  border: 1px solid rgba(146, 226, 255, 0.14);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-10deg);
  animation: blueRippleDrift 20s ease-in-out infinite alternate;
}
.blue-flame-ripple-one { top: 9%; }
.blue-flame-ripple-two { top: 58%; width: 126vmax; height: 42vmax; opacity: 0.62; animation-delay: -8s; animation-duration: 26s; }
.blue-flame-base { position: absolute; right: 0; bottom: -86px; left: 0; height: 390px; opacity: 0.65; filter: saturate(1.2); }
.blue-flame-base .blue-flame {
  position: absolute;
  bottom: 0;
  display: block;
  width: 145px;
  height: 255px;
  border-radius: 52% 48% 44% 56% / 70% 66% 34% 30%;
  background: radial-gradient(ellipse at 50% 88%, #ffffff 0 6%, #c3f2ff 14%, #5fd9ff 30%, #1f88ff 51%, rgba(0, 60, 210, 0.4) 70%, transparent 75%);
  filter: blur(1px);
  box-shadow: 0 -18px 74px rgba(11, 150, 255, 0.55);
  transform-origin: center bottom;
  animation: blueFlameFlicker 3.6s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.blue-flame-1 { left: -2%; width: 180px; height: 294px; animation-duration: 4s !important; }
.blue-flame-2 { left: 12%; width: 108px; height: 216px; animation-delay: -1.5s !important; animation-duration: 3s !important; }
.blue-flame-3 { left: 28%; width: 154px; height: 265px; animation-delay: -2.4s !important; animation-duration: 4.4s !important; }
.blue-flame-4 { left: 46%; width: 100px; height: 205px; animation-delay: -.8s !important; animation-duration: 3.2s !important; }
.blue-flame-5 { left: 59%; width: 176px; height: 298px; animation-delay: -3.1s !important; animation-duration: 4.7s !important; }
.blue-flame-6 { left: 76%; width: 118px; height: 228px; animation-delay: -1.7s !important; animation-duration: 3.3s !important; }
.blue-flame-7 { left: 86%; width: 152px; height: 270px; animation-delay: -.5s !important; animation-duration: 4.1s !important; }
.blue-flame-8 { right: -4%; width: 145px; height: 238px; animation-delay: -2.8s !important; animation-duration: 3.5s !important; }
.blue-ember {
  position: absolute;
  bottom: -22px;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7fbff;
  box-shadow: 0 0 8px #5fe0ff, 0 0 20px rgba(11, 150, 255, 1);
  opacity: 0;
  animation: blueEmberRise linear infinite;
  will-change: transform, opacity;
}
.blue-ember-1 { left: 7%; animation-duration: 10s; animation-delay: -2s; }
.blue-ember-2 { left: 18%; width: 4px; height: 4px; animation-duration: 7s; animation-delay: -5s; }
.blue-ember-3 { left: 31%; width: 7px; height: 7px; animation-duration: 12s; animation-delay: -9s; }
.blue-ember-4 { left: 45%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: -1s; }
.blue-ember-5 { left: 57%; animation-duration: 13s; animation-delay: -7s; }
.blue-ember-6 { left: 68%; width: 5px; height: 5px; animation-duration: 9s; animation-delay: -3s; }
.blue-ember-7 { left: 78%; width: 8px; height: 8px; animation-duration: 14s; animation-delay: -10s; }
.blue-ember-8 { left: 87%; width: 4px; height: 4px; animation-duration: 7.5s; animation-delay: -4s; }
.blue-ember-9 { left: 94%; width: 6px; height: 6px; animation-duration: 10s; animation-delay: -6s; }
.blue-ember-10 { left: 40%; width: 3px; height: 3px; animation-duration: 6.5s; animation-delay: -2.5s; }

.noise { position: fixed; z-index: 1; inset: 0; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.7'/%3E%3C/svg%3E"); }
.orb { position: fixed; z-index: 1; width: 350px; height: 350px; border-radius: 50%; filter: blur(100px); opacity: 0.24; pointer-events: none; animation: drift 13s ease-in-out infinite alternate; }
.orb-one { top: 5%; left: -180px; background: #0b6fe0; }
.orb-two { top: 38%; right: -180px; background: #1553a8; animation-delay: -4s; }
.orb-three { bottom: -200px; left: 35%; background: #1fb0ff; animation-delay: -8s; }

.navbar, .hero, .games-section, .features-section, .steps-section, footer { position: relative; z-index: 2; width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; width: min(420px, 64vw); max-width: 420px; overflow: visible; background: transparent; border: 0; box-shadow: none; }
.brand-logo-animation { display: block; width: 100%; height: 76px; object-fit: contain; object-position: left center; background: transparent; border: 0; box-shadow: none; }
.navbar .brand { margin-right: 10px; }
.nav-menu { display: flex; gap: 28px; margin-left: 40px; }
.nav-menu a { position: relative; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .25s ease; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--primary-bright)); box-shadow: 0 0 8px var(--cyan); transition: width .3s ease; }
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta, .button { border: 0; border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: var(--text); background: rgba(79, 182, 255, 0.1); font-size: 13px; }
.nav-cta:hover, .button:hover { transform: translateY(-3px); }
.nav-cta:hover { background: rgba(53, 231, 255, .2); box-shadow: 0 10px 26px rgba(11, 95, 255, .3); }

.promo-banner { position: relative; z-index: 2; }
.hero { display: grid; grid-template-columns: 1.03fr .97fr; gap: 60px; align-items: center; min-height: 510px; padding: 55px 0 62px; }
.eyebrow, .section-label { color: var(--blue-light); font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.65px; }
.eyebrow { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(120, 205, 255, .35); border-radius: 999px; background: rgba(11, 95, 255, .14); letter-spacing: .8px; box-shadow: 0 0 22px rgba(53, 231, 255, .18); }
.eyebrow::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: badgeShine 3.2s ease-in-out infinite; }
.pulse-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--success); box-shadow: 0 0 0 0 rgba(75, 224, 186, .65); animation: pulse 1.8s infinite; }
.hero h1 { max-width: 610px; margin: 22px 0 17px; font-family: "Space Grotesk", sans-serif; font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -3px; }
.hero h1 span { display: block; color: transparent; background: linear-gradient(95deg, #ffffff 0%, #bfe9ff 38%, #35c8ff 72%, #0b5fff 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; animation: gradShift 6s ease-in-out infinite; }
.hero-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 19px; color: white; font-weight: 600; }
.button-primary { position: relative; z-index: 0; overflow: hidden; isolation: isolate; background: linear-gradient(105deg, #0947c2, #1478e6 45%, #35c8ff 85%, #6fe0ff); background-size: 220% auto; box-shadow: 0 14px 32px rgba(11, 95, 255, .42); animation: buttonGlow 3.6s ease-in-out infinite; }
.button-primary::before { position: absolute; z-index: -1; top: 0; left: -130%; width: 70%; height: 100%; content: ""; opacity: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.14) 14%, rgba(255,255,255,.65) 48%, rgba(255,255,255,.12) 84%, transparent); transform: skewX(-22deg); transition: left .6s ease, opacity .25s ease; }
.button-primary:hover { box-shadow: 0 19px 44px rgba(53, 200, 255, .55); }
.button-primary:hover::before { left: 155%; opacity: 1; }
.button-ghost { color: #e2f3ff; background: rgba(120, 205, 255, .12); border: 1px solid rgba(120, 205, 255, .2); }
.hero-stats { display: flex; gap: 34px; margin-top: 41px; }
.hero-stats div { position: relative; display: grid; gap: 3px; }
.hero-stats div:not(:last-child)::after { position: absolute; top: 8px; right: -18px; width: 1px; height: 29px; content: ""; background: var(--line); }
.hero-stats strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; display: grid; min-height: 395px; place-items: center; overflow: hidden; border: 1px solid rgba(120, 205, 255, .3); border-radius: 31px; background: linear-gradient(135deg, rgba(11, 95, 255, .34), rgba(5, 20, 38, .68)); box-shadow: var(--shadow), 0 0 60px rgba(53, 231, 255, .1); isolation: isolate; }
.hero-visual::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(115deg, transparent 23%, rgba(200, 240, 255, .1) 43%, transparent 63%); transform: translateX(-130%); animation: hero-sheen 7s ease-in-out infinite; }
.hero-grid { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(169, 228, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 228, 255, .13) 1px, transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent); }
.game-orb { position: relative; z-index: 3; display: grid; width: 205px; height: 205px; place-items: center; }
.orb-core { position: relative; z-index: 2; display: grid; width: 112px; height: 112px; place-items: center; overflow: hidden; border: 1px solid rgba(220, 246, 255, .75); border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 18%), linear-gradient(135deg, #0947c2, #1fb0ff); box-shadow: 0 0 0 12px rgba(53, 200, 255, .1), 0 0 70px rgba(53, 200, 255, .65); animation: float 4s ease-in-out infinite; }
.d-icon-gif { display: block; max-width: 100%; max-height: 100%; object-position: center; background: transparent; border: 0; box-shadow: none; }
.orb-core .d-icon-gif { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.orb-ring { position: absolute; border: 1px solid rgba(180, 232, 255, .5); border-radius: 50%; }
.ring-one { width: 170px; height: 170px; border-style: dashed; animation: rotate 13s linear infinite; }
.ring-two { width: 220px; height: 220px; border-color: rgba(53, 200, 255, .35); animation: rotate-reverse 18s linear infinite; }
.floating-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(169, 228, 255, .25); border-radius: 12px; color: #eef8ff; background: rgba(6, 22, 42, .78); box-shadow: 0 13px 30px rgba(0,0,0,.34), 0 0 18px rgba(53, 200, 255, .1); backdrop-filter: blur(13px); font-size: 12px; font-weight: 600; }
.floating-chip i { color: #9adfff; }
.chip-one { top: 76px; right: 31px; animation: float 4.5s ease-in-out infinite .4s; }
.chip-two { bottom: 73px; left: 28px; animation: float 5.2s ease-in-out infinite -1s; }
.chip-two i { color: var(--success); }
.energy-line { position: absolute; z-index: 2; width: 167px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); filter: drop-shadow(0 0 6px var(--cyan)); animation: beam 3.8s linear infinite; }
.line-one { top: 37%; left: -20px; transform: rotate(-22deg); }
.line-two { right: -32px; bottom: 33%; transform: rotate(151deg); animation-delay: -2s; }
.flame-field { position: absolute; z-index: 2; right: -8px; bottom: -18px; left: -8px; height: 155px; overflow: hidden; pointer-events: none; opacity: .9; }
.flame { position: absolute; bottom: -40px; width: 72px; height: 150px; border-radius: 52% 48% 38% 62% / 62% 40% 60% 38%; background: radial-gradient(ellipse at 50% 86%, rgba(255, 255, 255, .96) 0 6%, rgba(95, 217, 255, .85) 16%, rgba(20, 120, 230, .58) 42%, rgba(4, 37, 93, 0) 72%); filter: blur(1px) drop-shadow(0 -10px 14px rgba(53, 200, 255, .5)); transform-origin: 50% 100%; animation: flame-dance 4.1s ease-in-out infinite; }
.flame::before { position: absolute; bottom: 25px; left: 13px; width: 45px; height: 90px; content: ""; border-radius: 65% 35% 55% 45% / 70% 45% 55% 30%; background: radial-gradient(ellipse at 50% 85%, rgba(240, 252, 255, .98), rgba(95, 217, 255, .6) 26%, rgba(0, 90, 206, 0) 70%); transform: rotate(-12deg); }
.flame:nth-child(1) { left: 1%; height: 116px; animation-delay: -1.1s; }
.flame:nth-child(2) { left: 11%; height: 155px; animation-delay: -2.7s; }
.flame:nth-child(3) { left: 25%; height: 125px; animation-delay: -.4s; }
.flame:nth-child(4) { left: 40%; height: 174px; animation-delay: -3.3s; }
.flame:nth-child(5) { left: 56%; height: 133px; animation-delay: -1.8s; }
.flame:nth-child(6) { left: 70%; height: 166px; animation-delay: -2.2s; }
.flame:nth-child(7) { left: 84%; height: 120px; animation-delay: -.9s; }

.games-section, .features-section, .steps-section { padding-top: 70px; background: transparent; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { max-width: 610px; margin: 9px 0 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(27px, 3vw, 38px); letter-spacing: -1.6px; }
.search-box { display: flex; align-items: center; gap: 9px; width: min(100%, 250px); padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(120, 205, 255, .06); backdrop-filter: blur(10px); transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.search-box:focus-within { border-color: rgba(53, 200, 255, .7); background: rgba(11, 95, 255, .12); box-shadow: 0 0 0 4px rgba(53, 200, 255, .14); }
.search-box i { color: #7cb8db; font-size: 13px; }
.search-box input { width: 100%; height: 43px; outline: 0; border: 0; color: white; background: transparent; font-size: 13px; }
.search-box input::placeholder { color: #6d8498; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.game-card, .feature-card, .step, .nominal-card { position: relative; isolation: isolate; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.24); will-change: transform; transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .32s ease, box-shadow .32s ease, background .32s ease; }
.game-card { display: flex; min-width: 0; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 18px; color: inherit; text-align: left; background: rgba(120, 205, 255, .06); backdrop-filter: blur(10px); }
.game-card::before { position: absolute; top: -80%; left: -90%; width: 80%; height: 260%; content: ""; opacity: 0; background: linear-gradient(90deg, transparent, rgba(200,240,255,.18), transparent); transform: rotate(24deg); transition: left .6s ease, opacity .3s ease; }
.game-card::after, .feature-card::after, .step::after, .nominal-card::after { position: absolute; z-index: -1; inset: 0; content: ""; opacity: 0; background: radial-gradient(circle at 18% 0%, rgba(53, 200, 255, .28), transparent 42%), radial-gradient(circle at 92% 100%, rgba(11, 95, 255, .22), transparent 35%); transition: opacity .32s ease; pointer-events: none; }
.game-card:hover, .feature-card:hover, .step:hover, .nominal-card:hover { border-color: rgba(53, 200, 255, .7); background: rgba(11, 95, 255, .14); box-shadow: 0 20px 48px rgba(0,0,0,.36), 0 0 0 1px rgba(169, 228, 255, .14), 0 0 36px rgba(53, 200, 255, .22); transform: translateY(-7px); }
.game-card:hover::before { left: 125%; opacity: 1; }
.game-card:hover::after, .feature-card:hover::after, .step:hover::after, .nominal-card:hover::after, .nominal-card.active::after { opacity: 1; }
.game-cover { position: relative; display: grid; flex: 0 0 66px; width: 66px; height: 66px; place-items: center; overflow: hidden; border-radius: 13px; font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -1px; }
.cover-glow { position: absolute; inset: auto -12px -22px; height: 54px; border-radius: 50%; background: rgba(53, 200, 255, .4); filter: blur(10px); }
.game-cover span { position: relative; z-index: 1; }
.game-info { min-width: 0; flex: 1; }
.game-category { color: #8fd6ff; font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.game-info h3 { overflow: hidden; margin: 3px 0; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.game-info p { margin: 0; color: var(--muted); font-size: 11px; }
.arrow-circle { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #d3edfc; background: rgba(53, 200, 255, .14); font-size: 11px; transition: .3s ease; }
.game-card:hover .arrow-circle { color: white; background: var(--primary); transform: rotate(-35deg); box-shadow: 0 0 16px rgba(53, 200, 255, .6); }
.empty-search { padding: 24px; color: var(--muted); text-align: center; }
.features-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(53, 200, 255, .1), rgba(255,255,255,.02)); backdrop-filter: blur(10px); }
.feature-icon { display: grid; width: 43px; height: 43px; margin-bottom: 17px; place-items: center; border-radius: 12px; font-size: 17px; }
.violet { color: #c0e8ff; background: rgba(11, 95, 255, .3); }
.pink { color: #d0f1ff; background: rgba(53, 155, 255, .22); }
.cyan { color: #dcfaff; background: rgba(53, 231, 255, .2); }
.feature-card h3 { margin: 0 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.steps-section { padding-bottom: 85px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(53, 200, 255, .045); backdrop-filter: blur(10px); }
.step { min-height: 222px; padding: 28px; }
.step:not(:last-child) { border-right: 1px solid var(--line); }
.step-number { position: absolute; top: 23px; right: 26px; color: rgba(169, 228, 255, .2); font-family: "Space Grotesk", sans-serif; font-size: 32px; font-weight: 700; }
.step > i { color: var(--blue-light); font-size: 25px; }
.step .d-icon-gif { width: 42px; height: 42px; margin-bottom: 2px; }
.step h3 { margin: 20px 0 7px; font-size: 18px; }
.step p { max-width: 240px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
footer { display: flex; align-items: center; justify-content: space-between; min-height: 104px; border-top: 1px solid var(--line); background: rgba(2, 12, 30, 0.9); backdrop-filter: blur(14px); }
footer .brand { width: min(320px, 70vw); max-width: 320px; }
footer .brand-logo-animation { height: 60px; }
footer p { color: #7d9bb5; font-size: 12px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; overflow-y: auto; place-items: center; padding: 20px; opacity: 0; visibility: hidden; background: rgba(1,6,14,.85); backdrop-filter: blur(9px); transition: opacity .25s ease, visibility .25s ease; }
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal { position: relative; width: min(650px,100%); padding: 28px; border: 1px solid rgba(120, 205, 255, .3); border-radius: 24px; background: radial-gradient(circle at top right, rgba(53, 155, 255, .22), transparent 24rem), #061a34; box-shadow: 0 30px 90px rgba(0,0,0,.72); transform: translateY(18px) scale(.98); transition: transform .3s ease; }
.modal-backdrop.active .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 17px; right: 17px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; color: #d0eaff; background: rgba(169, 228, 255, .12); }
.modal-header { display: flex; align-items: center; gap: 13px; padding-right: 38px; margin-bottom: 26px; }
.modal-header h2 { margin: 5px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.mini-game-cover { display: grid; width: 53px; height: 53px; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, #0947c2, #1fb0ff); font-family: "Space Grotesk", sans-serif; font-weight: 800; }
.tracking-icon { background: linear-gradient(145deg, #0947c2, #35c8ff); }
.form-step { display: flex; align-items: flex-start; gap: 11px; margin: 19px 0 13px; }
.form-step-number { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #e2f5ff; background: rgba(53, 200, 255, .3); font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; }
.form-step h3 { margin: 0; font-size: 14px; }
.form-step p { margin: 3px 0 0; color: #85a2b8; font-size: 12px; }
.second-step { margin-top: 27px; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
label { display: grid; gap: 7px; color: #d3e8f5; font-size: 12px; font-weight: 600; }
input { width: 100%; height: 46px; padding-inline: 13px; outline: 0; border: 1px solid rgba(169, 228, 255, .18); border-radius: 11px; color: white; background: rgba(53, 200, 255, .06); font-size: 14px; transition: .25s ease; }
input::placeholder { color: #627d91; }
input:focus { border-color: rgba(53, 200, 255, .8); box-shadow: 0 0 0 3px rgba(53, 200, 255, .18); }
.check-id-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; border: 0; color: #9adfff; background: transparent; font-size: 12px; font-weight: 600; }
.account-result, .tracking-result { margin-top: 13px; padding: 13px; border: 1px solid rgba(75,224,186,.22); border-radius: 11px; color: #bcf8df; background: rgba(75,224,186,.08); font-size: 13px; line-height: 1.5; }
.account-result.error, .tracking-result.error { border-color: rgba(255,109,134,.28); color: #ffb9c8; background: rgba(255,109,134,.09); }
.nominal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.nominal-card { display: grid; gap: 4px; padding: 13px; border: 1px solid rgba(169, 228, 255, .18); border-radius: 12px; color: #eaf6ff; text-align: left; background: rgba(53, 200, 255, .06); }
.nominal-card strong { font-size: 13px; }
.nominal-card span { color: #94b2c7; font-size: 12px; }
.nominal-card.active { border-color: rgba(53, 200, 255, .95); background: linear-gradient(135deg, rgba(11, 95, 255, .34), rgba(53, 200, 255, .14)), rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(200, 240, 255, .2), 0 13px 34px rgba(11, 95, 255, .35), inset 0 1px 0 rgba(255,255,255,.14); animation: selected-card .48s cubic-bezier(.2,.8,.2,1); }
.nominal-card.active strong { color: #fff; }
.order-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; margin: 24px 0 15px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(53, 200, 255, .06); }
.order-summary div { display: grid; gap: 4px; min-width: 0; }
.order-summary span { color: #86a3ba; font-size: 10px; }
.order-summary strong { overflow: hidden; color: #eaf6ff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.order-button { width: 100%; }
.form-note { margin: 12px 0 0; color: #7492a8; text-align: center; font-size: 11px; }
.form-note i { margin-right: 4px; color: #6fd0ff; }
.payment-step { margin-top: 8px; }
.qris-box { display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid rgba(53, 200, 255, .3); border-radius: 16px; background: linear-gradient(135deg, rgba(11, 95, 255, .12), rgba(53, 231, 255, .05)); }
.qris-image { width: 140px; height: 140px; flex: 0 0 140px; border-radius: 12px; object-fit: contain; background: #fff; padding: 8px; box-shadow: 0 0 24px rgba(53, 200, 255, .25); }
.qris-info { display: grid; gap: 10px; min-width: 0; }
.qris-info div { display: grid; gap: 2px; }
.qris-info span { color: #86a3ba; font-size: 11px; }
.qris-info strong { font-family: "Space Grotesk", sans-serif; font-size: 15px; color: #eaf6ff; overflow-wrap: anywhere; }
#confirmPaidButton { width: 100%; margin-top: 14px; }
.track-modal { width: min(500px,100%); }
.track-modal form { display: grid; gap: 16px; }
.tracking-result pre { overflow-x: auto; margin: 9px 0 0; color: inherit; font-family: "Space Grotesk", sans-serif; font-size: 11px; white-space: pre-wrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(75,224,186,0); } 100% { box-shadow: 0 0 0 0 rgba(75,224,186,0); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotate-reverse { to { transform: rotate(-360deg); } }
@keyframes drift { to { transform: translate(80px,55px) scale(1.14); } }
@keyframes beam { 0% { opacity: 0; transform: translateX(-140px) rotate(-22deg); } 28%,72% { opacity: 1; } 100% { opacity: 0; transform: translateX(430px) rotate(-22deg); } }
@keyframes hero-sheen { 0%,72% { transform: translateX(-130%); } 100% { transform: translateX(135%); } }
@keyframes selected-card { 0% { transform: scale(.96); } 65% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes flame-dance { 0%,100% { transform: translateX(0) scaleX(.9) scaleY(.95) rotate(-5deg); opacity: .7; } 25% { transform: translateX(8px) scaleX(1.08) scaleY(1.06) rotate(5deg); opacity: .95; } 50% { transform: translateX(-4px) scaleX(.86) scaleY(.83) rotate(-2deg); opacity: .78; } 75% { transform: translateX(5px) scaleX(1.03) scaleY(1.12) rotate(4deg); opacity: .9; } }
@keyframes blueHeatPulse { from { opacity: 0.26; transform: scale(0.97); } to { opacity: 0.58; transform: scale(1.04); } }
@keyframes blueGlowPulse { from { transform: translate3d(-4%, 5%, 0) scale(0.88); opacity: 0.32; } to { transform: translate3d(5%, -5%, 0) scale(1.13); opacity: 0.7; } }
@keyframes blueRippleDrift { from { transform: translateX(-50%) rotate(-10deg) scale(0.94); opacity: 0.24; } to { transform: translateX(-47%) rotate(-6deg) scale(1.08); opacity: 0.56; } }
@keyframes blueFlameFlicker { 0% { transform: translateX(-10px) rotate(-7deg) scaleX(.86) scaleY(.83); opacity: .52; } 35% { transform: translateX(8px) rotate(5deg) scaleX(1.06) scaleY(1.10); opacity: .8; } 70% { transform: translateX(-4px) rotate(-3deg) scaleX(.93) scaleY(.94); opacity: .64; } 100% { transform: translateX(11px) rotate(7deg) scaleX(1.08) scaleY(1.18); opacity: .86; } }
@keyframes blueEmberRise { 0% { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; } 11% { opacity: .96; } 52% { transform: translate3d(28px, -48vh, 0) scale(1); opacity: .75; } 100% { transform: translate3d(-22px, -125vh, 0) scale(.15); opacity: 0; } }
@keyframes gradShift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes buttonGlow { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes badgeShine { 0% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 980px) { .nav-menu { display: none; } }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 44px; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .hero h1 { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { min-height: 340px; }
  .game-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .navbar, .hero, .games-section, .features-section, .steps-section, footer { width: min(100% - 28px, 1160px); }
  .navbar { height: 78px; }
  .brand { width: min(265px, 64vw); max-width: 265px; }
  .brand-logo-animation { height: 54px; }
  .nav-cta { padding: 9px 10px; font-size: 11px; }
  .hero { min-height: auto; padding: 39px 0 38px; }
  .hero h1 { font-size: 42px; letter-spacing: -2.3px; }
  .hero-copy > p { font-size: 15px; }
  .hero-stats { gap: 19px; }
  .hero-stats div:not(:last-child)::after { right: -10px; }
  .hero-visual { min-height: 285px; border-radius: 23px; }
  .game-orb { transform: scale(.8); }
  .floating-chip { font-size: 10px; }
  .chip-one { top: 43px; right: 14px; }
  .chip-two { bottom: 40px; left: 13px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .search-box { width: 100%; }
  .game-grid, .features-section, .steps-grid, .input-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 88px; }
  .features-section { gap: 11px; }
  .feature-card { padding: 19px; }
  .step:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .step { min-height: 175px; }
  .step .d-icon-gif { width: 38px; height: 38px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; padding: 17px 0; }
  footer .brand { width: min(250px, 70vw); max-width: 250px; }
  footer .brand-logo-animation { height: 50px; }
  footer p { margin: 0; }
  .modal { padding: 21px 16px; border-radius: 18px; }
  .modal-header h2 { font-size: 21px; }
  .order-summary { grid-template-columns: 1fr; }
  .flame-field { height: 110px; }
  .flame { transform: scale(.72); transform-origin: bottom center; }
  .blue-flame-base { height: 250px; bottom: -95px; opacity: .5; }
  .blue-flame-3, .blue-flame-5, .blue-flame-7 { display: none !important; }
  .blue-flame-glow { opacity: .38; }
  .blue-ember-3, .blue-ember-7, .blue-ember-9 { display: none; }
  .blue-flame-ripple { width: 220vmax; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
