/* ==========================================================================
   SMUN XIV — Registrations
   1. Ticket cards      2. Info row
   ========================================================================== */

/* ---------- 1. Ticket cards ----------
   A ticket is two pieces — the body and the stub — so the stub can "tear"
   away along the perforation. One drop-shadow wraps both. */
.tickets-section { padding-top: clamp(40px, 5vw, 72px); }
.tickets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 440px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
}
.ticket {
  --edge: rgba(26, 38, 32, .15);
  position: relative;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 6px 16px rgba(26, 38, 32, .07));
  transition: filter .35s var(--ease-out);
}
.ticket.is-lifted { filter: drop-shadow(0 20px 40px rgba(26, 38, 32, .16)); }
.ticket__body {
  position: relative;
  padding: 36px 32px 88px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
@media (min-width: 900px) { .ticket__body { min-height: 328px; } }   /* keeps the perforations level */
.ticket__title {
  margin: 14px 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 30px);
  line-height: 1.15;
}
.ticket__desc { font-family: var(--font-read); font-size: 15px; line-height: 1.65; color: var(--muted); }
.ticket__stamp {
  position: absolute;
  right: 22px;
  bottom: 22px;
  margin: 0;
  font-size: 13px;
}
.ticket__stub {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 32px 26px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}
/* Dashed perforation with a round notch at each end. */
.ticket__perf {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, rgba(26, 38, 32, .35) 0 6px, transparent 6px 12px);
}
.ticket__perf::before, .ticket__perf::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--edge);
}
.ticket__perf::before { left: -34px; }
.ticket__perf::after { right: -34px; }
.ticket__actions { display: flex; flex-direction: column; gap: 12px; }
.ticket__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
}
.ticket__no { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--muted); }

/* ---------- 2. Info row ---------- */
.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-read);
  font-size: 16px;
}
.info-row .link-underline { font-size: 15px; }
