:root {
  --green: #009b3a;
  --green-2: #00a859;
  --yellow: #ffdf00;
  --blue: #002776;
  --ink: #092018;
  --muted: #5d6b64;
  --line: rgba(0, 39, 118, .14);
  --paper: rgba(255, 255, 255, .92);
  --paper-strong: #fff;
  --danger: #b42318;
  --success: #087443;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body.app-body {
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, .78) 0 4%, transparent 24%),
    linear-gradient(130deg, rgba(0, 155, 58, .96), rgba(0, 168, 89, .9) 36%, rgba(255, 223, 0, .82) 36% 49%, rgba(0, 39, 118, .92) 49%);
  background-attachment: fixed;
}

body.app-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 58%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.primary,
.secondary {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 4vw, 36px);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 39, 118, .72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--blue) 0 31%, transparent 32%),
    linear-gradient(45deg, transparent 35%, var(--yellow) 36% 64%, transparent 65%),
    var(--green);
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a,
.nav button,
.logout-form button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.nav a.active,
.nav a:hover,
.nav button:hover,
.logout-form button:hover,
.nav-cta {
  background: var(--yellow);
  color: var(--blue);
}

.logout-form {
  margin: 0;
}

.menu-toggle {
  display: none;
  padding: 8px 10px;
  background: var(--yellow);
  color: var(--blue);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto 60px;
}

.hero,
.panel,
.scoreboard,
.match-card {
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 22px 55px rgba(0, 39, 118, .22);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  overflow: hidden;
  padding: clamp(24px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .86)),
    radial-gradient(circle at 78% 20%, rgba(255, 223, 0, .5), transparent 28%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 26px solid rgba(0, 155, 58, .18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-main {
  position: relative;
  z-index: 1;
}

.helix-home {
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .9)),
    radial-gradient(circle at 75% 18%, rgba(255, 223, 0, .42), transparent 28%),
    linear-gradient(135deg, rgba(0, 155, 58, .2), rgba(0, 39, 118, .16));
}

.helix-home::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--green) 0 35%, var(--yellow) 35% 65%, var(--blue) 65% 100%);
}

.helix-home .hero-main h1 {
  max-width: 720px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.hero-stats div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(0, 39, 118, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.helix-showcase {
  position: relative;
  z-index: 1;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(0, 39, 118, .98), rgba(0, 155, 58, .94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 34px);
  box-shadow: 0 28px 60px rgba(0, 39, 118, .28);
  color: #fff;
}

.helix-showcase::after {
  content: "";
  position: absolute;
  inset: auto -24px -70px;
  height: 170px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 50% 50% 0 0;
  border-bottom: 0;
}

.helix-topline,
.helix-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.helix-topline span,
.helix-bottom span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
}

.helix-topline strong {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
}

.helix-stage {
  position: relative;
  z-index: 1;
  height: 270px;
}

.stadium-glow {
  position: absolute;
  inset: 8px 28px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 223, 0, .34), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
}

.helix-pole {
  position: absolute;
  top: 10px;
  bottom: 8px;
  left: 50%;
  width: 16px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #dce9ff, #fff);
  box-shadow: 0 0 24px rgba(255, 255, 255, .32);
}

.helix-ring {
  position: absolute;
  left: 50%;
  width: 240px;
  height: 44px;
  transform: translateX(-50%) skewY(-9deg);
  border-radius: 50%;
  border: 10px solid var(--yellow);
  border-left-color: var(--green);
  border-right-color: #fff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .2);
}

.ring-1 {
  top: 26px;
  width: 270px;
}

.ring-2 {
  top: 76px;
  width: 238px;
  border-color: #fff;
  border-left-color: var(--yellow);
  border-right-color: var(--green);
}

.ring-3 {
  top: 126px;
  width: 270px;
  border-color: var(--green);
  border-left-color: var(--yellow);
  border-right-color: #fff;
}

.ring-4 {
  top: 176px;
  width: 232px;
  border-color: var(--yellow);
  border-left-color: #fff;
  border-right-color: var(--green);
}

.ring-5 {
  top: 226px;
  width: 270px;
  border-color: var(--green);
  border-left-color: var(--yellow);
  border-right-color: #fff;
}

.helix-ball {
  position: absolute;
  top: 88px;
  left: calc(50% + 78px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--blue) 0 28%, transparent 29%),
    linear-gradient(45deg, transparent 34%, var(--yellow) 35% 65%, transparent 66%),
    var(--green);
  border: 3px solid #fff;
  box-shadow: 0 14px 22px rgba(0, 0, 0, .28);
  animation: heroBallFloat 1.9s ease-in-out infinite;
}

@keyframes heroBallFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.helix-bottom {
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 39, 118, .32);
}

.helix-bottom strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.helix-bottom small {
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.home-play-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.home-play-strip article {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(0, 39, 118, .16);
}

.home-play-strip article::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 155, 58, .22), rgba(255, 223, 0, .28));
}

.home-play-strip span {
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
}

.home-play-strip strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--blue);
  font-size: 22px;
}

.home-play-strip p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.hero h1,
.hero-panel h1,
.panel h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--blue);
}

.hero-copy,
.muted,
.panel p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(16px, 2.4vw, 19px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.demo-action {
  background: var(--blue);
  color: #fff;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-details span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 39, 118, .14);
  border-radius: 8px;
  background: rgba(0, 168, 89, .08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.primary,
.secondary,
.inline-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
}

.primary {
  background: linear-gradient(135deg, var(--yellow), #fff 52%, var(--green-2));
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 39, 118, .22);
}

.secondary,
.inline-form button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
}

.scoreboard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0, 155, 58, .9), rgba(0, 39, 118, .9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .2) 0 1px, transparent 1px 24px);
}

.match-card {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0, 155, 58, .92), rgba(0, 39, 118, .92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 42px);
}

.pitch-lines {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
}

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

.pitch-lines::before {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px solid rgba(255, 255, 255, .32);
}

.pitch-lines::after {
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.match-score {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.match-score span,
.match-score em {
  font-style: normal;
  font-weight: 900;
  color: var(--yellow);
}

.match-score strong {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  font-size: 44px;
}

.match-card p,
.match-card small {
  position: relative;
  z-index: 1;
  color: #fff;
}

.match-card p {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.scoreboard span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.scoreboard strong {
  margin: 12px 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.hero-panel {
  grid-column: span 3;
}

.panel {
  padding: clamp(18px, 4vw, 28px);
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 130px;
}

.stat-card span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.stat-card strong {
  color: var(--blue);
  font-size: clamp(24px, 4vw, 36px);
}

.large {
  min-height: 100%;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title h2,
.panel h2 {
  margin: 0 0 12px;
  color: var(--blue);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

textarea.pix-code {
  min-height: 150px;
  resize: vertical;
  font-family: Consolas, monospace;
  word-break: break-all;
}

.check {
  flex-direction: row !important;
  align-items: center;
}

.check input {
  width: auto;
}

.flash {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.flash.success,
.badge.paid,
.badge.active {
  color: var(--success);
}

.flash.danger,
.badge.failed,
.badge.rejected,
.badge.suspended {
  color: var(--danger);
}

.flash.warning,
.badge.pending,
.badge.processing {
  color: #a15c00;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.actions-cell {
  min-width: 280px;
}

.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px;
}

.inline-form input,
.inline-form select {
  width: auto;
  min-width: 96px;
}

.adjust-form input {
  width: 90px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-tabs a {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--blue);
  font-weight: 900;
}

.admin-tabs a.active {
  background: var(--yellow);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 39, 118, .62);
  backdrop-filter: blur(6px);
}

.modal {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 28px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .3);
}

.modal h2 {
  margin: 0 0 16px;
  color: var(--blue);
}

.modal-close,
.link-btn {
  background: transparent;
  color: var(--blue);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

code {
  display: inline-block;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(0, 39, 118, .08);
  overflow-wrap: anywhere;
}

.landing-helix {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  overflow: hidden;
  min-height: 620px;
  padding: clamp(24px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .98) 0 56%, rgba(255, 255, 255, .9) 56%),
    repeating-linear-gradient(90deg, rgba(0, 155, 58, .08) 0 2px, transparent 2px 32px);
  box-shadow: 0 28px 70px rgba(0, 39, 118, .24);
}

.landing-helix::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--green) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%) left bottom / 100% 10px no-repeat,
    radial-gradient(circle at 78% 18%, rgba(255, 223, 0, .5), transparent 22%);
}

.landing-copy,
.landing-machine {
  position: relative;
  z-index: 1;
}

.helix-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 39, 118, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.mini-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--blue) 0 29%, transparent 30%),
    linear-gradient(45deg, transparent 34%, var(--yellow) 35% 65%, transparent 66%),
    var(--green);
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 39, 118, .22);
}

.helix-logo-lockup span,
.landing-badges span,
.machine-header span,
.machine-footer span {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.helix-logo-lockup strong {
  display: block;
  color: var(--blue);
  font-size: 15px;
}

.landing-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(36px, 7vw, 76px);
  line-height: .97;
}

.landing-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.landing-actions .primary,
.landing-actions .secondary {
  min-height: 48px;
  padding: 12px 18px;
}

.demo-primary {
  background: var(--blue);
  color: #fff;
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.landing-badges span {
  min-height: 34px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(0, 168, 89, .1);
  color: var(--blue);
}

.landing-machine {
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(0, 39, 118, .98), rgba(0, 155, 58, .96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px 38px);
  box-shadow: 0 30px 62px rgba(0, 39, 118, .3);
  color: #fff;
}

.machine-header,
.machine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.machine-header {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.machine-header strong,
.machine-footer a {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-board {
  position: relative;
  height: 352px;
  overflow: hidden;
}

.machine-board::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -86px;
  height: 180px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 50% 50% 0 0;
  border-bottom: 0;
}

.machine-light {
  position: absolute;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px #fff;
}

.l1 {
  left: 22%;
}

.l2 {
  left: 50%;
}

.l3 {
  right: 22%;
}

.machine-column {
  position: absolute;
  inset: 24px 0 0;
}

.machine-axis {
  position: absolute;
  top: 0;
  bottom: 10px;
  left: 50%;
  width: 18px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #d9e8ff, #fff);
  box-shadow: 0 0 28px rgba(255, 255, 255, .4);
}

.machine-floor {
  position: absolute;
  left: 50%;
  width: 280px;
  height: 50px;
  transform: translateX(-50%) skewY(-10deg);
  border-radius: 50%;
  border: 11px solid var(--yellow);
  border-left-color: var(--green);
  border-right-color: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .22);
}

.f1 {
  top: 12px;
}

.f2 {
  top: 78px;
  width: 236px;
  border-color: #fff;
  border-left-color: var(--yellow);
  border-right-color: var(--green);
}

.f3 {
  top: 144px;
  border-color: var(--green);
  border-left-color: var(--yellow);
  border-right-color: #fff;
}

.f4 {
  top: 210px;
  width: 236px;
  border-color: var(--yellow);
  border-left-color: #fff;
  border-right-color: var(--green);
}

.f5 {
  top: 276px;
  border-color: var(--green);
  border-left-color: var(--yellow);
  border-right-color: #fff;
}

.machine-ball {
  position: absolute;
  top: 102px;
  left: calc(50% + 82px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--blue) 0 28%, transparent 29%),
    linear-gradient(45deg, transparent 34%, var(--yellow) 35% 65%, transparent 66%),
    var(--green);
  border: 4px solid #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .34);
  animation: machineBall 1.75s ease-in-out infinite;
}

@keyframes machineBall {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.machine-footer {
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 39, 118, .28);
}

.machine-footer strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.landing-steps article {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(0, 39, 118, .16);
}

.landing-steps span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.landing-steps strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 24px;
}

.landing-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 39, 118, .96);
  }

  .nav.open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero,
  .two-col,
  .panel-grid,
  .home-play-strip,
  .landing-helix,
  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-helix {
    min-height: auto;
    padding: 22px;
  }

  .landing-copy h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .landing-machine {
    min-height: 430px;
  }

  .machine-board {
    height: 292px;
  }

  .machine-floor {
    width: 230px;
  }

  .f2,
  .f4 {
    width: 198px;
  }

  .f1 {
    top: 8px;
  }

  .f2 {
    top: 62px;
  }

  .f3 {
    top: 116px;
  }

  .f4 {
    top: 170px;
  }

  .f5 {
    top: 224px;
  }

  .machine-ball {
    left: calc(50% + 58px);
  }

  .landing-steps article {
    min-height: 112px;
  }

  .helix-home {
    min-height: auto;
    padding: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .helix-showcase {
    min-height: 360px;
  }

  .helix-stage {
    height: 230px;
  }

  .helix-ring {
    width: 210px;
  }

  .ring-1,
  .ring-3,
  .ring-5 {
    width: 230px;
  }

  .helix-ball {
    left: calc(50% + 58px);
  }

  .home-play-strip article {
    min-height: 120px;
  }

  .match-card {
    min-height: 240px;
  }

  .match-score {
    grid-template-columns: 1fr auto auto auto 1fr;
  }

  .match-score strong {
    min-width: 52px;
    min-height: 52px;
    font-size: 34px;
  }

  .hero-panel {
    grid-column: span 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    width: min(100% - 20px, 1180px);
    margin-top: 18px;
  }
}
