/* =========================================================
   OUR EVENT INNER PAGE
   ========================================================= */

/* ----- Banner ----- */
.oei-banner {
  position: relative;
  width: 100%;
  min-height: 488px;
  background: url("../images/our-events/inner-page/background.webp") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oei-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 74px; /* offset for absolute-positioned header */
}

/* ----- Entertainment badge ----- */
.oei-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 14px;
  background: linear-gradient(90deg, #fa5d3e 0%, #fed955 100.4%);
  border-radius: 4px;
  transform: rotate(-4deg);

  font-family: "Figtree", var(--font-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #ffffff;
}

.oei-banner__badge-dot {
  flex-shrink: 0;
}

/* ----- Heading ----- */
.oei-banner__heading {
  max-width: 1177px;
  margin: 0;
  font-family: "Akira Expanded", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 64px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
}

/* ----- Date / meta row ----- */
.oei-banner__meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  max-width: 599px;
}

.oei-banner__cal-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.oei-banner__date {
  margin: 0;
  font-family: "FONTSPRING DEMO - Proxima Nova Medium", "Proxima Nova", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 39px;
  color: #ffffff;
  white-space: nowrap;
}

/* ----- Get Tickets button ----- */
.oei-banner__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 56px;
  background: #ffffff;
  border-radius: 42px;

  font-family: "FONTSPRING DEMO - Proxima Nova", "Proxima Nova", sans-serif;
  font-weight: 700;
  font-size: 19.6px;
  line-height: 28px;
  letter-spacing: -0.7px;
  color: #000000;
  text-decoration: none;
}

.oei-banner__btn:hover {
  background: #f0f0f0;
}

/* Past-event state — non-interactive, muted */
.oei-banner__btn.is-disabled {
  background: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.85);
  cursor: not-allowed;
  pointer-events: none;
}

/* ----- Event Description ----- */
.oei-desc {
  padding: 80px 0 0px;
}

.oei-desc__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  width: 1213px;
  margin: 0 auto;
}

.oei-desc__poster {
  flex-shrink: 0;
  width: 365px;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
}

.oei-desc__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 800px;
}

.oei-desc__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oei-desc__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 26px;
  text-transform: capitalize;
  color: #131211;
}

.oei-desc__body {
  margin: 0;
  font-family: "FONTSPRING DEMO - Proxima Nova Medium", "Proxima Nova", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #131211;
  text-align: justify;
}

.oei-desc__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oei-desc__meta-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.oei-desc__meta-row svg,
.oei-desc__meta-row img {
  flex-shrink: 0;
  margin-top: 1px;
}

.oei-desc__meta-row span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: #131211;
}

/* ----- HCM Smiles loyalty section (mirrors home page) ----- */
.smiles-section {
  overflow: hidden;
  background: #9728b8 url("../images/home/smiles/bg.png") center / cover no-repeat;
}

.smiles-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 80px;
  text-align: center;
}

.smiles-header__title {
  margin: 0;
  max-width: 845px;
  font-family: "Akira Expanded", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--color-purple);
}

.smiles-header__body {
  margin: 0;
  max-width: 845px;
  font-family: "FONTSPRING DEMO - Proxima Nova Medium", "Proxima Nova", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

.smiles-wrap {
  width: min(100% - 80px, 1334px);
  min-height: 580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.smiles-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.smiles-media img {
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  height: auto;
  margin-left: 0;
}

.smiles-content {
  max-width: 580px;
  color: #ffffff;
}

.smiles-content h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
}

.smiles-content p {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.94);
}

.smiles-content h3 {
  margin: 24px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.smiles-download {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.smiles-qr {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 2px;
  background: #ffffff;
}

.smiles-badges {
  display: grid;
  gap: 8px;
  align-items: start;
}

.smiles-badges a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 153px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.smiles-badges a:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.smiles-badges img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Upcoming Events ----- */
.oei-upcoming {
  padding: 120px 40px 0 40px;
}

.oei-upcoming__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.oei-upcoming__header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.oei-upcoming__heading {
  margin: 0 0 8px;
  font-family: "Akira Expanded", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
}

.oei-upcoming__sub {
  margin: 0;
  font-family: "FONTSPRING DEMO - Proxima Nova Medium", "Proxima Nova", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}

.oei-upcoming__view-all {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.oei-upcoming__view-all::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.oei-upcoming__view-all::after {
  content: none;
}

.oei-upcoming__grid {
  display: flex;
  flex-direction: row;
  gap: 34px;
  flex-wrap: wrap;
}

/* ----- Mobile Responsive ----- */
@media (max-width: 768px) {
  .oei-banner__content {
    padding: 56px 20px 40px;
  }
  .oei-banner__heading {
    font-size: 28px;
    line-height: 36px;
  }
  .oei-banner__date {
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
  }

  .oei-desc {
    padding: 48px 0;
  }
  .oei-desc__inner {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
    gap: 28px;
  }
  .oei-desc__poster {
    width: 100%;
    height: 280px;
  }
  .oei-desc__content {
    width: 100%;
  }
  .oei-desc__title {
    font-size: 20px;
  }
  .oei-desc__body {
    font-size: 16px;
  }

  .event-card {
    width: 100%;
  }

  .smiles-header {
    padding: 32px 20px 40px;
  }
  .smiles-header__title {
    font-size: 26px;
    line-height: 32px;
  }
  .smiles-header__body {
    font-size: 15px;
    line-height: 1.45;
  }
  .smiles-wrap {
    width: min(100% - 40px, 1334px);
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
    padding: 40px 0 64px;
  }
  .smiles-media {
    order: 1;
    display: flex;
    justify-content: center;
  }
  .smiles-media img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
  .smiles-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    text-align: center;
  }
  .smiles-content h2 {
    font-size: clamp(26px, 8vw, 40px);
  }
  .smiles-content p {
    font-size: 15px;
    line-height: 1.45;
  }
  .smiles-content h3 {
    margin-top: 20px;
    font-size: 17px;
  }
  .smiles-download {
    margin-top: 10px;
    justify-content: center;
  }
  .smiles-qr {
    width: 104px;
    height: 104px;
  }
  .smiles-badges a {
    width: auto;
  }

  .smiles-badges img {
    width: auto;
    height: 44px;
  }

  .oei-upcoming {
    padding: 48px 0 60px;
  }
  .oei-upcoming__inner {
    padding: 0 20px;
    text-align: center;
  }
  .oei-upcoming__header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  .oei-upcoming__heading {
    font-size: 26px;
    line-height: 32px;
  }
  .oei-upcoming__grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ----- Register Now Popup ----- */
.oei-reg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.oei-reg-overlay[hidden] {
  display: none !important;
}

/* 807×525 modal — matches Figma exactly */
.oei-reg-modal {
  position: relative;
  width: 807px;
  height: 525px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 24px;
  flex-shrink: 0;
}

.oei-reg-close {
  position: absolute;
  right: 24px;
  top: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Poster: 295×429, left: 32, top: 48 */
.oei-reg-poster {
  position: absolute;
  left: 32px;
  top: 48px;
  width: 295px;
  height: 429px;
  object-fit: cover;
  border-radius: 16px;
}

/* Header: left: 359 (32+295+32gap), top: 48, width: 416, height: 96 */
.oei-reg-header {
  position: absolute;
  left: 359px;
  top: 48px;
  width: 416px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oei-reg-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
  text-transform: uppercase;
}

.oei-reg-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

/*
  Form group (Group 245): left 359, top 176 (48+128), width 416, height 229
  3 inputs × 53px each, gap 35px between them (229 = 53+35+53+35+53)
*/
.oei-reg-form {
  position: absolute;
  left: 359px;
  top: 176px;
  width: 416px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}

.oei-reg-field {
  height: 53px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #cccccc;
}

.oei-reg-field + .oei-reg-field {
  margin-top: 35px;
}

.oei-reg-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
}

.oei-reg-input::placeholder {
  color: #000000;
}

/* Button: right-aligned to content frame, bottom-anchored */
.oei-reg-submit {
  position: absolute;
  isolation: isolate;
  right: 32px;
  bottom: 32px;
  width: 159px;
  height: 48px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  outline: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.5px;
  -webkit-appearance: none;
  appearance: none;
}
.oei-reg-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.oei-reg-submit::after {
  content: none;
}

@media (max-width: 768px) {
  .oei-reg-modal {
    width: calc(100vw - 32px);
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 20px 32px;
    border-radius: 16px;
  }
  .oei-reg-poster,
  .oei-reg-header,
  .oei-reg-form,
  .oei-reg-submit {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
  }
  .oei-reg-poster {
    height: 220px;
    margin-bottom: 20px;
  }
  .oei-reg-close {
    top: 12px;
    right: 12px;
  }
  .oei-reg-field + .oei-reg-field {
    margin-top: 0;
  }
  .oei-reg-submit {
    margin-top: 20px;
  }
  .oei-reg-success {
    position: static;
    width: 100%;
    left: auto;
    top: auto;
    margin-top: 12px;
  }
}

/* ----- Ticket Booking Popup ----- */
.oei-ticket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.oei-ticket-overlay[hidden] {
  display: none !important;
}

.oei-ticket-modal {
  position: relative;
  width: 807px;
  height: 544px;
  background: #ffffff;
  border-radius: 24px;
  flex-shrink: 0;
}

.oei-ticket-close {
  position: absolute;
  right: 24px;
  top: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oei-ticket-poster {
  position: absolute;
  left: 32px;
  top: 48px;
  width: 295px;
  height: 448px;
  object-fit: cover;
  border-radius: 16px;
}

.oei-ticket-header {
  position: absolute;
  left: 359px;
  top: 48px;
  width: 416px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oei-ticket-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-purple);
  text-transform: uppercase;
}

.oei-ticket-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

/* ----- Ticket type labels ----- */
.oei-ticket-type {
  position: absolute;
  left: 359px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oei-ticket-type--adult {
  top: 180px;
}
.oei-ticket-type--kids {
  top: 252px;
}

.oei-ticket-type__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

.oei-ticket-type__age {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
}

/* ----- Stepper counter ----- */
.oei-ticket-counter {
  position: absolute;
  left: 641px;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 142px;
  height: 40px;
}

.oei-ticket-counter--adult {
  top: 180px;
}
.oei-ticket-counter--kids {
  top: 252px;
}

.oei-ticket-counter__btn {
  width: 48px;
  height: 40px;
  background: none;
  border: 1px solid #8f8f8f;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a9a9a9;
  flex-shrink: 0;
}

.oei-ticket-counter__btn--dec {
  border-radius: 8px 0 0 8px;
  margin-right: -1px;
}

.oei-ticket-counter__btn--inc {
  border-radius: 0 8px 8px 0;
  color: #000000;
}

.oei-ticket-counter__btn--dec.is-active {
  color: #000000;
}

.oei-ticket-counter__val {
  width: 48px;
  height: 40px;
  border-top: 1px solid #8f8f8f;
  border-bottom: 1px solid #8f8f8f;
  border-left: none;
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  flex-shrink: 0;
}

/* ----- Note + totals ----- */
.oei-ticket-note {
  position: absolute;
  left: 359px;
  top: 324px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
}

.oei-ticket-summary {
  position: absolute;
  left: 359px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

#oei-total-tickets {
  top: 368px;
}
#oei-total-amount {
  top: 396px;
}

/* ----- Error message ----- */
.oei-ticket-error {
  position: absolute;
  left: 359px;
  right: 207px;
  top: 448px;
  height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #b71c1c;
  text-align: left;
  z-index: 2;
}

.oei-ticket-error[hidden] {
  display: none !important;
}

/* ----- Register success state ----- */
.oei-reg-success {
  position: absolute;
  left: 359px;
  bottom: 32px;
  width: 248px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 8px;
  padding: 0 14px;
  margin: 0;
}
.oei-reg-success.is-error {
  color: #c62828;
  background: #ffebee;
}

/* ----- Buy Tickets button ----- */
.oei-ticket-buy {
  position: absolute;
  isolation: isolate;
  right: 32px;
  top: 448px;
  width: 159px;
  height: 48px;
  background-image: var(--gradient-btn-pill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.5px;
}
.oei-ticket-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-btn-pill);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.oei-ticket-buy::after {
  content: none;
}

@media (max-width: 768px) {
  .oei-ticket-modal {
    width: calc(100vw - 32px);
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 20px 32px;
    border-radius: 16px;
  }
  .oei-ticket-poster,
  .oei-ticket-header,
  .oei-ticket-type,
  .oei-ticket-counter,
  .oei-ticket-note,
  .oei-ticket-summary,
  .oei-ticket-error,
  .oei-ticket-buy {
    position: static;
    width: 100%;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
  }

  .oei-ticket-error {
    height: auto;
    margin: 12px 0 0;
    text-align: left;
  }

  .oei-ticket-poster {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
  }
  .oei-ticket-close {
    top: 12px;
    right: 12px;
  }
  .oei-ticket-counter {
    margin-bottom: 16px;
  }
  .oei-ticket-type {
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .oei-ticket-note {
    margin: 12px 0;
  }
  .oei-ticket-summary {
    margin-bottom: 4px;
  }
  #oei-total-amount {
    margin-bottom: 20px;
  }
}
