@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.sc-escape-room { --k-bg: #050507; --k-ink: #f1eefc; --k-muted: #9792b0; --k-ac: #f1eefc; --k-ac-ink: #050507; --k-surface: #111018; --k-line: rgba(241,238,252,.14);
  --k-display: "Cinzel", Georgia, serif; --k-body: "Inter Tight", system-ui, sans-serif; --k-dw: 600; --k-track: .01em; --k-case: uppercase; --k-lh: 1.02; --k-r: 18px; }
.sc-escape-room em { font-style: normal; background: linear-gradient(90deg, #ff4fd8, #7b3cff, #4fc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { position: relative; min-height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 60px var(--k-pad); text-align: center; overflow: hidden; perspective: 1000px; }
.hero h1 { position: relative; z-index: 2; margin: 0; font-size: clamp(42px, 6.6vw, 110px); text-shadow: 0 0 40px rgba(0,0,0,.8); }
.hero .k-btn { position: relative; z-index: 2; }
.hero .k-kicker { position: relative; z-index: 2; }
.cards3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.c3 { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(110px, 12vw, 180px); aspect-ratio: 2 / 3; margin: calc(clamp(110px, 12vw, 180px) * -.75) 0 0 calc(clamp(110px, 12vw, 180px) * -.5); border-radius: 14px; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 40%), linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 30px 60px rgba(0,0,0,.6); color: rgba(255,255,255,.9); font-size: 44px; opacity: .55; transform: translate3d(var(--x), var(--y), var(--z)) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.c3:nth-child(1) { --x: -38vw; --y: -18vh; --z: -100px; --rx: 20deg; --ry: 30deg; --rz: -18deg; }
.c3:nth-child(2) { --x: 34vw; --y: -24vh; --z: -60px; --rx: -10deg; --ry: -30deg; --rz: 14deg; }
.c3:nth-child(3) { --x: -30vw; --y: 26vh; --z: 40px; --rx: 30deg; --ry: 10deg; --rz: 22deg; }
.c3:nth-child(4) { --x: 36vw; --y: 22vh; --z: -20px; --rx: -20deg; --ry: -20deg; --rz: -10deg; }
.c3:nth-child(5) { --x: -10vw; --y: -36vh; --z: -200px; --rx: 40deg; --ry: 0deg; --rz: 8deg; }
.c3:nth-child(6) { --x: 12vw; --y: 38vh; --z: -160px; --rx: -30deg; --ry: 20deg; --rz: -24deg; }
.eyes { position: absolute; left: 50%; bottom: 8%; display: flex; gap: 14px; transform: translateX(-50%); }
.eyes i { width: 34px; height: 14px; border-radius: 50% 50% 50% 50% / 100% 100% 0 0; background: #fff; box-shadow: 0 0 20px #fff; animation: blink 4s infinite; }
.eyes i + i { transform: scaleX(-1); }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.eyes i + i { animation-name: blink2; }
@keyframes blink2 { 0%, 92%, 100% { transform: scaleX(-1) scaleY(1); } 95% { transform: scaleX(-1) scaleY(.1); } }

.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.room { position: relative; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; color: #fff; perspective: 1200px; text-align: left; }
.room-front, .room-back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 26px; border-radius: var(--k-r); backface-visibility: hidden; transition: transform .9s cubic-bezier(.3,1.3,.4,1); }
.room-front { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 30%), linear-gradient(160deg, var(--a), var(--b) 80%); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.room-back { background: #15131f; border: 1px solid var(--k-line); transform: rotateY(180deg); justify-content: center; }
.room[aria-pressed="true"] .room-front { transform: rotateY(-180deg); }
.room[aria-pressed="true"] .room-back { transform: rotateY(0); }
.room-n { position: absolute; top: 22px; left: 26px; font: 600 64px "Cinzel"; opacity: .35; }
.room b { font: 600 clamp(24px, 2.4vw, 34px)/1.05 "Cinzel"; text-transform: uppercase; }
.room-back span { color: #cfcae6; line-height: 1.5; }
.tap { font-size: 13px; opacity: .8; }
.diff { display: flex; gap: 6px; }
.diff i { width: 26px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); }
.diff i.on { background: linear-gradient(90deg, var(--a), var(--b)); }
.room-back small { color: var(--k-muted); }

.lock { background: radial-gradient(60% 80% at 80% 50%, rgba(123,60,255,.2), transparent 70%), var(--k-surface); }
.lock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.riddle { max-width: 520px; font: 600 clamp(20px, 2vw, 28px)/1.4 "Cinzel"; }
.hint { color: var(--k-muted); }
.padlock { display: grid; justify-items: center; gap: 0; }
.shackle { width: 220px; margin-bottom: -6px; overflow: visible; }
[data-shackle] { transition: transform .8s cubic-bezier(.34,1.56,.64,1); transform-origin: 160px 120px; transform-box: view-box; }
.padlock.open [data-shackle] { transform: translateY(-34px) rotate(-24deg); }
.dials { display: flex; gap: 14px; padding: 30px 34px; border-radius: 26px; background: linear-gradient(160deg, #2c2a3a, #121019); box-shadow: inset 0 2px 0 rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.6); }
.dial { display: grid; justify-items: center; gap: 6px; }
.dial button { width: 50px; height: 36px; border: 0; border-radius: 10px; background: #2f2c42; color: var(--k-muted); }
.dial output { display: grid; place-items: center; width: 62px; height: 78px; border-radius: 12px; background: #050507; font: 600 46px "Cinzel"; box-shadow: inset 0 0 20px rgba(123,60,255,.4); }
.dial output.roll { animation: roll .25s; }
@keyframes roll { from { transform: translateY(-30%); opacity: .2; } }
.padlock .k-btn { margin-top: 22px; }
.padlock.shake .dials { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
.padlock.open .dials { box-shadow: 0 0 0 3px #7bffb8, 0 0 60px rgba(123,255,184,.4); }
.lock-msg { min-height: 1.4em; margin-top: 14px; text-align: center; font-weight: 600; }

.book-grid { display: grid; gap: 22px; max-width: 900px; }
.book-grid .k-chips button { color: var(--k-ink); }
.book-grid .k-chips button[aria-checked="true"] { background: linear-gradient(90deg, #ff4fd8, #7b3cff); border-color: transparent; color: #fff; }
.players { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--k-line); border-radius: 99px; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 22px; }
.stepper output { min-width: 30px; text-align: center; font: 600 24px "Cinzel"; }
.avatars { display: flex; gap: 6px; }
.avatars i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg, var(--a), var(--b)); animation: pop .4s cubic-bezier(.34,1.8,.64,1); }
@keyframes pop { from { transform: scale(0); } }
.price-out b { font: 600 56px "Cinzel"; }
.price-out span { margin-left: 12px; color: var(--k-muted); }

@media (max-width: 899px) {
  .room-grid, .lock-grid { grid-template-columns: 1fr; }
  .room { aspect-ratio: 4 / 3; }
  .c3 { opacity: .35; }
}

/* fx · ondata 5-6 */

.w6-zoom { --fx-zi: 22%; --fx-zx: 30%; }
.w6-zoom-t { position: absolute; inset: auto var(--k-pad, 24px) 9vh; display: grid; gap: 4px; margin: 0; color: #fff; font-size: clamp(46px, 7vw, 124px); line-height: .92; text-shadow: 0 10px 40px rgba(0,0,0,.45); opacity: clamp(0, calc((var(--p, 0) - .5) * 3), 1); }
.w6-zoom-t em, .w6-zoom-t b { font-style: normal; }
.w6-h { --fx-h-gap: 20px; }
.w6-h-head { flex: none; width: min(420px, 74vw); align-self: center; }
.w6-h-head h2 { margin: 0 0 12px; font-size: clamp(48px, 6vw, 100px); line-height: .92; }
.w6-hc { flex: none; width: clamp(280px, 27vw, 420px); overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.06); }
.w6-hc .fx-ph { aspect-ratio: 4 / 4.4; } .w6-hc .fx-ph img { transition: transform 1.1s cubic-bezier(.16,1,.3,1); } .w6-hc:hover .fx-ph img { transform: scale(1.06); }
.w6-hc > div { display: grid; gap: 2px; padding: 16px 20px 20px; } .w6-hc span { font-size: 12px; font-weight: 700; letter-spacing: .16em; opacity: .6; } .w6-hc b { font-size: 26px; line-height: 1.05; } .w6-hc p { margin: 0; opacity: .7; font-size: 15px; }
@media (max-width: 760px) { .w6-hc { width: 76vw; } }
@media (prefers-reduced-motion: reduce) { .w6-zoom-t { opacity: 1; } }

.er-torch { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #000; cursor: none; --tx: calc(20% + var(--p, .5) * 60%); --ty: 45%; }
.er-dark, .er-lit { position: absolute; inset: 0; } .er-dark img, .er-lit img { width: 100%; height: 100%; object-fit: cover; }
.er-dark img { filter: brightness(.12) saturate(.4); }
.er-lit { -webkit-mask-image: radial-gradient(circle 190px at var(--tx) var(--ty), #000 30%, transparent 75%); mask-image: radial-gradient(circle 190px at var(--tx) var(--ty), #000 30%, transparent 75%); }
.er-lit img { filter: brightness(1.15) sepia(.35); }
.er-t-c { position: absolute; left: var(--k-pad); bottom: 8vh; max-width: 460px; color: #fff; pointer-events: none; }
.er-t-c h2 { margin: 0 0 12px; font-size: clamp(44px, 5.6vw, 92px); line-height: .95; } .er-t-c p:last-child { color: #b9b4c9; }
.er-clue { position: absolute; right: 18%; top: 30%; color: #ffcf5a; font: 700 44px monospace; letter-spacing: .2em; -webkit-mask-image: radial-gradient(circle 190px at calc(var(--tx) - 82% + 100%) var(--ty), #000 30%, transparent 70%); opacity: .9; }
.er-h { color: #fff; }
@media (prefers-reduced-motion: reduce) { .er-lit { -webkit-mask-image: none; mask-image: none; opacity: .6; } }
.er-clue { -webkit-mask-image: none; opacity: 0; transition: opacity .4s; } .er-torch:hover .er-clue { opacity: .9; }
