@charset "UTF-8";
:root { color-scheme: dark; --night: #090f15; --white: #fff8e7; --muted: #b7bcb3; --green: #b1ee58; --gold: #ffce79; --display: "Arial Black", Impact, sans-serif; --body: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--night); color: var(--white); font: 16px/1.6 var(--body); }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 7px; }
.pointer-navigation :focus-visible { outline: none; }
h1:focus { outline: none; }
::selection { color: #10200b; background: var(--green); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--green); color: var(--night); z-index: 10; }
.skip-link:focus { top: 15px; }
.green { color: var(--green); }
.site-header, .entry-header { position: absolute; top: 0; left: 0; width: 100%; padding: 27px 4.5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 900; letter-spacing: -.8px; line-height: 1.05; }
.brand img { object-fit: contain; width: 255px; height: 85px; filter: drop-shadow(0 3px 10px #0008); }
.brand small { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2.3px; color: #d0d4bd; margin-top: 8px; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.text-button { border: 0; background: transparent; padding: 10px 0; color: #d5d9cf; font-size: 13px; }
.text-button > span:first-child { margin-right: 8px; }
.text-button:hover { color: var(--gold); }
.header-join { border: 1px solid #c8e5a04a; background: #101b14a8; padding: 11px 21px; font-size: 14px; }
.header-join span { padding-left: 24px; color: var(--green); }
.header-join:hover { background: #233523d9; }
.world-hero { position: relative; min-height: 850px; height: 100svh; max-height: 1250px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.world-scene, .world-shade, .embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.world-scene { z-index: -3; background: #13201d url('assets/minecraft-world.png') center center / cover no-repeat; transform: scale(1.035); transition: transform 2.5s ease-out; }
.is-entered .world-scene { transform: scale(1); }
.world-shade { z-index: -2; background: linear-gradient(#050c13a6, transparent 22%, transparent 65%, #090f15 100%), radial-gradient(ellipse at 50% 43%, #06110f9c 0%, #07121055 25%, transparent 61%); }
.embers { z-index: 1; }
.torch-glow { position: absolute; top: 32%; width: 200px; height: 280px; border-radius: 50%; background: radial-gradient(ellipse, #ffb72a35, #ff8a1510 40%, transparent 69%); pointer-events: none; mix-blend-mode: screen; animation: firelight 2.2s ease-in-out infinite alternate; }
.torch-glow-left { left: calc(var(--torch-left, 9%) - 100px); }
.torch-glow-right { left: calc(var(--torch-right, 91%) - 100px); animation-delay: -.8s; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 135px 24px 115px; width: 100%; }
.overline { color: var(--gold); font-size: 11px; letter-spacing: 3px; line-height: 1.8; font-weight: 700; }
.hero-content .overline { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 25px; }
.hero-content .overline span { width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-content .overline span:last-child { transform: rotate(180deg); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -.6px; line-height: 1.08; }
h1 { font-size: clamp(48px, 5.4vw, 82px); text-shadow: 0 5px 0 #19251d, 0 8px 0 #040a08, 0 12px 35px #0009; }
h1 > span { color: var(--green); }
.hero-description { font-size: 17px; color: #e3e4d9; line-height: 1.8; margin: 25px 0 30px; text-shadow: 0 2px 12px #000; }
.game-button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 66px; min-width: 250px; padding: 15px 25px; background: linear-gradient(#d1fa79, #94d74a); color: #172810; border: 2px solid #d9ff93; box-shadow: inset 0 -3px #81b33d, 0 5px 0 #3a581d, 0 8px 32px #93e65230; font-size: 14px; font-weight: 900; letter-spacing: 1px; transition: transform .2s, filter .2s, box-shadow .2s; }
.game-button svg { width: 19px; height: 19px; fill: currentColor; }
.game-button > span { margin-left: 16px; font-size: 23px; line-height: 1; }
.game-button:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: inset 0 -3px #81b33d, 0 8px 0 #3a581d, 0 8px 45px #93e65250; }
.game-button:active { transform: translateY(4px); }
.copy-address { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 23px auto 0; background: #08151190; border: 1px solid #e6ffda15; padding: 12px 17px; color: #e5eada; font-family: monospace; font-size: 15px; }
.address-label { font: 9px var(--body); color: #b0bda2; letter-spacing: 1.2px; }
.copy-address svg, .copy-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.copy-address:hover { border-color: #b1ee5880; color: var(--green); }
.copy-feedback { min-height: 20px; font-size: 12px; color: var(--green); margin: 8px 0 0; }
.hero-bottom { position: absolute; bottom: 32px; inset-inline: 4.5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 2; }
.world-note, .coordinate, .scroll-link { font-size: 9px; letter-spacing: 1.5px; color: #b4c0ad; }
.world-note > span { color: var(--green); margin-inline: 10px; }
.coordinate { font-family: monospace; }
.scroll-link { display: flex; flex-direction: column; align-items: center; gap: 5px; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.scroll-link span { font-size: 23px; color: var(--gold); }
.join-section { position: relative; padding: 55px 32px 75px; background: radial-gradient(ellipse at 30% 90%, #21372245, transparent 60%); }
.join-inner { max-width: 1080px; margin: auto; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 90px; }
.noah-card { height: 415px; position: relative; overflow: hidden; isolation: isolate; }
.portrait-aura { position: absolute; inset: 20% 0 0; background: radial-gradient(ellipse, #dc973f22, transparent 68%); }
.noah-card img { width: 100%; height: auto; position: relative; top: -15px; mix-blend-mode: lighten; mask-image: linear-gradient(transparent, #000 8%, #000 66%, transparent 94%); }
.noah-signature { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%) rotate(-8deg); color: var(--gold); font: italic 35px Georgia, serif; white-space: nowrap; text-shadow: 0 3px 10px #000; }
.noah-signature span { font: 12px var(--body); display: block; text-align: right; }
.join-copy .overline { color: var(--green); font-size: 10px; letter-spacing: 2px; margin: 0 0 18px; }
.join-copy h2 { font-size: clamp(31px, 3.1vw, 46px); line-height: 1.12; }
.join-copy h2 > span { color: var(--gold); }
.join-copy > p:not(.overline):not(.copy-feedback):not(.server-help) { color: var(--muted); margin: 20px 0 27px; font-size: 16px; }
.join-steps { display: flex; justify-content: space-between; gap: 14px; padding: 0; margin: 0 0 29px; list-style: none; }
.join-steps li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; }
.join-steps li > span { color: var(--gold); font: 12px/1.7 monospace; }
.join-steps small { display: block; font-size: 11px; color: #929f91; margin-top: 6px; }
.server-box { border: 1px solid #b1ee5840; border-left: 3px solid var(--green); background: #16271b60; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.server-box > div { flex: 1; min-width: 0; }
.server-box label { display: block; font-size: 9px; color: #a2b798; letter-spacing: 2px; margin-bottom: 3px; }
.server-box input { color: var(--green); border: 0; background: transparent; padding: 0; font: 700 clamp(20px, 2.2vw, 28px)/1.5 monospace; width: 100%; border-radius: 0; }
.copy-button { display: grid; place-items: center; width: 43px; height: 43px; background: #b1ee5810; border: 1px solid #b1ee5830; color: var(--green); flex-shrink: 0; }
.copy-button:hover { background: #b1ee5825; }
.server-help { color: #91a18b; font-size: 11px; margin: 10px 0 0; }
.join-feedback { margin: 0; }
.site-footer { padding: 28px 4.5%; border-top: 1px solid #e9ffe011; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; align-items: center; }
.site-footer > span { font-size: 15px; font-weight: 800; }
.site-footer small { margin-left: 22px; color: #9ba695; font-size: 12px; font-weight: 400; }
.site-footer > p { flex-basis: 100%; color: #6e7e70; font-size: 10px; margin: 0; }
.entry { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; margin: 0; background: #071210; color: var(--white); overflow: hidden; perspective: 1800px; }
.entry::backdrop { background: #090f15; }
.entry-shade { position: absolute; inset: 0; background: linear-gradient(#050a0ccc, transparent 24%, #07120b50 70%, #060b0ce0), radial-gradient(ellipse at center, #070f0d99, transparent 68%); transition: opacity .5s; pointer-events: none; }
.entry-glow { position: absolute; left: 49.8%; top: 8%; bottom: 0; width: .4%; background: #dfff95; box-shadow: 0 0 45px 15px #adff7777; opacity: .15; pointer-events: none; transition: opacity .4s, width 1s, left 1s; }
.entry-header, .entry-footer, .entry-content { transition: opacity .35s, transform .6s; }
.entry-content { position: relative; z-index: 3; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 25px 82px; }
.entry-content .overline { margin: 0 0 18px; font-size: 10px; letter-spacing: 3px; }
.entry-content h2 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.04; text-shadow: 0 4px 0 #2f261b, 0 8px 24px #000a; }
.entry-content h2 > span { color: var(--gold); }
.entry-content > p:not(.overline):not(.entry-status) { color: #e1ded0; font-size: 16px; line-height: 1.7; margin: 19px 0 25px; }
.unlock-button { display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 9px 20px; }
.lock-frame { position: relative; width: 103px; height: 103px; display: grid; place-items: center; background: linear-gradient(135deg, #493825ed, #221c13f5); border: 2px solid #d3a254; outline: 1px solid #d3a25440; outline-offset: 7px; box-shadow: inset 0 0 24px #bd8b2120, 0 5px 0 #17120d, 0 0 60px #f7ba2a20; transition: transform .25s, box-shadow .25s, background .25s; }
.lock-frame:before, .lock-frame:after { content: ''; position: absolute; width: 5px; height: 5px; background: #ecc77f; top: 7px; box-shadow: 0 82px #ecc77f; }
.lock-frame:before { left: 7px; }.lock-frame:after { right: 7px; }
.lock-icon { width: 43px; height: 51px; color: var(--gold); filter: drop-shadow(0 2px 0 #17120b); }
.shackle { transition: transform .35s ease; transform-origin: 17px 28px; }
.unlock-button:hover .lock-frame { transform: translateY(-4px); background: #554028; box-shadow: inset 0 0 30px #ddab3230, 0 7px 0 #17120d, 0 0 65px #f7ba2a40; }
.unlock-button:hover .shackle { transform: translateY(-3px); }
.unlock-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; margin-top: 25px; color: var(--gold); }
.unlock-hint { color: #b2b5a6; font-size: 11px; margin-top: 7px; }
.entry-status { position: absolute; bottom: 72px; min-height: 20px; color: var(--green); font-size: 13px; }
.entry-footer { position: absolute; bottom: 28px; left: 4.5%; right: 4.5%; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 2px; color: #c7c7ac; z-index: 4; }
.entry-footer > span:last-child { font-family: monospace; font-size: 12px; letter-spacing: 1px; }
.entry.is-unlocking .shackle { transform: translateY(-12px) rotate(-20deg); }
.entry.is-unlocking .lock-frame { border-color: var(--green); box-shadow: 0 0 70px #b1ee5870; }
.entry.is-unlocking .lock-icon { color: var(--green); }
.entry.is-unlocking .entry-glow { opacity: .85; }
.is-entered .hero-content { animation: enter-world 1.1s .1s both; }
@keyframes enter-world { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes firelight { 0%, 100% { opacity: .75; transform: scale(.93); } 20% { opacity: .95; } 50% { opacity: .55; transform: scale(1.12); } 75% { opacity: .9; } }
.effects-paused *, .effects-paused *:before, .effects-paused *:after { animation: none !important; transition: none !important; }
.effects-paused .world-scene { transition: none; }
@media (max-width: 1100px) {
  .world-hero { min-height: 790px; }
  .world-note { max-width: 240px; font-size: 8px; }
  .join-inner { gap: 45px; }
  .join-steps { flex-direction: column; gap: 13px; }
  .join-steps li > div { display: flex; gap: 12px; }
  .join-steps small { margin: 0; font-size: 12px; }
  .noah-card { height: 350px; }
}
@media (max-width: 700px) {
  .site-header, .entry-header { padding: 20px; }
  .brand { font-size: 19px; gap: 6px; }
  .brand img { width: 182px; height: 61px; }
  .brand small { font-size: 7px; letter-spacing: 1.6px; margin-top: 6px; }
  .header-actions { gap: 10px; }
  .effects-toggle { font-size: 18px; padding: 8px; }
  .effects-toggle > span:first-child { margin: 0; }
  .effects-label { display: none; }
  .header-join { padding: 9px 12px; font-size: 12px; }
  .header-join span { padding-left: 9px; }
  .world-hero { min-height: 740px; max-height: 1000px; }
  .world-scene { background-position: center; }
  .world-shade { background: linear-gradient(#060d15a0, #04100e20 20%, #06120e60 70%, #090f15), radial-gradient(ellipse at center, #06110eaa, transparent 75%); }
  .hero-content { padding: 133px 18px 130px; }
  .hero-content .overline { font-size: 8px; letter-spacing: 1.6px; gap: 9px; margin-bottom: 22px; }
  .hero-content .overline span { width: 15px; }
  h1 { font-size: clamp(33px, 8.3vw, 58px); letter-spacing: -.5px; line-height: 1.13; }
  .hero-description { font-size: 15px; margin: 24px 0 31px; }
  .game-button { min-height: 62px; min-width: 235px; }
  .copy-address { font-size: 13px; gap: 10px; padding: 12px; }
  .address-label { font-size: 8px; }
  .hero-bottom { bottom: 25px; justify-content: center; }
  .world-note, .coordinate { display: none; }
  .scroll-link { position: static; transform: none; font-size: 8px; }
  .torch-glow-left { left: -30px; }.torch-glow-right { left: auto; right: -30px; }
  .join-section { padding: 32px 24px 42px; }
  .join-inner { grid-template-columns: 1fr; gap: 5px; }
  .join-copy { grid-row: 1; }
  .join-copy .overline { font-size: 8px; letter-spacing: 1.7px; }
  .join-copy h2 { font-size: clamp(29px, 7.2vw, 45px); }
  .join-copy > p:not(.overline):not(.copy-feedback):not(.server-help) { font-size: 16px; }
  .join-steps { gap: 15px; }
  .join-steps li { font-size: 14px; }
  .server-box { padding: 14px; gap: 10px; }
  .server-box input { font-size: clamp(17px, 4.6vw, 24px); }
  .copy-button { width: 36px; height: 38px; }
  .noah-card { width: 280px; height: 290px; margin: 5px auto 0; }
  .noah-card img { top: -18px; }
  .noah-signature { bottom: 10px; }
  .site-footer { padding: 25px 24px; gap: 20px; }
  .site-footer small { display: block; margin: 6px 0 0; font-size: 11px; }
  .site-footer > p { font-size: 9px; }
  .replay-button { font-size: 12px; }
  .entry-content { padding: 115px 16px 85px; }
  .entry-content .overline { font-size: 8px; letter-spacing: 1.6px; }
  .entry-content h2 { font-size: clamp(29px, 7vw, 48px); line-height: 1.12; }
  .entry-content > p:not(.overline):not(.entry-status) { font-size: 14px; margin: 21px 0 28px; }
  .entry-shade { background: linear-gradient(#060c11c0, #06120c20 20%, #06120c40 70%, #060c11c0), radial-gradient(ellipse at center, #07120a88, transparent); }
  .skip-intro { font-size: 10px; }
  .skip-intro > span { margin-left: 4px; }
  .lock-frame { width: 89px; height: 89px; }
  .lock-frame:before, .lock-frame:after { box-shadow: 0 68px #ecc77f; }
  .lock-icon { width: 38px; height: 46px; }
  .unlock-label { font-size: 10px; letter-spacing: 1.6px; margin-top: 24px; }
  .unlock-hint { font-size: 10px; }
  .entry-footer { left: 20px; right: 20px; bottom: 22px; flex-direction: column; align-items: center; gap: 8px; font-size: 8px; }
  .entry-footer > span:last-child { font-size: 11px; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .entry-content { padding-top: 110px; padding-bottom: 65px; }
  .entry-content h2 { font-size: 47px; }
  .entry-content > p:not(.overline):not(.entry-status) { margin: 12px 0 18px; font-size: 14px; }
  .lock-frame { width: 75px; height: 75px; }.lock-frame:before, .lock-frame:after { box-shadow: 0 54px #ecc77f; }
  .lock-icon { width: 31px; height: 38px; }.unlock-label { margin-top: 18px; }
}
@media (max-height: 650px) { .entry { overflow-y: auto; }.entry-content { min-height: 640px; }.entry-footer { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* Preserve the torch framing when the landscape artwork is cropped on phones. */
@media (max-width: 700px) {
  .world-scene:before, .world-scene:after { content: ''; position: absolute; top: 0; bottom: 0; width: 135px; background-image: url('assets/minecraft-world.png'); background-size: auto 100%; background-repeat: no-repeat; pointer-events: none; }
  .world-scene:before { left: 0; background-position: -45px center; mask-image: linear-gradient(90deg, #000 20%, transparent); }
  .world-scene:after { right: 0; background-position: right -45px center; mask-image: linear-gradient(-90deg, #000 20%, transparent); }
}

/* Gentle changes in illumination make the rendered fire feel alive. */
@keyframes ambient-fire { 0%, 100% { filter: brightness(1); } 25% { filter: brightness(1.06); } 38% { filter: brightness(.98); } 54% { filter: brightness(1.04); } 71% { filter: brightness(1.01); } }
@media (max-width: 700px) { .world-scene:before, .world-scene:after { animation: ambient-fire 2.9s steps(8, end) infinite; }.world-scene:after { animation-delay: -.8s; } }

/* First-person entrance: darkness → footsteps → look up → reach → wait. */
.journey-dark { position: absolute; inset: 0; background: #000; z-index: 4; opacity: 1; transition: opacity 1s ease; pointer-events: none; }
.entry.is-walking .journey-dark, .entry.is-looking-up .journey-dark { opacity: 0; }
.entry .entry-header .brand { opacity: 0; transition: opacity .7s; }
.entry.is-ready .entry-header .brand { opacity: 1; }
.entry .entry-header { z-index: 7; }
.entry .skip-intro { background: #09100c55; padding: 10px 14px; border: 1px solid #ffffff15; }
.entry .entry-content { opacity: 0; pointer-events: none; display: block; padding: 0; position: absolute; inset: 0; min-height: 0; transition: opacity .6s; z-index: 6; }
.entry.is-ready .entry-content { opacity: 1; }
.entry.is-ready .unlock-button { pointer-events: auto; }
.entry-content .overline { position: absolute; top: 20%; left: 0; width: 100%; margin: 0; font-size: 9px; }
.entry-content h2 { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); font-size: clamp(24px, 2.6vw, 38px); width: 95%; text-shadow: 0 3px 0 #182311, 0 4px 14px #000; }
.entry-content > #entry-description { position: absolute; top: 31%; left: 0; width: 100%; margin: 12px 0 0; font-size: 14px; text-shadow: 0 2px 10px #000; }
.entry .unlock-button { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -20%); min-width: 260px; }
.entry .lock-frame { width: 82px; height: 82px; }
.entry .lock-frame:before, .entry .lock-frame:after { box-shadow: 0 61px #ecc77f; }
.entry .lock-icon { width: 36px; height: 44px; }
.entry .unlock-label { margin-top: 23px; font-size: 11px; text-shadow: 0 2px 8px #000; }
.entry .unlock-hint { color: #e2e8d5; text-shadow: 0 2px 8px #000; }
.entry .entry-shade { z-index: 1; background: linear-gradient(#030a1255, transparent 20%, #05100915 80%, #040b1555); }
.entry .entry-glow { display: none; }
.entry .entry-footer { opacity: 0; transition: opacity .6s; }
.entry.is-ready .entry-footer { opacity: 1; }
.player-arm { position: absolute; z-index: 5; width: clamp(180px, 27vw, 380px); height: auto; bottom: -7%; right: 4%; pointer-events: none; transform: translate(15%, 110%) rotate(12deg); transform-origin: bottom right; transition: transform .8s cubic-bezier(.2,.7,.3,1); filter: drop-shadow(-16px 20px 16px #0005); }
.entry.is-reaching .player-arm { transform: translate(0, 0) rotate(0); }
.entry.is-unlocking .player-arm { transform: translate(7%, 115%) rotate(14deg); transition-duration: .75s; }
.journey-caption { position: absolute; bottom: 13%; left: 0; width: 100%; text-align: center; color: #adb7a6; font: 12px var(--body); letter-spacing: 2px; z-index: 5; pointer-events: none; }
@media (max-width: 700px) {
  .entry-content .overline { top: 22%; font-size: 8px; }
  .entry-content h2 { top: 26%; font-size: clamp(21px, 5.5vw, 30px); }
  .entry-content > #entry-description { top: 32%; font-size: 12px; }
  .entry .unlock-button { top: 53%; }
  .entry .lock-frame { width: 73px; height: 73px; }
  .entry .lock-frame:before, .entry .lock-frame:after { box-shadow: 0 52px #ecc77f; }
  .entry .unlock-label { font-size: 10px; }
  .player-arm { width: min(52vw, 240px); right: -4%; bottom: -2%; }
}
@media (max-height: 650px) {
  .entry .entry-content { min-height: 0; }
  .entry .entry-header { padding-top: 12px; }
  .entry .entry-content h2 { top: 20%; font-size: 23px; }
  .entry .entry-content .overline { display: none; }
  .entry .entry-content > #entry-description { top: 28%; }
  .entry .unlock-button { top: 51%; }
  .entry .lock-frame { width: 64px; height: 64px; }
  .entry .lock-frame:before, .entry .lock-frame:after { box-shadow: 0 43px #ecc77f; }
  .entry .lock-icon { width: 27px; height: 34px; }
  .entry .unlock-label { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry .journey-dark { display: none; }
}

.entry .entry-status { left: 0; width: 100%; text-align: center; }



/* A fixed gateway with two independently hinged wooden door panels. */
.portal-scene { position: absolute; inset: 0; z-index: 0; transform-origin: var(--portal-center-x, 50%) var(--portal-center-y, 49%); transition: transform 1.15s cubic-bezier(.68,.04,.4,1); }
.portal-background { position: absolute; inset: 0; background: #102017 url('assets/minecraft-gate.png') center / cover no-repeat; }
.portal-opening { position: absolute; left: var(--opening-left, 37.32%); top: var(--opening-top, 25.29%); width: var(--opening-width, 25.36%); height: var(--opening-height, 46.97%); perspective: 850px; transform-style: preserve-3d; background: #000; box-shadow: 0 0 10px #64ffab22; }
.vortex { position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(ellipse, #030814 12%, #1e6e63 65%, #071b25); }
.door-leaf { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; backface-visibility: hidden; transition: transform 1.35s cubic-bezier(.34,.08,.22,1), filter 1.35s; will-change: transform; }
.door-left { left: 0; transform-origin: left center; }
.door-right { right: 0; transform-origin: right center; }
.door-texture { position: absolute; top: var(--texture-top, -238px); width: var(--scene-width, 1672px); height: var(--scene-height, 941px); background: url('assets/minecraft-gate.png') 0 0 / 100% 100% no-repeat; }
.door-left .door-texture { left: var(--texture-left, -624px); }
.door-right .door-texture { left: var(--texture-right, -836px); }
.entry.is-doors-opening .door-left { transform: rotateY(-105deg); filter: brightness(.72); }
.entry.is-doors-opening .door-right { transform: rotateY(105deg); filter: brightness(.72); }
.entry.is-pulling .portal-scene { transform: translate(var(--pull-x, 0px), var(--pull-y, 0px)) scale(var(--pull-zoom, 4.5)); }
.entry.is-doors-opening .entry-content, .entry.is-pulling .entry-header, .entry.is-pulling .entry-footer, .entry.is-pulling .player-arm { opacity: 0; pointer-events: none; }
.entry.is-pulling .entry-shade { opacity: 0; }
.entry.is-revealing { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.entry.is-revealing::backdrop { background: transparent; }
.portal-camera-rig { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.entry.is-blackout .journey-dark { opacity: 1; z-index: 8; transition: opacity .2s ease; }
.entry.is-blackout::backdrop { background: #000; }
.entry.is-blackout .entry-header, .entry.is-blackout .entry-footer, .entry.is-blackout .journey-caption { opacity: 0; }

.entry.is-blackout.is-revealing::backdrop { background: transparent; }

/* The scenery stays intact; movement comes from a camera in the textured scene. */
.journey-renderer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.portal-camera-rig.has-3d { transform: none; will-change: auto; }
.portal-camera-rig.has-3d .portal-scene { display: none; }
.entry.has-3d-scene .unlock-button { top: var(--lock-y, 50%); transform: translate(-50%, -41px); }
.entry.has-3d-scene .entry-shade { background: radial-gradient(ellipse at 50% 48%, transparent 34%, #02091338 100%); }
.vortex { background: #010506; }
@media (max-width: 700px) {
  .entry.has-3d-scene .unlock-button { transform: translate(-50%, -36px); }
}
@media (max-height: 650px) {
  .entry.has-3d-scene .unlock-button { transform: translate(-50%, -32px); }
}
