:root {
  color-scheme: dark;
  --bg: #070907;
  --bg-2: #10140f;
  --panel: rgba(17, 23, 17, 0.82);
  --panel-strong: #111811;
  --text: #f6f8f1;
  --muted: #b9c0ae;
  --muted-2: #808a78;
  --lime: #a8e414;
  --lime-2: #78b80d;
  --warm: #f3a93b;
  --field: #624929;
  --line: rgba(183, 255, 42, 0.22);
  --white-line: rgba(246, 248, 241, 0.12);
  --max: 1180px;
  --display: "Bebas Neue", "Rajdhani", Impact, sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(183, 255, 42, 0.14), transparent 30rem),
    radial-gradient(circle at 22% 4%, rgba(243, 169, 59, 0.12), transparent 24rem),
    linear-gradient(180deg, #070907 0%, #0c100b 52%, #070907 100%);
  color: var(--text);
  font-family: var(--body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 75%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(168, 228, 20, 0.18) 1px, transparent 1.5px);
  background-position: 0 0;
  background-size: 18px 18px;
  opacity: 0.3;
  mask-image: linear-gradient(90deg, #000 0%, transparent 56%);
  pointer-events: none;
  content: "";
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(7, 9, 7, 0.74);
  backdrop-filter: blur(18px);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--white-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 228, 20, 0.28), transparent 52%),
    #10160f;
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.55rem;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.08rem;
}

.main-nav a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover {
  color: var(--lime);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  gap: 34px;
  align-items: end;
  min-height: calc(100svh - 80px);
  padding: 78px max(20px, calc((100vw - var(--max)) / 2)) 34px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(104deg, rgba(7, 9, 7, 0.98) 0%, rgba(7, 9, 7, 0.9) 38%, rgba(7, 9, 7, 0.18) 69%),
    linear-gradient(180deg, transparent 0%, rgba(7, 9, 7, 0.8) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  left: -7vw;
  top: 0;
  width: min(48vw, 560px);
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(168, 228, 20, 0.9) 0 18%, transparent 18% 100%),
    linear-gradient(100deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
  clip-path: polygon(0 0, 88% 0, 62% 100%, 0 100%);
  opacity: 0.72;
  content: "";
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

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

.hero-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 8px 16px 8px 54px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 8, 0.86);
  color: var(--text);
  clip-path: polygon(34px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  font-family: "Rajdhani", var(--body);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  font-weight: 700;
}

.hero-ribbon::before {
  display: inline-block;
  width: 78px;
  height: 16px;
  margin-left: -36px;
  background:
    repeating-linear-gradient(135deg, var(--lime) 0 13px, transparent 13px 20px),
    rgba(168, 228, 20, 0.12);
  content: "";
}

.hero-ribbon strong {
  color: var(--lime);
}

.status-badge,
.section-kicker,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge {
  position: absolute;
  top: 104px;
  right: max(20px, calc((100vw - var(--max)) / 2));
  display: grid;
  place-items: center;
  min-width: 132px;
  min-height: 132px;
  padding: 14px;
  border: 2px solid var(--lime);
  background: rgba(8, 11, 8, 0.84);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
  color: var(--lime);
  font-size: 2.1rem;
  box-shadow: 0 0 34px rgba(168, 228, 20, 0.18);
}

.status-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.62rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--lime);
  font-size: clamp(4.8rem, 11.2vw, 10.8rem);
  line-height: 0.78;
  text-shadow:
    4px 4px 0 #060806,
    0 0 34px rgba(168, 228, 20, 0.2);
}

h1 span {
  display: block;
  color: var(--text);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.9;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
}

.hero-text {
  max-width: 690px;
  padding: 18px 20px;
  border-left: 5px solid var(--lime);
  background: linear-gradient(90deg, rgba(7, 9, 7, 0.86), rgba(7, 9, 7, 0.18));
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  font-family: var(--display);
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #10140f;
}

.button-secondary {
  background: rgba(17, 23, 17, 0.72);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: end;
}

.hero-stats span {
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 228, 20, 0.14), transparent),
    rgba(17, 23, 17, 0.78);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  color: var(--text);
  font-family: var(--display);
}

.hero-stats strong {
  display: block;
  color: var(--lime);
  font-size: clamp(1.95rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.hero-stats small {
  display: block;
  color: var(--muted);
  font-family: "Rajdhani", var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 88px max(20px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 800px;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.connection-card,
.mod-form {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 228, 20, 0.1), transparent 48%),
    rgba(17, 23, 17, 0.88);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.connection-card::after,
.mod-form::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 248, 241, 0.06);
  pointer-events: none;
  content: "";
}

.connection-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.connection-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-message {
  margin: 0;
  color: var(--lime);
  font-weight: 800;
}

.feature-card,
.rules-list li {
  border: 1px solid var(--white-line);
  background: rgba(17, 23, 17, 0.72);
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  background: rgba(168, 228, 20, 0.08);
  position: relative;
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.crop-icon::before {
  inset: 12px 21px 8px;
  border-left: 4px solid var(--lime);
  transform: rotate(-18deg);
}

.crop-icon::after {
  left: 18px;
  top: 16px;
  width: 16px;
  height: 10px;
  border-top: 4px solid var(--lime);
  border-radius: 50%;
}

.field-icon::before {
  inset: 12px 8px;
  border-top: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
  transform: skewY(-18deg);
}

.field-icon::after {
  left: 8px;
  right: 8px;
  top: 22px;
  border-top: 3px solid var(--warm);
}

.animal-icon::before {
  left: 11px;
  top: 17px;
  width: 24px;
  height: 16px;
  border: 3px solid var(--lime);
  border-radius: 999px;
}

.animal-icon::after {
  right: 7px;
  top: 13px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--lime);
  border-radius: 50%;
}

.economy-icon::before {
  inset: 10px;
  border: 3px solid var(--lime);
  transform: rotate(45deg);
}

.economy-icon::after {
  left: 13px;
  top: 21px;
  width: 20px;
  border-top: 3px solid var(--warm);
}

.mod-icon::before {
  inset: 10px;
  border: 3px solid var(--lime);
}

.mod-icon::after {
  left: 20px;
  top: 5px;
  bottom: 5px;
  border-left: 3px solid var(--warm);
}

.fun-icon::before {
  left: 10px;
  top: 14px;
  width: 26px;
  height: 18px;
  border: 3px solid var(--lime);
  border-radius: 18px;
}

.fun-icon::after {
  left: 16px;
  top: 20px;
  width: 14px;
  border-top: 3px solid var(--warm);
}

.mod-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: start;
}

.mod-section .section-heading {
  display: block;
  margin-bottom: 0;
}

.mod-form {
  display: grid;
  gap: 18px;
}

.mod-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.mod-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(185, 192, 174, 0.3);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  font: inherit;
  padding: 0 12px;
}

.mod-form input[type="file"] {
  padding: 12px;
}

.mod-form input:focus {
  outline: 2px solid rgba(183, 255, 42, 0.5);
  outline-offset: 2px;
  border-color: var(--lime);
}

.form-hint,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-message[data-type="error"] {
  color: #ffce75;
}

.submit-button {
  width: 100%;
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rules-list li {
  min-height: 150px;
  padding: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 36px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--white-line);
  color: var(--muted);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.footer-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-domains span {
  padding: 8px 10px;
  border: 1px solid var(--white-line);
  color: var(--text);
  font-family: "Rajdhani", var(--body);
  font-weight: 700;
}

.site-footer small {
  grid-column: 1 / -1;
  color: var(--muted-2);
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  padding: 40px max(20px, calc((100vw - var(--max)) / 2));
  place-items: center;
  background:
    linear-gradient(104deg, rgba(7, 9, 7, 0.98) 0%, rgba(7, 9, 7, 0.88) 48%, rgba(7, 9, 7, 0.28) 100%),
    url("assets/field-machine.svg") center / cover no-repeat;
}

.thanks-card {
  position: relative;
  width: min(100%, 860px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 228, 20, 0.1), transparent 48%),
    rgba(17, 23, 17, 0.9);
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.thanks-card p:not(.section-kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.thanks-badge {
  position: static;
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  width: fit-content;
  padding: 8px 12px;
  font-size: 1.25rem;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.thanks-badge .status-dot {
  width: 10px;
  height: 10px;
}

@media (max-width: 980px) {
  .site-header,
  .main-nav {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

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

  .hero,
  .section-heading,
  .connection-card,
  .mod-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

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

  .status-badge {
    position: static;
    display: inline-flex;
    min-width: 0;
    min-height: 0;
    width: fit-content;
    padding: 8px 12px;
    font-size: 1.25rem;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  }

  .status-dot {
    width: 10px;
    height: 10px;
  }

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

  .footer-domains {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-stats,
  .feature-grid,
  .rules-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.6rem, 21vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .connection-card,
  .mod-form {
    padding: 22px;
  }
}
