:root {
  --bg-1: #0f1415;
  --bg-2: #172126;
  --ink: #dfe7dc;
  --muted: #a3b0a6;
  --brand: #a7d129;
  --brand-ink: #12220e;
  --panel: #1b2326;
  --panel-dark: #13191b;
  --border: #2a3439;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 15% 15%, #2d4344 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, #21402a 0%, transparent 38%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--ink);
  font-family: "Trebuchet MS", "Verdana", sans-serif;
}

.landing {
  width: min(1160px, 94vw);
  margin: 1.6rem auto 2rem;
  display: grid;
  gap: 1rem;
}

.hero {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(36, 51, 55, 0.92) 0%, rgba(20, 28, 31, 0.96) 100%);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.33);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.subhead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.status {
  margin: 0.7rem 0 0;
  color: #c3d0c6;
  font-size: 0.88rem;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #1f2a2e 0%, #151c1f 100%);
  padding: 0.9rem;
  display: grid;
  gap: 0.56rem;
  align-content: start;
}

.card.dark {
  background: linear-gradient(180deg, #181d1f 0%, #101416 100%);
}

h2 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: #c4d0c4;
  font-size: 0.88rem;
}

.inline-row,
.field-row,
.plan-row {
  display: grid;
  gap: 0.45rem;
}

.inline-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

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

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

input,
button,
#open-play-link {
  min-width: 0;
  border-radius: 10px;
  border: 1px solid #2a353a;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
}

input {
  background: #0f1416;
  color: #d8e0d4;
  padding: 0.52rem 0.6rem;
  text-transform: uppercase;
}

input[type="email"] {
  text-transform: none;
}

input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

button,
#open-play-link {
  cursor: pointer;
  padding: 0.52rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #dbe1d5;
  background: linear-gradient(180deg, #222d32 0%, #171f23 100%);
}

button:hover,
#open-play-link:hover {
  filter: brightness(1.1);
}

#play-now-btn,
#join-code-btn,
#smoke-signup-btn,
.plan-btn.active {
  color: var(--brand-ink);
  background: linear-gradient(180deg, #c6e458 0%, var(--brand) 100%);
  border-color: #76971a;
  font-weight: 700;
}

.note {
  font-size: 0.78rem;
  color: #c1cdc1;
}

#open-play-link {
  text-decoration: none;
  text-align: center;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-actions,
  .field-row,
  .inline-row {
    grid-template-columns: 1fr;
  }

  .landing {
    margin: 0.9rem auto 1.2rem;
    gap: 0.7rem;
  }

  h1 {
    font-size: 1.32rem;
  }

  .status,
  p,
  ul,
  .note,
  input,
  button,
  #open-play-link {
    font-size: 0.76rem;
  }
}
