/* ============================================================
   TicketNova — Main Stylesheet
   Tier 1 (Presentation Layer) — CSS3
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --bg:        #050508;
  --surface:   #0e0e18;
  --surface2:  #161625;
  --accent:    #ff3c5f;
  --accent2:   #7b2fff;
  --gold:      #ffd166;
  --teal:      #06d6a0;
  --text:      #f0eeff;
  --muted:     #7a7a99;
  --border:    rgba(255, 255, 255, 0.07);
  --glow:      0 0 40px rgba(255, 60, 95, 0.3);
  --radius:    14px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grid Background ─────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Loader ──────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.4s;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: breathe 1.5s infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  animation: loadprog 1.5s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes loadprog {
  0%   { width: 0%;   margin-left: 0%; }
  50%  { width: 60%;  margin-left: 20%; }
  100% { width: 0%;   margin-left: 100%; }
}

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.3rem;
}

.toast-text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.toast-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── Navbar ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: rgba(255, 60, 95, 0.12);
  top: -100px;
  right: -200px;
}

.orb2 {
  width: 500px;
  height: 500px;
  background: rgba(123, 47, 255, 0.12);
  bottom: -100px;
  left: -200px;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 214, 160, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 60, 95, 0.4);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  background: rgba(255, 60, 95, 0.08);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.95;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin: 24px auto 48px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 60, 95, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}

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

/* ── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 32px 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ── Section Shared ──────────────────────────────────────────── */
.section {
  padding: 100px 48px;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-eyebrow {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.view-all {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.view-all:hover {
  border-bottom-color: var(--accent);
}

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
}

.tab:hover:not(.active) {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Events Grid ─────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.loading-events {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--muted);
}

/* ── Event Card ──────────────────────────────────────────────── */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 60, 95, 0.3);
}

.event-card.featured {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .event-card.featured {
    grid-column: span 1;
  }
}

.card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.event-card.featured .card-img {
  height: 280px;
}

.card-img-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  user-select: none;
  transition: transform 0.5s;
}

.event-card.featured .card-img-emoji {
  font-size: 6rem;
}

.event-card:hover .card-img-emoji {
  transform: scale(1.05);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(5, 5, 8, 0.9) 100%);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-music   { background: rgba(255, 60, 95, 0.9); }
.badge-sports  { background: rgba(6, 214, 160, 0.9); color: #000; }
.badge-theater { background: rgba(255, 209, 102, 0.9); color: #000; }
.badge-tech    { background: rgba(123, 47, 255, 0.9); }
.badge-comedy  { background: rgba(255, 140, 0, 0.9); }
.badge-soldout { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); }

.card-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: var(--gold);
}

.card-body {
  padding: 20px;
}

.card-date {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.card-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.seats-left {
  font-size: 0.78rem;
  color: var(--muted);
}

.seats-left strong {
  color: var(--teal);
}

.book-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.book-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow);
}

.book-btn:disabled {
  background: var(--surface2);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.modal-header-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(14, 14, 24, 1));
}

.modal-header-info {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--accent);
}

.modal-event-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.modal-body {
  padding: 28px;
}

.modal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 12px 0 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Ticket Selection ────────────────────────────────────────── */
.seat-section {
  margin-bottom: 28px;
}

.seat-section-title {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: 'Space Mono', monospace;
}

.ticket-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  transition: border-color 0.2s;
}

.ticket-type:hover {
  border-color: rgba(255, 60, 95, 0.3);
}

.ticket-info h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.ticket-info p {
  font-size: 0.8rem;
  color: var(--muted);
}

.ticket-price {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  color: var(--gold);
  margin: 0 20px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.qty-num {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  min-width: 24px;
  text-align: center;
}

/* ── Order Summary ───────────────────────────────────────────── */
.order-summary {
  background: var(--surface2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.summary-row.total {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.summary-row.total .price {
  color: var(--gold);
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
}

/* ── Form ────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.form-group input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--muted);
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.2s, box-shadow 0.3s;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 60, 95, 0.4);
}

.checkout-btn:disabled {
  background: var(--surface2);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}

/* ── Success Screen ──────────────────────────────────────────── */
.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
}

.success-screen.show {
  display: flex;
  animation: fadeIn 0.5s;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  color: #000;
  box-shadow: 0 0 40px rgba(6, 214, 160, 0.4);
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.success-msg {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 380px;
}

.ticket-id {
  margin: 24px 0;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 3px;
}

/* ── My Tickets ──────────────────────────────────────────────── */
.tickets-section {
  display: none;
  padding: 100px 48px;
  position: relative;
  z-index: 1;
}

.tickets-section.visible {
  display: block;
}

.my-ticket {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: border-color 0.2s;
}

.my-ticket:hover {
  border-color: rgba(255, 60, 95, 0.3);
}

.ticket-stripe {
  width: 6px;
  height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.ticket-emoji {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.ticket-details {
  flex: 1;
  min-width: 200px;
}

.ticket-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ticket-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.ticket-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.ticket-id-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.ticket-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status-confirmed {
  background: rgba(6, 214, 160, 0.15);
  color: var(--teal);
}

.ticket-qr {
  width: 64px;
  height: 64px;
  background: var(--surface2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ── Empty State ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 60px 48px 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(240, 238, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .section,
  .tickets-section {
    padding: 60px 20px;
  }

  .stats-bar {
    gap: 32px;
    padding: 24px 20px;
  }

  .footer-top {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .my-ticket {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}