
@font-face {
  font-family: 'museo_sans_500';
  src: url('../fonts/Museo_Sans_500.otf');
}
@font-face {
  font-family: 'museo_sans_900';
  src: url('../fonts/Museo_Sans_900.otf');
}
@font-face {
  font-family: 'museo_sans_700';
  src: url('../fonts/Museo_Sans_700.otf');
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'museo_sans_500', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ──────────────────────────── */
.hidden { display: none !important; }
.page   { display: block; }

/* ══════════════════════════════════════════
   DESKTOP LAYOUT  (≥ 768px)
══════════════════════════════════════════ */
.desktop-layout {
  display: none;
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.desktop-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/bg-desktop.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

.desktop-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 60px 60px 10px 120px;
  /* max-width: 1400px; */
  width: 100%;
  margin: 0 auto;
}

/* ── Brand Block (left) ─────────────────── */
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-shrink: 0;
  max-width: 700px;
  width: 50%;
  margin-left:  auto;
  pointer-events: none;
}


.brand-logo img{
  width: 100%;
  pointer-events: none;
}


/* ── Card Wrapper (center) ──────────────── */
.card-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  position: relative;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   FORM CARD  (shared desktop + mobile)
══════════════════════════════════════════ */
.form-card {
  background: rgba(211, 208, 200, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 37px 60px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    9px 8px 20px #272940BA, 
    inset 15px 15px 20px rgba(221, 226, 224, 1), 
    inset -15px -15px 20px rgba(221, 226, 224, 1);
  filter: brightness(1.05) contrast(1.02);
}

.overlay-cards {
  position: absolute;
  inset: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.overlay-cards .layer-1{
  border-radius: 67px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 40.82%, #FFF 82.08%);
  width: 100%;
  height: 100%;
  rotate: 180deg;
  z-index: -1;
  filter: blur(12px);
  position: absolute;
  inset: 0;
}
.overlay-cards .layer-2{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 57.56%, #FFFFFF 89.16%);
  border-radius: 40px;
  width: 100%;
  height: 70%;
  z-index: -1;
  filter: blur(12px);
  margin-top: auto;
  position: absolute;
  bottom: 0;
}

/* Card heading "REGISTER" */
.card-heading {
  font-family: 'museo_sans_900', sans-serif;
  font-size: 45px;
  color: #1E2B1D;
  text-align: center;
  margin-bottom: 35px;
}

/* Event info block */
.event-info {
  text-align: center;
  margin-bottom: 18px;
}

.event-date,
.event-time {
  font-weight: 500;
  font-size: 30px;
  color: #1E2B1D;
  line-height: 1.3;
}

.event-venue {
  font-family: 'museo_sans_900', sans-serif;
  font-size: 30px;
  color: #1E2B1D;
  margin-top: 2px;
}

/* ── Form fields ────────────────────────── */
.register-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* White pill input */
.pill-input {
  width: 100%;
  padding: 12px 22px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: 'museo_sans_500', sans-serif;
  font-weight: 700;
  font-size: 27px;
  color: #000000;
  text-align: center;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  letter-spacing: 0.03em;
}

.pill-input::placeholder {
  color: #000000;
  opacity: 1;
  font-weight: 700;
}

.pill-input:focus {
  border-color: #1E381C;
  box-shadow: 0 0 5px #1e381cab;
}

.pill-input.error {
  border-color: #e53e3e;
}


/* Field error text */
.field-error {
  font-size: 13px;
  color: #e53e3e;
  text-align: center;
  font-style: italic;
  min-height: 16px;
  display: block;
}

/* Helper italic text */
.helper-text {
  font-size: 20px;
  color: #1E2B1D;
  font-style: italic;
  text-align: center;
  margin-top: 2px;
}

/* SUBMIT button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  padding: 14px 24px;
  background: linear-gradient(93deg, #145C36 28.95%, #162C83 98.58%);
  margin: 25px 0;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: 'museo_sans_500', sans-serif;
  font-size: 24px;
  cursor: pointer;
}
.submit-btn:active {
  transform: scale(0.97);
}

.submit-btn:disabled {
  background: #7ECBC8;
  cursor: not-allowed;
  transform: none;
}

/* Spinner inside button */
.btn-spinner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.spinner-icon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Issues link */
.issues-text {
  font-size: 20px;
  color: #1E381C;
  font-style: italic;
  text-align: center;
}

.issues-text a {
  color: #1E381C;
  text-decoration: none;
  transition: opacity 0.15s;
}

.issues-text a:hover {
  opacity: 0.75;
}

/* ══════════════════════════════════════════
   THANK YOU VIEW
══════════════════════════════════════════ */
.thankyou-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.ty-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #00B1A9;
  background: rgba(0,181,173,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ty-title {
  font-family: 'museo_sans_900';
  font-size: 32px;
  color: #1E2B1D;
  margin-bottom: 50px;
}


.ty-divider {
  width: 100%;
  height: 1px;
  background: rgba(27,47,110,0.12);
}

.ty-qr-label {
  font-size: 25px;
  color: #1E2B1D;
}
.ty-qr-label span{
  font-family: 'museo_sans_900';
}

.ty-qr-wrap {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
  display: inline-block;
  margin: 60px 0;
}

.ty-qr-wrap canvas {
  display: block;
}

.ty-email-note {
  font-size: 25px;
  color: #1E2B1D;
  text-align: balance;
}

.ty-email-highlight {
  color: #00B1A9;
  font-weight: 600;
  opacity: 1;
}

.ty-info-strip {
  width: 100%;
  border-radius: 25px;
  background: #FFF;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 12px 16px;
}

.ty-info-date {
  font-weight: 700;
  font-size: 12px;
  color: #00B1A9;
  margin-bottom: 3px;
}

.ty-info-detail {
  font-size: 20px;
  color: #9A781A;
  font-family: 'museo_sans_700';
}

.register-another-btn {
  background: none;
  border: none;
  font-family: 'museo_sans_500', sans-serif;
  font-size: 11px;
  color: #00B1A9;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  transition: opacity 0.15s;
}

.register-another-btn:hover {
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   MOBILE LAYOUT  (< 768px)
══════════════════════════════════════════ */
.mobile-layout {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  background: white;
}

/* Mobile top white area */
.mobile-top {
  padding: 28px 22px 18px;
  z-index: 2;
}


.mobile-title {
  display: flex;
  flex-direction: column;
}

.mobile-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.mobile-logo img {
  width: 65%;
}

.mobile-wordmark {
  font-weight: 700;
  font-size: 9px;
  color: #00B1A9;
  letter-spacing: 0.18em;
}

.mobile-taglines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* .mobile-taglines .tagline-main { font-size: 12.5px; }
.mobile-taglines .tagline-hash { font-size: 11.5px; } */

/* Mobile background + card section */
.mobile-bg-section {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/bg-mobile.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.mobile-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, white, transparent);
  z-index: 1;
}

.mobile-card-wrap {
  position: relative;
  z-index: 2;
  padding: 17px 17px 40px;
}

.mobile-card-wrap .form-card {
  border-radius: 20px;
  padding: 20px 20px 18px;
}

.mobile-card-wrap .card-heading {
  font-size: 25px;
  margin-bottom: 12px;
}

.mobile-card-wrap .event-date,
.mobile-card-wrap .event-time {
  font-size: 17px;
}

.mobile-card-wrap .event-venue {
  font-size: 17px;
}

/* ── Responsive show/hide ───────────────── */
@media (min-width: 768px) {
  .desktop-layout { display: block; }
  .mobile-layout  { display: none; }
}

@media (max-width: 767px) {
  .desktop-layout { display: none; }
  .mobile-layout  { display: flex; }
  .pill-input { font-size: 15px;}
  .pill-select { font-size: 15px;}
  .field-error { font-size: 11px; min-height: 14px;}
  .helper-text { font-size: 12px;}
  .issues-text { font-size: 12px;}
  .submit-btn { font-size: 14px;}
  .ty-title { font-size: 20px; margin-bottom: 16px; }
  .ty-qr-label { font-size: 13px; }
  .ty-email-note { font-size: 13px; }
  .ty-qr-wrap { margin: 16px 0 }
  .ty-info-detail { font-size: 12px; }
}

/* ── Desktop fine-tuning at mid sizes ───── */
@media (min-width: 768px) and (max-width: 1100px) {
  .desktop-content {
    padding: 40px 40px 40px 50px;
    gap: 32px;
  }
  /* .brand-block {
    max-width: 340px;
  } */
}
