/* Homepage art direction; deliberately isolated from game and inner-page cards. */
.home .bq-hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 68px); }
.home .bq-hero::after { content: none; }
.home .bq-pixel-horizon { opacity: .22; }
.bq-home-universe { display: grid; place-items: center; min-width: 0; min-height: 530px; isolation: isolate; }
.bq-home-universe::before { content: ""; position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #138aab55, #1971d022 48%, transparent 70%); }
.bq-home-universe__orbit { position: absolute; inset: 15% 7%; z-index: -1; border: 1px solid #3de4e13b; border-radius: 50%; transform: rotate(-25deg); }
.bq-home-universe__orbit::after { content: ""; position: absolute; inset: 18px -16px; border: 1px solid #ffd35128; border-radius: inherit; transform: rotate(48deg); }
.bq-home-universe__image { display: block; width: 100%; max-width: 660px; height: auto; filter: drop-shadow(0 30px 28px #01071999); }
.bq-home-universe__badge { position: relative; justify-self: center; margin-top: -18px; padding: 11px 20px; }
.bq-home-universe__badge strong { color: #5ff49b; }
.bq-home-rooms { overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #10305a 0, #06152f 65%, #030b24 100%) !important; }
.bq-home-rooms .bq-room-grid { gap: 18px; align-items: stretch; }
.bq-home-rooms .bq-room { position: relative; display: flex; flex-direction: column; padding: 25px 16px 20px; border-width: 1px; border-color: color-mix(in srgb, var(--room) 65%, #244570); background: linear-gradient(160deg, color-mix(in srgb, var(--room) 12%, #081b38), #06142c 70%); box-shadow: inset 0 3px 0 var(--room); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px); }
.bq-home-rooms .bq-room__tier { font-size: .8rem; }
.bq-home-rooms .bq-room__price { margin-top: 9px; }
.bq-room__scene { position: relative; display: grid; place-items: center; isolation: isolate; aspect-ratio: 1; margin: 3px -12px 18px; }
.bq-room__scene::before { content: ""; position: absolute; inset: 12% 3%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--room) 25%, transparent), transparent 70%); opacity: .65; transition: opacity 220ms ease; }
.bq-room__scene img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 10px #0007); transition: transform 240ms cubic-bezier(.23, 1, .32, 1); }
.bq-home-rooms .bq-room p { flex: 1; min-height: 44px; font-size: .87rem; }
.bq-home-rooms .bq-room__equal { border-width: 0; border-top: 1px solid color-mix(in srgb, var(--room) 28%, transparent); background: transparent; padding-top: 13px; }
.bq-home-rooms .bq-room__button { margin-top: 15px; min-height: 46px; }
.bq-home-rooms .bq-room__button:focus-visible { outline: 3px solid var(--bq-cream); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .bq-home-rooms .bq-room:not(.is-locked):hover .bq-room__scene img { transform: translateY(-7px) scale(1.035); }
  .bq-home-rooms .bq-room:not(.is-locked):hover .bq-room__scene::before { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .bq-home-universe__image { animation: bq-home-arrive 900ms cubic-bezier(.23, 1, .32, 1) both; }
  .bq-home-universe__badge { animation: bq-home-arrive 700ms 150ms cubic-bezier(.23, 1, .32, 1) both; }
}
@keyframes bq-home-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .bq-home-universe { min-height: 430px; }
  .bq-home-rooms .bq-room-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bq-home-rooms .bq-room { grid-column: span 2; }
  .bq-home-rooms .bq-room:nth-child(4) { grid-column: 2 / span 2; }
  .bq-home-rooms .bq-room:last-child { grid-column: 4 / span 2; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .home .bq-header__inner { gap: 12px; }
  .home .bq-brand { width: 170px; }
  .home .bq-menu-button { display: block; margin-inline-start: auto; }
  .home .bq-nav { display: none; position: absolute; inset: 86px 24px auto; padding: 12px; background: #061631; border: 2px solid var(--bq-border); }
  .home .bq-nav.is-open { display: block; }
  .home .bq-nav__list { align-items: stretch; flex-direction: column; }
  .home .bq-nav a { padding: 15px; }
}
@media (max-width: 760px) {
  .home .bq-hero__grid { display: flex; flex-direction: column; gap: 16px; padding-block: 52px 45px; }
  .bq-home-universe { align-self: center; width: min(100%, 520px); min-height: 0; margin-top: 16px; }
  .bq-home-universe__image { width: 100%; }
  .bq-home-universe__badge { margin-top: 0; }
  .bq-home-rooms .bq-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bq-home-rooms .bq-room:first-child { grid-column: 1 / -1; }
  .bq-home-rooms .bq-room:first-child .bq-room__scene { width: min(100%, 310px); align-self: center; }
  .bq-home-rooms .bq-room:last-child { grid-column: auto; }
}
@media (max-width: 480px) {
  .bq-home-rooms .bq-room-grid { grid-template-columns: 1fr; }
  .bq-home-rooms .bq-room { padding: 23px 24px; }
  .bq-room__scene { width: min(100%, 290px); align-self: center; margin-block: 0 12px; }
  .bq-home-rooms .bq-room p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bq-home-universe__image, .bq-home-universe__badge { animation: none; }
  .bq-room__scene img, .bq-room__scene::before { transition: none; }
  .bq-home-rooms .bq-room:not(.is-locked):hover .bq-room__scene img { transform: none; }
}
