.balmain-festival-page {
  min-height: 100vh;
  color: #173222;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.68), transparent 28%),
    linear-gradient(145deg, rgba(247, 244, 234, 0.9), rgba(224, 226, 211, 0.72)),
    #f7f4ea;
}

.balmain-festival-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
}

.balmain-festival-panel {
  width: min(1040px, 100%);
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgba(23, 50, 34, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 234, 0.72)),
    rgba(255, 255, 255, 0.76);
  box-shadow:
    0 28px 70px rgba(16, 34, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.balmain-festival-brand {
  display: grid;
  justify-items: center;
}

.balmain-festival-brand img {
  width: min(330px, 88%);
  max-height: 96px;
  object-fit: contain;
  padding: 10px 12px;
  border: 1px solid rgba(23, 50, 34, 0.12);
  border-radius: 10px;
  background: #003c16;
  filter: drop-shadow(0 12px 24px rgba(16, 34, 23, 0.16));
}

.balmain-festival-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
}

.balmain-festival-copy {
  display: grid;
  gap: 14px;
}

.balmain-festival-copy h1 {
  max-width: 9em;
  margin: 0;
  color: #173222;
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  font-style: normal;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

.balmain-festival-copy p {
  max-width: 34rem;
  margin: 0;
  color: rgba(23, 50, 34, 0.76);
  font-size: 1rem;
  line-height: 1.55;
}

.balmain-festival-animation {
  width: min(430px, 82vw);
  aspect-ratio: 1;
  margin-top: -18px;
}

.balmain-festival-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(23, 50, 34, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.balmain-festival-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.balmain-festival-form label {
  display: grid;
  gap: 7px;
  color: rgba(23, 50, 34, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.balmain-festival-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(23, 50, 34, 0.16);
  border-radius: 10px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.86);
  color: #173222;
  font: 600 1rem/1.2 var(--font-sans);
  letter-spacing: 0;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.balmain-festival-form input:focus {
  border-color: rgba(23, 50, 34, 0.44);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 50, 34, 0.08);
}

.balmain-festival-form .btn {
  min-height: 50px;
  justify-content: center;
  border-radius: 999px;
  background: #173222;
  color: #fff8ed;
}

.balmain-status {
  min-height: 1.35em;
  margin: 0;
  color: rgba(23, 50, 34, 0.76);
  font-size: 0.86rem;
  line-height: 1.35;
}

.balmain-status[data-tone="error"] {
  color: #8f2f22;
}

.balmain-status[data-tone="success"] {
  color: #173222;
}

.balmain-voucher-overlay {
  z-index: 1400;
}

.balmain-voucher-card {
  position: relative;
  text-align: center;
}

.balmain-voucher-card .nfc-store-chooser-logo {
  width: min(330px, calc(100% - 56px));
}

.balmain-voucher-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 50, 34, 0.12);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.68);
  color: #173222;
  font: 600 1.45rem/1 var(--font-sans);
  cursor: pointer;
}

.balmain-voucher-ticket {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 20px;
  background: #173222;
  color: #fff8ed;
  box-shadow:
    0 12px 26px rgba(16, 34, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.balmain-voucher-ticket span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.balmain-voucher-ticket strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.45rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0;
}

.balmain-voucher-message {
  width: min(32rem, 100%);
  margin: 0 auto;
  color: rgba(23, 50, 34, 0.76);
  line-height: 1.5;
}

.balmain-voucher-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 760px) {
  .balmain-festival-layout,
  .balmain-festival-grid {
    grid-template-columns: 1fr;
  }

  .balmain-festival-layout {
    gap: 0;
  }

  .balmain-festival-copy {
    justify-items: center;
    text-align: center;
  }

  .balmain-festival-copy h1 {
    max-width: 8.5em;
  }

  .balmain-festival-animation {
    width: min(315px, 80vw);
    margin-top: -16px;
  }

  .balmain-festival-form {
    margin-top: clamp(64px, 9vh, 88px);
  }

  .balmain-voucher-card .nfc-store-chooser-logo {
    width: min(270px, calc(100% - 64px));
  }
}
