/* ─── Variables ─────────────────────────────────────────────-────── */
:root {
  /* --bg: #0253d1;
  --surface: #2e74df;
  --surface-2: #7e27a9;
  --surface-3: #a74cd4;
  --border: rgba(255, 255, 255, 0.2);
  --border-bright: rgba(255, 255, 255, 0.4);
  --accent: #bef521;
  --accent-dim: rgba(190, 245, 33, 0.2);
  --accent-glow: rgba(190, 245, 33, 0.5);
  --red: #f00281;
  --green: #eeff66;
  --orange: #ff7d22;
  --text: #ffffff;
  --text-muted: #eeff66;
  --text-dim: #fd66c4;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-lg: 24px; */
  --bg: #FFFFFF;
  --surface: #F8FAF2;
  --surface-2: #FFFFFF;
  --surface-3: #5D6848;
  --border: #96B431;
  --border-bright: rgba(255, 255, 255, 0.4);
  --accent: #C67C66;
  --accent-dim: rgba(190, 245, 33, 0.2);
  --accent-glow rgba(190, 245, 33, 0.5): rgba(190, 245, 33, 0.5);
  --red: #f00281;
  --green: #eeff66;
  --orange: #ff7d22;
  --text: #2F3A18;
  --text-muted: #5D6863;
  --text-dim: #fd66c4;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  /* background: linear-gradient(rgba(8, 10, 14, 0.85), rgba(8, 10, 14, 0.85)), url(newLogo.jpeg) no-repeat center center fixed; */
  background-color: #96b431;

  background-size: cover;
  color: #FFF8FB;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}



/* ─── Background ─────────────────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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;
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: var(--glow-color, rgba(232, 255, 71, 0.06));
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -100px;
  background: rgba(100, 150, 255, 0.05);
}

.bg-glow-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 40%;
  background: rgba(255, 100, 200, 0.04);
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(190, 245, 33, 0.15);
  /* #bef521 */
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -100px;
  background: rgba(253, 102, 196, 0.12);
  /* #fd66c4 */
}

.bg-glow-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 40%;
  background: rgba(247, 101, 0, 0.12);
  /* #f76500 */
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  z-index: 0;
  animation: floatAnim 10s infinite alternate ease-in-out;
  opacity: 0.6;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.shape-1 {
  width: 150px;
  height: 150px;
  background: #f76500;
  top: 10%;
  left: 5%;
  animation-duration: 12s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #fd66c4;
  top: 60%;
  right: 10%;
  animation-duration: 15s;
  animation-direction: alternate-reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: #bef521;
  bottom: 20%;
  left: 15%;
  animation-duration: 9s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: #7e27a9;
  top: 30%;
  right: 25%;
  animation-duration: 18s;
  opacity: 0.4;
}

.shape-5 {
  width: 120px;
  height: 120px;
  background: #a74cd4;
  top: 70%;
  left: 35%;
  animation-duration: 14s;
}

.shape-6 {
  width: 180px;
  height: 180px;
  background: #eeff66;
  top: 5%;
  right: 40%;
  animation-duration: 11s;
}

@keyframes floatAnim {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -40px) scale(1.1);
  }

  100% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}



/* ─── Header ──────────────────────────────────────────────────────── */


@media (max-width: 768px) {
  #desktop-nav {
    display: none !important;
  }

  #mobile-menu-toggle {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  #mobile-menu {
    display: none !important;
  }
}

/* Hamburger → X animation */
#mobile-menu-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#mobile-menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#mobile-menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  /* backdrop-filter: blur(16px); */
  border-bottom: 1px solid var(--border);
}

.header-inner {
  /* max-width: 1100px; */
  margin: 0 auto;
  padding: 1.2rem 1.5rem 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}


.logo-mark {
  width: 15rem;
  height: 3.5rem;
  /* background: var(--accent); */
  /* color: var(--bg); */
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.eventLogo {
  min-height: 25rem;
}

.date-top {
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.nav-separator {
  padding-left: 1rem;
  padding-right: 0.5rem;
  font-size: 1.8rem;
  font-weight: 200;
  color: #9ca3af;
  line-height: 1;
}

nav.header-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* max-width: 23rem; */
  width: 20rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-left: auto;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: oklch(27.8% 0.033 256.848);
  border-radius: 4px;
  transition: all 0.3s linear;
}

.mobile-menu-toggle.active span {
  background: var(--text);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header-inner {
    padding: 1rem 1.5rem 1rem 0.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  nav.header-nav.open {
    right: 0;
  }

  .nav-tag {
    font-size: 1.4rem;
    color: var(--text) !important;
    font-family: "Outfit, sans-serif";
    margin-left: 1rem !important;
    margin-bottom: 1.2rem;
    display: block;
  }

  .nav-separator {
    display: none;
  }

  .book-ticket {
    margin: 0 !important;
  }

  .logo {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    z-index: 1000;
  }

  .logo-text {
    font-size: 1rem;
    text-align: left;
    white-space: nowrap;
  }

  .cta-btn {
    font-size: 0.8rem !important;
  }

  .dot {
    width: 0px !important;
    height: 0px !important;
  }

  .logo-mark {
    width: 12rem;
    height: 3.9rem;
  }

  .date-top {
    font-size: 0.9rem;
    text-align: center;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
  }

  .hero-title-line {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero-title-sub {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero {
    padding: 4rem 1rem 3rem;
  }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  font-family: "Montserrat", sans-serifsans-serif;
  /* color: var(--text); */
  color: oklch(27.8% 0.033 256.848);
  font-weight: 900;
}

.nav-tag {
  /* font-family: var(--font-mono); */
  font-size: 1rem;
  /* color: var(--accent); */
  color: oklch(27.8% 0.033 256.848);
  ;
  letter-spacing: 0.08em;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.88;
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(5rem, 16vw, 13rem);
  color: var(--text);
}

.hero-title-sub {
  font-size: clamp(3rem, 9vw, 7rem);
  color: var(--accent);
  /* -webkit-text-stroke: 2px var(--accent); */
  /* color: transparent; */
}

.hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  margin: 20px auto 0;
  text-align: center;
}

.hero-desc .lead {
  font-weight: 500;
  font-size: 19px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.badge {
  padding: 0.45rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  /* gap: 0.7rem; */
  padding: 1rem 2.4rem;
  background: rgb(217, 143, 174);
  color: var(--bg);
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  /* letter-spacing: 0.08em; */
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
  margin-bottom: 2.5rem;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.hero-seats {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.seats-bar {
  width: 160px;
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}

.seats-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s ease;
}

.sub-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-lime);
  font-style: italic;
  margin-top: 12px;
}

.highlight {
  font-weight: 600;
  color: #ffffff;
}

.accent {
  font-weight: 600;
  color: var(--neon-lime);
}

/* ─── Reveal Animations ──────────────────────────────────────────── */
.reveal-up {
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Multi Carousel ─────────────────────────────────────────── */
.carousel-section {
  position: relative;
  z-index: 1;
  /* padding: 3rem 0 4rem; */
  text-align: center;
}

.carousel-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.carousel-eyebrow {
  font-family: 'Montserrat,sans-serif';
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.carousel-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.carousel-heading span {
  color: var(--accent);
}

.carousel-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.carousel-viewport-wrap {
  padding: 0 2rem;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.c-slide {
  flex: 0 0 calc(33.333% - 8px);
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
  height: 288px;
}

.c-slide img {
  width: 100%;
  height: 100%;
  opacity: 59%;
  object-fit: cover;
  display: block;
}

.c-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(2, 60, 180, 0.92) 0%, transparent 100%);
  text-align: left;
}

.c-tag {
  font-family: var(--font-mono);
  font-size: 1rem;
  /* color: var(--accent); */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.c-cap h3 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1.25rem;
}

.c-arr-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.c-arr-btn:hover {
  background: rgba(190, 245, 33, 0.18);
  border-color: var(--accent);
}

.c-arr-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.c-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.c-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

.c-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  min-width: 40px;
  text-align: center;
}

@media (max-width: 700px) {
  .c-slide {
    flex: 0 0 100%;
    height: 260px;
  }

  .c-cap h3 {
    font-size: 1.6rem;
  }

  .c-tag {
    font-size: 0.8rem;
  }
}

@media (max-width: 460px) {
  .c-slide {
    flex: 0 0 100%;
    height: 230px;
  }
}

/* ─── Sections ───────────────────────────────────────────────────── */
.booking-section,
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;

  margin-bottom: 1rem;
}

/* ─── Booking Layout ─────────────────────────────────────────────── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: stretch;
}

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

  .event-info {
    order: -1;
  }
}

/* ─── Form Card ──────────────────────────────────────────────────── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* Steps indicator */
.form-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.step-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.step.active .step-num,
.step.active .step-label {
  color: var(--accent);
}

.step.done .step-num,
.step.done .step-label {
  color: var(--text-muted);
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 0.75rem;
  margin-bottom: 1.3rem;
}

/* Step Content */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.step-heading {
  /* font-family: var(--font-display); */
  font-family: "Outfit, sans-serif";
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.step-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Fields */
.field-group {
  margin-bottom: 1.5rem;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.field-wrap {
  position: relative;
}

.field-input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: black;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field-input:focus {
  border-color: var(--accent);
  background: var(--bg);
}

.field-input::placeholder {
  color: var(--text-dim);
}

.field-input.error {
  border-color: var(--red);
}

.field-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.3s;
}

.field-input:focus~.field-border {
  transform: scaleX(0.97);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  /* color: var(--red); */
  font-style: italic;
  margin-top: 0.4rem;
  min-height: 1.2rem;
}

.phone-wrap {
  display: flex;
  align-items: center;
}

.phone-prefix {
  padding: 0.9rem 0.9rem 0.9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.phone-input {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* Buttons */
.next-btn,
.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  margin-top: 1.5rem;
}

.next-btn:hover,
.pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px var(--accent-glow);
}

.next-btn:active,
.pay-btn:active {
  transform: translateY(0);
}

.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.back-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s, color 0.2s;
}

.back-btn:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.step-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.step-nav .next-btn {
  margin-top: 0;
  flex: 1;
}

/* Upload Zone */
.upload-zone {
  border: 1.5px dashed var(--border-bright);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.upload-idle {
  text-align: center;
  padding: 2.5rem;
}

.upload-icon {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.upload-prompt {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

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

.upload-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.upload-specs {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  font-family: var(--font-mono);
}

.upload-preview {
  width: 100%;
  position: relative;
}

.upload-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.upload-preview:hover .preview-overlay {
  opacity: 1;
}

.change-photo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
}

.change-photo:hover {
  background: rgba(255, 255, 255, 0.2);
}

.remove-photo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
}

.remove-photo:hover {
  background: rgba(255, 0, 0, 0.5);
}

/* Summary Card */
.summary-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-photo img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--border);
}

.summary-details {
  flex: 1;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

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

.summary-key {
  color: var(--text-muted);
}

.summary-val {
  font-weight: 500;
}

/* Price Block */
.price-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  color: black;
}

.price-row.muted {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.price-row.total {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.pay-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.razorpay-trust {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pay-error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: var(--red);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ─── Event Info Sidebar ──────────────────────────────────────────── */
.event-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.perks-card {
  flex-grow: 1;
}

p.lead {
  /* font-size: 1.4rem; */
  text-align: center;
  /* max-width: 650px; */
  margin: 0 auto;
  text-wrap: balance;
  line-height: 1.5;
}

.book-ticket {
  height: 3rem;
  margin: auto;
  width: 10rem;
  padding-left: 0.7rem;
}

p.desc {
  /* font-size: 1.4rem; */
  text-align: center;
  /* max-width: 650px; */
  margin: -1rem auto 2.3rem auto;
  text-wrap: balance;
  line-height: 1.5;
}

.info-card-label {
  /* font-family: var(--font-mono); */
  font-family: Outfit, sans-serif;
  /* font-size: 0rem; */
  color: var(--accent);
  /* letter-spacing: 0.1em; */
  margin-bottom: 0.5rem;
}

.info-card-title {
  /* font-family: var(--font-display); */
  font-size: 1.75rem;
  font-family: Outfit, sans-serif;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.info-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
}

.info-icon {
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.info-detail-title {
  font-size: 0.75rem;
  font-family: Outfit, sans-serif;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.info-detail-val {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--accent);

}

.perks-list {
  list-style: none;
}

.perk-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.perk-item:last-child {
  border-bottom: none;
}

.perk-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.guarantee-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--accent-dim);
  border-color: rgba(232, 255, 71, 0.2);
}

.guarantee-icon {
  font-size: 1.5rem;
}

.guarantee-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.guarantee-text strong {
  color: var(--text);
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-arrow {
  transition: transform 0.3s;
  font-size: 1.1rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  /* Keeps Privacy/Terms aligned with the top of 'Contact' */
}

/* Container to stack label and email */
.contact-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Tight spacing between 'Contact' and the email address */
}

/* Existing link styles */
.footer-links a {
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* The Yellow Email Style */
.footer-email {
  font-size: 0.7rem;
  /* Smaller than the links */
  color: #ffffff;
  /* Bright Gold/Yellow */
  text-transform: none;
  /* Ensures the email stays lowercase */
  letter-spacing: 0.3px;
  font-weight: 500;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text);
}

/* ─── Toast ──────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 0.9rem 1.4rem;
  font-size: 0.88rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  max-width: 320px;
}

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

.toast.success {
  border-color: rgba(77, 255, 158, 0.4);
  color: var(--green);
}

.toast.error {
  border-color: rgba(255, 77, 77, 0.4);
  color: var(--red);
}

/* ─── Hidden util ─────────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* ──────────────────────────────────────────────────────────────────── */
/*  TICKET PAGE                                                         */
/* ──────────────────────────────────────────────────────────────────── */
.ticket-page .ticket-main {
  max-width: 860px;
  margin: 0 auto;
  top: 3rem;
  padding: 3rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 200;
  background: var(--bg);
}

.loader-ring {
  width: 44px;
  height: 44px;
  border: 2px solid var(--surface-3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Confetti */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* Success Banner */
.success-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(77, 255, 158, 0.08);
  border: 1px solid rgba(77, 255, 158, 0.25);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  color: var(--green);
}

.success-icon {
  flex-shrink: 0;
}

.success-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.88rem;
}

.success-text strong {
  font-size: 0.95rem;
}

/* The Ticket */
.ticket-wrapper {
  position: relative;
  margin-bottom: 2rem;
  filter: drop-shadow(0 20px 60px rgba(232, 255, 71, 0.12));
}

.ticket {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.ticket-left {
  flex: 1;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  position: relative;
}

.ticket-event-name {
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--accent);
}

.ticket-event-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ticket-date,
.ticket-venue {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.ticket-venue {
  margin-top: 0.2rem;
}

.ticket-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  position: relative;
}

.ticket-notch {
  width: 16px;
  height: 16px;
  background: var(--bg);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.ticket-dashes {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px);
  margin: 0 -1px;
}

.ticket-holder {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ticket-holder-photo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.ticket-holder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-holder-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.ticket-holder-phone {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.ticket-type-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 255, 71, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.ticket-right {
  width: 200px;
  background: var(--surface-2);
  border-left: 1px dashed var(--border-bright);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ticket-stub-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-align: center;
}

.qr-box {
  background: white;
  padding: 10px;
  border-radius: 8px;
}

.qr-box canvas {
  display: block;
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  word-break: break-all;
}

.ticket-valid-text {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
}

/* Ticket Actions */
.ticket-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.ticket-action-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ticket-action-btn:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
}

.ticket-action-btn.primary-action {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 500;
}

.ticket-action-btn.primary-action:hover {
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Next Steps */
.next-steps {
  margin-top: 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

  .ticket {
    flex-direction: column;
  }

  .ticket-right {
    width: 100%;
    border-left: none;
    border-top: 1px dashed var(--border-bright);
  }

  .ticket-actions {
    flex-direction: column;
  }
}

.next-step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.next-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.next-step-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.next-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Error State */
.ticket-error-state {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  z-index: 1;
}

.ticket-error-state .error-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.ticket-error-state h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.ticket-error-state p {
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────────────────────────── */
/*  ADMIN PAGE                                                          */
/* ──────────────────────────────────────────────────────────────────── */
.admin-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}

.admin-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}

.admin-login-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

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

.admin-dashboard {
  position: relative;
  z-index: 1;
}

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 77, 77, 0.15);
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 100px;
  color: var(--red);
  letter-spacing: 0.1em;
}

.logout-btn {
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  transition: color 0.2s, border-color 0.2s;
}

.logout-btn:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

/* Stats Bar */
.stats-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-val.green {
  color: var(--green);
}

.stat-val.orange {
  color: var(--orange);
}

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

/* Admin Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

/* Scan Panel */
.scan-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.scan-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.toggle-scanner-btn {
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.toggle-scanner-btn:hover {
  opacity: 0.85;
}

.scanner-box {
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

#qr-reader {
  width: 100%;
}

#qr-reader video {
  width: 100% !important;
  border-radius: 0 !important;
}

.scanner-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scanner-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--accent);
  border-style: solid;
}

.scanner-corner.tl {
  top: 16px;
  left: 16px;
  border-width: 3px 0 0 3px;
}

.scanner-corner.tr {
  top: 16px;
  right: 16px;
  border-width: 3px 3px 0 0;
}

.scanner-corner.bl {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 3px 3px;
}

.scanner-corner.br {
  bottom: 16px;
  right: 16px;
  border-width: 0 3px 3px 0;
}

.scanner-line {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  background: var(--accent);
  opacity: 0.7;
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0% {
    top: 20%;
  }

  50% {
    top: 80%;
  }

  100% {
    top: 20%;
  }
}

.scanner-hint {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.manual-entry {
  margin-top: 0.5rem;
}

.manual-divider {
  text-align: center;
  margin: 1rem 0;
  position: relative;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.manual-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.manual-divider span {
  position: relative;
  z-index: 1;
  background: var(--surface);
  padding: 0 0.75rem;
}

.manual-input-row {
  display: flex;
  gap: 0.75rem;
}

.verify-manual-btn {
  padding: 0.9rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.verify-manual-btn:hover {
  opacity: 0.85;
}

/* Result Panel */
.result-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.result-idle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 1rem;
}

.result-idle-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.result-idle p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.result-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.result-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.result-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
}

.valid-status {
  background: rgba(77, 255, 158, 0.1);
  border: 1px solid rgba(77, 255, 158, 0.3);
  color: var(--green);
}

.invalid-status {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: var(--red);
}

.result-attendee {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.result-photo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.result-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.result-phone,
.result-ticket-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.result-amount {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.invalid-reason {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  padding: 1rem;
  background: rgba(255, 77, 77, 0.08);
  border-radius: var(--radius);
}

.invalid-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.scan-next-btn {
  margin-top: auto;
  padding: 0.85rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

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

/* Attendee Table */
.attendee-list-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.attendee-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.refresh-btn {
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  transition: color 0.2s, border-color 0.2s;
}

.refresh-btn:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

.attendee-table-wrap {
  overflow-x: auto;
}

.attendee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.attendee-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.attendee-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.attendee-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
}

.attendee-table tr:last-child td {
  border-bottom: none;
}

.attendee-table tr:hover td {
  background: var(--surface-2);
}

.table-loading {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem !important;
}

.status-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.status-pill.used {
  background: rgba(255, 157, 61, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 157, 61, 0.3);
}

.status-pill.unused {
  background: rgba(77, 255, 158, 0.1);
  color: var(--green);
  border: 1px solid rgba(77, 255, 158, 0.25);
}

/* ─── Coupon Block ───────────────────────────────────────────────── */
.coupon-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.coupon-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.coupon-optional {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coupon-input-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.coupon-field {
  text-transform: uppercase;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.08em;
}

.coupon-apply-btn {
  padding: 0.9rem 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--border-bright);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.coupon-apply-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.coupon-apply-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.coupon-remove-btn {
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.coupon-remove-btn:hover {
  background: rgba(255, 77, 77, 0.08);
}

.coupon-feedback {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.coupon-feedback.error {
  background: rgba(255, 77, 77, 0.08);
  /* color: var(--red); */
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.coupon-feedback.success {
  background: rgba(77, 255, 158, 0.08);
  color: var(--green);
  border: 1px solid rgba(77, 255, 158, 0.2);
}

.coupon-applied {
  margin-top: 0.75rem;
  animation: fadeIn 0.3s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coupon-applied-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(232, 255, 71, 0.06);
  border: 1px solid rgba(232, 255, 71, 0.25);
  border-radius: var(--radius);
}

.coupon-applied-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.coupon-applied-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.coupon-applied-text strong {
  font-size: 0.88rem;
  color: var(--accent);
}

.coupon-applied-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.coupon-applied-savings {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

.discount-row .discount-val {
  color: var(--green);
  font-weight: 600;
}

.bogo-row {
  padding: 0.5rem 0;
}

.bogo-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(77, 255, 158, 0.1);
  border: 1px solid rgba(77, 255, 158, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--green);
}

/* ─── Ticket page: coupon badge ─────────────────────────────────── */
.ticket-coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(232, 255, 71, 0.1);
  border: 1px solid rgba(232, 255, 71, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.ticket-savings-line {
  font-size: 0.72rem;
  color: var(--green);
  font-family: var(--font-mono);
  margin-top: 0.25rem;
}

.bogo-notice {
  background: rgba(77, 255, 158, 0.08);
  border: 1px solid rgba(77, 255, 158, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--green);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bogo-notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bogo-notice a {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ─── Admin: coupon manager tab ─────────────────────────────────── */
.admin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.admin-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.admin-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

/* Coupon table */
.coupon-table-wrap {
  overflow-x: auto;
}

.coupon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.coupon-table th {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coupon-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.coupon-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.coupon-table tr:last-child td {
  border-bottom: none;
}

.coupon-table tr:hover td {
  background: var(--surface-2);
}

.type-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.type-pill.percent {
  background: rgba(100, 150, 255, 0.15);
  color: #6496ff;
  border: 1px solid rgba(100, 150, 255, 0.3);
}

.type-pill.flat {
  background: rgba(255, 157, 61, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 157, 61, 0.3);
}

.type-pill.free {
  background: rgba(77, 255, 158, 0.15);
  color: var(--green);
  border: 1px solid rgba(77, 255, 158, 0.3);
}

.type-pill.bogo {
  background: rgba(232, 255, 71, 0.12);
  color: var(--accent);
  border: 1px solid rgba(232, 255, 71, 0.3);
}

.active-pill {
  color: var(--green);
  font-size: 0.75rem;
}

.inactive-pill {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.coupon-action-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.15s;
  margin-right: 0.3rem;
}

.coupon-action-btn:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.coupon-action-btn.danger:hover {
  border-color: rgba(255, 77, 77, 0.5);
  color: var(--red);
}

/* Create coupon form */
.create-coupon-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.create-coupon-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

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

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

.form-grid .field-group {
  margin-bottom: 0;
}

.type-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.type-radio {
  display: none;
}

.type-label {
  padding: 0.5rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.type-radio:checked+.type-label {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.create-form-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.create-submit-btn {
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.create-submit-btn:hover {
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════════
   QUANTITY SELECTOR & GROUP BOOKING
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Quantity Stepper ─────────────────────────────────────────────── */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  user-select: none;
}

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

.qty-btn:active {
  transform: scale(0.95);
}

.qty-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.qty-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.qty-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Quick Select Presets ─────────────────────────────────────────── */
.qty-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.qty-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text);
}

.qty-preset:hover {
  border-color: var(--accent);
  background: rgba(190, 245, 33, 0.06);
  transform: translateY(-2px);
}

.qty-preset.active {
  border-color: var(--accent);
  background: rgba(190, 245, 33, 0.12);
  box-shadow: 0 0 20px rgba(190, 245, 33, 0.15);
}

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

.preset-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preset-qty {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ─── Live Price Preview ───────────────────────────────────────────── */
.qty-price-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.qty-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}

.qty-price-total {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.qty-savings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--green);
}

.qty-savings-icon {
  font-size: 1rem;
}

/* ─── Group Coupon Suggestions ─────────────────────────────────────── */
.group-coupons {
  margin-bottom: 1.5rem;
}

.group-coupons-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.group-coupons-icon {
  font-size: 1.1rem;
}

.group-coupons-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.group-coupon-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  width: 100%;
  color: var(--text);
  font-family: var(--font-body);
}

.group-coupon-card:hover {
  border-color: var(--accent);
  background: rgba(190, 245, 33, 0.06);
  transform: translateY(-1px);
}

.group-coupon-card.gc-selected {
  border-color: var(--accent);
  background: rgba(190, 245, 33, 0.12);
  box-shadow: 0 0 16px rgba(190, 245, 33, 0.15);
}

.gc-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.gc-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.gc-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  flex: 1 1 100%;
}

.gc-min {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   MULTI-TICKET DISPLAY
   ═══════════════════════════════════════════════════════════════════ */

.tickets-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ticket-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(190, 245, 33, 0.1);
  border: 1px solid rgba(190, 245, 33, 0.25);
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.ticket-nav-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.ticket-nav-icon {
  font-size: 1.2rem;
}

.ticket-nav-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.ticket-card-wrapper {
  position: relative;
}

.ticket-index-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.til-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.til-total {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.ticket-card-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.ticket-card-actions .ticket-action-btn {
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
}

.ticket-bogo-badge {
  margin-top: 0.5rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 157, 61, 0.15);
  border: 1px solid rgba(255, 157, 61, 0.3);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--orange);
  text-align: center;
  letter-spacing: 0.06em;
}

.ticket-price-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  text-align: center;
}

.ticket-price-final {
  color: var(--green);
  margin-left: 0.3rem;
}

/* ─── Responsive tweaks for qty presets ────────────────────────────── */
@media (max-width: 480px) {
  .qty-presets {
    grid-template-columns: repeat(2, 1fr);
  }

  .qty-value {
    font-size: 2.5rem;
  }

  .qty-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}