:root {
  --green-950: #06351f;
  --green-900: #074c2a;
  --green-800: #087f3f;
  --green-700: #10954e;
  --green-100: #eaf7ee;
  --green-50: #f4fbf6;
  --yellow: #f6ca12;
  --yellow-deep: #e4b500;
  --red: #e83d35;
  --purple: #7d49d7;
  --orange: #f59b23;
  --lime: #a9d839;
  --ink: #17251c;
  --muted: #637068;
  --line: #dfe8e1;
  --surface: #ffffff;
  --surface-soft: #f5f8f5;
  --shadow-sm: 0 8px 22px rgba(10, 55, 31, 0.08);
  --shadow-md: 0 20px 55px rgba(10, 55, 31, 0.13);
  --shadow-lg: 0 28px 80px rgba(5, 42, 23, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family: "DM Sans", sans-serif;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 232, 225, 0.85);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(7, 76, 42, 0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 52px;
  max-width: 168px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding: 28px 0 24px;
  color: #536158;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-800);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-code {
  color: var(--green-900);
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 10px;
  background: var(--green-900);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-yellow {
  color: #26320c;
  background: linear-gradient(180deg, #ffe45f 0%, var(--yellow) 100%);
  box-shadow: 0 12px 25px rgba(206, 159, 0, 0.28);
}

.btn-yellow:hover {
  box-shadow: 0 15px 30px rgba(206, 159, 0, 0.36);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn-white {
  color: var(--green-900);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
}

.btn:disabled {
  color: rgba(38, 50, 12, 0.55);
  background: #d9d9c9;
  box-shadow: none;
  transform: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 78px 0 128px;
  color: #fff;
  background:
    radial-gradient(circle at 6% 18%, rgba(246, 202, 18, 0.18), transparent 28%),
    radial-gradient(circle at 94% 12%, rgba(169, 216, 57, 0.22), transparent 24%),
    linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 62%, var(--green-950) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-size: 34px 34px, 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 64px;
}

.hero-content {
  padding-bottom: 30px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #e8f7ed;
  background: rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-kicker strong {
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(246, 202, 18, 0.16);
}

.hero h1 {
  max-width: 680px;
  margin: 22px 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(43px, 5.3vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.01;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: #d9eee1;
  font-size: 17px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.dial-note {
  margin-left: 4px;
  color: #c9e2d2;
  font-size: 14px;
}

.dial-note strong {
  color: #fff;
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d8ecdf;
  font-size: 13px;
  font-weight: 700;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sun {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 24px rgba(246, 202, 18, 0.08), 0 0 0 48px rgba(246, 202, 18, 0.04);
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
}

.campaign-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.campaign-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(7, 76, 42, 0.08);
  pointer-events: none;
}

.campaign-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: center;
}

.next-draw-card {
  position: absolute;
  right: -20px;
  bottom: -44px;
  left: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  transform: rotate(-1.5deg);
}

.next-draw-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.next-draw-label,
.next-draw-time {
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.next-draw-card>strong {
  display: block;
  color: var(--green-900);
  font-family: "Poppins", sans-serif;
  font-size: 33px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.next-draw-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.float-ball {
  position: absolute;
  z-index: 4;
}

.float-ball.left {
  top: 30px;
  left: -15px;
}

.float-ball.right {
  right: -8px;
  bottom: 72px;
}

.lotto-ball {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.52), var(--ball) 43%, color-mix(in srgb, var(--ball), #000 28%) 100%);
  box-shadow: inset -7px -9px 12px rgba(0, 0, 0, 0.2), 0 14px 30px rgba(0, 0, 0, 0.23);
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.hero-wave {
  position: absolute;
  right: -2px;
  bottom: -1px;
  left: -2px;
  height: 105px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.result-bar {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}

.result-bar-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(223, 232, 225, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.result-tag {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  color: #fff;
  background: var(--green-900);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.result-marquee {
  overflow: hidden;
}

.result-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 24px;
  animation: ticker 34s linear infinite;
}

.result-marquee:hover .result-track {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.result-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}

.result-item b {
  color: var(--green-900);
}

.mini-numbers {
  display: inline-flex;
  gap: 5px;
}

.mini-number {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-800);
  font-size: 10px;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background:
    radial-gradient(circle at 2% 4%, rgba(169, 216, 57, 0.09), transparent 22%),
    var(--surface-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 38px;
}

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

.split-head>div:first-child {
  max-width: 700px;
}

.eyebrow,
.responsible-kicker,
.ticket-overline {
  display: block;
  margin-bottom: 8px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.current-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #8b2f2a;
  background: #ffe8e5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-pill.open {
  color: #0b6935;
  background: #def5e7;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.day-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 55, 31, 0.045);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.day-card:hover {
  transform: translateY(-3px);
  border-color: #b9d9c2;
  box-shadow: var(--shadow-sm);
}

.day-card.active {
  border-color: var(--green-800);
  box-shadow: 0 0 0 3px rgba(8, 127, 63, 0.1), var(--shadow-sm);
}

.day-card.is-closed:not(.active) {
  background: #fbfcfb;
}

.day-logo {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  border-radius: 16px;
  color: var(--green-950);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, .75), transparent 25%),
    linear-gradient(135deg, #fff2a4, var(--yellow));
}

.day-card:nth-child(2) .day-logo {
  background: linear-gradient(135deg, #ffe0d9, #ff8579);
}

.day-card:nth-child(3) .day-logo {
  background: linear-gradient(135deg, #dff2ff, #78c7ed);
}

.day-card:nth-child(4) .day-logo {
  background: linear-gradient(135deg, #eee2ff, #aa82ed);
}

.day-card:nth-child(5) .day-logo {
  background: linear-gradient(135deg, #eaf9c4, #a9d839);
}

.day-logo-mark {
  max-width: 110px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
}

.day-name {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.day-prize {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.day-card-status {
  margin-top: auto;
  padding-top: 15px;
  color: #9a4a45;
  font-size: 11px;
  font-weight: 800;
}

.day-card-status.open {
  color: var(--green-800);
}

.draw-feedback {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.play-wrap {
  margin: 0;
}

.play-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: 22px;
}

.play-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 55, 31, 0.045);
}

.block-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.step-number {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--green-950);
  background: var(--yellow);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.block-title h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.block-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
}

.field {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fbfdfb;
  font-size: 15px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field:focus {
  border-color: var(--green-800);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 127, 63, 0.1);
}

.field.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 61, 53, 0.08);
}

.field.is-valid {
  border-color: #45a96c;
}

.field-feedback {
  min-height: 19px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.field-feedback.error {
  color: #b33831;
}

.field-feedback.success {
  color: #147540;
}

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

.provider-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.provider-card:hover,
.provider-card.active {
  border-color: var(--green-800);
  background: var(--green-50);
}

.provider-card.active {
  box-shadow: 0 0 0 3px rgba(8, 127, 63, 0.08);
}

.radio-dot {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid #aebbb2;
  border-radius: 50%;
  background: #fff;
}

.provider-card.active .radio-dot {
  border: 5px solid var(--green-800);
}

.provider-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #222;
  background: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.provider-card:nth-child(2) .provider-badge {
  color: #fff;
  background: var(--red);
}

.game-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.game-type {
  min-height: 80px;
  padding: 12px 9px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.game-type:hover {
  transform: translateY(-2px);
  border-color: #a7cdb2;
}

.game-type.active {
  color: #fff;
  border-color: var(--green-800);
  background: var(--green-800);
}

.game-type span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
}

.game-type.active span {
  color: #dff1e5;
}

.number-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--green-50);
}

.selection-progress {
  min-width: 0;
}

.selection-progress strong,
.selection-progress span {
  display: block;
}

.selection-progress strong {
  color: var(--green-900);
  font-size: 13px;
}

.selection-progress span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.number-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.auto-btn,
.text-btn {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.auto-btn {
  color: #fff;
  border: 1px solid var(--green-800);
  background: var(--green-800);
}

.text-btn {
  color: var(--green-800);
  border: 1px solid #cfe2d4;
  background: #fff;
}

.text-btn:disabled {
  opacity: 0.45;
}

.number-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
}

.number-range {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdfb;
}

.number-range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.number-range-label::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--yellow);
}

.number-range-cells {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.num-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid #d9e4dc;
  border-radius: 50%;
  color: #324139;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: transform 0.13s ease, border-color 0.13s ease, background 0.13s ease, color 0.13s ease, box-shadow 0.13s ease;
}

.num-cell:hover:not(:disabled),
.num-cell:focus-visible {
  z-index: 2;
  transform: translateY(-1px) scale(1.05);
  border-color: var(--green-800);
  outline: none;
}

.num-cell.selected {
  color: #fff;
  border-color: var(--green-800);
  background: radial-gradient(circle at 30% 25%, #69c58e, var(--green-800) 58%, var(--green-950));
  box-shadow: inset -3px -4px 6px rgba(0, 0, 0, 0.16), 0 6px 13px rgba(8, 127, 63, 0.22);
}

.num-cell:disabled:not(.selected) {
  opacity: 0.38;
  background: #f0f2f0;
}

.stake-input-wrap {
  position: relative;
}

.stake-input-wrap .field {
  padding-right: 70px;
}

.currency {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
}

.quick-stakes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.quick-stake {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.quick-stake:hover,
.quick-stake.active {
  color: var(--green-900);
  border-color: var(--yellow-deep);
  background: #fff9d8;
}

.quick-stake:disabled {
  opacity: 0.38;
  text-decoration: line-through;
}

.ticket-summary {
  position: sticky;
  top: 98px;
  overflow: hidden;
  padding: 25px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(246, 202, 18, 0.15), transparent 28%),
    linear-gradient(155deg, var(--green-900), var(--green-950));
  box-shadow: var(--shadow-md);
}

.ticket-summary::before,
.ticket-summary::after {
  content: "";
  position: absolute;
  left: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-soft);
}

.ticket-summary::before {
  top: 48%;
}

.ticket-summary::after {
  bottom: 48%;
  transform: translateY(52px);
}

.ticket-summary.is-highlighted {
  animation: summaryHighlight 0.9s ease;
}

@keyframes summaryHighlight {

  0%,
  100% {
    box-shadow: var(--shadow-md);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(246, 202, 18, 0.45), var(--shadow-md);
  }
}

.ticket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.ticket-overline {
  margin-bottom: 5px;
  color: #a8cab3;
}

.ticket-head h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.ticket-code {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.ticket-lines {
  padding: 16px 0 4px;
}

.ticket-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: #bdd7c6;
  font-size: 12px;
}

.ticket-row strong {
  color: #fff;
  text-align: right;
}

.selected-wrap {
  margin-top: 12px;
  padding-top: 17px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}

.selected-label {
  margin-bottom: 10px;
  color: #a8cab3;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-numbers {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-ball,
.result-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  box-shadow: inset -3px -4px 6px rgba(0, 0, 0, 0.18), 0 5px 12px rgba(0, 0, 0, 0.16);
}

.selected-ball {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.empty {
  color: #89ad96;
  font-size: 12px;
}

.win-card {
  margin: 20px 0 17px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
}

.win-card small {
  color: #a8cab3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.win-amount {
  margin-top: 4px;
  color: var(--yellow);
  font-family: "Poppins", sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.win-note {
  margin-top: 6px;
  color: #a8cab3;
  font-size: 10px;
  line-height: 1.5;
}

.summary-phone {
  min-height: 34px;
  margin-top: 10px;
  color: #bcd6c5;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9cbdaa;
  font-size: 10px;
  line-height: 1.45;
}

.secure-note span {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-weight: 900;
}

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

.result-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 55, 31, 0.05);
}

.result-card-head,
.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.result-card-head h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.result-date {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.result-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.result-ball {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.result-meta {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.result-meta strong,
.section-link {
  color: var(--green-800);
  font-weight: 800;
  text-decoration: none;
}

.responsible-section {
  padding-top: 20px;
}

.responsible-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 30px 34px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 202, 18, 0.18), transparent 30%),
    var(--green-900);
}

.responsible-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.responsible-kicker {
  color: var(--yellow);
}

.responsible-copy h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 23px;
}

.responsible-copy p {
  max-width: 720px;
  margin: 5px 0 0;
  color: #c8e1d1;
  font-size: 13px;
  line-height: 1.55;
}

footer {
  margin-top: 86px;
  padding: 62px 0 26px;
  color: #c3d8ca;
  background: #062b1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo {
  height: 58px;
}

.footer-about p {
  max-width: 360px;
  margin: 17px 0 0;
  color: #8eaa98;
  font-size: 13px;
  line-height: 1.65;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-col a {
  color: #9bb5a4;
  font-size: 13px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  color: #789581;
  font-size: 11px;
}

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

.toast {
  position: fixed;
  z-index: 250;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 14px 17px;
  border-radius: 14px;
  color: #fff;
  background: var(--green-950);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(246, 202, 18, 0.7);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.88fr);
    gap: 40px;
  }

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

  .play-shell {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

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

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--green-50);
  }

  .nav-toggle {
    display: block;
  }

  .nav-code {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

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

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .play-shell {
    grid-template-columns: 1fr;
  }

  .ticket-summary {
    position: relative;
    top: auto;
  }

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

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

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

  .footer-col:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .brand-logo {
    height: 43px;
    max-width: 142px;
  }

  .nav-play {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 108px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 425px;
  }

  .hero-sun {
    width: 320px;
    height: 320px;
  }

  .hero-photo-wrap {
    width: min(92%, 460px);
  }

  .next-draw-card {
    right: -4px;
    bottom: -50px;
    left: 10px;
  }

  .float-ball.left {
    left: 0;
  }

  .float-ball.right {
    right: 0;
  }

  .lotto-ball {
    width: 58px;
    height: 58px;
    font-size: 18px;
  }

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

  .result-tag {
    min-height: 38px;
    justify-content: center;
  }

  .result-track {
    min-height: 55px;
  }

  .section {
    padding: 66px 0;
  }

  .split-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

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

  .day-card {
    min-height: 190px;
  }

  .form-block {
    padding: 21px;
  }

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

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

  .number-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .number-actions {
    width: 100%;
  }

  .auto-btn,
  .text-btn {
    flex: 1;
  }

  .number-board {
    grid-template-columns: 1fr;
  }

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

  .num-cell {
    font-size: 10px;
  }

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

  .responsible-card {
    grid-template-columns: auto 1fr;
    padding: 25px;
  }

  .responsible-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

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

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

  .footer-col:last-child {
    grid-column: auto;
  }

  .mobile-ticket-bar {
    position: fixed;
    z-index: 180;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(223, 232, 225, 0.95);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 28px rgba(7, 76, 42, 0.1);
    backdrop-filter: blur(18px);
  }

  .mobile-ticket-bar small,
  .mobile-ticket-bar strong {
    display: block;
  }

  .mobile-ticket-bar small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
  }

  .mobile-ticket-bar strong {
    margin-top: 2px;
    color: var(--green-900);
    font-family: "Poppins", sans-serif;
    font-size: 17px;
  }

  .mobile-ticket-bar .btn {
    min-height: 44px;
    padding-inline: 18px;
  }

  .toast {
    right: 14px;
    bottom: 88px;
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .hero-cta .btn {
    width: 100%;
  }

  .dial-note {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .day-card {
    min-height: 165px;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 15px;
  }

  .day-logo {
    grid-row: 1 / 4;
    min-height: 120px;
    margin: 0;
  }

  .day-card-status {
    padding-top: 8px;
  }

  .number-range-cells {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }

  .num-cell {
    font-size: 11px;
  }

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

  .footer-about,
  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

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

.overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 99999;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  text-align: center;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}