:root {
  color-scheme: dark;
  --bg: #090d10;
  --panel: #12181e;
  --panel-2: #182027;
  --line: rgba(255,255,255,.14);
  --text: #f7f8f2;
  --muted: #b8c0bb;
  --yellow: #ffd21f;
  --red: #ff3038;
  --green: #7df0a0;
  --paper: #f4efe5;
  --paper-ink: #17120e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
}
.brand {
  color: var(--text);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: .9;
  text-transform: uppercase;
  text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.nav a, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 15px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}
.btn-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(255,48,56,.2);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px 0 36px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kicker {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: .9;
  text-transform: uppercase;
}
h1 { font-size: clamp(4rem, 9vw, 8.7rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
h3 { font-size: 2rem; }
p { color: var(--muted); line-height: 1.58; }
.hero-copy p:not(.kicker) { max-width: 690px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-img {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.5)), url("bungee-sky-jump.jpeg") center / cover;
}
.notice {
  border: 1px solid rgba(255,210,31,.35);
  border-radius: 8px;
  background: rgba(255,210,31,.08);
  color: var(--text);
  padding: 16px;
  margin-bottom: 24px;
}
code { color: var(--yellow); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
  margin: 16px 0 32px;
}
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-body {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 20px;
}
.product-type {
  color: var(--yellow);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card h2 {
  margin-top: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.15;
  text-transform: none;
}
.card p { font-size: 1rem; }
.price {
  margin-top: auto;
  color: var(--yellow);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: .9;
}
.tax-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.qty {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.qty button, .qty input {
  height: 46px;
  border: 0;
  background: #0e151b;
  color: var(--text);
  text-align: center;
  font-weight: 900;
}
.qty button {
  cursor: pointer;
  color: var(--yellow);
  font-size: 1.35rem;
}
.qty input { border-inline: 1px solid var(--line); }
.summary, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(18px, 4vw, 30px);
  margin-bottom: 34px;
}
.summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.row-actions {
  display: grid;
  gap: 8px;
}
.mini-btn {
  min-height: 36px;
  padding: 0 10px;
  font-size: .82rem;
}
.total {
  display: grid;
  gap: 4px;
  color: var(--yellow);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  white-space: nowrap;
}
.total small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-align: right;
}
.form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0d1318;
  color: var(--text);
  padding: 13px 12px;
}
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 14px;
  line-height: 1.45;
}
.check input { width: 20px; height: 20px; margin-top: 2px; }
.check a { color: var(--yellow); }
.checkout-btn { width: 100%; margin-top: 18px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 50px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10161b;
  padding: 22px;
}
.step strong {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}
.step h3 { margin-top: 18px; }
.narrow { max-width: 760px; }
.login-panel {
  margin-top: min(14vh, 120px);
}
.login-form {
  grid-template-columns: 1fr;
  margin-top: 22px;
}
.voucher-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.voucher-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0e151b;
  padding: 14px;
}
.voucher-list strong {
  color: var(--yellow);
  font-size: 1.2rem;
}
.voucher-list span { display: block; color: var(--muted); margin-top: 4px; }
.admin-lead { max-width: 680px; margin-bottom: 0; }
.voucher-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.voucher-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}
.voucher-admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f151a;
  padding: 22px;
}
.voucher-admin-card.is-redeemed {
  opacity: .72;
}
.voucher-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.voucher-state {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.state-active { background: rgba(125,240,160,.12); color: var(--green); }
.state-redeemed { background: rgba(255,255,255,.08); color: var(--muted); }
.voucher-code-big {
  color: var(--yellow);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: .9;
  overflow-wrap: anywhere;
}
.voucher-note {
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
}
.voucher-admin-card h2 {
  margin-top: 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
  text-transform: none;
}
.voucher-meta {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}
.voucher-meta div {
  display: grid;
  gap: 3px;
}
.voucher-meta dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.voucher-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 980px; }
.table th, .table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.table th { color: var(--yellow); font-size: .78rem; text-transform: uppercase; }
.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
}
.ok { color: var(--green); }
.bad { color: #ff8a90; }
.muted, small { color: var(--muted); }
.legal {
  max-width: 900px;
  background: var(--paper);
  color: var(--paper-ink);
}
.legal .kicker { color: #b51616; }
.legal p, .legal li { color: rgba(23,18,14,.76); }
.legal h1, .legal h2 { color: var(--paper-ink); }
.legal h2 { margin-top: 30px; font-size: 2.2rem; }
.legal a { color: #b51616; font-weight: 900; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--muted);
}
.footer div { display: grid; gap: 6px; }
.footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top, .summary-head, .footer { align-items: stretch; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .grid, .form, .steps { grid-template-columns: 1fr; }
  .voucher-search { grid-template-columns: 1fr; }
  .total small { text-align: left; }
  .hero-img { min-height: 300px; }
  .card-body { min-height: auto; }
  h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
}
