:root {
  --blue: #78bde8;
  --blue-bright: #b8e3ff;
  --ink: #08090a;
  --midnight: #070c15;
  --night: #0c1727;
  --orange: #ffad43;
  --cream: #fffdf7;
  --line: #dfe6eb;
  --muted: #52606d;
  --chunk: "Roboto Slab", "Rockwell Extra Bold", Rockwell, "Arial Black", serif;
  --roboto: "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--roboto);
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px clamp(24px, 5vw, 56px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  position: relative;
  text-decoration: none;
}
.wordmark-logo { display: block; width: 184px; height: 62px; object-fit: cover; object-position: center; }
.wordmark::after { content: ""; position: absolute; top: 0; right: 0; width: 21%; height: 52%; background: var(--cream); pointer-events: none; }
.footer-wordmark .wordmark-logo { width: 142px; height: 48px; }

.header-booking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.header-booking:hover, .header-booking:focus-visible { color: #fff; background: var(--ink); }

.intro { max-width: 790px; margin: clamp(36px, 8vw, 96px) auto 56px; padding: 0 24px; text-align: center; }
.eyebrow, .section-label, .night-label, .claim-eyebrow, .reveal-topline, .attempts-label, .trick-kicker {
  margin: 0;
  color: #3d4b56;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { color: #2d4657; }

.campaign-title {
  display: flex;
  flex-direction: column;
  margin: 10px 0 16px;
  color: var(--ink);
  font-family: var(--chunk);
  font-size: clamp(3.3rem, 10.6vw, 8.2rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .8;
  text-shadow: .5px 0 currentColor;
}
.intro-copy { max-width: 510px; margin: 0 auto; color: #33424d; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.55; }

.door-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1320px;
  min-height: 710px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 90px) clamp(24px, 7vw, 100px) 50px;
  color: #f9fbff;
  background:
    radial-gradient(ellipse at 77% 58%, rgba(188,132,76,.15), transparent 31%),
    linear-gradient(118deg, #060a0f 0%, #101926 54%, #08111b 100%);
}
.door-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .28;
  background: radial-gradient(ellipse at 82% 50%, transparent 0 26%, rgba(0,0,0,.38) 72%, rgba(0,0,0,.72) 100%);
}

.moon, .web, .bat, .fog, .pumpkin { display: none; }

.door-copy { position: relative; z-index: 2; width: min(42%, 410px); padding-top: 82px; }
.night-label { color: var(--blue-bright); }
.door-copy h2 { margin: 10px 0 18px; font-family: var(--chunk); font-size: clamp(2.2rem, 4vw, 4.1rem); font-weight: 400; letter-spacing: -.055em; line-height: .82; }
.door-instruction { max-width: 280px; margin: 0; color: #d9e5ef; font-size: 1.03rem; line-height: 1.58; }
.attempts { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-top: 34px; }
.attempts-label { color: var(--blue-bright); }
.attempt-dots { display: inline-flex; gap: 6px; }
.attempt-dot { width: 9px; height: 9px; border: 1px solid var(--blue); border-radius: 50%; background: transparent; }
.attempt-dot.used { background: var(--blue); }
.attempts-status { color: #f7fbff; font-size: .78rem; font-weight: 700; }

.door-interaction { position: absolute; z-index: 2; right: clamp(24px, 7vw, 104px); bottom: 54px; display: grid; justify-items: center; width: min(47%, 480px); }
.door-halo { position: absolute; z-index: -1; width: 132%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236,162,81,.18), transparent 63%); filter: blur(18px); }
.door-scene { position: relative; width: min(100%, 366px); aspect-ratio: 3 / 4; perspective: 1300px; }
.doorway { position: absolute; inset: 0; display: grid; place-items: end center; }
.inner-light { position: absolute; inset: 4%; background: radial-gradient(ellipse at 58% 40%, #c87539 0, #40261c 37%, #0d1014 78%); box-shadow: 0 14px 44px 5px rgba(0,0,0,.32); }
.door-frame { position: relative; z-index: 2; width: 100%; height: 100%; padding: 0; background: transparent; box-shadow: 0 22px 42px rgba(0,0,0,.42); }
.door-frame::before, .door-frame::after { display: none; }
.door { position: relative; overflow: hidden; width: 100%; height: 100%; padding: 0; border: 0; background: url("/manus-storage/async-images/BVevPpfJ2T3icylvN5NWGN/image-1.webp") center / cover no-repeat; box-shadow: 0 18px 35px rgba(0,0,0,.44), inset 0 0 0 1px rgba(255,255,255,.08); transform-origin: left center; transition: transform 1.35s cubic-bezier(.21,.85,.14,1), filter .2s ease; transform-style: preserve-3d; }
.door:not(:disabled):hover, .door:not(:disabled):focus-visible { filter: brightness(1.05) saturate(.97); outline: 2px solid rgba(184,227,255,.75); outline-offset: 6px; }
.door:disabled { cursor: default; }
.door.opening { transform: rotateY(-104deg); }
.door::after, .door-plank, .door-number, .door-knocker, .door-handle { display: none; }
.door-accessible-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sound-toggle { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 8px 11px; border: 1px solid rgba(184,227,255,.42); border-radius: 999px; color: #d7edfc; background: rgba(3,9,16,.5); font-size: .72rem; font-weight: 700; }
.sound-toggle:hover, .sound-toggle:focus-visible { background: rgba(120,189,232,.2); outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.sound-icon { color: var(--blue-bright); font-size: 1rem; }

.play-status { position: absolute; z-index: 3; bottom: 54px; left: clamp(24px, 7vw, 100px); max-width: 355px; color: #e3eff8; font-size: .88rem; line-height: 1.45; }
.trick-message { position: absolute; z-index: 8; top: 50%; left: 50%; display: grid; place-items: center; width: min(480px, 80vw); min-height: 210px; padding: 36px; border: 1px solid rgba(184,227,255,.5); color: #fff; background: rgba(5,11,20,.94); box-shadow: 0 0 0 10px rgba(120,189,232,.08), 0 30px 90px rgba(0,0,0,.5); text-align: center; transform: translate(-50%,-50%) scale(.9); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.trick-message.visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.trick-spark { position: absolute; color: var(--orange); font-size: 3rem; animation: spin 3.2s linear infinite; }
.trick-kicker { position: relative; color: var(--blue-bright); }
.trick-line { position: relative; max-width: 290px; margin: 8px 0 0; font-family: var(--chunk); font-size: clamp(1.45rem, 3vw, 2.3rem); font-weight: 400; letter-spacing: -.03em; line-height: .95; }

.reveal-panel, .claim-panel { position: relative; z-index: 5; width: min(100%, 500px); margin: 46px 0 0; padding: 30px; border: 1px solid rgba(184,227,255,.54); color: var(--ink); background: var(--cream); box-shadow: 15px 15px 0 rgba(120,189,232,.29); }
.reveal-panel { margin-right: auto; margin-left: auto; }
.reveal-topline { color: #315a76; }
.reveal-name { margin: 9px 0 8px; font-family: var(--chunk); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 400; letter-spacing: -.055em; line-height: .93; }
.offer-label { display: inline-block; margin: 0 0 11px; padding: 5px 8px; color: #1d4a68; background: #d9f0ff; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.offer-description { margin: 0; color: #40515d; font-size: .94rem; line-height: 1.5; }
.reveal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 21px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 16px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font-weight: 900; font-size: .8rem; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.primary-button:hover, .primary-button:focus-visible { color: var(--ink); background: var(--blue); transform: translateY(-2px); }
.secondary-button { color: var(--ink); background: transparent; }
.secondary-button:hover, .secondary-button:focus-visible { background: #edf5fa; transform: translateY(-2px); }
.primary-button:focus-visible, .secondary-button:focus-visible { outline: 3px solid #225f86; outline-offset: 3px; }

.revealed-treats { display: grid; gap: 10px; margin-top: 22px; }
.treat-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0 0; border-top: 1px solid #dce5eb; }
.treat-choice p { margin: 0; font-size: .85rem; font-weight: 900; line-height: 1.2; }
.treat-choice button { padding: 7px 9px; border: 1px solid #768692; color: var(--ink); background: transparent; font-size: .72rem; font-weight: 900; }
.treat-choice button:hover, .treat-choice button:focus-visible { border-color: var(--blue); background: #dff2ff; }
.claim-panel { margin-right: auto; margin-left: auto; text-align: center; }
.claim-eyebrow { color: #315a76; }
.claim-card h3 { margin: 10px 0 8px; font-family: var(--chunk); font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 400; letter-spacing: -.05em; line-height: .92; }
.claim-card p { margin: 0 auto 12px; color: #3a4a54; line-height: 1.5; }
.booking-instructions { margin: 18px 0; padding: 15px; border-left: 4px solid var(--blue); background: #f0f8fc; text-align: left; }
.booking-instructions p { margin: 0; color: #334956; font-size: .86rem; line-height: 1.5; }
.booking-instructions .booking-instructions-title { margin-bottom: 5px; color: #163e58; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.show-screen { display: flex; justify-content: center; gap: 10px; align-items: center; margin: 21px 0 18px; padding: 14px; border: 1px dashed #4d718a; color: #17354b; background: #e2f2fc; font-weight: 900; font-size: .9rem; }
.show-screen span { font-size: 1.2rem; }
.claim-meta { color: #51616e !important; font-size: .8rem; }
.claim-panel .primary-button { margin-top: 10px; }

.how-it-works { max-width: 1100px; margin: 0 auto; padding: clamp(78px, 12vw, 150px) 24px; }
.how-it-works h2, .terms h2 { max-width: 630px; margin: 11px 0 42px; font-family: var(--chunk); font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { min-height: 202px; padding: 23px 27px 22px 0; border-right: 1px solid var(--ink); }
.step:not(:first-child) { padding-left: 27px; }
.step:last-child { border-right: 0; }
.step span { color: #355c75; font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.step h3 { margin: 28px 0 9px; font-size: 1.15rem; letter-spacing: -.03em; }
.step p { max-width: 220px; margin: 0; color: #53616b; font-size: .9rem; line-height: 1.45; }

.terms { color: #eff9ff; background: #0b1624; }
.terms-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; max-width: 1320px; margin: 0 auto; padding: clamp(62px, 9vw, 120px) clamp(24px, 6vw, 80px); }
.terms .section-label { color: var(--blue-bright); }
.terms h2 { margin-bottom: 0; color: #fff; }
.terms-copy { max-width: 545px; }
.terms-copy p { margin: 0 0 18px; color: #d4e1ea; line-height: 1.65; }
.terms-copy strong { color: #fff; }
.terms-button { margin-top: 13px; color: var(--ink); background: var(--blue); }
.terms-button:hover, .terms-button:focus-visible { color: #fff; background: #4f97c4; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; max-width: 1320px; margin: 0 auto; padding: 28px clamp(24px, 5vw, 56px); }
.footer-wordmark { font-size: .92rem; }
.site-footer p { margin: 0; color: #586875; font-size: .8rem; }

@keyframes flutter { 0%,100% { margin-top: 0; } 45% { margin-top: -12px; } 65% { margin-top: 4px; } }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(8%); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 780px) {
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .door-section { display: flex; flex-direction: column; min-height: 860px; padding-bottom: 38px; }
  .moon { top: 85px; right: 8%; }
  .door-copy { width: 100%; padding-top: 30px; text-align: center; }
  .door-copy h2 { max-width: 290px; margin-right: auto; margin-left: auto; }
  .door-instruction { margin-right: auto; margin-left: auto; }
  .attempts { justify-content: center; }
  .door-interaction { position: relative; right: auto; bottom: auto; order: 1; width: min(100%, 340px); margin: 44px auto 0; }
  .play-status { position: relative; bottom: auto; left: auto; order: 2; max-width: none; margin-top: 28px; text-align: center; }
  .reveal-panel, .claim-panel { order: 3; margin-top: 30px; }
  .trick-message { position: fixed; z-index: 20; top: 50%; }
  .bat-one { top: 31%; right: 5%; }.bat-two { top: 22%; right: 20%; }.bat-three { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:first-child) { min-height: auto; padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .step h3 { margin-top: 13px; }
  .terms-inner { grid-template-columns: 1fr; gap: 28px; }
  .terms h2 { margin: 9px 0 0; }
}

@media (max-width: 470px) {
  .header-booking { padding: 9px 10px; font-size: .75rem; }
  .wordmark-logo { width: 145px; height: 49px; }
  .footer-wordmark .wordmark-logo { width: 125px; height: 42px; }
  .intro { margin-top: 38px; }
  .campaign-title { font-size: clamp(3rem, 17vw, 4.6rem); }
  .reveal-panel, .claim-panel { padding: 24px; }
  .reveal-actions { display: grid; }
  .reveal-actions > * { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
