/* Bambika Tickets — PHP app (aligned with Next.js tailwind theme) */
:root {
  /* Dark, premium ticketing palette */
  --bambika-400: #7dd3fc; /* accent hover (sky) */
  --bambika-500: #38bdf8; /* accent (sky) */
  --night-950: #020617;   /* page base */
  --night-900: #0b1220;   /* surface */
  --night-800: #111a2e;   /* surface alt */
  --stone-100: #f8fafc;   /* main text */
  --stone-300: #e2e8f0;
  --stone-400: #cbd5e1;
  --stone-500: #94a3b8;
  --stone-600: #64748b;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 18px 45px rgba(2, 6, 23, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background:
    radial-gradient(560px 420px at 62% 24%, rgba(34, 197, 94, 0.20), transparent 62%),
    radial-gradient(520px 420px at 52% 36%, rgba(245, 158, 11, 0.20), transparent 62%),
    radial-gradient(780px 520px at 78% 52%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(880px 640px at 18% 12%, rgba(59, 130, 246, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(2, 6, 23, 0.96) 100%);
  color: var(--stone-100);
  -webkit-font-smoothing: antialiased;
}

/* subtle “paper grain” without looking busy */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.18;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-display {
  font-family: var(--font-display);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .site-header__inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding: 0 2rem;
  }
}

.logo-mark {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, var(--bambika-500), #3b82f6);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-img {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  object-fit: cover;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 520px at 65% 18%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(700px 440px at 88% 34%, rgba(59, 130, 246, 0.14), transparent 62%),
    radial-gradient(820px 520px at 12% 10%, rgba(99, 102, 241, 0.10), transparent 60%),
    var(--night-950);
}

.preloader__inner {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  box-shadow: var(--shadow);
}

.preloader__logo {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.preloader__text {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.25rem;
  color: var(--stone-100);
}

.preloader--hide {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--stone-100);
}

@media (min-width: 640px) {
  .logo-text {
    font-size: 1.25rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-400);
}

.nav-desktop a:hover {
  background: rgba(31, 58, 138, 0.08);
  color: var(--bambika-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn--ghost-bambika {
  display: none;
  border: 1px solid rgba(56, 189, 248, 0.30);
  background: rgba(56, 189, 248, 0.10);
  color: var(--stone-100);
}

.btn--ghost-bambika:hover {
  background: rgba(56, 189, 248, 0.14);
}

@media (min-width: 640px) {
  .btn--ghost-bambika {
    display: inline-flex;
  }
}

.btn--white {
  background: rgba(248, 250, 252, 0.95);
  color: #0b1220;
}

.btn--white:hover {
  background: rgba(248, 250, 252, 0.85);
}

.btn--outline {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.30);
  background: transparent;
  color: var(--stone-100);
}

.btn--outline:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(148, 163, 184, 0.08);
}

@media (min-width: 640px) {
  .btn--outline {
    display: inline-flex;
  }
}

.nav-mobile {
  display: flex;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile a {
  white-space: nowrap;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--stone-500);
}

.nav-mobile a:hover {
  color: var(--bambika-500);
}

.nav-mobile a.nav-mobile--accent {
  font-weight: 600;
  color: var(--bambika-500);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.35);
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__inner {
    padding: 3rem 2rem;
  }
}

.site-footer__row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.site-footer__links a {
  color: var(--stone-400);
}

.site-footer__links a:hover {
  color: var(--bambika-500);
}

.site-footer__copy {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--stone-500);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 3.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 3.5rem 2rem;
  }
}

.container--narrow {
  max-width: 48rem;
}

.container--form {
  max-width: 28rem;
}

h1.font-display {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--stone-100);
}

@media (min-width: 640px) {
  h1.font-display {
    font-size: 2.25rem;
  }
}

.text-muted {
  color: var(--stone-400);
}

.text-small-muted {
  font-size: 0.875rem;
  color: var(--stone-500);
}

.link-accent {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bambika-500);
}

.link-accent:hover {
  color: var(--bambika-400);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 52% -20%, rgba(56, 189, 248, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 130, 246, 0.16), transparent);
}

.hero__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero__inner {
    padding: 7rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    padding: 7rem 2rem;
  }
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bambika-500);
}

.hero h1 {
  margin: 1rem auto 0;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--stone-100);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero__lead {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--stone-400);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn--primary-lg {
  border-radius: 0.75rem;
  background: var(--bambika-500);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary-lg:hover {
  background: var(--bambika-400);
}

.btn--secondary-lg {
  border-radius: 0.75rem;
  border: 1px solid rgba(31, 58, 138, 0.35);
  background: rgba(148, 163, 184, 0.08);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-100);
}

.btn--secondary-lg:hover {
  border-color: rgba(31, 58, 138, 0.55);
  background: rgba(148, 163, 184, 0.12);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stone-100);
  text-align: center;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.40);
  padding: 1.5rem;
  box-shadow: 0 1px 0 rgba(248, 250, 252, 0.04);
}

.feature-card:hover {
  border-color: rgba(31, 58, 138, 0.22);
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bambika-500);
}

.feature-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--stone-400);
}

.section-band {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.20);
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stone-100);
}

@media (min-width: 640px) {
  .section-head h2 {
    font-size: 1.875rem;
  }
}

.section-head p {
  margin: 0.25rem 0 0;
  color: var(--stone-500);
  font-size: 0.875rem;
}

.grid-events {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-events--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-events--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.42);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.event-card:hover {
  border-color: rgba(31, 58, 138, 0.25);
  box-shadow: var(--shadow);
}

.event-card a {
  display: block;
  color: inherit;
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.event-card__media.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.14), transparent);
  pointer-events: none;
}

.event-card__media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  z-index: 1;
}

.event-card__date {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
}

.event-card__body {
  padding: 1rem;
}

.event-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.event-card:hover .event-card__body h3 {
  color: #f4b4ac;
}

.event-card__body .venue {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--stone-400);
}

.event-card__price {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bambika-400);
}

/* Event image hints */
.grad-jazz {
  background: linear-gradient(to bottom right, rgba(124, 58, 237, 0.4), rgba(192, 38, 211, 0.3));
}
.grad-festival {
  background: linear-gradient(to bottom right, rgba(217, 119, 6, 0.4), rgba(234, 88, 12, 0.3));
}
.grad-tech {
  background: linear-gradient(to bottom right, rgba(8, 145, 178, 0.4), rgba(37, 99, 235, 0.3));
}
.grad-acoustic {
  background: linear-gradient(to bottom right, rgba(225, 29, 72, 0.4), rgba(224, 93, 77, 0.3));
}
.grad-theatre {
  background: linear-gradient(to bottom right, rgba(5, 150, 105, 0.4), rgba(13, 148, 136, 0.3));
}
.grad-run {
  background: linear-gradient(to bottom right, rgba(14, 165, 233, 0.4), rgba(79, 70, 229, 0.3));
}
.grad-default {
  background: linear-gradient(to bottom right, rgba(87, 83, 78, 0.4), rgba(68, 64, 60, 0.4));
}

/* Contribution hints */
.grad-contrib-code {
  background: linear-gradient(to bottom right, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.3));
}
.grad-contrib-water {
  background: linear-gradient(to bottom right, rgba(14, 165, 233, 0.4), rgba(6, 182, 212, 0.3));
}
.grad-contrib-default {
  background: linear-gradient(to bottom right, rgba(142, 44, 34, 0.4), rgba(64, 18, 15, 0.4));
}

.contrib-card .event-card__media {
  aspect-ratio: 16 / 9;
}

.contrib-card .event-card__media-inner {
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.contrib-card .runs {
  font-size: 0.75rem;
  color: var(--stone-400);
}

.progress {
  margin-top: 1rem;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--night-800);
}

.progress__bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--bambika-500), #ec8679);
}

.contrib-meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--stone-400);
}

.faq-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-list li {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--night-800);
  background: rgba(28, 25, 23, 0.5);
  padding: 1.5rem;
}

.faq-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #f9d5d1;
}

.faq-list p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--stone-400);
}

.callout {
  margin-top: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.40);
  padding: 1.5rem;
}

.success {
  border-color: #0f766e;
  background: rgba(6, 78, 59, 0.25);
  color: #ccfbf1;
}

.error {
  border-color: #8e2c22;
  background: rgba(64, 18, 15, 0.5);
  color: #f9d5d1;
}

.hero-image {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.35);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.tiers {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.40);
  padding: 1rem;
}

.admin-hero {
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 55%, rgba(45, 212, 191, 0.14), transparent),
    linear-gradient(to bottom right, rgba(2, 6, 23, 0.60), rgba(2, 6, 23, 0.25));
  padding: 1.5rem;
}

.admin-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
}

.admin-hero__sub {
  margin: 0.5rem 0 0;
  color: var(--stone-400);
}

.stat-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.40);
  padding: 1rem;
}

.stat-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-500);
}

.stat-card__value {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(87, 83, 78, 0.7);
  background: rgba(28, 25, 23, 0.6);
  color: #e7e5e4;
}

.badge--pending {
  border-color: rgba(217, 119, 6, 0.6);
  background: rgba(120, 53, 15, 0.25);
  color: #fde68a;
}

.badge--approved {
  border-color: rgba(15, 118, 110, 0.6);
  background: rgba(6, 78, 59, 0.18);
  color: #ccfbf1;
}

.badge--rejected {
  border-color: rgba(142, 44, 34, 0.75);
  background: rgba(64, 18, 15, 0.35);
  color: #f9d5d1;
}

.table-wrap {
  margin-top: 1rem;
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.75);
  background: rgba(12, 10, 9, 0.25);
}

table.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 48rem;
}

table.table th,
table.table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(41, 37, 36, 0.65);
  vertical-align: top;
}

table.table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-500);
  background: rgba(28, 25, 23, 0.4);
  position: sticky;
  top: 0;
  z-index: 1;
}

table.table td {
  color: #e7e5e4;
  font-size: 0.875rem;
}

.qr-reader {
  width: 100%;
  max-width: 560px;
}

.btn--sm {
  padding: 0.4rem 0.6rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
}

.btn--danger {
  border: 1px solid rgba(142, 44, 34, 0.7);
  background: rgba(64, 18, 15, 0.45);
  color: #f9d5d1;
}

.btn--danger:hover {
  background: rgba(64, 18, 15, 0.6);
}

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

@media (min-width: 640px) {
  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ticket-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ticket-card {
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.75);
  background: rgba(12, 10, 9, 0.25);
  padding: 1rem;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: center;
}

.ticket-card__qr {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
}

.ticket-card__meta {
  min-width: 0;
}

.ticket-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.ticket-card__code {
  margin-top: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  word-break: break-word;
}

.ticket-card__sub {
  margin-top: 0.5rem;
  color: var(--stone-400);
  font-size: 0.875rem;
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header,
  .site-footer,
  .nav-mobile {
    display: none !important;
  }
  .print-hide {
    display: none !important;
  }
  .ticket-card {
    background: #fff;
    border: 1px solid #ddd;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .ticket-card__title {
    color: #000;
  }
  .ticket-card__sub {
    color: #333;
  }
  .container {
    max-width: none;
    padding: 1rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 720px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .header-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .section-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .admin-hero {
    padding: 1rem;
  }

  .admin-hero__title {
    font-size: 1.5rem;
  }

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

  table.table {
    min-width: 44rem;
  }

  .ticket-card {
    grid-template-columns: 1fr;
  }

  .ticket-card__qr {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.exec-ticket {
  border-radius: 1.25rem;
  border: 1px solid rgba(41, 37, 36, 0.8);
  background:
    radial-gradient(ellipse 80% 50% at 40% -20%, rgba(224, 93, 77, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 110% 40%, rgba(124, 58, 237, 0.18), transparent),
    linear-gradient(to bottom right, rgba(28, 25, 23, 0.85), rgba(12, 10, 9, 0.85));
  padding: 1.25rem;
}

.exec-ticket__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.exec-ticket__brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone-500);
}

.exec-ticket__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 650;
  color: #fff;
}

.exec-ticket__sub {
  margin-top: 0.35rem;
  color: var(--stone-400);
}

.exec-ticket__body {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .exec-ticket__body {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.exec-ticket__qr {
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.75);
  background: rgba(12, 10, 9, 0.35);
  padding: 1rem;
  text-align: center;
}

.exec-ticket__qr #qrcode {
  display: inline-block;
  background: #fff;
  padding: 0.75rem;
  border-radius: 0.85rem;
}

.exec-ticket__code {
  margin-top: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  word-break: break-word;
}

.exec-ticket__hint {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--stone-400);
}

.exec-ticket__meta {
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.75);
  background: rgba(12, 10, 9, 0.25);
  padding: 1rem;
}

.exec-kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(41, 37, 36, 0.65);
}

.exec-kv:first-child {
  border-top: none;
  padding-top: 0;
}

.exec-kv__k {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-500);
}

.exec-kv__v {
  font-weight: 650;
  color: #fff;
}

.exec-ticket__fine {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--stone-500);
}

@media print {
  .exec-ticket {
    background: #fff;
    border: 1px solid #ddd;
  }
  .exec-ticket__title,
  .exec-kv__v,
  .exec-ticket__code {
    color: #000;
  }
  .exec-ticket__sub,
  .exec-ticket__hint,
  .exec-ticket__fine,
  .exec-kv__k {
    color: #333;
  }
  .exec-ticket__qr,
  .exec-ticket__meta {
    background: #fff;
    border: 1px solid #ddd;
  }
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.5rem;
  border-top: 1px solid rgba(41, 37, 36, 0.6);
}

.tier-row:first-child {
  border-top: none;
}

.tier-name {
  font-weight: 600;
  color: #fff;
}

.tier-price {
  font-weight: 600;
  color: var(--bambika-400);
}

.input {
  margin-top: 0.25rem;
  width: 100%;
  max-width: 20rem;
  border-radius: 0.75rem;
  border: 1px solid #44403c;
  background: var(--night-950);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.input:focus {
  outline: none;
  border-color: var(--bambika-500);
  box-shadow: 0 0 0 1px var(--bambika-500);
}

label {
  font-size: 0.875rem;
  color: var(--stone-300);
}

.form-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.db-error {
  max-width: 40rem;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #8e2c22;
  background: rgba(64, 18, 15, 0.5);
  color: #f9d5d1;
  font-size: 0.875rem;
}

.db-error code {
  font-size: 0.8rem;
  color: #fce8e6;
}
