/* Event ticket showcase — home + tickets page */

.event-ticket-ad {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(234, 88, 12, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(245, 158, 11, 0.12), transparent 50%),
    linear-gradient(165deg, #0b1220 0%, #1a2336 45%, #0f172a 100%);
}

.event-ticket-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 18px,
    rgba(255, 255, 255, 0.015) 18px,
    rgba(255, 255, 255, 0.015) 19px
  );
  pointer-events: none;
}

.event-ticket-ad .heading_container h2 {
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.event-ticket-ad .heading_container p,
.event-ticket-ad-sub {
  color: #94a3b8;
  max-width: 560px;
  margin: 10px auto 0;
}

.event-ticket-ad-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.35);
  margin-bottom: 14px;
}

.ticket-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(248, 250, 252, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ticket-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow:
    0 28px 56px rgba(194, 65, 12, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(234, 88, 12, 0.45);
}

.ticket-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.ticket-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ticket-card:hover .ticket-card-media img {
  transform: scale(1.06);
}

.ticket-card-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, #0f172a 0%, transparent 100%);
  pointer-events: none;
}

.ticket-price-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.ticket-tier-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ticket-card-body {
  position: relative;
  padding: 8px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ticket-card-body h3 {
  color: #f8fafc;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.ticket-combo {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.ticket-combo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.ticket-combo-chips span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fdba74;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.28);
}

.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px dashed rgba(148, 163, 184, 0.35);
  position: relative;
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0b1220;
  border: 1px solid rgba(248, 250, 252, 0.08);
}

.ticket-stub::before {
  left: -30px;
}

.ticket-stub::after {
  right: -30px;
}

.ticket-stub-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.ticket-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ticket-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 22px rgba(194, 65, 12, 0.45);
  color: #fff !important;
}

.ticket-card--featured {
  border-color: rgba(245, 158, 11, 0.45);
}

.ticket-card--featured .ticket-price-pill {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
}

.event-ticket-ad-foot {
  text-align: center;
  margin-top: 36px;
}

.event-ticket-ad-foot a {
  color: #fdba74;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 186, 116, 0.4);
}

.event-ticket-ad-foot a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.ticket-card-form .form-control {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}

.ticket-card-form label {
  color: #94a3b8;
  font-size: 12px;
}

@media (max-width: 767px) {
  .event-ticket-ad {
    padding: 48px 0 56px;
  }

  .ticket-card-media {
    height: 180px;
  }

  .ticket-stub::before,
  .ticket-stub::after {
    display: none;
  }
}
