:root {
  --green-900: #053b1c;
  --green-800: #075127;
  --green-700: #176c32;
  --green: #368735;
  --lime: #b0cb1f;
  --yellow: #fccc0a;
  --yellow-bright: #ffcc00;
  --orange: #f39314;
  --red: #dc452b;
  --ink: #172017;
  --muted: #5e6b5f;
  --surface: #ffffff;
  --soft: #f4f7ef;
  --line: rgba(23, 32, 23, 0.12);
  --shadow: 0 18px 45px rgba(5, 59, 28, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Fira Sans", Calibri, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 170px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-800);
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible { border-color: var(--orange); }

.nav .nav-cta {
  padding: 10px 18px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  border-bottom: none;
  box-shadow: 0 6px 16px rgba(252, 204, 10, 0.35);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: var(--yellow-bright);
  border-bottom: none;
  box-shadow: 0 8px 22px rgba(252, 204, 10, 0.55);
}

.section,
.section-band { padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px); }

.section { max-width: 1240px; margin: 0 auto; }
.section-band { max-width: 1440px; margin: 0 auto; }

.home-banner {
  display: block;
  line-height: 0;
  max-width: 1440px;
  margin: 0 auto;
}

.home-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(176, 203, 31, 0.18), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(243, 147, 20, 0.22), transparent 55%),
    linear-gradient(120deg, rgba(5, 59, 28, 0.97), rgba(7, 81, 39, 0.92)),
    linear-gradient(180deg, var(--green-800), var(--green-900));
  overflow: hidden;
}

.hero--centered {
  display: block;
  text-align: center;
  min-height: calc(80vh - 76px);
}

.hero--centered .hero__content {
  max-width: 980px;
  margin: 0 auto;
}

.hero--centered h1 { margin-left: auto; margin-right: auto; }

.hero--centered .hero__lead { margin-left: auto; margin-right: auto; }

.hero--centered .hero__badges { justify-content: center; }

.hero--centered .hero__actions { justify-content: center; }

.hero--compact {
  min-height: 0;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.countdown--inline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.countdown--ended .countdown__inline-cell {
  opacity: 0.55;
}

.countdown__inline-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-800);
  white-space: nowrap;
}

.countdown__inline-cells {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.countdown__inline-cell {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 9px;
  background: var(--green-900);
  color: var(--yellow);
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgba(5, 59, 28, 0.18);
}

.countdown__inline-cell strong {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.countdown__inline-cell span {
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.85;
}

@media (max-width: 1180px) {
  .countdown--inline {
    position: static;
    transform: none;
    margin-left: auto;
    gap: 8px;
  }

  .countdown__inline-label { display: none; }

  .countdown__inline-cells { gap: 5px; }

  .countdown__inline-cell { padding: 4px 7px; }

  .countdown__inline-cell strong { font-size: 0.9rem; }

  .countdown__inline-cell span { font-size: 0.65rem; }
}

@media (max-width: 420px) {
  .countdown__inline-cells { gap: 4px; }
  .countdown__inline-cell { padding: 3px 5px; gap: 2px; }
  .countdown__inline-cell strong { font-size: 0.82rem; }
  .countdown__inline-cell span { font-size: 0.58rem; }
}

.hero__tagline {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.hero--compact .hero__lead {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

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

.hero__content { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--green-900);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero h1 { color: #fff; }

.hero__lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--green-900);
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero__badges span:last-child {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.hero__actions,
.trust__actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 59, 28, 0.22);
}

.button--primary {
  color: var(--green-900);
  background: var(--yellow);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--yellow-bright);
  box-shadow: 0 0 0 4px rgba(252, 204, 10, 0.25), 0 12px 28px rgba(5, 59, 28, 0.22);
}

.button--secondary {
  color: #fff;
  background: transparent;
  border-color: currentColor;
}

.button--dark {
  color: #fff;
  background: var(--green-900);
}

.button--regulament {
  color: var(--green-900);
  background: transparent;
  border-color: var(--yellow);
}

.button--regulament:hover,
.button--regulament:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(252, 204, 10, 0.25), 0 12px 28px rgba(5, 59, 28, 0.22);
}

.hero__visual { position: relative; }

.hero__visual img {
  width: 100%;
  border: 3px solid rgba(252, 204, 10, 0.7);
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(1deg);
}

.section__heading { margin-bottom: 34px; }

.section__heading h2 { max-width: 780px; }

.section__heading > p:last-child {
  max-width: 1040px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.step-card,
.eligibility article,
.calculator,
.trust {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.step-card {
  padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(5, 59, 28, 0.22);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.step-card p,
.eligibility p,
.prize p,
.trust p,
.period p,
.footer p { color: var(--muted); }

.section--green {
  max-width: none;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.section--green .chance-grid {
  max-width: 1240px;
  margin: 0 auto;
}

.section--green h2 { color: #fff; }

.chance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.08rem;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  content: "";
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--green-900);
}

.check-list--hero {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.check-list--hero li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.check-list--hero li::before {
  position: static;
  flex-shrink: 0;
  background: var(--orange);
  box-shadow: none;
  margin-top: 0;
}

.calculator {
  padding: 26px;
  color: var(--ink);
}

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

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.input-row input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.input-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(54, 135, 53, 0.18);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 20px;
  color: var(--green-900);
}

.toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.result {
  padding: 20px;
  color: var(--green-900);
  background: linear-gradient(135deg, var(--yellow), #ffe66b);
  border-radius: 8px;
  text-align: center;
}

.result span {
  display: block;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
}

.result p,
.calculator__note {
  margin: 0;
  color: var(--green-900);
  font-weight: 800;
}

.calculator__note {
  margin-top: 14px;
  font-size: 0.92rem;
}

.eligibility article {
  min-height: 170px;
  padding: 26px;
  border-top: 6px solid var(--green);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.eligibility article:nth-child(2) { border-top-color: var(--orange); }
.eligibility article:nth-child(3) { border-top-color: var(--red); }

.eligibility article:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(5, 59, 28, 0.22);
}

.prize {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch;
  background: #fff;
}

.prize__image {
  display: flex;
  align-items: center;
}

.prize__image img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.prize__content {
  display: flex;
  flex-direction: column;
}

.prize__content .date-badge {
  margin-top: auto;
  align-self: flex-start;
}

.check-list--specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 22px 0;
}

.check-list--specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.check-list--specs li::before {
  position: static;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.42em;
  background: var(--green);
  box-shadow: none;
}

@media (max-width: 720px) {
  .check-list--specs { grid-template-columns: 1fr; }
}

.date-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding: 16px 20px;
  color: #fff;
  background: var(--green-900);
  border-left: 8px solid var(--yellow);
  border-radius: 8px;
}

.date-badge span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.date-badge strong { font-size: 1.35rem; }

.period {
  padding: clamp(38px, 6vw, 70px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, var(--green-900), var(--green), var(--orange));
  text-align: center;
}

.period h2,
.period p { color: #fff; }

.period h2 { margin-bottom: 8px; }

.trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.trust h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.trust .button--secondary { color: var(--green-900); }

.final-cta {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 72px);
  color: var(--green-900);
  background: var(--yellow);
  text-align: center;
}

.final-cta h2 {
  max-width: 850px;
  margin: 0 auto 22px;
}

.final-cta__actions { justify-content: center; }
.final-cta .eyebrow { color: var(--green-900); }

.footer-note {
  padding: 22px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero { min-height: auto; }

  .hero__visual { order: -1; }

  .hero__visual img { transform: none; }

  .steps,
  .eligibility { grid-template-columns: 1fr; }

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

@media (max-width: 560px) {
  .brand img { width: 140px; height: 44px; }

  .section,
  .section-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button,
  .hero__actions,
  .trust__actions,
  .final-cta__actions { width: 100%; }

  .hero__badges span { width: 100%; }

  .step-card,
  .eligibility article,
  .calculator { padding: 22px; }
}
