:root {
  color-scheme: dark;
  --bg: #090b0c;
  --panel: #111719;
  --panel-2: #182224;
  --line: rgba(255, 255, 255, .12);
  --text: #f2f4ec;
  --muted: #a8b0a7;
  --accent: #a6e33f;
  --accent-2: #29b7ff;
  --danger: #ff6f5e;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(9, 11, 12, .74), var(--bg) 42%),
    url("1/assets/screenshots/minions_ingame_jayisgames.jpg") center top / cover fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

button,
input {
  font: inherit;
}

.noscript,
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(520px, 100%);
  padding: 34px;
  background: rgba(13, 18, 20, .92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-panel h1 {
  margin: 10px 0 14px;
  max-width: 840px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .98;
}

.hero h1 {
  margin: 10px 0 14px;
  max-width: 680px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.04;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.locked-note,
.form-error {
  color: var(--danger);
}

.login-form {
  margin-top: 28px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.password-row {
  display: flex;
  gap: 10px;
}

.password-row input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 14px;
  color: var(--text);
  background: #070a0b;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.password-row button,
.primary-button,
.secondary-button,
.button-link,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.password-row button,
.primary-button,
.button-link {
  background: var(--accent);
  color: #111;
}

.secondary-button,
.ghost-button {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line);
  color: var(--text);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(7, 10, 11, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}

.topbar nav {
  display: flex;
  gap: 6px;
}

.topbar nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.topbar nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.hero,
.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 24px;
  min-height: 0;
  align-items: start;
  padding: 56px 0 34px;
}

.hero-copy,
.milestone,
.build-card,
.split {
  background: rgba(13, 18, 20, .88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(24px, 4vw, 42px);
}

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

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
}

.progress-summary {
  width: min(330px, 100%);
  padding: 14px 16px;
  background: rgba(13, 18, 20, .78);
  border: 1px solid var(--line);
}

.milestone-list,
.build-grid {
  display: grid;
  gap: 14px;
}

.milestone {
  padding: 22px;
}

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

.milestone h3,
.build-card h3 {
  margin: 6px 0 0;
  font-size: 20px;
}

.price {
  text-align: right;
}

.price strong {
  display: block;
  font-size: 18px;
}

.price span {
  color: var(--muted);
  font-size: 12px;
}

.progress-meter {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-label strong {
  color: var(--text);
  font-size: 13px;
}

.progress-bar {
  height: 9px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  box-shadow: 0 0 16px rgba(166, 227, 63, .35);
}

.milestone ul,
.criteria-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.build-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.build-card {
  overflow: hidden;
}

.build-thumb {
  display: flex;
  align-items: end;
  min-height: 148px;
  padding: 16px;
  background: #202829 center / cover;
}

.build-1 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)), url("1/assets/screenshots/minions_title_jayisgames.jpg"); }
.build-2,
.build-3 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)), url("2/assets/original/source_ingame_reference.jpg"); }
.build-4,
.build-5 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)), url("5/assets/swf/title.png"); }

.build-thumb span {
  padding: 6px 9px;
  background: rgba(0, 0, 0, .68);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.build-body {
  padding: 18px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-head p,
.card-head span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.build-body > p {
  min-height: 78px;
  color: var(--muted);
  line-height: 1.5;
}

.button-link {
  width: 100%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  padding: 28px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .topbar nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .split,
  .milestone-top {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 26px;
  }

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

  .price {
    text-align: left;
  }

  .password-row,
  .footer {
    flex-direction: column;
  }
}
