@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");
:root {
  --ink: #172038;
  --muted: #68708a;
  --blue: #5b5de6;
  --blue-dark: #4143c8;
  --yellow: #ffd43b;
  --coral: #fb765f;
  --mint: #4bd7b1;
  --cloud: #f7f8ff;
  --line: #e7e9f5;
  --radius: 24px;
  --shadow: 0 18px 55px rgba(49, 55, 112, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}
h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.035em;
}
a {
  color: inherit;
}
.container {
  max-width: 1180px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  background: #fff;
  padding: 0.7rem 1rem;
  z-index: 9999;
}
.skip-link:focus {
  top: 1rem;
}
.responsible-strip {
  background: #22284a;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.36rem 0;
}
.responsible-strip a {
  color: #ffe476;
  text-decoration: none;
}
.site-header {
  height: 84px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(30, 40, 80, 0.08);
  position: relative;
  z-index: 50;
}
.navbar {
  height: 100%;
  padding: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
}
.brand > span:last-child > span {
  color: var(--blue);
}
.brand small {
  font-size: 0.57em;
  color: var(--muted);
  letter-spacing: -0.02em;
}
.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
  transform: rotate(-8deg);
}
.brand-mark i {
  position: absolute;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.08);
}
.brand-mark i:nth-child(1) {
  background: var(--blue);
  left: 0;
  top: 10px;
}
.brand-mark i:nth-child(2) {
  background: var(--yellow);
  right: 0;
  top: 0;
}
.brand-mark i:nth-child(3) {
  background: var(--coral);
  right: 1px;
  bottom: 0;
  width: 18px;
  height: 18px;
}
.nav-link {
  font-weight: 600;
  color: #414863 !important;
  padding: 0.65rem 0.85rem !important;
}
.btn-pick {
  background: var(--yellow);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(236, 184, 0, 0.2);
}
.hero {
  background: linear-gradient(118deg, #f2f3ff 0%, #fff9e4 100%);
  position: relative;
  overflow: hidden;
  padding: 10px 0 125px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#9498c7 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.2;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.eyebrow,
.kicker {
  font-weight: 800;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow span {
  color: var(--coral);
  margin-right: 0.35rem;
}
.hero h1 {
  font-size: clamp(3.35rem, 6.4vw, 5.8rem);
  line-height: 0.96;
  margin: 1rem 0 1.55rem;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero h1 em:after {
  content: "";
  position: absolute;
  height: 10px;
  background: var(--yellow);
  border-radius: 100%;
  left: 2%;
  right: -3%;
  bottom: 1px;
  z-index: -1;
  transform: rotate(-2deg);
}
.hero-copy > p {
  font-size: 1.13rem;
  color: #596179;
  max-width: 590px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 2rem 0;
}
.btn-primary-xl {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(91, 93, 230, 0.28);
}
.btn-primary-xl:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
.text-link {
  font-weight: 800;
  text-decoration: none;
}
.text-link span {
  color: var(--blue);
}
.trust-line {
  display: flex;
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.79rem;
}
.trust-line span {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.trust-line b {
  color: var(--ink);
  font-size: 0.95rem;
}
.hero-visual {
  height: 470px;
  position: relative;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(91, 93, 230, 0.18);
  border-radius: 50%;
}
.orbit-a {
  width: 390px;
  height: 390px;
  right: 15px;
  top: 30px;
}
.orbit-b {
  width: 285px;
  height: 285px;
  right: 70px;
  top: 82px;
  border-style: dashed;
}
.mega-ball {
  position: absolute;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 2.6rem "Manrope";
  color: #fff;
  box-shadow: inset -12px -14px 28px rgba(20, 24, 72, 0.2),
    0 25px 45px rgba(50, 54, 120, 0.23);
  border: 8px solid rgba(255, 255, 255, 0.65);
}
.mega-ball--one {
  width: 145px;
  height: 145px;
  background: var(--blue);
  right: 200px;
  top: 42px;
}
.mega-ball--two {
  width: 180px;
  height: 180px;
  background: var(--coral);
  right: 27px;
  top: 116px;
  font-size: 3.1rem;
}
.mega-ball--three {
  width: 125px;
  height: 125px;
  background: var(--mint);
  right: 225px;
  top: 235px;
  font-size: 2.1rem;
}
.mega-ball--four {
  width: 88px;
  height: 88px;
  background: var(--yellow);
  color: var(--ink);
  right: 106px;
  top: 325px;
  font-size: 1.45rem;
}
.draw-ticket {
  position: absolute;
  background: #fff;
  left: 0;
  bottom: 10px;
  padding: 1rem 1.15rem;
  border-radius: 17px;
  box-shadow: var(--shadow);
  display: grid;
  min-width: 170px;
  transform: rotate(-4deg);
}
.draw-ticket:before,
.draw-ticket:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  background: #f5f5ff;
  border-radius: 50%;
}
.draw-ticket:before {
  left: -8px;
}
.draw-ticket:after {
  right: -8px;
}
.draw-ticket small {
  font-size: 0.62rem;
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.draw-ticket strong {
  font: 800 1.45rem "Manrope";
}
.draw-ticket span {
  font-size: 0.7rem;
  color: var(--muted);
}
.spark {
  position: absolute;
  color: var(--yellow);
  font-size: 2rem;
}
.spark-a {
  right: 8px;
  top: 42px;
}
.spark-b {
  left: 85px;
  top: 150px;
  color: var(--coral);
}
.spark-c {
  right: 12px;
  bottom: 50px;
  color: var(--blue);
}
.hero-wave {
  position: absolute;
  left: -2%;
  right: -2%;
  height: 70px;
  bottom: -35px;
  background: #fff;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}
.quick-picker-section {
  margin-top: -52px;
  position: relative;
  z-index: 2;
}
.quick-picker-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  align-items: center;
  gap: 2rem;
}
.quick-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.magic-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff6cf;
  color: #d39d00;
  font-size: 1.5rem;
}
.quick-heading h2 {
  font-size: 1.25rem;
  margin: 0.2rem 0 0;
}
.quick-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  position: relative;
}
.quick-form label {
  position: absolute;
  left: 0.95rem;
  top: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 800;
}
.quick-form select {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 1.25rem 0.9rem 0.45rem;
  background: #fafaff;
  color: var(--ink);
  font-weight: 700;
}
.btn-dark-pill {
  background: var(--ink);
  color: #fff;
  border-radius: 13px;
  padding: 0.8rem 1.15rem;
  font-weight: 800;
}
.btn-dark-pill:hover {
  background: #2d3658;
  color: #fff;
}
.section-space {
  padding: 90px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2rem;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0.35rem 0 0;
}
.section-heading > a {
  font-weight: 800;
  text-decoration: none;
}
.section-heading > a span {
  color: var(--blue);
}
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.lottery-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.lottery-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--accent);
}
.lottery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.lottery-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flag-pill,
.format-chip {
  background: #f2f3fa;
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.draw-dot {
  font-size: 0.68rem;
  color: var(--muted);
}
.mini-balls {
  display: flex;
  gap: 0.3rem;
  margin: 1.2rem 0 0.75rem;
}
.mini-balls i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -3px -3px 5px rgba(0, 0, 0, 0.14);
}
.lottery-card h2,
.lottery-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.5rem 0;
}
.lottery-card h2 a,
.lottery-card h3 a {
  text-decoration: none;
}
.lottery-card p {
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 1.1rem;
}
.card-links {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.card-links a {
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}
.card-links a:last-child {
  color: var(--blue);
}
.how-section {
  padding: 95px 0;
  background: #202746;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.how-section:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(2px);
  opacity: 0.14;
  right: -180px;
  top: -120px;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.how-grid h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin: 1rem 0;
}
.how-grid > div > p {
  color: #b8bfd6;
}
.how-grid .text-link {
  color: #fff;
}
.feature-stack article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.feature-stack article > span {
  color: var(--yellow);
  font: 800 0.76rem "Manrope";
}
.feature-stack h3 {
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}
.feature-stack p {
  color: #b8bfd6;
  margin: 0;
  font-size: 0.88rem;
}
.responsible-callout {
  padding: 30px 0;
  background: #fff9df;
}
.responsible-callout .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.responsible-callout .container > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.responsible-callout h2 {
  font-size: 1rem;
  margin: 0;
}
.responsible-callout p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}
.responsible-callout a {
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
}
.age-chip {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 800;
}
.page-hero {
  padding: 85px 0 75px;
  background: linear-gradient(115deg, #f2f3ff, #fff9e5);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0.8rem 0;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}
.page-hero .btn {
  margin-top: 1.5rem;
}
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cloud);
  border-radius: 18px;
  padding: 0.7rem;
  margin-bottom: 1.5rem;
}
.filter-bar input {
  border: 0;
  background: transparent;
  padding: 0.65rem;
  width: min(600px, 80%);
  outline: 0;
}
.filter-bar span {
  font-size: 0.78rem;
  color: var(--muted);
  padding-right: 0.8rem;
}
.lottery-grid--directory {
  grid-template-columns: repeat(3, 1fr);
}
.lottery-grid--directory .lottery-card {
  min-height: 220px;
}
.format-chip {
  width: max-content;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
}
.source-note {
  font-size: 0.75rem;
  color: var(--muted);
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin-top: 2rem;
}
.game-hero {
  padding: 40px 0 60px;
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--accent) 12%, #fff),
    #fff
  );
}
.crumbs {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.crumbs a {
  text-decoration: none;
}
.crumbs span {
  margin: 0 0.5rem;
}
.game-title {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.game-title p {
  margin: 0;
  color: var(--muted);
}
.game-title h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  font-weight: 800;
  margin: 0.25rem 0 1.5rem;
}
.game-title > .flag-pill {
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
}
.game-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.game-facts > div {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
}
.game-facts > div:last-child {
  border: 0;
}
.game-facts small {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.game-facts strong {
  font: 700 0.95rem "Manrope";
}
.content-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 5rem;
}
.prose h2 {
  font-weight: 800;
  font-size: 1.8rem;
  margin: 1.7rem 0 0.65rem;
}
.prose p,
.prose li {
  color: #555f78;
}
.info-box {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: #f2f3ff;
  border-left: 4px solid var(--blue);
}
.info-box p {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
}
.action-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  height: max-content;
  box-shadow: var(--shadow);
}
.action-panel h2 {
  font-size: 1rem;
  margin: 0.3rem 0.4rem 1rem;
}
.action-panel > a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  padding: 0.9rem 0.5rem;
  border-top: 1px solid var(--line);
}
.action-panel > a > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f2ff;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.action-panel b,
.action-panel small {
  display: block;
}
.action-panel small {
  color: var(--muted);
  font-size: 0.68rem;
}
.empty-state {
  text-align: center;
  background: var(--cloud);
  border-radius: 28px;
  padding: 4rem 1rem;
}
.empty-balls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.empty-balls i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
}
.empty-balls i:nth-child(2) {
  background: var(--coral);
}
.empty-balls i:nth-child(3) {
  background: var(--yellow);
}
.empty-state h2 {
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}
.empty-state p {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}
.result-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.result-row h2 {
  font-size: 1rem;
}
.result-row h2 a {
  text-decoration: none;
}
.result-row > div > span {
  font-size: 0.7rem;
  color: var(--muted);
}
.number-balls,
.generated-balls {
  display: flex;
  gap: 0.35rem;
}
.number-ball,
.generated-balls i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.16);
}
.number-ball--bonus,
.generated-balls--bonus i {
  background: var(--yellow);
  color: var(--ink);
}
.picker-page {
  min-height: 700px;
  background: linear-gradient(120deg, #f2f3ff, #fff9e5);
  padding: 40px 0 100px;
}
.picker-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.picker-intro h1 {
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 800;
  margin: 0.8rem 0;
}
.picker-intro > p {
  color: var(--muted);
  font-size: 1.05rem;
}
.fair-note {
  border-left: 4px solid var(--yellow);
  padding: 0.7rem 1rem;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.55);
}
.fair-note p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.2rem 0;
}
.picker-machine {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(49, 55, 112, 0.18);
  padding: 1.1rem;
}
.picker-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cloud);
  border-radius: 13px;
  padding: 0.3rem;
}
.picker-tabs button {
  border: 0;
  background: transparent;
  padding: 0.7rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted);
}
.picker-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(30, 40, 80, 0.08);
}
.picker-output {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.output-label {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--muted);
}
.generated-balls i {
  width: 52px;
  height: 52px;
  font-size: 1.08rem;
}
.generate-button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  padding: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(91, 93, 230, 0.22);
}
.copy-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  padding: 0.65rem;
}
.copy-button:disabled {
  opacity: 0.35;
}
.picker-status {
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  margin: 0;
}
.lottery-card--picker {
  text-align: center;
  align-items: center;
}
.lottery-card--picker .btn {
  margin-top: auto;
}
.content-narrow {
  max-width: 800px;
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 900;
}
.site-footer {
  background: #151b34;
  color: #fff;
  padding: 60px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
}
.brand--footer {
  color: #fff;
  margin-bottom: 1rem;
}
.footer-grid > div > p {
  color: #aeb4c9;
  font-size: 0.8rem;
  max-width: 310px;
}
.footer-grid h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7f88a5;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  color: #dce0ed;
  text-decoration: none;
  font-size: 0.78rem;
  margin: 0.45rem 0;
}
.footer-note {
  display: flex;
  gap: 0.8rem;
}
.footer-note .age-chip {
  color: var(--ink);
  height: 42px;
  min-width: 42px;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.2rem;
  margin-top: 2.5rem;
  color: #7f88a5;
  font-size: 0.64rem;
}
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow);
  }
  .hero-grid,
  .how-grid,
  .content-grid,
  .picker-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-visual {
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .quick-picker-card {
    grid-template-columns: 1fr;
  }
  .lottery-grid,
  .lottery-grid--directory {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-grid {
    gap: 3rem;
  }
  .content-grid,
  .picker-layout {
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-note {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 72px;
  }
  .hero {
    padding: 48px 0 100px;
  }
  .hero h1 {
    font-size: 3.05rem;
  }
  .hero-actions,
  .trust-line,
  .section-heading,
  .responsible-callout .container,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-visual {
    height: 350px;
  }
  .orbit-a {
    width: 290px;
    height: 290px;
  }
  .orbit-b {
    width: 220px;
    height: 220px;
  }
  .mega-ball--one {
    width: 100px;
    height: 100px;
    right: 170px;
  }
  .mega-ball--two {
    width: 135px;
    height: 135px;
    right: 22px;
    top: 100px;
  }
  .mega-ball--three {
    width: 90px;
    height: 90px;
    right: 175px;
    top: 190px;
  }
  .mega-ball--four {
    right: 90px;
    top: 255px;
  }
  .draw-ticket {
    left: 5px;
    bottom: 0;
  }
  .quick-form {
    grid-template-columns: 1fr;
  }
  .lottery-grid,
  .lottery-grid--directory {
    grid-template-columns: 1fr;
  }
  .section-space {
    padding: 65px 0;
  }
  .game-facts {
    grid-template-columns: 1fr;
  }
  .game-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child,
  .footer-note {
    grid-column: 1/-1;
  }
  .generated-balls i {
    width: 43px;
    height: 43px;
  }
  .picker-machine {
    padding: 0.75rem;
  }
  .result-row {
    grid-template-columns: 1fr;
  }
  .quick-picker-card {
    padding: 1.15rem;
  }
  .responsible-callout a {
    margin-left: 62px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.guide-photo {
  margin: 1.4rem 0 1rem;
  position: relative;
}
.guide-photo img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(0.9);
}
.guide-photo figcaption {
  font-size: 0.62rem;
  color: #8992b0;
  margin-top: 0.35rem;
}
.guide-photo figcaption a {
  color: #b9c0d8;
}
