:root {
  --bg-dark: #0a0d14;
  --panel-bg: #121824;
  --panel-border: rgba(212, 175, 55, 0.2);
  --gold-primary: #d4af37;
  --gold-glow: #f3e5ab;
  --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  /* Ticket Tier Colors matching PDF layout precisely */
  --c-vip: #eab308;        /* $250 VIP Gold */
  --c-firepit: #10b981;    /* $1200 / $200 seat Fire Pits Emerald Green */
  --c-ringside2: #ec4899;   /* $150 Ringside Salmon/Pink */
  --c-hightop: #8b5cf6;    /* $150 High Top Tables Purple/Indigo */
  --c-stool: #f97316;      /* $150 Stools Orange */
  --c-tier3: #38bdf8;      /* $100 Tier 3 Sky Blue */
  --c-tier4: #14b8a6;      /* $75 Tier 4 Teal */
  --c-ga: #a855f7;         /* $60 General Admission Light Purple */
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Banner */
.app-header {
  background: radial-gradient(circle at top center, rgba(212, 175, 55, 0.15) 0%, rgba(10, 13, 20, 0.95) 70%),
              url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18l17 20-17 20zm50 0l17 20-17 20z" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="2"/></svg>');
  border-bottom: 2px solid var(--gold-primary);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.brand-badge {
  display: inline-block;
  background: #000;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.event-title {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.gold-text {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fighter-tag {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Toolbar */
.toolbar-section {
  background: #0e131f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 1rem;
}

.toolbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-group, .export-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-right: 4px;
}

.filter-btn, .export-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover, .export-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: var(--gold-glow);
  font-weight: 800;
}

.supporter-filter-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.supporter-filter-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #fff;
}

/* Layout */
.main-layout {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  flex: 1;
}

@media (max-width: 1100px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Map Card */
.map-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.map-title-badge {
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--gold-primary);
}

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

.svg-wrapper {
  position: relative;
  width: 100%;
  background: #06080d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

#seating-chart {
  width: 100%;
  height: auto;
  display: block;
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  z-index: 100;
  min-width: 200px;
  backdrop-filter: blur(8px);
  transform: translate(-50%, -110%);
  transition: opacity 0.15s ease;
}

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

.tooltip-title {
  font-family: 'Teko', sans-serif;
  font-size: 1.4rem;
  color: var(--gold-primary);
  line-height: 1.1;
}

.tooltip-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.tooltip-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.3;
}

/* Sidebar & Cards */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* Supporter Card */
.supporter-card {
  background: linear-gradient(145deg, #181c28 0%, #111520 100%);
  border: 2px solid var(--gold-primary);
  position: relative;
  overflow: hidden;
}

.highlight-glow {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.supporter-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.supporter-title {
  font-family: 'Teko', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 1px;
}

.supporter-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

/* Shirt Preview Graphic */
.shirt-preview-box {
  background: #07090e;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.shirt-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: center;
}

.shirt-front, .shirt-back {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.skull-crown {
  font-size: 1.2rem;
  line-height: 1;
}

.shirt-brand {
  font-family: 'Teko', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  font-size: 0.5rem;
  color: #94a3b8;
  margin-top: 6px;
}

.gy6-logo {
  color: var(--gold-primary);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.names-list-box {
  margin-top: 4px;
  width: 100%;
}

.names-header {
  font-size: 0.55rem;
  color: #64748b;
  font-weight: 800;
}

.names-sample {
  font-size: 0.5rem;
  color: #cbd5e1;
  line-height: 1.2;
}

.your-name-highlight {
  color: var(--gold-primary);
  font-weight: 800;
  display: block;
  margin-top: 3px;
  font-size: 0.55rem;
}

/* Package Options */
.package-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.pkg-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.featured-pkg {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
}

.pkg-price-tag {
  font-family: 'Teko', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  min-width: 60px;
}

.pkg-info h3 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pkg-info ul {
  list-style: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Buttons */
.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.gold-btn {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}
.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.primary-btn {
  background: #2563eb;
  color: #fff;
}
.primary-btn:hover {
  background: #1d4ed8;
}

/* Legend Card */
.card-title {
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.legend-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.vip-250 { background-color: var(--c-vip); }
.firepit-1200 { background-color: var(--c-firepit); }
.ringside-150 { background-color: var(--c-ringside2); }
.hightop-150 { background-color: var(--c-hightop); }
.stool-150 { background-color: var(--c-stool); }
.tier-100 { background-color: var(--c-tier3); }
.tier-75 { background-color: var(--c-tier4); }
.tier-60 { background-color: var(--c-ga); }

.legend-details {
  flex: 1;
}

.legend-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
}

.legend-price {
  color: var(--gold-primary);
  font-weight: 800;
}

.legend-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Modal & Form Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background: var(--panel-bg);
  border: 2px solid var(--gold-primary);
  border-radius: 14px;
  padding: 1.75rem;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.modal-badge {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 12px;
}

.modal-header h2 {
  font-family: 'Teko', sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  margin-top: 6px;
  color: #fff;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Order Form Styling */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.full-width {
  grid-column: 1 / -1;
}

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

.form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  background: #080b12;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.form-group select option {
  background: #121824;
  color: #fff;
}

/* Supporter Addon Box */
.supporter-addon-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ef4444;
  cursor: pointer;
}

.addon-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: #fca5a5;
  letter-spacing: 0.5px;
}

.addon-desc {
  font-size: 0.76rem;
  color: #cbd5e1;
  margin-top: 4px;
  padding-left: 30px;
  line-height: 1.3;
}

.total-price-box {
  background: #000;
  border: 1px solid var(--gold-primary);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'Teko', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  text-align: center;
}

/* Export Modal */
.export-modal-content {
  max-width: 640px;
  text-align: center;
}

.text-center {
  text-align: center;
}

.export-image-preview-wrapper {
  background: #05070a;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin: 1rem 0;
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.export-image-preview-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}




/* Footer */
.app-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.sub-footer {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 4px;
}

