:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #000; }
body {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.88)),
    url("assets/images/kot-art/store-window-poster.jpg") center / cover fixed,
    #000;
  font-family: Arial, Helvetica, sans-serif;
}

.store-entrance {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 4rem 1.25rem 2rem;
  overflow: hidden;
}

.store-entrance__film,
.store-entrance__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.store-entrance__film { z-index: -3; object-fit: cover; }
.store-entrance::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url("assets/images/lore/kot-cosmic-park-background.png") center / cover no-repeat;
}
.store-entrance__shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.08) 42%, rgba(0,0,0,.78));
}

.store-entrance__exits {
  position: absolute;
  z-index: 4;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: .8rem;
}

.store-entrance__exits a {
  padding: .48rem .68rem;
  border: 1px solid rgba(217, 70, 239, .58);
  border-radius: 4px;
  color: rgba(255,255,255,.86);
  background: rgba(0, 0, 0, .64);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.store-entrance__content {
  display: grid;
  width: min(700px, 100%);
  justify-items: center;
  align-self: end;
  padding: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 18px #000;
}

.store-entrance__content[hidden] { display: none; }
.store-entrance__start[hidden] { display: none; }

.store-entrance__start {
  z-index: 3;
  align-self: end;
  min-height: 46px;
  margin-bottom: 2.5rem;
  padding: .72rem 1.1rem;
  border: 1px solid #d946ef;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  box-shadow: 0 0 26px rgba(168, 85, 247, .3);
  font: 900 .72rem Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}

.store-entrance__start:hover,
.store-entrance__start:focus-visible,
.store-entrance__exits a:hover,
.store-entrance__exits a:focus-visible {
  border-color: #f0abfc;
  outline: 1px solid rgba(255, 255, 255, .8);
  outline-offset: 3px;
}

.store-entrance__mark {
  width: min(320px, 68vw);
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(217, 70, 239, .38));
}

.store-entrance h1 {
  margin: .25rem 0 .5rem;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: .85;
  letter-spacing: 0;
}

.store-entrance p {
  max-width: 600px;
  margin: .5rem 0 1.25rem;
  color: rgba(255,255,255,.82);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  line-height: 1.5;
}

.store-entrance__lore {
  max-width: 680px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(217, 70, 239, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.44);
}

.store-entrance__door {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.5rem;
  border: 1px solid #d946ef;
  border-radius: 5px;
  color: #fff;
  background: rgba(0,0,0,.56);
  box-shadow: 0 0 30px rgba(168,85,247,.28);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-decoration: none;
}

.store-entrance__door:hover,
.store-entrance__door:focus-visible { background: rgba(92,35,130,.72); outline: 1px solid #fff; outline-offset: 4px; }

.store-entrance__final-exits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: .85rem;
}

.store-entrance__final-exits a {
  color: rgba(255, 255, 255, .82);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .store-entrance__film { object-position: center; }
  .store-entrance__content { padding: 1rem 0; }
  .store-entrance__mark { max-height: 130px; }
  .store-entrance__exits { left: .75rem; right: .75rem; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
