:root {
  --bg: #0b0d12;
  --panel: #131722;
  --panel-2: #1a1f2e;
  --border: #2a3142;
  --text: #f0f3f8;
  --muted: #98a2b3;
  --accent: #ff3d2e;
  --accent-2: #ffb800;
  --green: #2ecc71;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #1a1f2e 0%, #0b0d12 50%, #2a0a05 100%);
  border-bottom: 4px solid var(--accent);
  padding: 40px 24px 28px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,61,46,0.18) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,184,0,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0;
  letter-spacing: 2px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(255,61,46,0.4);
}
.hero-text h1 .year {
  display: inline-block;
  margin-left: 14px;
  color: var(--accent);
  font-size: 0.85em;
}
.hero-text .tagline {
  margin: 8px 0 4px;
  color: var(--accent-2);
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-text .location {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-dates {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.date-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.date-chip .d-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #fff;
}
.date-chip .d-time {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ MAIN ============ */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
  color: #fff;
}
.lede {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 0 28px;
}
.contact-line {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============ PICKER ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 8px 0;
}
.vendor-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vendor-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(255,61,46,0.15);
}
.card-icon { font-size: 2.4rem; }
.vendor-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 1px;
  margin: 4px 0 0;
  color: #fff;
}
.card-price {
  color: var(--accent-2);
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}
.card-desc {
  color: var(--muted);
  margin: 4px 0 8px;
  font-size: 0.95rem;
}
.card-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============ FORMS ============ */
.form-section { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: color 0.15s, border-color 0.15s;
}
.back-btn:hover { color: var(--text); border-color: var(--muted); }
.back-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  margin-top: 12px;
}
.back-btn.primary:hover { background: #e0341f; }

.form-header { margin-bottom: 28px; }
.form-header p { color: var(--muted); margin: 0; }

.vendor-form { display: flex; flex-direction: column; gap: 24px; }

fieldset {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 0;
}
legend {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--accent-2);
  padding: 0 10px;
}

.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.req { color: var(--accent); }
.hint { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s;
  margin-top: 4px;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
textarea { resize: vertical; min-height: 100px; }

input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(255,61,46,0.4);
}

/* radio + checkbox pills */
.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.radio-pill, .check-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}
.radio-pill:hover, .check-pill:hover { border-color: var(--muted); }
.radio-pill input, .check-pill input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.radio-pill:has(input:checked),
.check-pill:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255,61,46,0.1);
}
.check-pill { min-width: 180px; }
.check-pill span strong { color: #fff; }

.check-pill.is-soldout {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--panel-2);
  border-style: dashed;
}
.check-pill.is-soldout:hover { border-color: var(--border); }
.check-pill.is-soldout input { cursor: not-allowed; }
.soldout-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
}
.inline-check input { accent-color: var(--accent); width: 18px; height: 18px; }

/* pricing box */
.pricing-box {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 18px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
}
.pricing-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--accent-2);
}
.pricing-row.total span:last-child { color: #fff; }
.pricing-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

/* terms */
.terms-fs { background: var(--panel-2); }
.terms-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.terms-box p { margin-top: 0; }
.terms-box strong { color: var(--text); }
.terms-box ul { padding-left: 18px; margin: 8px 0; }
.terms-box li { margin-bottom: 6px; }

/* submit */
.submit-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
  max-width: 420px;
}
.submit-btn:hover { background: #e0341f; }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { background: var(--border); cursor: not-allowed; }
.submit-note { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* success */
.success-section { display: flex; justify-content: center; }
.success-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(46,204,113,0.15);
  color: var(--green);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* footer */
footer {
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 4px 0; }

/* ============ MOBILE ============ */
@media (max-width: 720px) {
  .hero { padding: 24px 16px 18px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
  .hero-logo { width: 60px; }
  .hero-text h1 { font-size: 2rem; letter-spacing: 1.5px; }
  .hero-text h1 .year { display: block; margin-left: 0; margin-top: 4px; }
  .hero-text .tagline { font-size: 0.85rem; }
  .hero-text .location { font-size: 0.85rem; }
  .hero-dates { gap: 8px; margin-top: 14px; }
  .date-chip { min-width: 0; flex: 1; padding: 8px 10px; }
  .date-chip .d-day { font-size: 1.05rem; letter-spacing: 0.5px; }
  .date-chip .d-time { font-size: 0.75rem; }

  main { padding: 22px 14px 36px; }
  h2 { font-size: 1.7rem; }
  .lede { font-size: 0.95rem; }
  fieldset { padding: 18px 14px; }
  legend { font-size: 1.05rem; padding: 0 6px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .vendor-card { padding: 22px 18px; }
  .vendor-card h3 { font-size: 1.5rem; }

  /* full-width pills with 44px+ touch targets */
  .radio-group, .checkbox-group { gap: 8px; }
  .radio-pill, .check-pill {
    min-width: 0;
    width: 100%;
    padding: 14px 16px;
    min-height: 48px;
    font-size: 1rem;
  }
  .inline-check { padding: 10px 0; min-height: 44px; align-items: flex-start; }
  .inline-check input { margin-top: 2px; flex-shrink: 0; }

  /* larger back button for thumbs */
  .back-btn { padding: 12px 16px; font-size: 0.95rem; min-height: 44px; }

  .submit-btn { max-width: 100%; padding: 18px 24px; font-size: 1.05rem; }
  .success-card { padding: 32px 20px; }
  .terms-box { max-height: 220px; padding: 14px 16px; font-size: 0.85rem; }
  .pricing-box { padding: 14px; }
  .pricing-row.total { font-size: 1.25rem; }

  /* keep inputs at 16px to prevent iOS auto-zoom on focus */
  input, textarea, select { font-size: 16px !important; }
}

@media (max-width: 380px) {
  .hero-dates { flex-direction: column; }
  .date-chip { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .date-chip .d-time { font-size: 0.8rem; }
  .hero-text h1 { font-size: 1.8rem; }
}
