/* Guides background (full screen) */
.guides-page:not(.guides-list-page) .guides-bg{
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: var(--guides-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.guides-page:not(.guides-list-page) .guides-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(5,8,20,0.10), rgba(5,8,20,0.75));
  pointer-events:none;
}
.guides-page:not(.guides-list-page) .guides-landing{ position: relative; z-index: 1; }
.guides-page .pageMediaFixed{
  position: fixed !important;
  inset: 0 !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0 !important;
}
.guides-page .pageOverlayFixed{
  position: fixed !important;
  inset: 0 !important;
  display:block !important;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(16,185,129,0.08), transparent 60%),
    radial-gradient(900px 700px at 80% 10%, rgba(59,130,246,0.08), transparent 62%),
    linear-gradient(180deg, rgba(5,8,20,0.08), rgba(5,8,20,0.35)) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

.guides-page .pageMediaFixed{
  width: 100vw !important;
  height: 100vh !important;
}

/* Guides categories background (full screen) */
.guides-game-page .pageMediaFixed{
  position: fixed !important;
  inset: 0 !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
}
.guides-game-page .pageOverlayFixed{
  position: fixed !important;
  inset: 0 !important;
  display:block !important;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(16,185,129,0.08), transparent 60%),
    radial-gradient(900px 700px at 80% 10%, rgba(59,130,246,0.08), transparent 62%),
    linear-gradient(180deg, rgba(5,8,20,0.08), rgba(5,8,20,0.45)) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

/* Ensure background is visible on categories page */
.guides-game-page body, .guides-game-page html{
  background: transparent !important;
}
.guides-game-page .page, .guides-game-page main{
  position: relative;
  z-index: 2;
}

/* Remove dark wrapper behind cards on guides page */
.guides-page .guides-bg::before,
.guides-page .guides-bg::after{
  display:none !important;
}

/* Ensure background is visible */
.guides-page body, .guides-page html{
  background: transparent !important;
}
.guides-page .page, .guides-page main{
  position: relative;
  z-index: 2;
}
.guides-page .guides-bg, .guides-page .guides-landing{
  position: relative;
  z-index: 2;
}
