:root {
  --bg: #060a14;
  --bg-2: #0a1020;
  --panel: rgba(9, 16, 32, 0.82);
  --panel-solid: #10192b;
  --text: #f7fbff;
  --muted: #a9b8cc;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #ffcb58;
  --gold-2: #ff9f1c;
  --red: #f13f4b;
  --blue: #2f7dff;
  --green: #32d086;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(241, 63, 75, 0.15), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(47, 125, 255, 0.15), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 203, 88, 0.18);
  background: linear-gradient(180deg, rgba(3, 7, 16, 0.94), rgba(3, 7, 16, 0.56));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 203, 88, 0.78);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff6c7 0 8%, var(--gold) 9% 42%, #a44f00 100%);
  color: #160d02;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(255, 203, 88, 0.42);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 22px);
  color: #dce8f8;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  opacity: 0.82;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
  color: var(--gold);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 104px clamp(18px, 5vw, 64px) 52px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.98) 0%, rgba(5, 9, 18, 0.76) 48%, rgba(5, 9, 18, 0.48) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 20, 0.18) 42%, rgba(6, 10, 20, 0.28) 100%),
    url("assets/jackpot-stage.png") center / cover no-repeat;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 20%, rgba(241, 63, 75, 0.22), transparent 26%),
    radial-gradient(circle at 78% 34%, rgba(47, 125, 255, 0.24), transparent 28%),
    radial-gradient(circle at 54% 72%, rgba(255, 203, 88, 0.12), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 0.88fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
  max-width: 1320px;
  min-height: calc(100vh - 156px);
  margin: 0 auto;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 9px 34px rgba(0, 0, 0, 0.58);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid rgba(255, 203, 88, 0.42);
  border-radius: 999px;
  background: rgba(255, 203, 88, 0.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d8e4f7;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-jackpot {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin-top: 34px;
  padding: 22px 24px;
  border: 2px solid #ffe58b;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 21, 46, 0.96) 0 22%, rgba(10, 84, 255, 0.96) 22% 70%, #07101f 70%),
    #07101f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(241, 63, 75, 0.12);
  transform: rotate(-0.35deg);
}

.hero-jackpot::after {
  content: "JACKPOT";
  position: absolute;
  right: -10px;
  bottom: 4px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 74px;
  letter-spacing: 0.05em;
  transform: rotate(-6deg);
}

.hero-jackpot span,
.hero-jackpot small,
.hero-jackpot em {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.36);
}

.hero-jackpot span {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-jackpot strong {
  position: relative;
  z-index: 1;
  color: #ffd34d;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(72px, 8vw, 118px);
  line-height: 0.82;
  -webkit-text-stroke: 1px #081020;
  text-shadow: 0 5px 0 #7d3a00, 0 18px 34px rgba(0, 0, 0, 0.55);
}

.hero-jackpot small,
.hero-jackpot em {
  color: #fff;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #e6edf8;
  font-size: 12px;
  font-weight: 900;
}

.jackpot-strip article,
.calculator-panel,
.draw-card,
.explain-grid article,
.faq-band details,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.jackpot-strip article {
  padding: 18px;
}

.jackpot-strip span,
.result-label,
.draw-date {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jackpot-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
}

.jackpot-strip small {
  display: block;
  margin-top: 8px;
  color: #e6edf8;
  font-size: 13px;
}

.calculator-panel {
  padding: clamp(16px, 2.4vw, 24px);
  border-color: rgba(255, 203, 88, 0.28);
  background:
    linear-gradient(180deg, rgba(15, 26, 48, 0.94), rgba(6, 10, 20, 0.82)),
    rgba(6, 10, 20, 0.9);
  backdrop-filter: blur(20px);
}

.panel-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: 16px;
}

.panel-heading span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-heading strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.game-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.game-tab,
.analyze-button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.game-tab {
  background: transparent;
  color: var(--muted);
}

.game-tab.active {
  background: linear-gradient(135deg, var(--red), #a51424);
  color: #fff;
  box-shadow: 0 10px 28px rgba(241, 63, 75, 0.3);
}

.calculator-panel[data-game="mega"] .game-tab.active {
  background: linear-gradient(135deg, var(--blue), #12469d);
  box-shadow: 0 10px 28px rgba(47, 125, 255, 0.3);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(52px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.number-grid label {
  display: grid;
  gap: 8px;
  text-align: center;
}

.number-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.number-grid input {
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: #f8fbff;
  color: #081020;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 900;
  text-align: center;
  outline: none;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.34);
}

.number-grid input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 203, 88, 0.2), 0 9px 26px rgba(0, 0, 0, 0.34);
}

.special-ball input {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #ff4b57 0%, #e83340 58%, #b91525 100%);
  color: #fff;
  box-shadow: inset 0 -10px 18px rgba(74, 0, 8, 0.24), 0 9px 24px rgba(0, 0, 0, 0.3);
}

.calculator-panel[data-game="mega"] .special-ball input {
  background: linear-gradient(180deg, #ffe08a 0%, #ffc13f 58%, #d99112 100%);
  color: #170b00;
}

.range-note {
  min-height: 20px;
  margin: 10px 0 0;
  color: #cfdbee;
  font-size: 13px;
}

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

.quick-pick-button,
.clear-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.quick-pick-button {
  border-color: rgba(255, 203, 88, 0.56);
  background: rgba(255, 203, 88, 0.12);
  color: #ffe28a;
}

.clear-button {
  background: rgba(255, 255, 255, 0.07);
  color: #e6edf8;
}

.quick-pick-button:hover,
.clear-button:hover,
.quick-pick-button:focus-visible,
.clear-button:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.analyze-button {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #150c02;
  font-size: 18px;
  box-shadow: 0 14px 38px rgba(255, 178, 35, 0.38);
}

.analyze-button:hover,
.analyze-button:focus-visible {
  transform: translateY(-1px);
}

.form-error {
  min-height: 20px;
  margin: 12px 0 0;
  color: #ffb0b7;
  font-size: 13px;
  font-weight: 800;
}

.result-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 203, 88, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 203, 88, 0.16), rgba(241, 63, 75, 0.08) 42%, rgba(47, 125, 255, 0.1)),
    rgba(10, 16, 32, 0.94);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 44px rgba(255, 203, 88, 0.12);
}

.result-odds-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.75fr);
  gap: 12px;
}

.result-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 20px;
  overflow-wrap: normal;
  word-break: normal;
}

.result-panel p {
  margin: 0;
  color: #eaf1fb;
  line-height: 1.45;
}

.result-hero {
  position: relative;
  min-height: 112px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.result-hero strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  max-width: 100%;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(116, 54, 0, 0.88), 0 13px 28px rgba(0, 0, 0, 0.56);
}

.odds-prefix,
.odds-number {
  display: block;
}

.odds-prefix {
  color: #fff0bf;
  font-size: 0.56em;
  line-height: 1;
  text-transform: uppercase;
}

.odds-number {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.result-hero small {
  display: block;
  max-width: 420px;
  margin-top: 10px;
  color: #dbe6f6;
  font-weight: 800;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-side {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(47, 125, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.result-side strong {
  max-width: 10ch;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  text-wrap: balance;
}

.result-side .odds-number {
  overflow-wrap: normal;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  font-size: 12px;
  font-weight: 900;
}

.result-advice {
  padding: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 203, 88, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.24));
  font-size: 15px;
  font-weight: 700;
}

.result-advice > strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
}

.result-advice p {
  margin-top: 8px;
}

.story-result-head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.story-result-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-result-head strong {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
}

.story-result-head em {
  color: #dce8f8;
  font-style: normal;
}

.score-grid,
.insight-columns {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.score-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.score-grid div,
.insight-columns div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.score-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1;
}

.insight-columns strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.insight-columns ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #dce8f8;
  line-height: 1.45;
  font-weight: 700;
}

.insight-columns li + li {
  margin-top: 6px;
}

.story-verdict,
.math-warning {
  margin-top: 12px;
}

.story-verdict {
  color: #fff4c7;
}

.math-warning {
  color: #c8d5e8;
  font-size: 13px;
}

.results-band,
.education-band,
.how-to-band,
.tax-preview-band,
.random-picks-band,
.story-band,
.seo-band,
.content-hub-band,
.faq-band,
.content-page {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 125, 255, 0.13), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.section-heading,
.faq-band,
.content-page-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading h2,
.faq-band h2,
.content-page h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tax-preview-card {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 203, 88, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 203, 88, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 25, 43, 0.98), rgba(6, 10, 20, 0.96));
  box-shadow: var(--shadow);
}

.random-picks-card {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 203, 88, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 63, 75, 0.18), transparent 30%),
    radial-gradient(circle at 100% 12%, rgba(47, 125, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(16, 25, 43, 0.98), rgba(6, 10, 20, 0.96));
  box-shadow: var(--shadow);
}

.random-picks-card::after {
  content: "RANDOM";
  position: absolute;
  right: -12px;
  top: 12px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(76px, 12vw, 150px);
  line-height: 1;
  transform: rotate(-5deg);
  pointer-events: none;
}

.random-picks-controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.random-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.random-tab,
.random-generate-button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.random-tab {
  background: transparent;
  color: var(--muted);
}

.random-tab.active {
  background: linear-gradient(135deg, var(--blue), #12469d);
  color: #fff;
  box-shadow: 0 10px 28px rgba(47, 125, 255, 0.26);
}

.random-generate-button {
  min-width: 190px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #150c02;
  box-shadow: 0 14px 38px rgba(255, 178, 35, 0.3);
}

.random-pick-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.random-pick-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(180px, 0.52fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 203, 88, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.22);
}

.random-pick-row strong {
  color: var(--gold);
  font-size: 18px;
}

.random-pick-row small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.random-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.random-balls span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f8fbff;
  color: #101827;
  font-weight: 900;
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.22), 0 8px 22px rgba(0, 0, 0, 0.24);
}

.random-balls .red-ball {
  background: linear-gradient(180deg, #ff4b57 0%, #e83340 58%, #b91525 100%);
  color: #fff;
}

.random-balls .gold-ball {
  background: linear-gradient(180deg, #ffe08a 0%, #ffc13f 58%, #d99112 100%);
  color: #170b00;
}

.random-note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 203, 88, 0.24);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff4c7;
  font-size: 13px;
  font-weight: 800;
}

.tax-note {
  margin: 14px 0 0;
  color: #cfdbee;
  font-size: 13px;
  line-height: 1.5;
}

.section-heading p,
.content-page p,
.content-page li {
  color: #d2ddec;
  line-height: 1.65;
}

.section-heading .play-note {
  max-width: 900px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 203, 88, 0.08);
  color: #fff4c7;
  font-weight: 900;
}

.seo-band .section-heading {
  display: grid;
  gap: 12px;
}

.page-lead {
  max-width: 860px;
  margin: 0;
  color: #e6edf8;
  font-size: 18px;
}

.eyebrow,
.last-updated {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-page .content-page-inner {
  max-width: 980px;
}

.article-page .content-card {
  box-shadow: none;
}

.draw-grid,
.explain-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 28px auto 0;
}

.explain-grid,
.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 28px auto 0;
}

.hub-link {
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.hub-link:hover,
.hub-link:focus-visible {
  border-color: rgba(255, 203, 88, 0.58);
  background: rgba(255, 203, 88, 0.09);
}

.hub-link strong {
  color: var(--text);
  font-size: 20px;
}

.hub-link span {
  color: var(--muted);
  line-height: 1.45;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
  gap: 16px;
  max-width: 1120px;
  margin: 30px auto 0;
}

.story-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(255, 203, 88, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.15), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 12% 12%, rgba(255, 203, 88, 0.32), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(241, 63, 75, 0.22), transparent 30%),
    #10192b;
  box-shadow: var(--shadow);
}

.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.04);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  pointer-events: none;
}

.story-card::after {
  content: "$";
  position: absolute;
  top: -30px;
  right: -8px;
  color: rgba(255, 203, 88, 0.12);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 170px;
  line-height: 1;
}

.story-card-featured::before {
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.05), rgba(5, 9, 18, 0.86)),
    linear-gradient(90deg, rgba(232, 21, 46, 0.18), rgba(10, 84, 255, 0.12));
  border-color: rgba(255, 203, 88, 0.28);
}

.story-card-featured {
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.02), rgba(5, 9, 18, 0.92)),
    linear-gradient(135deg, rgba(232, 21, 46, 0.5), rgba(10, 84, 255, 0.42)),
    radial-gradient(circle at 18% 18%, rgba(255, 203, 88, 0.44), transparent 30%),
    #10192b;
}

.story-card span,
.story-card h3,
.story-card p {
  position: relative;
  z-index: 1;
}

.story-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card h3 {
  max-width: 620px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.story-card p {
  margin: 12px 0 0;
  color: #dce8f8;
  line-height: 1.5;
}

.story-card:hover,
.story-card:focus-visible {
  border-color: rgba(255, 203, 88, 0.72);
  transform: translateY(-2px);
}

.story-article {
  border-color: rgba(255, 203, 88, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 203, 88, 0.09), transparent 28%),
    var(--panel-solid);
}

.story-figure {
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 203, 88, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.story-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-figure figcaption {
  padding: 12px 14px;
  color: #cfdbee;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.story-article h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.compact-hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.draw-card,
.explain-grid article,
.step-grid article,
.content-card {
  padding: clamp(20px, 3vw, 30px);
  background: var(--panel-solid);
}

.step-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-grid article::after {
  content: "";
  position: absolute;
  inset: auto -38px -62px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 203, 88, 0.09);
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #150c02;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(255, 178, 35, 0.22);
}

.step-grid h3 {
  margin: 18px 0 0;
  font-size: 24px;
}

.step-grid p {
  margin: 10px 0 0;
  color: #d2ddec;
  line-height: 1.55;
}

.draw-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.draw-card::after {
  content: "";
  position: absolute;
  inset: auto -18px -42px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 203, 88, 0.09);
  pointer-events: none;
}

.draw-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.draw-card h3,
.explain-grid h3,
.content-card h2 {
  margin: 0;
  font-size: 24px;
}

.draw-balls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.jackpot-sticker {
  position: relative;
  overflow: hidden;
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  gap: 7px;
  justify-self: end;
  min-height: 138px;
  padding: 13px 16px 14px;
  border: 2px solid #ffe58b;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #1b2233 0%, #07101f 52%, #02050b 100%);
  color: #fff;
  text-align: center;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 0 5px rgba(241, 63, 75, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-0.5deg);
}

.jackpot-sticker::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  background: linear-gradient(90deg, #e9152e, #ff3854 52%, #0b63ff);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.jackpot-sticker::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -38px;
  width: 125px;
  height: 125px;
  border: 16px solid rgba(255, 203, 88, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255, 203, 88, 0.18);
}

.jackpot-sticker span {
  position: relative;
  z-index: 1;
  justify-self: center;
  min-height: 24px;
  max-width: 100%;
  padding: 4px 9px 0;
  border-radius: 999px;
  background: #fff;
  color: #a3051b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
}

.jackpot-sticker strong {
  position: relative;
  z-index: 1;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  color: #ffd34d;
  align-self: end;
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 0.84;
  letter-spacing: 0;
  -webkit-text-stroke: 1px #0a0d15;
  text-shadow:
    0 4px 0 #7d3a00,
    0 10px 22px rgba(0, 0, 0, 0.62);
}

.jackpot-sticker small {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.draw-balls span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8fbff;
  color: #101827;
  font-weight: 900;
  box-shadow: inset 0 -9px 16px rgba(0, 0, 0, 0.22);
}

.draw-balls .red-ball {
  background: linear-gradient(180deg, #ff4b57 0%, #e83340 58%, #b91525 100%);
  color: #fff;
}

.draw-balls .gold-ball {
  background: linear-gradient(180deg, #ffe08a 0%, #ffc13f 58%, #d99112 100%);
  color: #170b00;
}

.source-note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: #b9c7da;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.source-note:hover,
.source-note:focus-visible {
  color: var(--gold);
}

.tool-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.tool-field {
  display: grid;
  gap: 7px;
}

.tool-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-field input,
.tool-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
  outline: none;
}

.tool-field input:focus,
.tool-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 203, 88, 0.14);
}

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

.tool-result div {
  padding: 16px;
  border: 1px solid rgba(255, 203, 88, 0.3);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.tool-result span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-result strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.faq-band details {
  margin-top: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.055);
}

.faq-band summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-band p {
  color: #d2ddec;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #030711;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.content-page {
  min-height: 100vh;
  padding-top: 132px;
}

.content-page-inner {
  display: grid;
  gap: 18px;
}

.content-card ul {
  padding-left: 20px;
}

.odds-table {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.odds-table > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
  padding: 13px 14px;
  background: #0d1728;
}

.odds-table > div:first-child {
  background: rgba(255, 203, 88, 0.13);
  color: var(--gold);
}

.toolkit-band {
  padding: 76px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(255, 203, 88, 0.18);
  border-bottom: 1px solid rgba(255, 203, 88, 0.18);
  background:
    radial-gradient(circle at 10% 18%, rgba(241, 63, 75, 0.14), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(47, 125, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #080c17 0%, #0d172a 58%, #111521 100%);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 28px auto 0;
}

.toolkit-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.toolkit-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -38px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ffffff 0 12%, #dce8f8 13% 42%, rgba(255, 255, 255, 0.08) 43% 100%);
  opacity: 0.32;
}

.toolkit-card-live {
  border-color: rgba(255, 203, 88, 0.62);
  background:
    linear-gradient(120deg, rgba(241, 63, 75, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(255, 203, 88, 0.16), rgba(47, 125, 255, 0.12));
}

.toolkit-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toolkit-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
}

.toolkit-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #dbe6f7;
  line-height: 1.55;
}

.toolkit-card:hover,
.toolkit-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 203, 88, 0.75);
}

.toolkit-disclaimer {
  max-width: 960px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.trend-band {
  padding: 78px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(255, 203, 88, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 203, 88, 0.14), transparent 32%),
    linear-gradient(180deg, #050914 0%, #0b1220 100%);
}

.trend-page .trend-band {
  padding: 0;
  border-top: 0;
  background: transparent;
}

.trend-entry-band {
  padding: 28px clamp(18px, 5vw, 64px) 72px;
  background: linear-gradient(180deg, #0b1220, #050914);
}

.trend-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255, 203, 88, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(241, 63, 75, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(47, 125, 255, 0.13), rgba(255, 203, 88, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.trend-entry-card h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
}

.trend-entry-card p {
  max-width: 740px;
  margin: 12px 0 0;
  color: #dce8f8;
  line-height: 1.55;
}

.trend-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #150c02;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 16px 36px rgba(255, 178, 35, 0.28);
}

.trend-tool {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 18px;
  border: 1px solid rgba(255, 203, 88, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.trend-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.trend-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe6f7;
  font-weight: 900;
}

.trend-controls select {
  min-height: 38px;
  border: 1px solid rgba(255, 203, 88, 0.5);
  border-radius: 6px;
  background: #0c1424;
  color: var(--text);
  font: inherit;
  font-weight: 900;
}

.trend-segments {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trend-segment {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbe6f7;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.trend-segment.active {
  border-color: rgba(255, 203, 88, 0.88);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #100800;
}

.trend-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.trend-chart-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f0dc;
  color: #172033;
}

.trend-chart {
  width: 100%;
  min-width: 1120px;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.trend-row {
  display: grid;
  grid-template-columns: 132px repeat(var(--trend-cols), minmax(28px, 1fr));
  min-height: 29px;
  border-bottom: 1px solid rgba(16, 25, 43, 0.14);
}

.trend-row > div {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(16, 25, 43, 0.12);
}

.trend-head {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 44px;
  background: linear-gradient(180deg, #fff6a8, #ffd32a);
  color: #111827;
  font-weight: 900;
}

.trend-issue {
  position: sticky;
  left: 0;
  z-index: 2;
  padding: 3px 6px;
  background: linear-gradient(180deg, #fff7be, #ffe15d);
  font-weight: 900;
  text-align: center;
}

.trend-row:not(.trend-head) .trend-issue {
  background: #eef2f7;
}

.trend-issue span {
  display: block;
  margin-top: 2px;
  color: #5b6575;
  font-size: 10px;
  font-weight: 700;
}

.trend-cell {
  background: rgba(255, 255, 255, 0.52);
  color: #b9b9b9;
  font-weight: 800;
}

.trend-row:nth-child(even) .trend-cell {
  background: rgba(255, 248, 196, 0.72);
}

.trend-hit {
  border-radius: 50%;
  background: linear-gradient(180deg, #f64a55 0%, #df2e39 62%, #aa1422 100%) !important;
  color: #ffffff;
  font-size: 13px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 -3px 5px rgba(55, 0, 8, 0.28);
}

.trend-hit-special {
  background: linear-gradient(180deg, #4aa7ff 0%, #2878d7 62%, #1550a8 100%) !important;
}

.trend-summary {
  display: grid;
  grid-template-columns: 0.8fr 0.6fr 1.6fr;
  gap: 12px;
  margin-top: 14px;
}

.trend-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trend-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trend-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 18px;
}

.trend-source {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.odds-chart-table {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 203, 88, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.odds-chart-table > div {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr 1.4fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: #0d1728;
}

.odds-chart-table > div:first-child {
  background: linear-gradient(90deg, rgba(255, 203, 88, 0.18), rgba(47, 125, 255, 0.1));
  color: var(--gold);
}

.odds-chart-table span {
  line-height: 1.35;
}

.pattern-lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.pattern-lab-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.pattern-lab-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pattern-lab-grid strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.pattern-lab-grid p {
  margin-bottom: 0;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-band {
  padding: 22px clamp(18px, 5vw, 64px);
  background: #050914;
}

.ad-slot-wide {
  max-width: 970px;
  margin: 0 auto;
}

.mini-tool-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--gold);
  color: #150c02;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 720px;
  }

  .calculator-panel {
    max-width: 720px;
  }

  .explain-grid,
  .step-grid,
  .draw-grid,
  .story-grid,
  .hub-grid,
  .toolkit-grid,
  .tool-grid,
  .tool-result,
  .random-picks-controls,
  .random-pick-row,
  .odds-chart-table > div {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card-featured {
    min-height: 240px;
  }

  .trend-entry-card {
    grid-template-columns: 1fr;
  }

  .trend-entry-button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12px;
  }

  .hero-shell {
    padding-top: 156px;
  }

  .content-page {
    padding-top: 164px;
  }

  .jackpot-strip,
  .result-panel,
  .score-grid,
  .insight-columns,
  .trend-summary,
  .pattern-lab-grid {
    grid-template-columns: 1fr;
  }

  .trend-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .trend-segments {
    display: grid;
    grid-template-columns: 1fr;
  }

  .number-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .number-grid input {
    max-height: 82px;
  }

  .draw-card-top {
    grid-template-columns: 1fr;
  }

  .random-tabs {
    max-width: none;
  }

  .random-generate-button {
    width: 100%;
  }

  .jackpot-sticker {
    max-width: none;
    text-align: center;
    justify-self: stretch;
    transform: none;
  }

  .odds-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: block;
  }

  .site-footer div {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .calculator-panel,
  .jackpot-strip article {
    animation: lift-in 680ms ease both;
  }

  .calculator-panel {
    animation-delay: 100ms;
  }

  @keyframes lift-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
