@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500;600&family=Bebas+Neue&display=swap");

#house-cover {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: #12141a;
}

body:has(#house-cover:not([hidden])) .arcade-back,
body:has(#house-cover:not([hidden])) .arcade-local-back {
  visibility: hidden;
  pointer-events: none;
}

html.skip-house-cover body:has(#house-cover:not([hidden])) .arcade-back,
html.skip-house-cover body:has(#house-cover:not([hidden])) .arcade-local-back {
  visibility: visible;
  pointer-events: auto;
}

#house-cover[hidden] {
  display: none;
}

#house-cover .house-card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

#house-cover .house-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

#house-cover .house-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(0, 0, 0, 0.45) 78%, rgba(0, 0, 0, 0.72) 100%);
}

#house-cover .house-floor {
  position: absolute;
  top: 16px;
  left: 16px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

#house-cover .house-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 92px;
  text-align: left;
}

#house-cover h1 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(72px, 18vw, 104px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.03em;
  color: #f4efe4;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

#house-cover .house-copy p {
  margin: 8px 0 0;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#house-play {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  border: 0;
  border-radius: 10px;
  padding: 0.72em 1.2em 0.62em;
  background: #f7f4ee;
  color: #16120c;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.16em;
  line-height: 1;
  cursor: pointer;
}

#house-play:focus-visible {
  outline: 2px solid #f4efe4;
  outline-offset: 3px;
}
