.esbb-app {
  --esbb-navy: #002147;
  --esbb-navy-2: #143057;
  --esbb-navy-3: #2d476f;
  --esbb-gold: #d4a62a;
  --esbb-gold-dark: #967200;
  --esbb-gold-soft: #ffefd2;
  --esbb-ink: #1a1a1a;
  --esbb-muted: #64748b;
  --esbb-line: #dbe2ea;
  --esbb-cloud: #f5f7fa;
  --esbb-white: #fff;
  width: 100%;
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 18px;
  color: var(--esbb-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.esbb-app *, .esbb-app *::before, .esbb-app *::after { box-sizing: border-box; }
.esbb-shell { overflow: hidden; background: var(--esbb-white); border: 1px solid var(--esbb-line); border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 33, 71, .1); }
.esbb-alert { position: relative; z-index: 4; margin: 18px clamp(22px, 5vw, 68px) 0; padding: 13px 18px; border: 1px solid #a7d7b4; border-radius: 4px; background: #eef9f0; color: #1e6131; text-align: center; font-size: 13px; }
.esbb-alert.esbb-error { border-color: #efb3aa; background: #fff1ef; color: #9a3026; }

.esbb-steps { display: flex; align-items: center; justify-content: center; padding: 14px 24px 0; background: var(--esbb-white); }
.esbb-steps > div { display: flex; align-items: center; gap: 8px; color: #93a0b1; font: 700 10px/1 JetBrains Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.esbb-steps b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #c8d0da; border-radius: 50%; background: #fff; font-size: 10px; }
.esbb-steps .is-active { color: var(--esbb-navy); }
.esbb-steps .is-active b { border-color: var(--esbb-gold); background: var(--esbb-gold); color: var(--esbb-navy); }
.esbb-steps i { width: clamp(28px, 6vw, 90px); height: 1px; margin: 0 14px; background: var(--esbb-line); }

.esbb-registration-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); min-height: 620px; }
.esbb-registration-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(32px, 4vw, 58px); background: linear-gradient(145deg, #fff 35%, #f4f7fb 100%); }
.esbb-registration-intro h1, .esbb-event-hero h1, .esbb-reveal h1, .esbb-empty h2 { margin: 9px 0 17px; color: var(--esbb-navy); font-family: "Work Sans", Inter, sans-serif; font-weight: 750; letter-spacing: -.04em; }
.esbb-registration-intro h1 { max-width: 650px; font-size: clamp(42px, 5.2vw, 70px); line-height: 1.02; }
.esbb-registration-intro > p:not(.esbb-eyebrow) { max-width: 600px; margin: 0; color: var(--esbb-muted); font-size: 16px; line-height: 1.75; }
.esbb-eyebrow { margin: 0; color: var(--esbb-gold-dark); font: 800 10px/1.2 JetBrains Mono, monospace; letter-spacing: .2em; text-transform: uppercase; }
.esbb-product-frame { position: relative; width: 100%; max-width: 610px; margin: 18px 0 16px; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; box-shadow: 0 16px 38px rgba(0, 33, 71, .09); }
.esbb-product-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--esbb-navy) 0 72%, var(--esbb-gold) 72%); }
.esbb-product-frame img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.esbb-product-badge { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 8px 11px; border-radius: 3px; background: var(--esbb-navy); color: #fff; font: 700 9px/1 JetBrains Mono, monospace; letter-spacing: .12em; text-transform: uppercase; }
.esbb-trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--esbb-navy-2); font-size: 11px; font-weight: 700; }
.esbb-trust-row span::first-letter { color: var(--esbb-gold); }

.esbb-form-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(30px, 4vw, 56px); border-left: 1px solid var(--esbb-line); background: #fff; }
.esbb-form-heading { margin-bottom: 24px; text-align: left; }
.esbb-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border: 1px solid #d8c174; border-radius: 3px; background: var(--esbb-gold-soft); color: var(--esbb-gold-dark); }
.esbb-form-heading .esbb-form-kicker { margin: 0 0 7px; color: var(--esbb-gold-dark); font: 800 9px/1 JetBrains Mono, monospace; letter-spacing: .16em; text-transform: uppercase; }
.esbb-form-heading h2 { margin: 0 0 8px; color: var(--esbb-navy); font: 750 32px/1.15 "Work Sans", Inter, sans-serif; letter-spacing: -.025em; }
.esbb-form-heading > p:not(.esbb-form-kicker), .esbb-otp p { margin: 0; color: var(--esbb-muted); font-size: 13px; }
.esbb-login-notice { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--esbb-gold); background: #faf8ef; color: var(--esbb-navy-2); font-size: 12px; }
.esbb-login-notice a { color: var(--esbb-navy) !important; font-weight: 800; text-decoration: none !important; }
.esbb-form { display: grid; gap: 15px; }
.esbb-form label:not(.esbb-consent), .esbb-otp label { position: relative; display: grid; gap: 7px; }
.esbb-form label > span, .esbb-otp label > span { color: var(--esbb-navy-2); font: 800 10px/1.2 JetBrains Mono, monospace; letter-spacing: .07em; text-transform: uppercase; }
.esbb-form input, .esbb-otp input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 3px; outline: 0; background: #fff; color: var(--esbb-ink); font: 400 14px Inter, sans-serif; transition: border-color .2s, box-shadow .2s, background .2s; }
.esbb-form input:hover, .esbb-otp input:hover { background: #fafbfd; }
.esbb-form input:focus, .esbb-otp input:focus { border-color: var(--esbb-navy); box-shadow: 0 0 0 3px rgba(0, 33, 71, .1); }
.esbb-form small { position: absolute; right: 12px; bottom: 15px; color: #929dad; font-size: 9px; }
.esbb-consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; color: #526173; font-size: 11px; line-height: 1.45; }
.esbb-consent input { width: 15px; height: 15px; margin: 1px 0; accent-color: var(--esbb-navy); }
.esbb-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.esbb-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 24px; border: 1px solid transparent; border-radius: 3px; text-decoration: none !important; font: 800 11px/1.2 JetBrains Mono, monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.esbb-button:hover { transform: translateY(-1px); }
.esbb-button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.esbb-button-primary { background: var(--esbb-navy); color: #fff !important; box-shadow: 0 9px 20px rgba(0, 33, 71, .18); }
.esbb-button-primary:hover { background: var(--esbb-navy-2); box-shadow: 0 12px 25px rgba(0, 33, 71, .24); }
.esbb-button-outline { border-color: var(--esbb-navy); background: #fff; color: var(--esbb-navy); }
.esbb-link { border: 0; background: none; color: var(--esbb-navy); text-decoration: underline; cursor: pointer; }
.esbb-link:disabled { color: #999; cursor: not-allowed; }

.esbb-event-hero, .esbb-reveal, .esbb-empty { max-width: 820px; min-height: 0; margin: 0 auto; padding: clamp(36px, 5vw, 58px) 28px; text-align: center; }
.esbb-event-hero h1, .esbb-reveal h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1.03; }
.esbb-event-hero > p:not(.esbb-eyebrow):not(.esbb-event-date), .esbb-reveal > p:not(.esbb-eyebrow), .esbb-empty p { max-width: 620px; margin: 0 auto 22px; color: var(--esbb-muted); line-height: 1.7; }
.esbb-event-hero h2 { margin: 14px 0 10px; color: var(--esbb-navy); font: 750 clamp(27px, 4vw, 38px) "Work Sans", sans-serif; }
.esbb-hero-image { position: relative; max-width: 620px; margin: 18px auto; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 6px; background: var(--esbb-cloud); box-shadow: 0 18px 45px rgba(0, 33, 71, .08); }
.esbb-hero-image img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.esbb-lock { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 3px; background: var(--esbb-navy); color: var(--esbb-gold); box-shadow: 0 7px 18px rgba(0, 33, 71, .2); }
.esbb-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin: 28px auto; }
.esbb-countdown > div { padding: 19px 8px; border: 1px solid var(--esbb-line); border-top: 3px solid var(--esbb-navy); border-radius: 3px; background: #fff; }
.esbb-countdown b { display: block; color: var(--esbb-navy); font: 750 clamp(29px, 5vw, 44px) "Work Sans", sans-serif; }
.esbb-countdown span { display: block; margin-top: 5px; color: var(--esbb-muted); font: 700 8px/1 JetBrains Mono, monospace; letter-spacing: .15em; text-transform: uppercase; }
.esbb-event-date { color: var(--esbb-gold-dark); font-size: 11px; font-weight: 700; }
.esbb-ready .esbb-open { min-width: 280px; align-self: center; }
.esbb-no-prize .esbb-button { align-self: center; }
.esbb-no-prize .esbb-hero-image { filter: saturate(.72); }

.esbb-voucher { position: relative; max-width: 560px; margin: 30px auto 18px; padding: 38px 32px; overflow: hidden; border: 1px solid var(--esbb-gold); border-radius: 5px; background: linear-gradient(145deg, #fff 0 52%, #fff8e8 100%); box-shadow: 0 18px 45px rgba(0, 33, 71, .1); }
.esbb-voucher::before { content: "EMASNOW"; position: absolute; right: -14px; top: 20px; color: rgba(0, 33, 71, .045); font: 800 62px/1 "Work Sans", sans-serif; letter-spacing: -.05em; transform: rotate(-90deg) translateX(-35%); }
.esbb-voucher::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--esbb-navy); }
.esbb-voucher > span { display: block; color: var(--esbb-navy); font: 800 9px/1 JetBrains Mono, monospace; letter-spacing: .2em; text-transform: uppercase; }
.esbb-voucher strong { display: block; margin: 10px 0 -9px; color: var(--esbb-navy); font: 800 clamp(72px, 14vw, 118px)/1 "Work Sans", sans-serif; letter-spacing: -.07em; }
.esbb-voucher em { color: var(--esbb-gold-dark); font: 800 38px/1 "Work Sans", sans-serif; font-style: normal; }
.esbb-code { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 350px; margin: 24px auto 0; padding: 13px 16px; border: 1px dashed #92a0b2; border-radius: 3px; background: #f8fafc; }
.esbb-code code { color: var(--esbb-navy); font: 700 16px/1.2 JetBrains Mono, monospace; letter-spacing: .08em; }
.esbb-copy { border: 0; background: transparent; color: var(--esbb-navy); cursor: pointer; }
.esbb-voucher-terms { max-width: 560px; margin: 0 auto 22px; padding: 25px; border: 1px solid var(--esbb-line); border-radius: 4px; text-align: left; }
.esbb-voucher-terms h2 { margin: 0 0 16px; color: var(--esbb-navy); font: 750 22px "Work Sans", sans-serif; }
.esbb-voucher-terms dl { margin: 0; }
.esbb-voucher-terms dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid #e7ebf0; }
.esbb-voucher-terms dt { color: var(--esbb-muted); font-size: 12px; }
.esbb-voucher-terms dd { margin: 0; color: var(--esbb-navy); text-align: right; font-size: 12px; font-weight: 800; }
.esbb-reveal > .esbb-button { margin: 5px; }
.esbb-status-chip { display: inline-flex; align-items: center; gap: 6px; margin: 3px 0 18px; padding: 8px 15px; border: 1px solid #e4d2a9; border-radius: 99px; background: #fff9e9; color: var(--esbb-gold-dark); font-size: 12px; font-weight: 700; }
.esbb-status-chip.esbb-used { border-color: #b8d5b8; background: #eef7ee; color: #326532; }
.esbb-empty h2 { font-size: clamp(36px, 6vw, 56px); }
.esbb-footer { display: flex; justify-content: space-between; gap: 20px; padding: 19px clamp(22px, 5vw, 68px); border-top: 1px solid var(--esbb-line); background: #fbfcfd; color: #778497; font: 600 9px/1.5 JetBrains Mono, monospace; letter-spacing: .04em; text-transform: uppercase; }
.esbb-opened .esbb-hero-image { animation: esbb-reveal-pulse .65s ease; }
.esbb-rate-countdown { font-variant-numeric: tabular-nums; font-weight: 800; }

@keyframes esbb-reveal-pulse { 50% { transform: scale(1.02); box-shadow: 0 0 50px rgba(212, 166, 42, .35); } }

@media (max-width: 860px) {
  .esbb-registration-layout { grid-template-columns: 1fr; }
  .esbb-registration-intro { padding: 48px 28px; }
  .esbb-form-card { padding: 44px 28px; border-top: 1px solid var(--esbb-line); border-left: 0; }
  .esbb-product-frame { max-width: none; }
}

@media (max-width: 560px) {
  .esbb-app { margin: 0 auto; padding: 0; }
  .esbb-shell { border-right: 0; border-left: 0; border-radius: 0; }
  .esbb-steps { padding: 12px 12px 0; }
  .esbb-steps span { display: none; }
  .esbb-steps i { width: 46px; margin: 0 8px; }
  .esbb-registration-intro { padding: 38px 20px; }
  .esbb-registration-intro h1 { font-size: 42px; }
  .esbb-form-card { padding: 38px 20px; }
  .esbb-form small { position: static; margin-top: -3px; }
  .esbb-trust-row { display: grid; }
  .esbb-event-hero, .esbb-reveal, .esbb-empty { min-height: 0; padding: 32px 18px; }
  .esbb-countdown { gap: 6px; }
  .esbb-countdown > div { padding: 14px 2px; }
  .esbb-countdown b { font-size: 29px; }
  .esbb-voucher { padding: 32px 17px; }
  .esbb-voucher strong { font-size: 78px; }
  .esbb-voucher-terms dl > div { display: grid; gap: 4px; }
  .esbb-voucher-terms dd { text-align: left; }
  .esbb-footer { display: grid; justify-content: center; text-align: center; }
}
