:root {
  --black: #000;
  --panel: #150508;
  --line: #3a0d14;
  --red: #e0112b;
  --red-deep: #9b0a1e;
  --red-soft: #ff4a5e;
  --text: #f6e9eb;
  --muted: #b99aa0;

  --display: "Syne", "Arial Black", Impact, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

:focus-visible {
  outline: 3px solid var(--red-soft);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--red);
}

.age {
  border: 2px solid var(--red);
  border-radius: 999px;
  padding: 0.15rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-soft);
}

/* ---------- Hero ---------- */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.hero {
  padding: 4.5rem 0 4rem;
  border-left: 10px solid var(--red);
  padding-left: 1.5rem;
  margin: 3rem 0 3.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 11ch;
}

.hero p {
  margin: 1.5rem 0 2rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  padding: 0.95rem 2rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--red-soft); }
.btn:active { transform: translateY(1px); }

/* ---------- Form blocks ---------- */
.order { display: grid; gap: 1.5rem; }

.block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
}

.block legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0 0.6rem;
  margin-left: -0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.num {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
}

/* ---------- Packs ---------- */
.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.pack input,
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pack { position: relative; cursor: pointer; }

.pack-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 9rem;
  padding: 1.1rem;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--black);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pack-name { font-weight: 700; font-size: 1.05rem; }

.pack-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-soft);
}

.pack:hover .pack-card { border-color: var(--red-deep); }

.pack input:checked + .pack-card {
  border-color: var(--red);
  background: var(--red);
}

.pack input:checked + .pack-card .pack-price { color: #fff; }

.pack input:focus-visible + .pack-card {
  outline: 3px solid var(--red-soft);
  outline-offset: 3px;
}

/* ---------- Option choices ---------- */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.choice { position: relative; cursor: pointer; }

.choice span {
  display: block;
  padding: 0.7rem 1.2rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice:hover span { border-color: var(--red-deep); }

.choice input:checked + span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 700;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--red-soft);
  outline-offset: 3px;
}

/* ---------- ID field + warning ---------- */
.warning {
  margin: 0.75rem 0 1rem;
  padding: 0.8rem 1rem;
  background: rgba(224, 17, 43, 0.12);
  border-left: 5px solid var(--red);
  border-radius: 3px;
  font-size: 0.95rem;
}

.warning strong { color: var(--red-soft); }

.text {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--black);
  border: 2px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
}

.text::placeholder { color: #6f565b; }

.text:focus {
  outline: none;
  border-color: var(--red);
}

/* ---------- File upload ---------- */
.file-text {
  margin: 0.75rem 0 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--red-soft);
}

.file {
  width: 100%;
  padding: 0.8rem;
  background: var(--black);
  border: 2px dashed var(--red-deep);
  border-radius: 4px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.file::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 3px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Pay ---------- */
.pay {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
  padding: 1.5rem;
  background: var(--red-deep);
  border-radius: 6px;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.1rem;
}

.total strong {
  font-family: var(--display);
  font-size: 2.4rem;
}

.btn-pay {
  width: 100%;
  background: #fff;
  color: var(--red-deep);
  font-size: 1.2rem;
  padding: 1.1rem;
}

.btn-pay:hover { background: var(--black); color: #fff; }

.fine {
  text-align: center;
  font-size: 0.85rem;
  color: #f2c4ca;
}

/* ---------- Footer ---------- */
footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .packs { grid-template-columns: 1fr; }
  .pack-card { min-height: 0; flex-direction: row; align-items: center; }
  .hero { padding: 2.5rem 0 2.5rem 1.1rem; border-left-width: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

.btn:disabled { opacity: 0.6; cursor: wait; }
