:root {
  --green-950: #063629;
  --green-900: #07513f;
  --green-800: #08644d;
  --green-700: #0b7559;
  --green-600: #128066;
  --green-100: #e7f2ec;
  --gold-500: #d7ae36;
  --gold-400: #e9c65b;
  --gold-300: #f4dc8d;
  --cream: #f7f4ea;
  --paper: #fffdf8;
  --ink: #17211d;
  --muted: #66736d;
  --line: #dce4df;
  --white: #ffffff;
  --success: #1b9a67;
  --shadow-sm: 0 8px 25px rgba(5, 52, 39, .08);
  --shadow-md: 0 20px 55px rgba(5, 52, 39, .13);
  --shadow-lg: 0 30px 80px rgba(5, 38, 28, .22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold-300);
  color: var(--green-950);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold-500);
  color: var(--green-950);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.topbar {
  background: var(--green-950);
  color: rgba(255,255,255,.84);
  font-size: .76rem;
  letter-spacing: .03em;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(233,198,91,.12);
}

.topbar__status {
  margin-left: 18px;
  color: var(--gold-300);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,248,.94);
  border-bottom: 1px solid rgba(6,54,41,.08);
  backdrop-filter: blur(16px);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1.08;
}

.brand__copy strong {
  color: var(--green-950);
  font-size: 1rem;
  letter-spacing: .02em;
}

.brand__copy span {
  margin-top: 4px;
  color: var(--gold-500);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #3e4d47;
  font-size: .84rem;
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
  transition: right .25s ease;
}

.main-nav a:hover {
  color: var(--green-800);
}

.main-nav a:hover::after {
  right: 0;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--green-950);
  box-shadow: 0 10px 25px rgba(215,174,54,.24);
}

.button--gold:hover {
  box-shadow: 0 14px 30px rgba(215,174,54,.34);
}

.button--outline {
  border: 1px solid rgba(244,220,141,.45);
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.button--outline:hover {
  background: rgba(255,255,255,.12);
}

.button--large {
  min-height: 58px;
  padding-inline: 25px;
}

.button--full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-950);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(215,174,54,.18), transparent 24%),
    radial-gradient(circle at 18% 90%, rgba(18,128,102,.25), transparent 32%),
    linear-gradient(135deg, var(--green-950), var(--green-900) 55%, var(--green-800));
  color: var(--white);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(244,220,141,.28) 49%, transparent 51%),
    linear-gradient(-45deg, transparent 48%, rgba(244,220,141,.16) 49%, transparent 51%);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.hero__grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 60px;
  padding-block: 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--green-700);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--gold-300);
}

.eyebrow > i {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(233,198,91,.12);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: .97;
  letter-spacing: -.055em;
}

.hero__lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: rgba(255,255,255,.67);
  font-size: .78rem;
}

.hero__trust div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(244,220,141,.45);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: .68rem;
}

.hero__emblem {
  min-height: 440px;
  display: grid;
  place-items: center;
}

.emblem-ring {
  position: relative;
  width: min(390px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,220,141,.5);
  border-radius: 50%;
  box-shadow:
    0 0 0 12px rgba(244,220,141,.05),
    0 0 0 30px rgba(244,220,141,.025),
    0 30px 90px rgba(0,0,0,.22);
}

.emblem-ring::before,
.emblem-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244,220,141,.22);
}

.emblem-ring::before {
  inset: 25px;
}

.emblem-ring::after {
  inset: 52px;
}

.emblem-glow {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,198,91,.22), transparent 68%);
  filter: blur(4px);
}

.emblem-medallion {
  position: relative;
  z-index: 2;
  width: 45%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold-400);
  border-radius: 50%;
  background: linear-gradient(145deg, #f6df9a, #c49320);
  color: var(--green-950);
  box-shadow: 0 15px 45px rgba(0,0,0,.24), inset 0 0 0 5px rgba(255,255,255,.22);
}

.emblem-medallion span {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.emblem-medallion strong {
  margin-top: -3px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.emblem-medallion small {
  margin-top: 8px;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .3em;
}

.emblem-star {
  position: absolute;
  top: 19%;
  left: 22%;
  color: var(--gold-300);
  font-size: 2.2rem;
}

.emblem-star--two {
  top: auto;
  left: auto;
  right: 20%;
  bottom: 22%;
  font-size: 1.5rem;
}

.emblem-laurel {
  position: absolute;
  z-index: 1;
  color: rgba(244,220,141,.68);
  font-size: 5rem;
  transform: scaleY(2);
}

.emblem-laurel--left {
  left: 17%;
  bottom: 30%;
  transform: rotate(-45deg) scaleY(2);
}

.emblem-laurel--right {
  right: 17%;
  bottom: 30%;
  transform: rotate(45deg) scaleY(2);
}

.checker {
  position: relative;
  z-index: 4;
  margin-top: -42px;
}

.checker__card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 35px;
  padding: 34px 40px;
  border: 1px solid rgba(215,174,54,.22);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.checker__copy h2 {
  margin: 5px 0 5px;
  color: var(--green-950);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.checker__copy p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.checker__form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: start;
}

.checker__input-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfa;
  transition: border-color .2s, box-shadow .2s;
}

.checker__input-wrap:focus-within {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(215,174,54,.12);
}

.checker__prefix {
  padding-left: 17px;
  color: var(--gold-500);
  font-weight: 900;
}

.checker__form input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 17px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--green-950);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: .3em;
}

.checker__form input::placeholder {
  color: #aeb9b4;
}

.checker__help {
  grid-column: 1 / -1;
  color: #85918c;
  font-size: .72rem;
}

.section {
  padding: 100px 0;
}

.section--light {
  background: var(--paper);
}

.section--cream {
  background: var(--cream);
}

.section--green {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  color: var(--white);
}

.section--green::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  right: -220px;
  top: -220px;
  border: 1px solid rgba(244,220,141,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(244,220,141,.025), 0 0 0 70px rgba(244,220,141,.018);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  text-align: left;
}

.section-heading--split > p {
  max-width: 410px;
  margin: 0 0 4px;
}

.section-heading h2 {
  margin: 8px 0 12px;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light p {
  color: rgba(255,255,255,.7);
}

.result-layout {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 22px;
}

.result-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.result-card--featured {
  padding: 38px;
  background:
    radial-gradient(circle at 80% 10%, rgba(233,198,91,.13), transparent 28%),
    linear-gradient(135deg, #0a644e, #06382b);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.result-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.result-card__label {
  color: var(--gold-300);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.result-card h3 {
  margin: 7px 0 0;
  font-size: 1.15rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: .68rem;
  font-weight: 800;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50d19b;
}

.winning-number {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  margin: 48px 0 42px;
}

.winning-number span {
  width: clamp(62px, 10vw, 92px);
  aspect-ratio: .86;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,220,141,.5);
  border-radius: 17px;
  background: linear-gradient(145deg, #f8e29a, #c39420);
  color: var(--green-950);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.14), 0 18px 35px rgba(0,0,0,.17);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 950;
  line-height: 1;
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.13);
}

.result-meta div {
  padding: 19px 18px 4px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.result-meta div:last-child {
  border-right: 0;
}

.result-meta span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.54);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.result-meta strong {
  color: var(--white);
  font-size: .9rem;
}

.result-side {
  display: flex;
}

.side-card {
  width: 100%;
  align-self: stretch;
  padding: 34px;
  border: 1px solid rgba(215,174,54,.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fffdf8, #f3eee1);
  box-shadow: var(--shadow-sm);
}

.side-card__icon,
.info-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 13px;
  background: rgba(215,174,54,.13);
  color: var(--gold-500);
  font-weight: 900;
}

.side-card h3 {
  margin: 8px 0 13px;
  color: var(--green-950);
  font-size: 1.35rem;
  line-height: 1.13;
}

.side-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: .86rem;
}

.text-link {
  color: var(--green-800);
  font-size: .8rem;
  font-weight: 900;
}

.text-link span {
  margin-left: 5px;
  color: var(--gold-500);
}

.draw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.draw-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.draw-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,174,54,.55);
  box-shadow: var(--shadow-md);
}

.draw-card--featured {
  border-color: rgba(215,174,54,.42);
  background: linear-gradient(150deg, #fffdf7, #f7f0d9);
}

.draw-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.draw-card__tag {
  color: var(--green-800);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.draw-card__index {
  color: #a6afa9;
  font-size: .7rem;
  font-weight: 900;
}

.draw-card__label {
  display: block;
  color: var(--muted);
  font-size: .72rem;
}

.draw-number {
  display: block;
  margin: 3px 0 20px;
  color: var(--green-950);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: .08em;
}

.draw-series {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: .7rem;
}

.info-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-panel {
  padding: 34px;
  border: 1px solid rgba(244,220,141,.18);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

.info-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-panel__head .info-icon {
  flex: 0 0 44px;
  margin: 0;
  background: rgba(233,198,91,.1);
}

.info-panel h3 {
  margin: 0;
  font-size: 1.05rem;
}

.data-list {
  margin: 24px 0 0;
}

.data-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.09);
}

.data-list dt {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
}

.data-list dd {
  margin: 0;
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  text-align: right;
}

.data-list dd.highlight {
  color: var(--gold-300);
}

.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  align-items: start;
}

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

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

.faq summary {
  position: relative;
  list-style: none;
  padding: 21px 40px 21px 0;
  color: var(--green-950);
  font-size: .92rem;
  font-weight: 850;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 0;
  color: var(--gold-500);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: -3px 0 20px;
  color: var(--muted);
  font-size: .84rem;
}

.contact-section {
  padding-top: 20px;
  padding-bottom: 100px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 95% 20%, rgba(233,198,91,.2), transparent 22%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -150px;
  bottom: -190px;
  border: 1px solid rgba(244,220,141,.2);
  border-radius: 50%;
}

.contact-card__copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.contact-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-card p {
  margin: 0;
  color: rgba(255,255,255,.7);
}

.contact-card > .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.site-footer {
  padding: 68px 0 25px;
  background: #04291f;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr .65fr .65fr;
  gap: 60px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.brand--footer .brand__logo {
  width: 70px;
  height: 70px;
}

.brand--footer .brand__copy strong {
  color: var(--white);
}

.brand--footer .brand__copy span {
  color: var(--gold-300);
}

.footer-brand > p {
  max-width: 510px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.58);
  font-size: .82rem;
}

.footer-title {
  margin: 4px 0 18px;
  color: var(--gold-300);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,.66);
  font-size: .8rem;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #1fae6b;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(17,116,71,.3);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(17,116,71,.4);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility .25s, opacity .25s;
}

.modal.is-active {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,24,18,.78);
  backdrop-filter: blur(7px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 42px;
  border: 1px solid rgba(233,198,91,.45);
  border-radius: 24px;
  background: linear-gradient(155deg, #0b7559, #063629);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(15px) scale(.98);
  transition: transform .25s ease;
}

.modal.is-active .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 11px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal__close:hover {
  color: var(--gold-300);
}

.modal__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(244,220,141,.5);
  border-radius: 50%;
  background: rgba(233,198,91,.12);
  color: var(--gold-300);
  font-size: 1.2rem;
  font-weight: 900;
}

.modal__dialog h2 {
  margin: 9px 0 13px;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.modal__dialog p {
  margin: 0 0 25px;
  color: rgba(255,255,255,.7);
  font-size: .86rem;
}

.winner-modal {
  text-align: center;
}

.winner-modal .modal__close {
  text-align: center;
}

.winner-modal__number {
  margin: 30px 0;
  color: var(--gold-300);
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: .9;
  text-shadow: 0 10px 35px rgba(0,0,0,.2);
}

.winner-modal .button {
  color: var(--green-950);
}

@media (max-width: 980px) {
  .main-nav {
    gap: 16px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 65px 100px;
  }

  .hero__emblem {
    min-height: 330px;
  }

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

  .result-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .header__inner {
    min-height: 70px;
  }

  .header__button {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: rgba(255,253,248,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 5px;
    border-bottom: 1px solid #edf0ee;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading--split {
    display: block;
  }

  .section-heading--split > p {
    margin-top: 15px;
  }

  .draw-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .topbar__inner {
    min-height: 34px;
    font-size: .65rem;
  }

  .topbar__status {
    display: none;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand__copy strong {
    font-size: .82rem;
  }

  .brand__copy span {
    font-size: .55rem;
  }

  .hero__grid {
    min-height: auto;
    padding-block: 52px 82px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .hero__lead {
    font-size: .94rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    gap: 9px;
  }

  .hero__emblem {
    min-height: 270px;
  }

  .emblem-ring {
    width: 275px;
  }

  .checker {
    margin-top: -28px;
  }

  .checker__card {
    padding: 26px 20px;
  }

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

  .checker__help {
    grid-column: 1;
  }

  .checker__form .button {
    width: 100%;
  }

  .result-card--featured,
  .side-card,
  .info-panel {
    padding: 26px 20px;
  }

  .result-card__top {
    flex-direction: column;
  }

  .winning-number {
    gap: 6px;
    margin: 35px 0;
  }

  .winning-number span {
    width: 20vw;
    border-radius: 11px;
  }

  .result-meta {
    grid-template-columns: 1fr;
  }

  .result-meta div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 13px 0;
  }

  .result-meta div:last-child {
    border-bottom: 0;
  }

  .draw-card {
    padding: 24px 20px;
  }

  .data-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .data-list dd {
    text-align: left;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .contact-card > .button {
    width: 100%;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .whatsapp-float {
    right: 17px;
    bottom: 17px;
    width: 54px;
    height: 54px;
  }

  .modal__dialog {
    padding: 34px 22px 25px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
