/*
  BAMBU4D SPORTSBOOK UI
  ------------------------------------------------------------
  Seluruh class memakai prefix b4- agar minim konflik dengan CSS lama.
  Warna utama dapat diganti dari variabel :root di bawah.
*/

:root {
  color-scheme: dark;
  --b4-bg: #05080d;
  --b4-bg-soft: #081018;
  --b4-panel: rgba(12, 22, 31, 0.72);
  --b4-panel-solid: #0c151e;
  --b4-line: rgba(255, 255, 255, 0.09);
  --b4-line-strong: rgba(117, 255, 132, 0.24);
  --b4-text: #f3f8fb;
  --b4-muted: #8da0ad;
  --b4-green: #75ff84;
  --b4-green-2: #2ee874;
  --b4-cyan: #39c8ff;
  --b4-blue: #267dff;
  --b4-purple: #a45cff;
  --b4-pink: #ff4ca5;
  --b4-warning: #ffd25c;
  --b4-danger: #ff5f6d;
  --b4-radius-sm: 12px;
  --b4-radius: 20px;
  --b4-radius-lg: 32px;
  --b4-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --b4-container: 1180px;
  --b4-header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body.b4-body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--b4-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 232, 116, 0.11), transparent 29rem),
    radial-gradient(circle at 88% 4%, rgba(38, 125, 255, 0.11), transparent 34rem),
    linear-gradient(180deg, #05080d 0%, #050a0f 48%, #06090d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.b4-body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  opacity: 0.05;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, transparent 0 1px, #fff 1px 2px),
    repeating-radial-gradient(circle at 82% 73%, transparent 0 1px, #fff 1px 2px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}

body.b4-body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.42) 100%);
}

body.b4-body.is-modal-open {
  overflow: hidden;
}

::selection {
  color: #041009;
  background: var(--b4-green);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #05080d;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #05080d;
  border-radius: 99px;
  background: linear-gradient(var(--b4-green), var(--b4-cyan));
}

.b4-body a {
  color: inherit;
  text-decoration: none;
}

.b4-body button,
.b4-body input {
  font: inherit;
}

.b4-body button {
  color: inherit;
}

.b4-body img,
.b4-body svg {
  display: block;
}

.b4-body svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b4-svg-sprite {
  position: absolute;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
}

.b4-container {
  width: min(calc(100% - 40px), var(--b4-container));
  margin-inline: auto;
}

.b4-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #06100a;
  background: var(--b4-green);
  transform: translateY(-180%);
  transition: transform 0.25s ease;
}

.b4-skip-link:focus {
  transform: translateY(0);
}

.b4-particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

.b4-cursor-glow {
  position: fixed;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(117, 255, 132, 0.07), rgba(57, 200, 255, 0.03) 35%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.3s ease;
}

.b4-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--b4-text);
  background:
    radial-gradient(circle, rgba(117, 255, 132, 0.11), transparent 26rem),
    #04070a;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.b4-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.b4-loader strong {
  margin-top: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
}

.b4-loader small {
  color: var(--b4-muted);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
}

.b4-loader__mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
}

.b4-loader__mark::before {
  position: absolute;
  right: -20px;
  bottom: 8px;
  width: 32px;
  height: 16px;
  content: "";
  border: 3px solid var(--b4-green);
  border-left: 0;
  border-bottom: 0;
  border-radius: 100% 0;
  transform: rotate(-22deg);
  filter: drop-shadow(0 0 10px rgba(117, 255, 132, 0.8));
}

.b4-loader__mark span {
  width: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  background: linear-gradient(180deg, var(--b4-green), rgba(46, 232, 116, 0.15));
  box-shadow: 0 0 22px rgba(117, 255, 132, 0.38);
  animation: b4-loader-bars 0.9s ease-in-out infinite alternate;
}

.b4-loader__mark span:nth-child(1) { height: 40px; }
.b4-loader__mark span:nth-child(2) { height: 62px; animation-delay: -0.25s; }
.b4-loader__mark span:nth-child(3) { height: 50px; animation-delay: -0.5s; }

.b4-announcement {
  position: relative;
  z-index: 60;
  height: 38px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 10, 15, 0.86);
  backdrop-filter: blur(18px);
}

.b4-announcement__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 9px;
}

.b4-announcement strong {
  flex: 0 0 auto;
  color: var(--b4-green);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.b4-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--b4-green);
  box-shadow: 0 0 0 5px rgba(117, 255, 132, 0.08), 0 0 14px rgba(117, 255, 132, 0.7);
  animation: b4-pulse-dot 1.5s ease-in-out infinite;
}

.b4-marquee {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.b4-marquee__track {
  display: flex;
  width: max-content;
  animation: b4-marquee 34s linear infinite;
}

.b4-marquee__track span {
  display: flex;
  align-items: center;
  color: #a8b6bf;
  white-space: nowrap;
  font-size: 0.76rem;
}

.b4-marquee__track span::after {
  width: 4px;
  height: 4px;
  margin: 0 22px;
  content: "";
  border-radius: 50%;
  background: var(--b4-cyan);
  box-shadow: 0 0 10px var(--b4-cyan);
}

.b4-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--b4-header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.b4-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 13, 0.78);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px) saturate(140%);
}

.b4-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.b4-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.b4-logo__mark {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 36px;
  height: 38px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(117, 255, 132, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(117, 255, 132, 0.16), rgba(57, 200, 255, 0.04));
  box-shadow: inset 0 0 18px rgba(117, 255, 132, 0.06), 0 0 20px rgba(117, 255, 132, 0.08);
}

.b4-logo__mark::after {
  position: absolute;
  top: 6px;
  right: 3px;
  width: 12px;
  height: 7px;
  content: "";
  border: 2px solid var(--b4-green);
  border-left: 0;
  border-bottom: 0;
  border-radius: 100% 0;
  transform: rotate(-22deg);
}

.b4-logo__mark i {
  display: block;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(var(--b4-green), var(--b4-green-2));
  box-shadow: 0 0 8px rgba(117, 255, 132, 0.6);
}

.b4-logo__mark i:nth-child(1) { height: 17px; }
.b4-logo__mark i:nth-child(2) { height: 25px; }
.b4-logo__mark i:nth-child(3) { height: 20px; }

.b4-logo__text {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.b4-logo__text > span {
  color: var(--b4-green);
  text-shadow: 0 0 14px rgba(117, 255, 132, 0.3);
}

.b4-logo__text small {
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--b4-muted);
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.b4-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.b4-nav a {
  position: relative;
  padding: 10px 12px;
  color: #9babb5;
  font-size: 0.84rem;
  font-weight: 650;
  transition: color 0.25s ease;
}

.b4-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, var(--b4-green), var(--b4-cyan));
  box-shadow: 0 0 10px rgba(117, 255, 132, 0.45);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.b4-nav a:hover,
.b4-nav a.is-active {
  color: var(--b4-text);
}

.b4-nav a:hover::after,
.b4-nav a.is-active::after {
  transform: scaleX(1);
}

.b4-header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.b4-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 9px;
  padding: 0 17px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.b4-btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, 0.34), transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.55s ease, opacity 0.2s ease;
}

.b4-btn:hover::before {
  opacity: 1;
  transform: translateX(110%);
}

.b4-btn:hover {
  transform: translateY(-2px);
}

.b4-btn:active {
  transform: translateY(0) scale(0.98);
}

.b4-btn:focus-visible,
.b4-body button:focus-visible,
.b4-body a:focus-visible,
.b4-body input:focus-visible,
.b4-body summary:focus-visible {
  outline: 2px solid var(--b4-cyan);
  outline-offset: 3px;
}

.b4-btn--primary {
  color: #041108;
  background: linear-gradient(135deg, var(--b4-green), #46e7c5);
  box-shadow: 0 10px 30px rgba(57, 227, 132, 0.16), inset 0 1px rgba(255, 255, 255, 0.44);
}

.b4-btn--primary:hover {
  box-shadow: 0 14px 36px rgba(57, 227, 132, 0.24), 0 0 0 1px rgba(117, 255, 132, 0.2);
}

.b4-btn--ghost {
  color: #b8c6ce;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.b4-btn--ghost:hover,
.b4-btn--glass:hover {
  color: #fff;
  border-color: rgba(117, 255, 132, 0.28);
  background: rgba(117, 255, 132, 0.07);
}

.b4-btn--glass {
  color: #dbe6ec;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.b4-btn--light {
  color: #071013!important;
  background: #f2f8fa;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.17);
}

.b4-btn--large {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 15px;
  font-size: 0.9rem;
}

.b4-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--b4-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.b4-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.b4-menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.b4-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.b4-menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.b4-hero {
  position: relative;
  min-height: calc(100svh - var(--b4-header-h) - 38px);
  padding: 72px 0 34px;
  overflow: hidden;
  isolation: isolate;
}

.b4-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.77) 50%, rgba(5, 8, 13, 0.2) 100%),
    radial-gradient(circle at 73% 45%, rgba(57, 200, 255, 0.1), transparent 29rem),
    radial-gradient(circle at 78% 58%, rgba(117, 255, 132, 0.1), transparent 24rem);
}

.b4-hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(117, 255, 132, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 255, 132, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  transform: perspective(650px) rotateX(58deg) scale(1.55) translateY(26%);
  transform-origin: center bottom;
  animation: b4-grid-drift 16s linear infinite;
}

.b4-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 40px;
}

.b4-hero__content {
  position: relative;
  z-index: 3;
  max-width: 690px;
}

.b4-eyebrow,
.b4-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--b4-green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.b4-eyebrow {
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(117, 255, 132, 0.16);
  border-radius: 99px;
  background: rgba(117, 255, 132, 0.055);
}

.b4-eyebrow__icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #06100a;
  background: var(--b4-green);
  box-shadow: 0 0 18px rgba(117, 255, 132, 0.36);
}

.b4-eyebrow__icon svg {
  width: 15px;
  height: 15px;
}

.b4-hero__title {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(3.05rem, 6.2vw, 6rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.b4-gradient-text {
  position: relative;
  display: block;
  padding-bottom: 0.08em;
  color: transparent;
  background: linear-gradient(90deg, var(--b4-green) 0%, #c5ff7b 24%, var(--b4-cyan) 64%, #c589ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 26px rgba(57, 200, 255, 0.11));
  animation: b4-text-flow 6s linear infinite;
}

.b4-gradient-text::after {
  position: absolute;
  right: 4%;
  bottom: -2px;
  left: 2%;
  height: 4px;
  content: "";
  border-radius: 99px;
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, var(--b4-green), var(--b4-cyan), transparent);
  filter: blur(2px);
}

.b4-hero__copy {
  max-width: 630px;
  margin: 0;
  color: #9babb5;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
}

.b4-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.b4-hero__metrics {
  display: flex;
  gap: 0;
  margin-top: 35px;
}

.b4-hero__metrics div {
  min-width: 126px;
  padding: 0 22px;
  border-left: 1px solid var(--b4-line);
}

.b4-hero__metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.b4-hero__metrics strong,
.b4-hero__metrics span {
  display: block;
}

.b4-hero__metrics strong {
  color: #f5fbfd;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.b4-hero__metrics span {
  margin-top: 2px;
  color: var(--b4-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.b4-hero__visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  perspective: 1200px;
}

.b4-portal {
  position: relative;
  width: min(480px, 90%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.b4-portal::before,
.b4-portal::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.b4-portal::before {
  right: 9%;
  bottom: -4%;
  left: 9%;
  height: 13%;
  border-radius: 50%;
  opacity: 0.75;
  background: radial-gradient(ellipse, rgba(57, 200, 255, 0.31), rgba(117, 255, 132, 0.09) 42%, transparent 72%);
  filter: blur(18px);
  transform: rotateX(74deg);
}

.b4-portal::after {
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 200, 255, 0.15), transparent 65%);
  filter: blur(20px);
  animation: b4-core-breathe 3.8s ease-in-out infinite;
}

.b4-portal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(57, 200, 255, 0.18));
}

.b4-portal__ring::before,
.b4-portal__ring::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
}

.b4-portal__ring--outer {
  border: 1px solid rgba(57, 200, 255, 0.19);
  background: repeating-conic-gradient(from 10deg, rgba(57, 200, 255, 0.68) 0 1deg, transparent 1deg 9deg);
  mask: radial-gradient(circle, transparent 68%, #000 69% 70%, transparent 71%), linear-gradient(#000, #000);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: b4-spin 26s linear infinite;
}

.b4-portal__ring--outer::after {
  inset: 6%;
  border: 1px dashed rgba(117, 255, 132, 0.32);
  animation: b4-spin-reverse 18s linear infinite;
}

.b4-portal__ring--middle {
  inset: 10%;
  border: 2px solid transparent;
  background: linear-gradient(#061019, #061019) padding-box,
    conic-gradient(from 0deg, transparent, var(--b4-cyan), transparent 28%, var(--b4-green), transparent 65%, var(--b4-purple), transparent) border-box;
  box-shadow: inset 0 0 45px rgba(57, 200, 255, 0.08), 0 0 38px rgba(57, 200, 255, 0.08);
  animation: b4-spin-reverse 15s linear infinite;
}

.b4-portal__ring--middle::before {
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.b4-portal__ring--inner {
  inset: 25%;
  border: 1px solid rgba(117, 255, 132, 0.38);
  background: conic-gradient(from 120deg, rgba(117, 255, 132, 0.15), transparent, rgba(57, 200, 255, 0.18), transparent, rgba(164, 92, 255, 0.12));
  box-shadow: 0 0 28px rgba(117, 255, 132, 0.12), inset 0 0 28px rgba(57, 200, 255, 0.08);
  animation: b4-spin 10s linear infinite;
}

.b4-portal__beam {
  position: absolute;
  top: 13%;
  left: 49.5%;
  width: 2px;
  height: 74%;
  opacity: 0.55;
  background: linear-gradient(transparent, var(--b4-cyan), var(--b4-green), transparent);
  box-shadow: 0 0 16px var(--b4-cyan);
  animation: b4-beam 3.2s ease-in-out infinite;
}

.b4-portal__core {
  position: absolute;
  inset: 31%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  overflow: hidden;
  border: 1px solid rgba(117, 255, 132, 0.32);
  border-radius: 30%;
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(38, 125, 255, 0.38), rgba(5, 14, 21, 0.92) 48%, rgba(46, 232, 116, 0.26));
  box-shadow:
    0 0 54px rgba(57, 200, 255, 0.22),
    0 0 100px rgba(117, 255, 132, 0.09),
    inset 0 0 38px rgba(57, 200, 255, 0.13);
  transform: rotate(45deg);
  animation: b4-core-float 4.2s ease-in-out infinite;
}

.b4-portal__core::before {
  position: absolute;
  inset: 9%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 27%;
}

.b4-core__logo,
.b4-portal__core small {
  position: relative;
  z-index: 2;
  transform: rotate(-45deg);
}

.b4-core__logo {
  color: #eaffed;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 0 18px rgba(117, 255, 132, 0.42);
}

.b4-portal__core small {
  margin-top: 5px;
  color: var(--b4-green);
  font-size: 0.45rem;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.b4-core__scan {
  position: absolute;
  inset: -30% -20%;
  background: linear-gradient(transparent 42%, rgba(117, 255, 132, 0.2) 50%, transparent 58%);
  animation: b4-scan 3.2s linear infinite;
}

.b4-portal__node {
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 11px;
  border: 2px solid #061019;
  border-radius: 50%;
  background: var(--b4-green);
  box-shadow: 0 0 0 5px rgba(117, 255, 132, 0.07), 0 0 18px var(--b4-green);
}

.b4-portal__node--1 { top: 11%; left: 50%; animation: b4-node-pulse 1.8s ease-in-out infinite; }
.b4-portal__node--2 { right: 10%; bottom: 28%; animation: b4-node-pulse 1.8s 0.6s ease-in-out infinite; }
.b4-portal__node--3 { bottom: 20%; left: 15%; animation: b4-node-pulse 1.8s 1.2s ease-in-out infinite; }

.b4-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  min-width: 148px;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(8, 18, 26, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
}

.b4-float-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--b4-green);
  background: rgba(117, 255, 132, 0.08);
  box-shadow: inset 0 0 14px rgba(117, 255, 132, 0.05);
}

.b4-float-card small,
.b4-float-card strong {
  display: block;
}

.b4-float-card small {
  color: var(--b4-muted);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.b4-float-card strong {
  margin-top: 2px;
  font-size: 0.76rem;
}

.b4-float-card--one {
  top: 13%;
  left: -2%;
  animation: b4-float 5s ease-in-out infinite;
}

.b4-float-card--two {
  right: -1%;
  bottom: 20%;
  animation: b4-float 6s 1s ease-in-out infinite;
}

.b4-float-card--three {
  bottom: 5%;
  left: 13%;
  animation: b4-float 5.5s 2s ease-in-out infinite;
}

.b4-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(5px);
}

.b4-orb--one {
  top: 6%;
  right: -11%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(57, 200, 255, 0.1);
  background: radial-gradient(circle at 35% 35%, rgba(57, 200, 255, 0.15), transparent 65%);
  animation: b4-orb-float 11s ease-in-out infinite;
}

.b4-orb--two {
  bottom: 8%;
  left: -12%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(117, 255, 132, 0.1), transparent 68%);
  animation: b4-orb-float 14s 2s ease-in-out infinite reverse;
}

.b4-quick-nav {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 26px;
  padding: 9px;
  border: 1px solid var(--b4-line);
  border-radius: 20px;
  background: rgba(10, 18, 25, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.b4-quick-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  gap: 9px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #a8b7c0;
  font-size: 0.76rem;
  font-weight: 750;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.b4-quick-nav a::before {
  position: absolute;
  inset: auto 18% 0;
  height: 2px;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--b4-green), transparent);
  box-shadow: 0 0 12px var(--b4-green);
  transition: opacity 0.25s ease;
}

.b4-quick-nav a:hover {
  color: #fff;
  border-color: rgba(117, 255, 132, 0.18);
  background: rgba(117, 255, 132, 0.055);
  transform: translateY(-2px);
}

.b4-quick-nav a:hover::before {
  opacity: 1;
}

.b4-quick-nav svg {
  color: var(--b4-green);
}

.b4-live-strip {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 48px;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 19, 0.92);
}

.b4-live-strip__label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-width: max(190px, calc((100vw - var(--b4-container)) / 2 + 170px));
  gap: 8px;
  padding-left: max(20px, calc((100vw - var(--b4-container)) / 2));
  color: #07100c;
  background: linear-gradient(90deg, var(--b4-green), #61e9bd);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}

.b4-live-strip__label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #07100c;
  animation: b4-pulse-dot 1.5s ease-in-out infinite;
}

.b4-live-strip__viewport {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 96%, transparent);
}

.b4-live-strip__track {
  display: flex;
  width: max-content;
  animation: b4-marquee 38s linear infinite;
}

.b4-live-strip__track span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 34px;
  color: #8798a4;
  white-space: nowrap;
  font-size: 0.75rem;
}

.b4-live-strip__track span::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--b4-cyan);
  box-shadow: 0 0 8px var(--b4-cyan);
}

.b4-live-strip__track b {
  color: #e9f3f7;
}

.b4-live-strip__track em {
  color: var(--b4-green);
  font-style: normal;
}

.b4-section {
  position: relative;
  padding: 110px 0;
}

.b4-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.b4-section-heading--center {
  justify-content: center;
  text-align: center;
}

.b4-section-heading--center > div {
  max-width: 700px;
}

.b4-section-heading h2,
.b4-status__content h2,
.b4-faq__intro h2,
.b4-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(2.05rem, 4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.b4-section-heading p,
.b4-status__content p,
.b4-faq__intro p,
.b4-cta p {
  max-width: 650px;
  margin: 13px 0 0;
  color: var(--b4-muted);
}

.b4-text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(117, 255, 132, 0.34);
  color: var(--b4-green);
  font-size: 0.82rem;
  font-weight: 800;
}

.b4-text-link svg {
  transition: transform 0.25s ease;
}

.b4-text-link:hover svg {
  transform: translateX(4px);
}

.b4-clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--b4-line);
  border-radius: 99px;
  color: #b6c3cb;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.b4-results {
  background:
    radial-gradient(circle at 16% 10%, rgba(117, 255, 132, 0.06), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent);
}

.b4-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.b4-result-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--b4-line);
  border-radius: var(--b4-radius);
  background:
    linear-gradient(135deg, rgba(117, 255, 132, 0.05), transparent 45%),
    rgba(10, 19, 27, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.b4-result-card::before {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(57, 200, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 200, 255, 0.08), transparent 68%);
  transition: transform 0.5s ease;
}

.b4-result-card:hover {
  border-color: rgba(117, 255, 132, 0.24);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(-6px);
}

.b4-result-card:hover::before {
  transform: scale(1.18) rotate(20deg);
}

.b4-result-card__top,
.b4-result-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b4-result-card__top span {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.b4-result-card__top small {
  padding: 4px 7px;
  border: 1px solid rgba(117, 255, 132, 0.14);
  border-radius: 99px;
  color: var(--b4-green);
  background: rgba(117, 255, 132, 0.05);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.b4-result-card__number {
  position: relative;
  z-index: 1;
  margin: 28px 0 25px;
  color: transparent;
  background: linear-gradient(180deg, #fff, #a8c0cc);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(57, 200, 255, 0.08);
  font-variant-numeric: tabular-nums;
}

.b4-result-card__number.is-updating {
  animation: b4-number-update 0.45s ease;
}

.b4-result-card__meta {
  color: var(--b4-muted);
  font-size: 0.68rem;
}

.b4-result-card__meta time {
  color: #b7c6ce;
}

.b4-games {
  overflow: hidden;
}

.b4-games::before {
  position: absolute;
  top: 18%;
  right: -240px;
  width: 520px;
  height: 520px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 92, 255, 0.065), transparent 68%);
  pointer-events: none;
}

.b4-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.b4-tabs button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--b4-line);
  border-radius: 99px;
  color: #8fa0ab;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.73rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.b4-tabs button:hover,
.b4-tabs button.is-active {
  color: #06110b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--b4-green), #54e5c7);
  box-shadow: 0 8px 25px rgba(117, 255, 132, 0.13);
  transform: translateY(-1px);
}

.b4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.b4-game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b4-line);
  border-radius: var(--b4-radius);
  background: rgba(10, 18, 26, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: opacity 0.32s ease, transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.b4-game-card.is-hidden {
  display: none;
}

.b4-game-card:hover {
  z-index: 2;
  border-color: hsla(var(--card-hue), 92%, 66%, 0.34);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32), 0 0 30px hsla(var(--card-hue), 92%, 60%, 0.06);
  transform: translateY(-8px);
}

.b4-game-card__visual {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, hsla(var(--card-hue), 95%, 60%, 0.26), transparent 38%),
    linear-gradient(145deg, hsla(var(--card-hue), 82%, 42%, 0.18), rgba(4, 9, 14, 0.96) 70%);
}

.b4-game-card__visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(hsla(var(--card-hue), 92%, 62%, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, hsla(var(--card-hue), 92%, 62%, 0.16) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  transform: perspective(450px) rotateX(58deg) scale(1.55) translateY(24%);
  transition: transform 0.55s ease;
}

.b4-game-card:hover .b4-game-card__visual::before {
  transform: perspective(450px) rotateX(58deg) scale(1.75) translateY(18%);
}

.b4-game-card__visual > svg {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  color: hsl(var(--card-hue), 92%, 67%);
  stroke-width: 1.15;
  filter: drop-shadow(0 0 22px hsla(var(--card-hue), 92%, 62%, 0.42));
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), filter 0.45s ease;
}

.b4-game-card:hover .b4-game-card__visual > svg {
  filter: drop-shadow(0 0 34px hsla(var(--card-hue), 92%, 62%, 0.56));
  transform: translateY(-5px) scale(1.08) rotate(-3deg);
}

.b4-game-card__lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, hsla(var(--card-hue), 95%, 70%, 0.13) 48%, transparent 61%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.b4-game-card:hover .b4-game-card__lines {
  transform: translateX(100%);
}

.b4-game-card__badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 4;
  padding: 5px 8px;
  border: 1px solid hsla(var(--card-hue), 90%, 65%, 0.2);
  border-radius: 99px;
  color: hsl(var(--card-hue), 94%, 72%);
  background: hsla(var(--card-hue), 65%, 15%, 0.58);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.b4-game-card__badge--live::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  animation: b4-pulse-dot 1.2s ease-in-out infinite;
}

.b4-game-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px;
}

.b4-game-card__body small {
  display: block;
  color: var(--b4-muted);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.b4-game-card__body h3 {
  margin: 3px 0 0;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.b4-game-card__body button {
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid hsla(var(--card-hue), 94%, 65%, 0.22);
  border-radius: 12px;
  color: hsl(var(--card-hue), 92%, 68%);
  background: hsla(var(--card-hue), 80%, 45%, 0.08);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.b4-game-card__body button:hover {
  color: #05100c;
  background: hsl(var(--card-hue), 92%, 67%);
  transform: scale(1.06);
}

.b4-game-card__body button svg {
  width: 17px;
  height: 17px;
  margin-left: 2px;
}

.b4-promo {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 50%, rgba(38, 125, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 100% 50%, rgba(164, 92, 255, 0.07), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.b4-carousel-controls {
  display: flex;
  gap: 8px;
}

.b4-carousel-controls button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--b4-line);
  border-radius: 13px;
  color: #aab8c0;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.b4-carousel-controls button:last-child svg {
  transform: rotate(180deg);
}

.b4-carousel-controls button:hover {
  color: #06100a;
  border-color: transparent;
  background: var(--b4-green);
  transform: translateY(-2px);
}

.b4-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b4-line);
  border-radius: var(--b4-radius-lg);
  box-shadow: var(--b4-shadow), inset 0 1px rgba(255, 255, 255, 0.06);
}

.b4-carousel__track {
  display: flex;
  transition: transform 0.75s cubic-bezier(.2,.75,.2,1);
}

.b4-promo-slide {
  position: relative;
  display: grid;
  min-width: 100%;
  min-height: 430px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  padding: 54px 60px;
  overflow: hidden;
  isolation: isolate;
}

.b4-promo-slide::before,
.b4-promo-slide::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.b4-promo-slide::before {
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.b4-promo-slide::after {
  top: -45%;
  right: -12%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 95px rgba(255, 255, 255, 0.015);
  animation: b4-orb-float 10s ease-in-out infinite;
}

.b4-promo-slide--one {
  background:
    radial-gradient(circle at 75% 50%, rgba(117, 255, 132, 0.24), transparent 25rem),
    linear-gradient(125deg, #062017, #071219 52%, #0a1630);
}

.b4-promo-slide--two {
  background:
    radial-gradient(circle at 76% 45%, rgba(57, 200, 255, 0.28), transparent 24rem),
    linear-gradient(125deg, #071a26, #09111c 48%, #161038);
}

.b4-promo-slide--three {
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 76, 165, 0.19), transparent 24rem),
    linear-gradient(125deg, #1a0c20, #0d101d 50%, #10182b);
}

.b4-promo-slide__content {
  position: relative;
  z-index: 3;
  max-width: 610px;
}

.b4-promo-slide__tag {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.b4-promo-slide h3 {
  max-width: 620px;
  margin: 18px 0 15px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.b4-promo-slide p {
  max-width: 560px;
  margin: 0 0 26px;
  color: rgba(224, 237, 242, 0.72);
  font-size: 0.96rem;
}

.b4-promo-art {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.b4-promo-art--portal::before,
.b4-promo-art--portal::after,
.b4-promo-art__ring {
  position: absolute;
  border-radius: 50%;
}

.b4-promo-art--portal::before {
  width: 250px;
  height: 250px;
  content: "";
  border: 1px solid rgba(117, 255, 132, 0.3);
  background: conic-gradient(from 90deg, transparent, rgba(117, 255, 132, 0.28), transparent, rgba(57, 200, 255, 0.22), transparent);
  box-shadow: 0 0 70px rgba(117, 255, 132, 0.14), inset 0 0 55px rgba(57, 200, 255, 0.08);
  animation: b4-spin 12s linear infinite;
}

.b4-promo-art--portal::after {
  width: 175px;
  height: 175px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.28);
  animation: b4-spin-reverse 16s linear infinite;
}

.b4-promo-art__ring {
  width: 112px;
  height: 112px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  background: rgba(4, 15, 19, 0.58);
  box-shadow: 0 0 34px rgba(117, 255, 132, 0.18), inset 0 0 24px rgba(57, 200, 255, 0.13);
  backdrop-filter: blur(8px);
}

.b4-promo-art--portal strong {
  position: relative;
  z-index: 3;
  font-size: 2.5rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  text-shadow: 0 0 18px rgba(117, 255, 132, 0.5);
}

.b4-promo-art--portal i {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--b4-green);
  box-shadow: 0 0 16px var(--b4-green);
}

.b4-promo-art--portal i:nth-of-type(1) { top: 8%; left: 50%; }
.b4-promo-art--portal i:nth-of-type(2) { right: 13%; bottom: 25%; background: var(--b4-cyan); box-shadow: 0 0 16px var(--b4-cyan); }
.b4-promo-art--portal i:nth-of-type(3) { bottom: 17%; left: 18%; background: var(--b4-purple); box-shadow: 0 0 16px var(--b4-purple); }

.b4-phone-mockup {
  position: relative;
  width: 190px;
  height: 330px;
  overflow: hidden;
  border: 7px solid rgba(234, 248, 255, 0.86);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 35%, rgba(57, 200, 255, 0.25), transparent 35%),
    linear-gradient(160deg, #0a1d2a, #071018 54%, #0e2541);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.38), 0 0 60px rgba(57, 200, 255, 0.19);
  transform: rotate(8deg);
  animation: b4-float 5s ease-in-out infinite;
}

.b4-phone-mockup::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16), transparent 58%);
  animation: b4-phone-shine 4s ease-in-out infinite;
}

.b4-phone-mockup > span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 62px;
  height: 17px;
  border-radius: 99px;
  background: #05090d;
  transform: translateX(-50%);
}

.b4-phone-mockup b {
  position: absolute;
  top: 58px;
  right: 0;
  left: 0;
  color: #eaffed;
  font-size: 2.2rem;
  text-align: center;
  text-shadow: 0 0 18px rgba(57, 200, 255, 0.52);
}

.b4-phone-mockup div {
  position: absolute;
  right: 16px;
  bottom: 35px;
  left: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.b4-phone-mockup i {
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(57, 200, 255, 0.14), rgba(117, 255, 132, 0.05));
}

.b4-promo-art--blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  perspective: 900px;
}

.b4-promo-art--blocks span {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 76, 165, 0.25), rgba(38, 125, 255, 0.12));
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.13);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: rotateY(-15deg) rotateX(6deg);
  animation: b4-block-float 5s ease-in-out infinite;
}

.b4-promo-art--blocks span:nth-child(2) {
  width: 132px;
  height: 132px;
  color: #07100c;
  background: linear-gradient(145deg, var(--b4-green), #50ddc9);
  transform: translateY(-22px);
  animation-delay: -1.5s;
}

.b4-promo-art--blocks span:nth-child(3) {
  animation-delay: -3s;
}

.b4-carousel__dots {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.b4-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.27);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.b4-carousel__dots button.is-active {
  width: 28px;
  background: var(--b4-green);
  box-shadow: 0 0 12px rgba(117, 255, 132, 0.4);
}

.b4-benefits {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.013), transparent);
}

.b4-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.b4-benefit-card {
  position: relative;
  min-height: 255px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--b4-line);
  border-radius: var(--b4-radius);
  background: rgba(10, 18, 26, 0.64);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.b4-benefit-card::after {
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid rgba(117, 255, 132, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 255, 132, 0.06), transparent 70%);
  transition: transform 0.45s ease;
}

.b4-benefit-card:hover {
  border-color: rgba(117, 255, 132, 0.24);
  background: rgba(12, 24, 31, 0.78);
  transform: translateY(-6px);
}

.b4-benefit-card:hover::after {
  transform: scale(1.22);
}

.b4-benefit-card > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(117, 255, 132, 0.17);
  border-radius: 16px;
  color: var(--b4-green);
  background: linear-gradient(145deg, rgba(117, 255, 132, 0.1), rgba(57, 200, 255, 0.035));
  box-shadow: inset 0 0 18px rgba(117, 255, 132, 0.05);
}

.b4-benefit-card > span svg {
  width: 25px;
  height: 25px;
}

.b4-benefit-card h3 {
  margin: 21px 0 8px;
  font-size: 1.04rem;
}

.b4-benefit-card p {
  margin: 0;
  color: var(--b4-muted);
  font-size: 0.84rem;
}

.b4-status {
  overflow: hidden;
}

.b4-status::before {
  position: absolute;
  inset: 8% 0;
  z-index: -1;
  content: "";
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(57, 200, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 200, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

.b4-status__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.b4-status__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: #95a6b0;
  font-size: 0.68rem;
}

.b4-status__legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.b4-status__legend i,
.b4-payment-card span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.is-online,
.b4-payment-card[data-status="online"] span i {
  background: var(--b4-green);
  box-shadow: 0 0 9px rgba(117, 255, 132, 0.7);
}

.is-maintenance,
.b4-payment-card[data-status="maintenance"] span i {
  background: var(--b4-warning);
  box-shadow: 0 0 9px rgba(255, 210, 92, 0.62);
}

.is-offline,
.b4-payment-card[data-status="offline"] span i {
  background: var(--b4-danger);
  box-shadow: 0 0 9px rgba(255, 95, 109, 0.62);
}

.b4-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--b4-line);
  border-radius: 26px;
  background: rgba(8, 16, 23, 0.72);
  box-shadow: var(--b4-shadow), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.b4-payment-card {
  position: relative;
  display: grid;
  min-height: 105px;
  place-items: center;
  align-content: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.b4-payment-card::before {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 70%;
  content: "";
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(-10deg);
  transition: transform 0.55s ease;
}

.b4-payment-card:hover {
  border-color: rgba(117, 255, 132, 0.18);
  background: rgba(117, 255, 132, 0.035);
  transform: translateY(-3px);
}

.b4-payment-card:hover::before {
  transform: translateY(170px) rotate(-10deg);
}

.b4-payment-card strong {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.b4-payment-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8fa1ab;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.b4-faq {
  background:
    radial-gradient(circle at 10% 30%, rgba(117, 255, 132, 0.045), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}

.b4-faq__layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 80px;
}

.b4-faq__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.b4-faq__intro .b4-btn {
  margin-top: 25px;
}

.b4-accordion {
  border-top: 1px solid var(--b4-line);
}

.b4-accordion details {
  border-bottom: 1px solid var(--b4-line);
}

.b4-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 52px 24px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 760;
}

.b4-accordion summary::-webkit-details-marker {
  display: none;
}

.b4-accordion summary span,
.b4-accordion summary span::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--b4-green);
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.b4-accordion summary span::after {
  right: 0;
  content: "";
  transform: translateY(-50%) rotate(90deg);
}

.b4-accordion details[open] summary span::after {
  transform: translateY(-50%) rotate(0);
}

.b4-accordion details[open] summary {
  color: var(--b4-green);
}

.b4-accordion details p {
  max-width: 720px;
  margin: -6px 0 0;
  padding: 0 52px 24px 2px;
  color: var(--b4-muted);
  font-size: 0.84rem;
  animation: b4-details-in 0.3s ease;
}

.b4-accordion code {
  padding: 2px 5px;
  border: 1px solid rgba(117, 255, 132, 0.12);
  border-radius: 5px;
  color: var(--b4-green);
  background: rgba(117, 255, 132, 0.05);
  font-size: 0.78rem;
}

.b4-cta {
  padding: 30px 0 100px;
}

.b4-cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(117, 255, 132, 0.18);
  border-radius: var(--b4-radius-lg);
  background:
    radial-gradient(circle at 82% 45%, rgba(57, 200, 255, 0.14), transparent 24rem),
    linear-gradient(130deg, rgba(117, 255, 132, 0.09), rgba(10, 20, 29, 0.94) 44%, rgba(38, 125, 255, 0.08));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.33), inset 0 1px rgba(255, 255, 255, 0.05);
}

.b4-cta__box::before {
  position: absolute;
  top: -160px;
  right: -90px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px dashed rgba(117, 255, 132, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(57, 200, 255, 0.025), 0 0 0 90px rgba(117, 255, 132, 0.018);
  animation: b4-spin 22s linear infinite;
}

.b4-cta__box > * {
  position: relative;
  z-index: 2;
}

.b4-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.b4-footer {
  padding: 72px 0 22px;
  border-top: 1px solid var(--b4-line);
  background: #04070a;
}

.b4-footer__top {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr;
  gap: 80px;
  padding-bottom: 55px;
}

.b4-footer__brand p {
  max-width: 390px;
  margin: 24px 0 17px;
  color: var(--b4-muted);
  font-size: 0.82rem;
}

.b4-age-badge {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 210, 92, 0.17);
  border-radius: 99px;
  color: var(--b4-warning);
  background: rgba(255, 210, 92, 0.045);
  font-size: 0.61rem;
  font-weight: 750;
}

.b4-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.b4-footer__links > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.b4-footer__links strong {
  margin-bottom: 4px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.b4-footer__links a,
.b4-footer__links button {
  padding: 0;
  border: 0;
  color: var(--b4-muted);
  background: none;
  font-size: 0.73rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.b4-footer__links a:hover,
.b4-footer__links button:hover {
  color: var(--b4-green);
  transform: translateX(3px);
}

.b4-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--b4-line);
  color: #687985;
  font-size: 0.64rem;
}

.b4-mobile-bar {
  display: none;
}

.b4-modal[hidden] {
  display: none;
}

.b4-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.b4-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 7, 0.78);
  backdrop-filter: blur(13px);
  animation: b4-fade-in 0.25s ease;
}

.b4-modal__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 475px);
  max-height: calc(100svh - 40px);
  padding: 30px;
  overflow: auto;
  border: 1px solid rgba(117, 255, 132, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 200, 255, 0.09), transparent 18rem),
    rgba(8, 16, 23, 0.97);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.05);
  animation: b4-modal-in 0.38s cubic-bezier(.2,.8,.2,1);
}

.b4-modal__panel::before {
  position: absolute;
  top: 0;
  right: 15%;
  left: 15%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--b4-green), var(--b4-cyan), transparent);
  box-shadow: 0 0 18px rgba(117, 255, 132, 0.42);
}

.b4-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--b4-line);
  border-radius: 12px;
  color: #9aabb5;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.b4-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(5deg);
}

.b4-modal__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 27px;
}

.b4-modal__brand small,
.b4-modal__brand strong {
  display: block;
}

.b4-modal__brand small {
  color: var(--b4-green);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.b4-modal__brand strong {
  margin-top: 2px;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.b4-modal__heading h2 {
  margin: 7px 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.b4-modal__heading p {
  margin: 0;
  color: var(--b4-muted);
  font-size: 0.8rem;
}

.b4-auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.b4-auth-form > label:not(.b4-check) {
  display: grid;
  gap: 7px;
}

.b4-auth-form > label > span {
  color: #bdc9cf;
  font-size: 0.69rem;
  font-weight: 700;
}

.b4-auth-form input[type="text"],
.b4-auth-form input[type="tel"],
.b4-auth-form input[type="password"] {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  outline: 0;
  color: var(--b4-text);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.b4-auth-form input::placeholder {
  color: #60717d;
}

.b4-auth-form input:focus {
  border-color: rgba(117, 255, 132, 0.48);
  background: rgba(117, 255, 132, 0.035);
  box-shadow: 0 0 0 4px rgba(117, 255, 132, 0.055);
}

.b4-auth-form input.is-invalid {
  border-color: rgba(255, 95, 109, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 95, 109, 0.05);
}

.b4-auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.b4-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--b4-muted);
  font-size: 0.67rem;
  cursor: pointer;
}

.b4-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.b4-check > span {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.b4-check input:checked + span {
  border-color: var(--b4-green);
  background: var(--b4-green);
}

.b4-check input:checked + span::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  content: "";
  border: solid #07100b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.b4-link-button {
  padding: 0;
  border: 0;
  color: var(--b4-green) !important;
  background: none;
  font-size: 0.67rem !important;
  cursor: pointer;
}

.b4-auth-submit {
  width: 100%;
  margin-top: 3px;
}

.b4-auth-switch {
  margin: 1px 0 0;
  color: var(--b4-muted);
  font-size: 0.7rem;
  text-align: center;
}

.b4-auth-switch button {
  padding: 0;
  border: 0;
  color: var(--b4-green);
  background: none;
  font-weight: 750;
  cursor: pointer;
}

.b4-auth-note {
  display: block;
  color: #657782;
  font-size: 0.58rem;
  line-height: 1.55;
  text-align: center;
}

.b4-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9500;
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), 420px);
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(117, 255, 132, 0.2);
  border-radius: 15px;
  background: rgba(8, 17, 24, 0.94);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.b4-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.b4-toast > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: var(--b4-green);
  background: rgba(117, 255, 132, 0.08);
}

.b4-toast p {
  flex: 1;
  margin: 0;
  color: #b8c7cf;
  font-size: 0.72rem;
}

.b4-toast > button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #748691;
  background: transparent;
  cursor: pointer;
}

.b4-toast > button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.b4-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--delay, 0s) ease, transform 0.75s var(--delay, 0s) cubic-bezier(.2,.75,.2,1);
}

.b4-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes b4-loader-bars {
  to { transform: scaleY(0.68); opacity: 0.55; }
}

@keyframes b4-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

@keyframes b4-marquee {
  to { transform: translateX(-50%); }
}

@keyframes b4-grid-drift {
  to { background-position: 0 60px, 60px 0; }
}

@keyframes b4-text-flow {
  to { background-position: 200% center; }
}

@keyframes b4-spin {
  to { transform: rotate(360deg); }
}

@keyframes b4-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes b4-core-float {
  0%, 100% { transform: rotate(45deg) translateZ(12px) translateY(0); }
  50% { transform: rotate(45deg) translateZ(30px) translateY(-7px); }
}

@keyframes b4-core-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.93); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes b4-scan {
  from { transform: translateY(-55%); }
  to { transform: translateY(55%); }
}

@keyframes b4-beam {
  0%, 100% { opacity: 0.16; transform: scaleY(0.65); }
  50% { opacity: 0.7; transform: scaleY(1); }
}

@keyframes b4-node-pulse {
  0%, 100% { transform: scale(0.75); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes b4-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes b4-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 20px, 0) scale(1.05); }
}

@keyframes b4-number-update {
  0% { opacity: 0.2; filter: blur(8px); transform: translateY(8px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes b4-phone-shine {
  0%, 30% { transform: translateX(-140%); }
  70%, 100% { transform: translateX(140%); }
}

@keyframes b4-block-float {
  0%, 100% { transform: rotateY(-15deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(2deg) translateY(-13px); }
}

@keyframes b4-details-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes b4-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes b4-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .b4-nav {
    gap: 2px;
  }

  .b4-nav a {
    padding-inline: 9px;
  }

  .b4-hero__layout {
    grid-template-columns: 1fr 0.85fr;
  }

  .b4-hero__visual {
    min-height: 460px;
  }

  .b4-float-card--one { left: -7%; }
  .b4-float-card--two { right: -7%; }

  .b4-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .b4-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b4-status__layout {
    gap: 40px;
  }

  .b4-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --b4-header-h: 70px;
  }

  .b4-hide-mobile {
    display: none;
  }

  .b4-menu-toggle {
    display: block;
  }

  .b4-nav {
    position: fixed;
    top: calc(var(--b4-mobile-nav-top, 108px) + 8px);
    right: 20px;
    left: 20px;
    z-index: 100;
    display: grid;
    gap: 5px;
    padding: 12px;
    visibility: hidden;
    border: 1px solid var(--b4-line);
    border-radius: 20px;
    background: rgba(7, 14, 20, 0.96);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .b4-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .b4-nav a {
    padding: 12px 13px;
    border-radius: 11px;
  }

  .b4-nav a:hover,
  .b4-nav a.is-active {
    background: rgba(117, 255, 132, 0.06);
  }

  .b4-nav a::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 2px;
    height: auto;
    transform: scaleY(0);
  }

  .b4-nav a:hover::after,
  .b4-nav a.is-active::after {
    transform: scaleY(1);
  }

  .b4-hero {
    padding-top: 54px;
  }

  .b4-hero__layout {
    grid-template-columns: 1fr;
  }

  .b4-hero__content {
    max-width: 760px;
  }

  .b4-hero__title {
    font-size: clamp(3.3rem, 10vw, 5.8rem);
  }

  .b4-hero__visual {
    min-height: 490px;
  }

  .b4-portal {
    width: min(500px, 90%);
  }

  .b4-float-card--one { left: 8%; }
  .b4-float-card--two { right: 7%; }
  .b4-float-card--three { left: 18%; }

  .b4-quick-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .b4-results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .b4-results-grid .b4-result-card:last-child {
    grid-column: 1 / -1;
  }

  .b4-promo-slide {
    grid-template-columns: 1fr;
    min-height: 650px;
    padding: 48px;
  }

  .b4-promo-slide__content {
    max-width: 720px;
  }

  .b4-promo-art {
    min-height: 270px;
  }

  .b4-status__layout,
  .b4-faq__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .b4-faq__intro {
    position: static;
  }

  .b4-payment-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .b4-cta__box {
    align-items: flex-start;
    flex-direction: column;
  }

  .b4-footer__top {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }
}

@media (max-width: 720px) {
  .b4-container {
    width: min(calc(100% - 28px), var(--b4-container));
  }

  .b4-announcement strong {
    display: none;
  }

  .b4-header__actions .b4-btn--primary {
    min-height: 40px;
    padding-inline: 14px;
  }

  .b4-header__actions .b4-btn--primary svg {
    display: none;
  }

  .b4-hero {
    padding: 44px 0 24px;
  }

  .b4-hero__title {
    font-size: clamp(2.9rem, 14vw, 4.7rem);
  }

  .b4-hero__copy {
    font-size: 0.96rem;
  }

  .b4-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .b4-hero__metrics div {
    min-width: 0;
    padding: 0 10px;
  }

  .b4-hero__visual {
    min-height: 410px;
    margin-top: -10px;
  }

  .b4-float-card {
    min-width: 130px;
    padding: 8px 9px;
  }

  .b4-float-card--one { top: 15%; left: 0; }
  .b4-float-card--two { right: 0; bottom: 18%; }
  .b4-float-card--three { bottom: 3%; left: 10%; }

  .b4-quick-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 7px;
  }

  .b4-quick-nav a {
    min-height: 54px;
    gap: 6px;
    font-size: 0.7rem;
  }

  .b4-live-strip__label {
    display: none;
  }

  .b4-section {
    padding: 82px 0;
  }

  .b4-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .b4-section-heading h2,
  .b4-status__content h2,
  .b4-faq__intro h2,
  .b4-cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .b4-results-grid {
    grid-template-columns: 1fr;
  }

  .b4-results-grid .b4-result-card:last-child {
    grid-column: auto;
  }

  .b4-result-card {
    min-height: 185px;
  }

  .b4-result-card__number {
    font-size: 3.4rem;
  }

  .b4-game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .b4-game-card__visual {
    min-height: 165px;
  }

  .b4-game-card__visual > svg {
    width: 72px;
    height: 72px;
  }

  .b4-promo-slide {
    min-height: 610px;
    padding: 38px 28px 54px;
  }

  .b4-promo-slide h3 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .b4-carousel-controls {
    align-self: flex-end;
  }

  .b4-benefit-grid {
    grid-template-columns: 1fr;
  }

  .b4-benefit-card {
    min-height: 220px;
  }

  .b4-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b4-cta {
    padding-bottom: 90px;
  }

  .b4-cta__box {
    padding: 32px 25px;
  }

  .b4-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .b4-footer {
    padding-bottom: 100px;
  }

  .b4-footer__top {
    grid-template-columns: 1fr;
  }

  .b4-footer__links {
    grid-template-columns: repeat(3, 1fr);
  }

  .b4-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .b4-mobile-bar {
    position: fixed;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 66px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px;
    background: rgba(7, 14, 20, 0.91);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
  }

  .b4-mobile-bar a,
  .b4-mobile-bar > button:not(.b4-mobile-bar__main) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: #758893;
    background: transparent;
    font-size: 0.54rem;
    font-weight: 700;
    cursor: pointer;
  }

  .b4-mobile-bar a svg,
  .b4-mobile-bar > button:not(.b4-mobile-bar__main) svg {
    width: 19px;
    height: 19px;
  }

  .b4-mobile-bar a.is-active {
    color: var(--b4-green);
  }

  .b4-mobile-bar__main {
    display: grid;
    padding: 0;
    border: 0;
    place-items: center;
    background: transparent;
    cursor: pointer;
  }

  .b4-mobile-bar__main > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-top: -27px;
    place-items: center;
    border: 5px solid #060b10;
    border-radius: 50%;
    color: #07100b;
    background: linear-gradient(145deg, var(--b4-green), #46e7c5);
    box-shadow: 0 8px 26px rgba(117, 255, 132, 0.27);
  }

  .b4-toast {
    right: 14px;
    bottom: 90px;
    width: calc(100% - 28px);
  }
}

@media (max-width: 500px) {
  .b4-logo__text {
    font-size: 0.92rem;
  }

  .b4-logo__text small {
    top: 18px;
  }

  .b4-header__actions .b4-btn--primary {
    display: none;
  }

  .b4-eyebrow {
    font-size: 0.62rem;
  }

  .b4-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .b4-hero__actions .b4-btn {
    padding-inline: 12px;
  }

  .b4-hero__metrics strong {
    font-size: 0.9rem;
  }

  .b4-hero__metrics span {
    font-size: 0.55rem;
  }

  .b4-hero__visual {
    min-height: 360px;
  }

  .b4-float-card {
    min-width: 112px;
  }

  .b4-float-card__icon {
    width: 29px;
    height: 29px;
  }

  .b4-float-card strong {
    font-size: 0.65rem;
  }

  .b4-float-card small {
    font-size: 0.4rem;
  }

  .b4-float-card--one { top: 11%; left: -3%; }
  .b4-float-card--two { right: -3%; bottom: 21%; }
  .b4-float-card--three { bottom: 2%; left: 4%; }

  .b4-quick-nav a {
    flex-direction: column;
  }

  .b4-game-grid {
    grid-template-columns: 1fr 1fr;
  }

  .b4-game-card__visual {
    min-height: 145px;
  }

  .b4-game-card__body {
    padding: 13px;
  }

  .b4-game-card__body small {
    font-size: 0.42rem;
  }

  .b4-game-card__body h3 {
    font-size: 0.78rem;
  }

  .b4-game-card__body button {
    width: 34px;
    height: 34px;
  }

  .b4-promo-slide {
    min-height: 640px;
  }

  .b4-promo-art--blocks {
    gap: 7px;
  }

  .b4-promo-art--blocks span {
    width: 83px;
    height: 83px;
    font-size: 0.58rem;
  }

  .b4-promo-art--blocks span:nth-child(2) {
    width: 98px;
    height: 98px;
  }

  .b4-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .b4-modal__panel {
    padding: 24px 19px;
    border-radius: 22px;
  }
}

@media (pointer: coarse) {
  .b4-cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .b4-particles,
  .b4-cursor-glow {
    display: none;
  }

  .b4-reveal {
    opacity: 1;
    transform: none;
  }
}


/* Long-form SEO guide: visible, readable, and responsive. */
.b4-guide {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 14%, rgba(117, 255, 132, 0.07), transparent 25rem),
    radial-gradient(circle at 92% 72%, rgba(57, 200, 255, 0.06), transparent 28rem);
}

.b4-guide__updated {
  align-self: end;
  padding: 9px 12px;
  border: 1px solid var(--b4-line);
  border-radius: 999px;
  color: var(--b4-muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: .78rem;
  white-space: nowrap;
}

.b4-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.b4-guide__article,
.b4-guide__toc {
  border: 1px solid var(--b4-line);
  border-radius: var(--b4-radius-lg);
  background: linear-gradient(145deg, rgba(13, 25, 34, .92), rgba(7, 14, 20, .86));
  box-shadow: var(--b4-shadow);
}

.b4-guide__article {
  padding: clamp(24px, 4vw, 48px);
}

.b4-guide__lead {
  margin-top: 0 !important;
  color: #dce9ee !important;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.85 !important;
}

.b4-guide__article h3 {
  margin: 2.2rem 0 .75rem;
  color: var(--b4-text);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.3;
  scroll-margin-top: 120px;
}

.b4-guide__article p,
.b4-guide__article li {
  color: #a9bac4;
  line-height: 1.85;
}

.b4-guide__article p {
  margin: 0 0 1.05rem;
}

.b4-guide__article strong {
  color: #e9f8ee;
}

.b4-guide__note {
  margin: 1.4rem 0;
  padding: 16px 18px;
  border: 1px solid rgba(117, 255, 132, .22);
  border-left: 4px solid var(--b4-green);
  border-radius: 14px;
  color: #c3d3db;
  background: rgba(117, 255, 132, .055);
  line-height: 1.75;
}

.b4-guide__steps {
  display: grid;
  gap: 12px;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.b4-guide__steps li {
  position: relative;
  min-height: 48px;
  padding: 14px 16px 14px 60px;
  border: 1px solid var(--b4-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  counter-increment: guide-step;
}

.b4-guide__steps li::before {
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #041009;
  background: linear-gradient(135deg, var(--b4-green), var(--b4-cyan));
  content: counter(guide-step);
  font-weight: 900;
}

.b4-guide__toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 7px;
  padding: 22px;
}

.b4-guide__toc > strong {
  margin-bottom: 5px;
  color: var(--b4-text);
  font-size: 1rem;
}

.b4-guide__toc a {
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--b4-muted);
  font-size: .88rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.b4-guide__toc a:hover,
.b4-guide__toc a:focus-visible {
  color: var(--b4-text);
  background: rgba(117, 255, 132, .075);
  transform: translateX(3px);
}

.b4-guide__toc small {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--b4-line);
  color: #6f828e;
  font-size: .72rem;
  line-height: 1.6;
}

.b4-game-card__body > div p {
  max-width: 28ch;
  margin: .45rem 0 0;
  color: var(--b4-muted);
  font-size: .77rem;
  line-height: 1.5;
}

noscript {
  display: block;
  width: min(calc(100% - 40px), var(--b4-container));
  margin: 24px auto;
  padding: 12px 16px;
  border: 1px solid rgba(255, 210, 92, .25);
  border-radius: 12px;
  color: #ffe6a0;
  background: rgba(255, 210, 92, .06);
}

@media (max-width: 900px) {
  .b4-guide__layout { grid-template-columns: 1fr; }
  .b4-guide__toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b4-guide__toc > strong, .b4-guide__toc small { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .b4-guide__toc { grid-template-columns: 1fr; }
  .b4-guide__article { padding: 22px 18px; }
  .b4-guide__steps li { padding-left: 54px; }
  .b4-guide__updated { white-space: normal; }
}

/* SEO copy refinements for the longer 2026 headline and sportsbook cards. */
.b4-hero__title {
  font-size: clamp(2.75rem, 5.35vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -0.052em;
}

.b4-game-card__body {
  min-height: 146px;
  align-items: flex-start;
}

.b4-game-card__body > div {
  min-width: 0;
}

@media (max-width: 560px) {
  .b4-hero__title {
    font-size: clamp(2.15rem, 11.2vw, 3.55rem);
    line-height: 1.04;
  }

  .b4-game-card__body {
    min-height: 138px;
  }
}
