/* ============================================================
   JERSEY GUESTLIST — FLYER WALL DESIGN SYSTEM
   Palette: late-night purple-black + hot pink + acid lime + cyan glow
   Display: Anton (poster/flyer headline energy)
   Body: Work Sans / Mono: JetBrains Mono (ticket numbers, labels)
   ============================================================ */

:root {
  --night: #0A0612;
  --night-2: #170F22;
  --night-3: #1F1530;
  --hot-pink: #FF2D78;
  --hot-pink-dim: #B81F58;
  --acid-lime: #CBFF3D;
  --cyan: #3DD9FF;
  --paper: #FBF4FF;
  --muted: #A79BC2;
  --muted-dim: #6E6285;
  --border: rgba(251, 244, 255, 0.12);
  --font-display: "Anton", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(255,45,120,0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(61,217,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(203,255,61,0.08) 0%, transparent 40%);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Focus states — always visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--acid-lime);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 6, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.03em;
}

.logo-badge {
  background: var(--hot-pink);
  color: var(--night);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  transform: rotate(-4deg);
}

.logo-sub {
  display: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 400;
}

@media (min-width: 640px) {
  .logo-sub { display: inline; }
}

.nav-cta {
  background: var(--acid-lime);
  color: var(--night);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.nav-cta:hover { transform: scale(1.05) rotate(-1deg); }

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--hot-pink);
  color: var(--paper);
  box-shadow: 0 0 0 rgba(255,45,120,0);
}

.btn-primary:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 8px 24px rgba(255,45,120,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--acid-lime);
  color: var(--acid-lime);
}

.btn-block { width: 100%; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--acid-lime);
  padding: 6px 14px;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.hero-title .accent {
  color: var(--hot-pink);
  -webkit-text-stroke: 2px var(--hot-pink);
  display: block;
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-stat {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat b {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--paper);
  font-weight: 400;
}

/* Marquee ticker */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--night-2);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  margin-top: 8px;
}

.marquee-track {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  will-change: transform;
}

.marquee-set {
  display: flex;
  flex-shrink: 0;
}

.marquee-track span span {
  margin: 0 22px;
}

.marquee-link {
  margin: 0 22px;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
  cursor: pointer;
}

.marquee-link:hover { color: var(--paper); }

.marquee-track .hot { color: var(--hot-pink); }
.marquee-track .lime { color: var(--acid-lime); }
.marquee-track .cyan { color: var(--cyan); }

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */
.section { padding: 56px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 42px);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
}

.section-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-dim);
}

/* ------------------------------------------------------------
   COUNTY TILES (sticker/pin style)
   ------------------------------------------------------------ */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.county-tile {
  background: var(--night-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

a.county-tile:hover {
  transform: translateY(-4px) rotate(-1deg);
  border-color: var(--hot-pink);
}

.county-tile.is-soon {
  opacity: 0.5;
  cursor: default;
}

.county-pin {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--hot-pink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  transform: rotate(-3deg);
}

.county-tile.is-soon .county-pin {
  background: var(--muted-dim);
  color: var(--night);
}

.county-name {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  margin: 14px 0 6px;
  letter-spacing: 0.01em;
}

.county-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.county-badge-soon {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-dim);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* How it works numbered tiles reuse county-tile look but static */
.step-tile {
  background: var(--night-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.step-num {
  font-family: var(--font-mono);
  color: var(--hot-pink);
  font-weight: 700;
  font-size: 13px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  margin: 10px 0 6px;
}

.step-desc {
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   PROMO BAND (Off SZN tie-in)
   ------------------------------------------------------------ */
.promo-band {
  background: linear-gradient(135deg, var(--night-3), var(--night-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.promo-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 12px;
}

.promo-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 440px;
  margin: 0;
}

/* ------------------------------------------------------------
   FLYER CARDS (event listing — tilted, taped)
   ------------------------------------------------------------ */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  padding-top: 6px;
}

.flyer-card {
  background: var(--night-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  position: relative;
  display: block;
  transform: rotate(var(--tilt, -1deg));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.flyer-card:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: var(--hot-pink);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}

.flyer-card:nth-child(3n+1) { --tilt: -1.5deg; }
.flyer-card:nth-child(3n+2) { --tilt: 1deg; }
.flyer-card:nth-child(3n+3) { --tilt: -0.5deg; }

.flyer-tape {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 56px;
  height: 20px;
  background: rgba(251,244,255,0.14);
  border: 1px solid rgba(251,244,255,0.2);
  border-radius: 2px;
}

.stub-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acid-lime);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.stub-title {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.05;
}

.stub-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}

.stub-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.stub-capacity {
  height: 6px;
  background: rgba(251,244,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.stub-capacity-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 999px;
}

.stub-capacity-fill.is-almost { background: var(--hot-pink); }

.stub-capacity-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-dim);
  margin: 0 0 16px;
}

.stub-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 0 0 16px;
}

.stub-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stub-price-amount {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--acid-lime);
}

.stub-price-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-dim);
  text-transform: uppercase;
}

.stub-price-btn {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  background: var(--hot-pink);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.empty-state p { margin-bottom: 18px; }

/* ------------------------------------------------------------
   COUNTY HERO (county landing page banner)
   ------------------------------------------------------------ */
.county-hero {
  padding: 40px 0 20px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dim);
  margin-bottom: 22px;
}

.breadcrumb a:hover { color: var(--hot-pink); }
.breadcrumb span { margin: 0 6px; }

.county-hero-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 64px);
  text-transform: uppercase;
  display: block;
}

.county-hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acid-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   EVENT DETAIL PAGE
   ------------------------------------------------------------ */
.event-detail { padding: 40px 0 80px; }

.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 820px) {
  .event-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

.event-flyer {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  text-transform: uppercase;
  line-height: 1.05;
}

.event-info-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 50px);
  text-transform: uppercase;
  line-height: 1;
  margin: 6px 0 22px;
}

.event-info-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.event-info-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 100px;
  flex-shrink: 0;
  padding-top: 2px;
}

.event-desc {
  color: var(--muted);
  line-height: 1.65;
  margin: 20px 0 28px;
}

.event-buy-box {
  background: var(--night-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.event-buy-price {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--acid-lime);
  margin: 0 0 4px;
}

.event-buy-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 18px;
}

.disclaimer-box {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted-dim);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ------------------------------------------------------------
   FORMS
   ------------------------------------------------------------ */
.form-page { max-width: 620px; }

.pricing-card {
  background: var(--night-2);
  border: 2px solid var(--hot-pink);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  position: relative;
}

.pricing-card h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}

.pricing-card .amt {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--acid-lime);
  margin: 0 0 10px;
  line-height: 1;
}

.pricing-card p { margin: 0; color: var(--paper); font-size: 14.5px; line-height: 1.5; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--night-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--hot-pink);
}

.form-textarea { min-height: 90px; resize: vertical; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23A79BC2' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Native date/time picker icon visible against dark bg */
input[type="date"],
input[type="time"] {
  color-scheme: dark;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-dim);
  letter-spacing: 0.03em;
}

.footer-note a:hover { color: var(--hot-pink); }

/* ------------------------------------------------------------
   TOAST
   ------------------------------------------------------------ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acid-lime);
  color: var(--night);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 100;
  animation: toast-in 0.25s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
