* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #0b0f19;
  --bg-soft: #111827;
  --panel: rgba(17, 24, 39, 0.85);
  --panel-strong: #1f293d;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #fbbf24;
  --accent-2: #f59e0b;
  --accent-3: #d97706;
  --accent-soft: rgba(251, 191, 36, 0.15);
  --btn-bg: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --btn-text: #0b0f19;
  --success: #34d399;
  --danger: #f87171;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.15), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(30, 58, 138, 0.25), transparent 45%),
    linear-gradient(135deg, #0b0f19 0%, #111827 50%, #070a12 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy,
.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -12% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.hero-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.hero-text {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.price-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.price-rail div {
  padding: 14px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-rail span,
.price-rail strong {
  display: block;
}

.price-rail span {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-rail strong {
  font-size: 1.3rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
}

.hero-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.18);
}

.hero-total {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-total span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-total strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
}

.hero-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.payment-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-panel {
  margin-top: 10px;
}

.ticket-form {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
}

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

.form-card h2 {
  margin: 0 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  letter-spacing: -0.04em;
  color: #ffffff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.subtotal-pill {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

.subtotal-pill span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}

.subtotal-pill strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span,
.toggle-field strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f3f4f6;
}

.field small,
.toggle-field small {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.8);
  color: #f3f4f6;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input::placeholder {
  color: #6b7280;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
  transform: translateY(-1px);
}

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

.ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ticket-item {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.85));
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ticket-name {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.ticket-price {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.ticket-total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
}

.qty-control {
  display: grid;
  grid-template-columns: 44px minmax(72px, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

.qty-control button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.qty-control button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.3);
}

.qty-control button[data-action="decrease"] {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.qty-control button[data-action="decrease"]:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.qty-control input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.toggle-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-field input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.toggle-field span {
  display: block;
}

.upload-field {
  margin-top: 16px;
}

.upload-field input {
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.8);
}

.upload-field.is-hidden {
  display: none;
}

.payment-card {
  overflow: hidden;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.qr-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-box img,
.qr-box canvas {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.qr-caption {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.summary-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--text);
}

.summary-total {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-total strong {
  font-size: 1.7rem;
  color: var(--accent);
}

.payment-details {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-details p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.payment-details p + p {
  margin-top: 10px;
}

.final-note {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.submit-btn {
  appearance: none;
  border: none;
  border-radius: 20px;
  padding: 18px 26px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(245, 158, 11, 0.45);
}

.submit-btn:disabled,
.submit-btn.is-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  filter: grayscale(0.5) !important;
}

.submit-btn.is-incomplete {
  opacity: 0.65;
  filter: saturate(0.7);
}

.submit-btn.is-incomplete:hover {
  opacity: 0.8;
  filter: saturate(0.85);
}

.submit-btn.is-confirming {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.5) !important;
  animation: pulseRed 1.2s infinite ease-in-out;
  opacity: 1 !important;
  filter: none !important;
}

.submit-btn.is-confirming:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  box-shadow: 0 22px 48px rgba(220, 38, 38, 0.65) !important;
}

.submit-btn:active {
  transform: translateY(0);
}

.backup-log-bar {
  margin-top: 16px;
  text-align: center;
}

.download-log-btn {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.download-log-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.status-banner {
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.status-banner.is-hidden {
  display: none;
}

.status-banner.info {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-banner.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-banner.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.config-toggle {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
}

.config-card {
  margin-top: 14px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.config-card p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Production QR Code & Delivery Notice Styles */
.qr-image-wrapper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.payment-qr-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: contain;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-qr-img:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.tap-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Fullscreen QR Modal */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.qr-modal.is-hidden {
  display: none;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.qr-modal-content {
  position: relative;
  z-index: 2;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 26px;
  max-width: min(92vw, 520px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
  animation: popUp 0.25s ease;
}

.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.qr-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.qr-modal-amount-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 10px 20px;
  border-radius: 999px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.qr-modal-amount-pill span {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.qr-modal-amount-pill strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  color: var(--accent);
}

.qr-modal-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  margin-top: 10px;
}

.qr-modal-caption {
  margin: 16px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Delivery Information Card Styles */
.delivery-notice-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.notice-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.notice-text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
}

.notice-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #f3f4f6;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.notice-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.notice-label {
  font-weight: 600;
  color: var(--muted);
  min-width: 140px;
  flex-shrink: 0;
}

.email-highlight {
  color: var(--accent);
  background: rgba(251, 191, 36, 0.18);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  word-break: break-all;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.payment-instruction {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: var(--muted);
}

.required-star {
  color: #f87171;
  font-weight: 700;
  display: inline;
  white-space: nowrap;
}

.confirmation-field {
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.confirmation-field:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.12);
}

.unaccomplished-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 20px;
  animation: fadeIn 0.25s ease;
}

.unaccomplished-box.is-hidden {
  display: none;
}

.unaccomplished-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #f87171;
  font-size: 0.95rem;
  font-weight: 700;
}

.unaccomplished-list {
  margin: 0;
  padding-left: 24px;
  color: #fca5a5;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.unaccomplished-list li {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.unaccomplished-list li:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: translateX(2px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

@keyframes popUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .hero-panel,
  .payment-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding: 16px 0 28px;
  }

  .hero-copy,
  .hero-card,
  .card {
    border-radius: 22px;
  }

  .hero-copy,
  .card,
  .hero-card {
    padding: 20px;
  }

  .price-rail,
  .field-grid,
  .ticket-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
  }

  .subtotal-pill {
    width: 100%;
    text-align: left;
  }

  .notice-list li {
    flex-direction: column;
    gap: 4px;
  }
  .notice-label {
    min-width: 0;
  }
}
