/* ==========================================================================
   THE SANCTUARY GAMING - Brand Theme Stylesheet
   Pure dark sanctuary aesthetic: Deep obsidian, cyber cyan, warm gold.
   No violet/purple colors. No neon gradients.
   Sticky footer, responsive reading grid, high-contrast typography.
   1:1 Fidelity with Betwins template architecture.
   ========================================================================== */

:root {
  --primary-color: #9cecfe !important; /* Authentic Betwins Cyan */
  --secondary-color: #ffba23 !important; /* Authentic Betwins Gold */
  --main-color-one: #9cecfe !important;
  --main-color2: #ffba23 !important;
  --template-bg: #1d1e24 !important; /* Authentic Betwins Dark */
  --template-color: #ffffff !important;
  --heading-color: #ffffff !important;
  --paragraph-color: #b0b4bd !important;
  --tertiary-color: #23262b !important;
  --quaternary-color: #2a2d33 !important;
  --quinary-color: #1d1e24 !important;
  --septenary-color: #ffffff33 !important;
  --senary-color: #ffffff0d !important;
  --octonary-color: #222e48 !important;
  --border-color1: #ffffff1a !important;
}

/* Base Body & Layout (Sticky Footer) */
body {
  background-color: #1d1e24 !important;
  color: #b0b4bd !important;
  font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  text-transform: none !important;
}

/* Ensure natural text casing across all content & typography */
p,
blockquote,
article,
.content-area,
.entry-content,
.blog-details-content,
.post-content,
.page-title,
.theme-section-title .title {
  text-transform: none !important;
}

/* ==========================================================================
   Refined Heading Typography (Moderate, proportional h1 / h2 / h3 scale)
   ========================================================================== */

/* H1 Global & Variations */
h1, .h1 {
  font-size: 2.1rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

.banner-three h1,
.banner-three .display-4 {
  font-size: 2.4rem !important;
  line-height: 1.2 !important;
}

.entry-title,
h1.entry-title {
  font-size: 1.95rem !important;
  line-height: 1.3 !important;
}

/* Bootstrap Display classes override */
.display-1 { font-size: 2.8rem !important; line-height: 1.15 !important; }
.display-2 { font-size: 2.6rem !important; line-height: 1.18 !important; }
.display-3 { font-size: 2.4rem !important; line-height: 1.2 !important; }
.display-4 { font-size: 2.25rem !important; line-height: 1.22 !important; }
.display-5 { font-size: 2.05rem !important; line-height: 1.25 !important; }
.display-6 { font-size: 1.85rem !important; line-height: 1.28 !important; }

/* H2 Global & Variations */
h2, .h2 {
  font-size: 1.6rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.005em;
}

.section__header h2,
.section__header h2.title-animation {
  font-size: 1.7rem !important;
  line-height: 1.3 !important;
}

.breadcrumb-content h2.page-title,
.breadcrumb-wrap .page-title,
h2.page-title {
  font-size: 1.65rem !important;
  line-height: 1.25 !important;
}

.sanctuary-section-heading {
  font-size: 1.45rem !important;
  line-height: 1.35 !important;
}

/* H3 Global & Variations */
h3, .h3 {
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
}

.accordion-header h3,
.sanctuary-accordion .accordion-button {
  font-size: 1.05rem !important;
  line-height: 1.4 !important;
}

.single-post-navigation .title-with-link h3 {
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

/* Responsive heading scaling */
@media (max-width: 991px) {
  h1, .h1 { font-size: 1.85rem !important; }
  .banner-three h1,
  .banner-three .display-4 { font-size: 2.05rem !important; }
  .entry-title,
  h1.entry-title { font-size: 1.75rem !important; }
  .display-3 { font-size: 2.1rem !important; }
  .display-4 { font-size: 1.95rem !important; }
  .display-5 { font-size: 1.8rem !important; }
  h2, .h2,
  .section__header h2 { font-size: 1.45rem !important; }
  .breadcrumb-content h2.page-title { font-size: 1.45rem !important; }
  .sanctuary-section-heading { font-size: 1.3rem !important; }
  h3, .h3 { font-size: 1.15rem !important; }
}

@media (max-width: 576px) {
  h1, .h1 { font-size: 1.6rem !important; }
  .banner-three h1,
  .banner-three .display-4 { font-size: 1.75rem !important; }
  .entry-title,
  h1.entry-title { font-size: 1.5rem !important; }
  .display-3 { font-size: 1.8rem !important; }
  .display-4 { font-size: 1.7rem !important; }
  .display-5 { font-size: 1.55rem !important; }
  h2, .h2,
  .section__header h2 { font-size: 1.3rem !important; }
  .breadcrumb-content h2.page-title { font-size: 1.3rem !important; }
  .sanctuary-section-heading { font-size: 1.2rem !important; }
  h3, .h3 { font-size: 1.05rem !important; }
}

#page.site {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  width: 100% !important;
}

#content.site-content {
  flex: 1 0 auto !important;
}

.footer-area {
  margin-top: auto !important;
}

/* Hide preloader permanently for instant render */
.preloader-wrap, .preloader-inner, #preloader, .loading-screen, .loading-icon, .preloader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Utility Classes */
.font-chakra {
  font-family: 'Chakra Petch', sans-serif !important;
}
.tracking-wide {
  letter-spacing: 1px !important;
}
.tracking-wider {
  letter-spacing: 2px !important;
}
.text-cyan {
  color: #38bdf8 !important;
}
.hover-cyan {
  transition: color 0.2s ease;
}
.hover-cyan:hover {
  color: #38bdf8 !important;
}

/* Compact full-width inner-page banner; keep the entire gaming scene visible. */
.breadcrumb-wrap {
  --inner-banner-height: clamp(150px, 11.12vw, 240px);
  background-color: #181827 !important;
  background-image: linear-gradient(90deg, #181827 0%, #181827 50%, rgba(24, 24, 39, 0) 75%), url('/wp-content/uploads/2025/07/retro-console-banner.webp') !important;
  background-position: center, right max(16px, calc((100vw - 1320px) / 2)) center !important;
  background-size: 100% 100%, auto calc(var(--inner-banner-height) * 1.4) !important;
  background-origin: content-box !important;
  background-repeat: no-repeat !important;
  padding-top: 72px !important;
  border-bottom: 1px solid #21262d;
}

.breadcrumb-wrap > .container {
  min-height: var(--inner-banner-height);
  display: flex;
  align-items: center;
}
.breadcrumb-wrap > .container > .row { width: 100%; }

.breadcrumb-wrap:before {
  background-color: transparent !important;
}

.breadcrumb-wrap.navbar-style-02 .breadcrumb-content {
  max-width: 65%;
  padding: 20px 0 !important;
}

.breadcrumb-content .page-list { margin-top: 12px !important; }
.breadcrumb-content .page-list li { font-size: 14px; line-height: 1.4; }

@media (max-width: 767px) {
  .breadcrumb-wrap {
    padding-top: 74px !important;
    background-image: url('/wp-content/uploads/2025/07/retro-console-banner.webp') !important;
    background-size: auto 210px !important;
    background-position: right 12px bottom -20px !important;
  }
  .breadcrumb-wrap > .container { min-height: 0; }
  .breadcrumb-wrap.navbar-style-02 .breadcrumb-content {
    max-width: 100%;
    padding: 20px 0 150px !important;
  }
}

.breadcrumb-content h2.page-title {
  color: #f8fafc !important;
  font-size: 1.65rem !important;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.25;
}

.breadcrumb-content .page-list li,
.breadcrumb-content .page-list li a,
.breadcrumb-content .page-list li span {
  color: #94a3b8 !important;
}

.breadcrumb-content .page-list li a:hover {
  color: #38bdf8 !important;
}

/* Header & Nav (Robust 1:1 Flex Layout) */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: rgba(13, 17, 23, 0.96) !important;
  border-bottom: 1px solid #21262d !important;
  backdrop-filter: blur(10px);
}

.header div {
  line-height: normal !important;
}

.header .navbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header .navbar__intro {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo img {
  max-height: 44px;
  width: auto;
}

.header .navbar__menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.header .navbar__list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header .navbar__item a,
.navbar__list > li > a {
  color: #e2e8f0 !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 28px 12px !important;
  font-size: 0.95rem !important;
  white-space: nowrap !important;
  transition: color 0.25s ease;
}

.navbar__list > li > a:hover,
.navbar__list > li.current-menu-item > a {
  color: #38bdf8 !important;
}

.navbar__list .sub-menu {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
}

.navbar__list .sub-menu li a {
  color: #cbd5e1 !important;
}

.navbar__list .sub-menu li a:hover {
  color: #38bdf8 !important;
  background: #21262d !important;
}

.header .navbar__options {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0;
}

/* Hero Section (Banner Three Grid Polish) */
.banner-three {
  position: relative;
  overflow: hidden;
  padding-block: 150px 80px !important;
}

.banner-three .banner-thumb {
  display: none !important; /* Disabled absolute thumb in favor of responsive row grid */
}

.banner-three__hero-img-wrap img {
  max-width: 100%;
  height: auto;
}

/* Classic-game content reuses the existing lottery card palette and geometry. */
#classic-games {
  scroll-margin-top: 90px;
}

.classic-games [hidden] {
  display: none !important;
}

.classic-games__track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 12px;
}

.classic-games__track::-webkit-scrollbar {
  display: none;
}

.classic-games__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.classic-games .lottery__type {
  height: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.classic-games .lottery__type .thumb {
  display: block;
  flex: 0 0 240px;
  overflow: hidden;
  border-radius: 8px;
}

.classic-games .lottery__type .thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.classic-games .lottery__type .content {
  min-width: 0;
}

.classic-games .lottery__type h3 {
  margin: 0;
  font-size: 1.5rem !important;
}

.classic-games .lottery-intro h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem) !important;
}

.classic-games__detail h4 {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

.classic-games__credit {
  display: block;
  margin-top: 12px;
  color: #b0b4bd;
  font-size: 12px;
}

.classic-games__credit a {
  display: inline;
  color: #9cecfe;
}

.classic-games__picks li {
  padding: 0;
}

.classic-games__picks button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
}

.classic-games__filters button[aria-pressed="true"] {
  background: var(--primary-color);
  color: var(--octonary-color);
}

.classic-games__count {
  color: #b0b4bd;
  font-size: 14px;
}

.classic-games .pick-numbers > .pick-number__single {
  flex: 1 1 0;
  min-width: 0;
}

.classic-games__detail .price-meta {
  gap: 28px;
  align-items: center;
}

.classic-games__detail .price-meta .content {
  flex: 1 1 540px;
  max-width: 740px;
}

.classic-games__detail .price-meta .cta {
  flex: 0 1 auto;
}

.classic-games__detail .price-meta .btn--primary {
  white-space: normal;
}

.classic-games .is-selected .lottery__type {
  border-color: var(--primary-color);
}

@media (max-width: 700px) {
  .classic-games .lottery__type {
    flex-direction: column;
    align-items: stretch;
  }

  .classic-games .lottery__type .thumb {
    flex-basis: auto;
  }

  .classic-games .lottery__type p {
    font-size: 14px;
    letter-spacing: 0;
  }

  .classic-games .lottery-intro__action {
    gap: 10px;
  }

  .classic-games__filters button {
    padding: 9px 16px;
  }

  .classic-games .lt-luck-wrapper {
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .classic-games .lt-luck-wrapper {
    gap: 8px;
  }

  .classic-games .lt-luck-wrapper span {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

/* Keep the complete Dendy illustration inside its hero column. */
.hero .hero__thumb-wrapper--dendy {
  display: flex;
  align-items: center;
  padding-inline-start: 0;
}

.hero .hero__thumb-wrapper--dendy .hero__thumb {
  position: relative;
  min-width: 0;
  width: 100%;
}

.hero .hero__thumb-wrapper--dendy .main-img img {
  display: block;
  width: 100%;
  height: auto;
  animation: none;
}

.hero .hero__thumb-wrapper--dendy .star-img {
  display: none;
}

@media (max-width: 991px) {
  .hero .hero__thumb-wrapper--dendy {
    height: auto;
    max-width: 520px;
    margin: 40px auto 0;
  }
}

/* Button & UI elements */
.btn--primary {
  background: #f59e0b !important;
  color: #0b0e14 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn--primary:hover {
  background: #fbbf24 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn--secondary {
  background: #21262d !important;
  color: #f8fafc !important;
  border: 1px solid #30363d !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn--secondary:hover {
  background: #30363d !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
  transform: translateY(-2px);
}

/* Blog & Hub Grid Cards (Equal Height & Flex Layout) */
.blog__single-wrapper {
  height: 100%;
}

.blog-two .blog__single {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 8px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-two .blog__single:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-4px);
}

.blog-two .blog__single .thumb {
  position: relative;
  overflow: hidden;
  max-height: 250px;
}

.blog-two .blog__single .thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.blog-two .blog__single:hover .thumb img {
  transform: scale(1.04);
}

.blog-two .blog__single .tag {
  background: #f59e0b !important;
  color: #0b0e14 !important;
  font-weight: 700;
  border-radius: 3px;
  padding: 6px 14px;
}

.blog-two .blog__single .tag a {
  color: #0b0e14 !important;
  text-decoration: none;
}

.blog-two .blog__single .content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-two .blog__single .content__inner {
  flex: 1;
}

.blog-two .blog__single .content__inner h4,
.blog-two .blog__single .content__inner h5,
.blog-two .blog__single .content__inner h6 {
  font-family: 'Chakra Petch', sans-serif;
  color: #f8fafc;
  line-height: 1.35;
  margin-top: 10px;
}

.blog-two .blog__single .content__inner a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-two .blog__single .content__inner a:hover {
  color: #38bdf8;
}

.blog-two .blog__single .content__cta {
  margin-top: auto !important;
  padding-top: 1.5rem;
  border-top: 1px solid #21262d;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}

.blog-two .blog__single .content__cta span:not(:empty),
.blog-two .content__cta span:not(:empty) {
  width: auto !important;
  height: auto !important;
  background-color: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
}

.blog-two .blog__single .content__cta span:empty,
.blog-two .content__cta span:empty {
  display: none !important;
}

.blog-two .blog__single .content__cta a.btn--primary,
.blog-two .blog__single .content__cta .btn--primary,
.blog-two .content__cta a.btn--primary,
.blog-two .content__cta .btn--primary {
  padding: 10px 20px !important;
  border-radius: 4px !important;
  background: #f59e0b !important;
  color: #0b0e14 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.blog-two .blog__single .content__cta a.btn--primary:hover,
.blog-two .content__cta a.btn--primary:hover {
  background: #fbbf24 !important;
  color: #000000 !important;
  transform: translateY(-2px);
}

/* Article Reading Experience */
.blog-single-content-wrap {
  background: #11151c;
  border: 1px solid #21262d;
  border-radius: 8px;
  padding: 30px;
}

@media (max-width: 768px) {
  .blog-single-content-wrap {
    padding: 16px;
  }
}

/* ==========================================================================
   Homepage / Archival disciplines
   Reference: Fantasy Sports bento — paired side cards, tall central feature.
   ========================================================================== */
.archive-disciplines {
  --archive-panel: #2a2d33;
  --archive-text: #ffffff;
  --archive-muted: #d0d5dc;
  --archive-signal: #9cecfe;
  background: #1d1e24 !important;
  color: var(--archive-text);
  padding: clamp(64px, 8vw, 120px) 24px !important;
}

.archive-disciplines,
.archive-disciplines * {
  box-sizing: border-box;
}

.archive-disciplines__inner.e-con-inner {
  display: block !important;
  width: min(100%, 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto;
  padding: 0 !important;
}

.archive-disciplines__header {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.archive-disciplines__header h2 {
  scroll-margin-top: 110px;
  margin: 0 0 22px !important;
  color: var(--archive-text) !important;
  font-family: "Chakra Petch", "Segoe UI", sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 3.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  text-transform: none !important;
}

.archive-disciplines__header p {
  max-width: 660px;
  margin: 0 auto !important;
  color: #b0b4bd !important;
  font-size: 1rem;
  line-height: 1.7;
}

.archive-disciplines__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(340px, auto));
  gap: 24px;
}

.archive-card {
  min-width: 0;
  margin: 0;
  border: 1px solid #ffffff33;
  border-radius: 12px;
  background: var(--archive-panel);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.archive-card--forgotten { grid-area: 1 / 1; }
.archive-card--places { grid-area: 2 / 1; }
.archive-card--characters { grid-area: 1 / 2 / 3 / 3; }
.archive-card--preservation { grid-area: 1 / 3; }
.archive-card--dossier { grid-area: 2 / 3; }

.archive-card__link {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  isolation: isolate;
  border-radius: inherit;
  color: inherit !important;
  text-decoration: none !important;
  outline-offset: 5px;
}

.archive-card__media {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: var(--archive-panel);
}

.archive-card__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 23, .82) 0%, rgba(12, 16, 23, .12) 38%, rgba(12, 16, 23, .5) 56%, #0c1017 100%);
  pointer-events: none;
}

.archive-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .72, .2, 1);
}

.archive-card--characters .archive-card__media img {
  object-position: 25% center;
}

.archive-card--characters .archive-card__media::after {
  background: linear-gradient(180deg, rgba(12, 16, 23, .88) 0%, rgba(12, 16, 23, .06) 30%, transparent 53%, rgba(12, 16, 23, .7) 76%, #0c1017 100%);
}

.archive-card__label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 30px 28px;
  gap: 90px;
}

.archive-card__label h3 {
  margin: 0 !important;
  color: var(--archive-text) !important;
  font-family: "Chakra Petch", "Segoe UI", sans-serif !important;
  font-size: clamp(1.3rem, 1.85vw, 1.7rem) !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  letter-spacing: .01em;
  text-transform: uppercase !important;
  text-wrap: balance;
}

.archive-card--characters .archive-card__label h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem) !important;
}

.archive-card__game {
  display: block;
  margin-bottom: 8px;
  color: #d0d9e1;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .045em;
}

.archive-card__label p {
  max-width: 350px;
  margin: 0 0 17px !important;
  color: var(--archive-muted) !important;
  font-size: .93rem;
  line-height: 1.55;
}

.archive-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--archive-signal);
  font-size: 1rem;
  font-weight: 600;
}

.archive-card__cta i,
.archive-disciplines__footer a i {
  font-size: 1.3rem;
  transition: transform 250ms ease;
}

.archive-card:hover,
.archive-card:focus-within {
  border-color: var(--archive-signal);
  box-shadow: 0 12px 32px #00000030;
}

.archive-card__link:hover .archive-card__media img,
.archive-card__link:focus-visible .archive-card__media img {
  transform: scale(1.045);
}

.archive-card__link:hover .archive-card__cta i,
.archive-card__link:focus-visible .archive-card__cta i,
.archive-disciplines__footer a:hover i {
  transform: translateX(5px);
}

.archive-card__link:focus-visible,
.archive-disciplines__footer a:focus-visible {
  outline: 2px solid var(--archive-signal);
}

.archive-disciplines__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.archive-disciplines__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 12px 30px;
  border: 1px solid var(--archive-signal);
  border-radius: 100px;
  color: var(--archive-signal) !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 250ms ease;
}

.archive-disciplines__footer a:hover {
  background: #9cecfe14;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .archive-disciplines__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-card--forgotten { grid-area: 1 / 1; }
  .archive-card--places { grid-area: 2 / 1; }
  .archive-card--characters { grid-area: 1 / 2 / 3 / 3; }
  .archive-card--preservation { grid-area: 3 / 1; }
  .archive-card--dossier { grid-area: 3 / 2; }
}

@media (max-width: 700px) {
  .archive-disciplines {
    padding: 64px 18px !important;
  }

  .archive-disciplines__header {
    margin-bottom: 32px;
  }

  .archive-disciplines__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 18px;
  }

  .archive-card:nth-child(n) {
    grid-area: auto;
  }

  .archive-card__link {
    min-height: 350px;
  }

  .archive-card--characters .archive-card__link {
    min-height: 510px;
  }

  .archive-card__label {
    padding: 26px 24px;
  }

  .archive-card__label h3 {
    font-size: 1.55rem !important;
  }

  .archive-card--characters .archive-card__label h3 {
    font-size: 2rem !important;
  }

  .archive-disciplines__footer {
    margin-top: 30px;
  }
}

@media (max-width: 650px) {
  .progress-wrap {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .archive-card,
  .archive-card__media img,
  .archive-card__cta i,
  .archive-disciplines__footer a,
  .archive-disciplines__footer a i {
    transition: none;
  }
}

.blog-single-content-wrap .thumbnail img {
  border-radius: 8px;
  border: 1px solid #30363d;
  width: 100%;
  height: auto;
}

.post-meta {
  padding: 16px 0;
  border-bottom: 1px solid #21262d;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
}

.post-meta li {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.post-meta li a {
  color: #cbd5e1;
  text-decoration: none;
}

.post-meta li a:hover {
  color: #38bdf8;
}

/* Article Heading & Flow */
.sanctuary-article-section {
  margin-bottom: 3.5rem;
}

.sanctuary-section-heading {
  font-size: 1.45rem !important;
  color: #f8fafc !important;
  border-bottom: 1px solid #30363d !important;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.35;
}

.sanctuary-section-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #38bdf8;
}

.sanctuary-paragraph {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: 1.18rem !important;
  line-height: 1.75 !important;
  color: #9cecfe !important;
  background: rgba(56, 189, 248, 0.05);
  border-left: 3px solid #38bdf8;
  padding: 1.1rem 1.35rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem !important;
}

/* Table of Contents */
.sanctuary-toc {
  background: #11151c !important;
  border: 1px solid #30363d !important;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sanctuary-toc a {
  transition: all 0.2s ease;
  padding: 4px 0;
}

.sanctuary-toc a:hover {
  color: #38bdf8 !important;
  transform: translateX(4px);
}

/* Article Figures & Centered Responsive Images */
.sanctuary-figure {
  margin: 2rem 0;
  position: relative;
  width: 100%;
}

.sanctuary-figure img {
  border-radius: 8px;
  border: 1px solid #30363d;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: block;
  max-width: 100% !important;
  height: auto;
}

.sanctuary-figure-center {
  margin: 2.5rem auto !important;
  text-align: center !important;
  max-width: 820px !important;
  width: 100% !important;
}

.sanctuary-figure-center img {
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.sanctuary-figure-float-left {
  float: left;
  max-width: 44%;
  margin-right: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.sanctuary-figure-float-right {
  float: right;
  max-width: 44%;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.sanctuary-figcaption {
  font-size: 0.875rem;
  color: #94a3b8 !important;
  margin-top: 8px;
  line-height: 1.5;
}

.sanctuary-image-credit {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.76rem;
  font-style: normal;
}

.sanctuary-image-credit a {
  color: #9cecfe !important;
  text-decoration: underline;
  text-decoration-color: rgba(156, 236, 254, 0.45);
  text-underline-offset: 2px;
}

.sanctuary-image-credit a:hover,
.sanctuary-image-credit a:focus-visible {
  color: #f59e0b !important;
  text-decoration-color: currentColor;
}

@media (max-width: 768px) {
  .sanctuary-figure-float-left,
  .sanctuary-figure-float-right {
    float: none !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Structured Article Lists */
.sanctuary-bullet-list,
.sanctuary-ordered-list {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 8px;
  padding: 1.5rem 1.75rem 1.5rem 2.6rem;
  margin: 1.75rem 0;
  list-style: none;
}

.sanctuary-bullet-list li,
.sanctuary-ordered-list li {
  position: relative;
  margin-bottom: 0.85rem;
  line-height: 1.75;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.sanctuary-bullet-list li:last-child,
.sanctuary-ordered-list li:last-child {
  margin-bottom: 0;
}

.sanctuary-bullet-list li::before {
  content: "✦";
  position: absolute;
  left: -1.6rem;
  color: #38bdf8;
  font-size: 0.85rem;
  top: 0;
}

.sanctuary-ordered-list {
  counter-reset: sanctuary-counter;
}

.sanctuary-ordered-list li {
  counter-increment: sanctuary-counter;
}

.sanctuary-ordered-list li::before {
  content: counter(sanctuary-counter, decimal-leading-zero);
  position: absolute;
  left: -2.1rem;
  color: #f59e0b;
  font-family: 'Chakra Petch', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  top: 0;
}

/* Callouts & Accordions */
.sanctuary-callout {
  background: #11151c !important;
  border: 1px solid #30363d !important;
  border-left: 4px solid #f59e0b !important;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sanctuary-accordion .accordion-item {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 6px !important;
}

.sanctuary-accordion .accordion-button {
  background: #161b22 !important;
  color: #f8fafc !important;
  box-shadow: none !important;
  border: none !important;
  padding: 1.1rem 1.25rem;
}

.sanctuary-accordion .accordion-button:not(.collapsed) {
  background: #1c2129 !important;
  color: #38bdf8 !important;
  border-bottom: 1px solid #30363d;
}

.sanctuary-accordion .accordion-button::after {
  filter: invert(1);
}

.sanctuary-accordion .accordion-body {
  background: #11151c;
  color: #94a3b8;
  line-height: 1.7;
}

/* Post Details Footer & Navigation (Betwins 1:1) */
.blog-details-footer {
  border-top: 1px solid #30363d;
  padding-top: 28px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-details-footer .left .title,
.blog-details-footer .right .title {
  color: #f8fafc !important;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}

.blog-details-footer .left .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-details-footer .left .tags li a {
  background: #161b22 !important;
  color: #cbd5e1 !important;
  border: 1px solid #30363d !important;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.blog-details-footer .left .tags li a:hover {
  background: #38bdf8 !important;
  color: #0d1117 !important;
  border-color: #38bdf8 !important;
  transform: translateY(-2px);
}

.blog-details-footer .social-icon {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-details-footer .social-icon li a {
  color: #94a3b8 !important;
  border: 1px solid #30363d;
  background: #161b22;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-details-footer .social-icon li a:hover {
  color: #38bdf8 !important;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

.single-post-navigation {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 8px;
  padding: 22px 28px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.single-post-navigation .prev-post a,
.single-post-navigation .next-post a {
  color: #cbd5e1 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.single-post-navigation .prev-post a:hover,
.single-post-navigation .next-post a:hover {
  color: #38bdf8 !important;
}

.single-post-navigation .prev-post a i,
.single-post-navigation .next-post a i {
  background: #21262d !important;
  color: #38bdf8 !important;
  border: 1px solid #30363d;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.25s ease;
  display: inline-block;
}

.single-post-navigation .prev-post a:hover i,
.single-post-navigation .next-post a:hover i {
  background: #38bdf8 !important;
  color: #0d1117 !important;
  border-color: #38bdf8;
  transform: scale(1.08);
}

.single-post-navigation .title-with-link {
  display: flex;
  flex-direction: column;
}

.single-post-navigation .title-with-link span {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f59e0b;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
}

.single-post-navigation .title-with-link h3 {
  font-size: 1rem;
  margin: 4px 0 0 0;
  color: #f8fafc;
  font-weight: 600;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.single-post-navigation .single-post-navigation-center-grid a {
  color: #f59e0b !important;
  font-size: 1.4rem;
  transition: all 0.25s ease;
}

.single-post-navigation .single-post-navigation-center-grid a:hover {
  color: #38bdf8 !important;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .single-post-navigation {
    flex-direction: column;
    text-align: center;
  }
  .single-post-navigation .title-with-link h3 {
    max-width: 100%;
  }
}

/* Sidebar Widgets (Betwins 1:1) */
.widget {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-bottom: 30px !important;
}

.widget-headline {
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  border-bottom: 2px solid #30363d !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
}

.recent-post-item {
  transition: all 0.25s ease;
}

.recent-post-item:hover {
  border-color: #38bdf8 !important;
  transform: translateX(4px);
}

/* Footer Styling */
.footer-wrap {
  background: #0b0e14 !important;
  border-top: 1px solid #21262d !important;
  color: #94a3b8 !important;
}

.footer__widget-intro h6 {
  color: #f8fafc !important;
  font-size: 1.1rem !important;
}

.copyright-wrap {
  background: #080a0e !important;
  border-top: 1px solid #161b22 !important;
}

.copyright-text {
  color: #64748b !important;
  font-size: 0.875rem !important;
}

.menu-footer-menu-container ul li a {
  color: #94a3b8 !important;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.menu-footer-menu-container ul li a:hover {
  color: #f59e0b !important;
}

/* ==========================================================================
   Archival Contact Terminal & Interactive Forms (Humanized UI)
   ========================================================================== */
.sanctuary-contact-terminal {
  background: #11151c !important;
  border: 1px solid #30363d !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sanctuary-contact-terminal:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 36px rgba(56, 189, 248, 0.15) !important;
}

.sanctuary-form .form-label {
  color: #94a3b8;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.75px;
  margin-bottom: 0.5rem;
}

.sanctuary-form .form-control {
  background-color: #0b0e14 !important;
  border: 1px solid #30363d !important;
  color: #f8fafc !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.sanctuary-form .form-control:focus {
  background-color: #0d1117 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
  outline: none;
}

.sanctuary-form .form-control::placeholder {
  color: #475569 !important;
}

.sanctuary-success-banner {
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid #38bdf8 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.18) !important;
  animation: fadeInTerminal 0.4s ease-out forwards;
}

@keyframes fadeInTerminal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Archival Data Tables & Matrix Views
   ========================================================================== */
.sanctuary-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #11151c;
}

.sanctuary-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.sanctuary-table th {
  background-color: #161b22;
  color: #f8fafc;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 14px 18px;
  border-bottom: 2px solid #30363d;
  text-align: left;
}

.sanctuary-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #21262d;
  vertical-align: middle;
  line-height: 1.6;
}

.sanctuary-table tbody tr:last-child td {
  border-bottom: none;
}

.sanctuary-table tbody tr:hover {
  background-color: rgba(56, 189, 248, 0.04);
}

.sanctuary-table-highlight {
  color: #38bdf8;
  font-weight: 600;
}

/* ==========================================================================
   Monograph Technical Blocks & Code Archaeological Callouts
   ========================================================================== */
.sanctuary-code-block {
  background: #0b0e14;
  border: 1px solid #30363d;
  border-left: 3px solid #38bdf8;
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1.75rem 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.6;
}

.sanctuary-blockquote {
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.05);
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #f8fafc;
}

/* ==========================================================================
   Comprehensive Layout Stability & Responsive Perfection
   Fixes title-animation lowercase, mobile menu close, footer overlap, 
   single-post-navigation on mobile, and small screen spacing
   ========================================================================== */

/* 1. Prevent lowercase typography glitch from master.css */
.title-animation,
.title-animation > div,
.title-animation > span,
.title-animation > div > div,
.title-animation > span > div > div {
  text-transform: none !important;
}

/* 2. Footer layout normalization (No negative margins or container collisions) */
.footer-area {
  margin-top: auto !important;
  background-color: #0b0e14 !important;
  position: relative !important;
  overflow: hidden;
}

.footer__newsletter,
.footer__newsletter-two {
  top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  position: relative !important;
}

.footer__newsletter-content {
  max-width: 100% !important;
  margin-inline: auto !important;
}

.footer-area .widget,
.footer-area .footer-widget {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.footer-area .widget-headline {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 1rem !important;
}

.footer--top {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.footer-wraps {
  border-top: 1px solid #161b22;
}

/* 3. Mobile Navigation Drawer Polish */
.mobile-menu .close-mobile-menu {
  top: 0 !important;
  position: static !important;
  background: transparent !important;
  border: none !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: #38bdf8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
}

.mobile-menu .mobile-menu__header {
  padding: 24px 30px !important;
  align-items: center !important;
}

.mobile-menu .mobile-menu__wrapper {
  padding: 30px 0 !important;
  gap: 30px !important;
  transition: all 0.35s ease !important;
}

.mobile-menu.show-menu .mobile-menu__wrapper {
  transition-delay: 0s !important;
  transition: all 0.35s ease !important;
}

/* 4. Responsive adjustments for mobile (< 768px) and tablet (< 992px) */
@media (max-width: 991px) {
  .header {
    padding: 14px 0 !important;
  }
  .navbar-logo span {
    font-size: 1.15rem !important;
  }
  .banner-three {
    padding-block: 110px 50px !important;
  }
}

@media (max-width: 768px) {
  .breadcrumb-content h2.page-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  .padding-120 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .blog-single-content-wrap {
    padding: 20px 14px !important;
  }
  .sanctuary-bullet-list,
  .sanctuary-ordered-list {
    padding: 1.25rem 1rem 1.25rem 2.2rem !important;
    margin: 1.25rem 0 !important;
  }
  .single-post-navigation {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    text-align: left !important;
    padding: 18px !important;
  }
  .single-post-navigation .prev-post a,
  .single-post-navigation .next-post a {
    justify-content: flex-start !important;
    width: 100% !important;
  }
  .single-post-navigation .next-post a {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
  }
  .single-post-navigation .single-post-navigation-center-grid {
    display: none !important;
  }
  .single-post-navigation .title-with-link h3 {
    max-width: 100% !important;
    white-space: normal !important;
  }
  .sanctuary-toc {
    padding: 18px 14px !important;
  }
  .widget {
    padding: 18px 16px !important;
  }
  .blog-two .blog__single .content {
    padding: 18px 16px !important;
  }
  .blog-two .blog__single .thumb img {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
  }
}
/* Generated brand emblem with crisp, accessible live typography. */
.sanctuary-brand { display: inline-flex !important; align-items: center; gap: 9px; flex-shrink: 0; }
.sanctuary-brand img { width: 48px !important; height: 48px !important; max-height: none !important; object-fit: contain; flex-shrink: 0; border-radius: 10px; }
.sanctuary-brand .sanctuary-brand__words { display: flex !important; flex-direction: column; gap: 4px; }
.sanctuary-brand strong { color: #fff; font-family: 'Chakra Petch', sans-serif; font-size: 20px; line-height: 1.1; font-weight: 600; letter-spacing: -.4px; white-space: nowrap; }
.sanctuary-brand small { color: #a8b7c6; font-size: 8px; line-height: 1.2; letter-spacing: 2.1px; white-space: nowrap; }
@media (max-width: 480px) {
  .sanctuary-brand { gap: 6px; }
  .sanctuary-brand img { width: 38px !important; height: 38px !important; }
  .sanctuary-brand strong { font-size: 16px; }
  .sanctuary-brand small { font-size: 7px; letter-spacing: 2px; }
}

/* Classic-game logos replace the original bingo artwork. */
.elementor-15 .elementor-element.elementor-element-032a87a > .elementor-widget-container {
  margin: 0;
}
.authentication__thumb.game-logo-orbit {
  min-width: 0;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: none;
  isolation: isolate;
  scroll-margin-top: 100px;
}
.game-logo-orbit__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #9cecfe0c, transparent 65%);
}
.game-logo-orbit__rings {
  position: absolute;
  inset: 15%;
  border: 1px solid #9cecfe35;
  border-radius: 50%;
}
.game-logo-orbit__rings::before,
.game-logo-orbit__rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid #9cecfe18;
  inset: -15%;
}
.game-logo-orbit__rings::after { inset: 18%; border-style: dashed; }
.game-logo-orbit__core {
  position: absolute;
  inset: 32%;
  border: 1px solid #9cecfe55;
  border-radius: 50%;
  background: #1d1e24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 48px #9cecfe0d, inset 0 0 32px #9cecfe06;
}
.game-logo-orbit__core i { color: #9cecfe; font-size: clamp(32px, 4vw, 60px); line-height: 1.2; }
.game-logo-orbit__core strong { font-size: clamp(13px, 1.5vw, 20px); color: #fff; margin-top: 8px; }
.game-logo-orbit__core span { font-size: clamp(10px, 1vw, 13px); color: #aeb1b8; }
.game-logo-orbit__rotation { position: absolute; inset: 0; animation: game-logo-orbit-spin 48s linear infinite; }
.game-logo-orbit__slot { position: absolute; width: 31%; height: 23%; }
.game-logo-orbit__slot--0 { left: 34.5%; top: 4%; }
.game-logo-orbit__slot--1 { left: 69%; top: 38.5%; }
.game-logo-orbit__slot--2 { left: 34.5%; top: 73%; }
.game-logo-orbit__slot--3 { left: 0; top: 38.5%; }
.game-logo-orbit__logo {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  animation: game-logo-orbit-spin 48s linear infinite reverse;
  filter: drop-shadow(0 8px 8px #0008);
}
.game-logo-orbit__logo img { width: 100%; height: 100%; object-fit: contain; }
.game-logo-orbit__toggle {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 16px; border: 1px solid #9cecfe35; border-radius: 24px;
  background: #1d1e24; color: #c2c6cc; font-size: 13px; margin-top: 4px;
}
.game-logo-orbit__toggle[hidden] { display: none; }
.game-logo-orbit__toggle:hover { color: #9cecfe; border-color: #9cecfe; }
.game-logo-orbit__toggle:focus-visible { outline: 2px solid #9cecfe; outline-offset: 4px; }
.game-logo-orbit__rotation, .game-logo-orbit__logo { animation-play-state: paused; }
.game-logo-orbit[data-motion="running"]:not([data-visible="false"]) .game-logo-orbit__rotation,
.game-logo-orbit[data-motion="running"]:not([data-visible="false"]) .game-logo-orbit__logo { animation-play-state: running; }
@keyframes game-logo-orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 1024px) {
  .authentication__thumb.game-logo-orbit { max-width: 540px; margin-bottom: 24px; }
}

.dendy-top-five {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #9cecfe24;
  border-radius: 18px;
  background: linear-gradient(145deg, #151a22, #101319 72%);
}

.dendy-top-five__header {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.dendy-top-five__eyebrow {
  color: #ffba23;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dendy-top-five__header h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.dendy-top-five__header p,
.dendy-top-five__image-note {
  color: #aeb4bf;
  line-height: 1.7;
}

.dendy-top-five__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dendy-top-five__item,
.dendy-top-five__card {
  min-width: 0;
}

.dendy-top-five__card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: 14px;
  background: #1b2029;
  box-shadow: 0 12px 28px #0003;
  transition: border-color 180ms ease, transform 180ms ease;
}

.dendy-top-five__card:hover {
  transform: translateY(-3px);
  border-color: #9cecfe7a;
}

.dendy-top-five__figure {
  position: relative;
  margin: 0;
}

.dendy-top-five__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0c1017;
}

.dendy-top-five__figure figcaption {
  min-height: 48px;
  padding: 9px 13px;
  color: #9ba4b1;
  font-size: .72rem;
  line-height: 1.45;
}

.dendy-top-five__figure figcaption a {
  color: #9cecfe;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dendy-top-five__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #10151ddd;
  color: #ffca52;
  font-size: .9rem;
  font-weight: 700;
}

.dendy-top-five__body {
  padding: 6px 18px 20px;
}

.dendy-top-five__year {
  margin: 0 0 6px;
  color: #9cecfe;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dendy-top-five__body h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.dendy-top-five__summary {
  margin: 0 0 15px;
  color: #c5cad2;
  font-size: .91rem;
  line-height: 1.65;
}

.dendy-top-five__details {
  margin: 0;
}

.dendy-top-five__details div {
  padding: 11px 0;
  border-top: 1px solid #ffffff14;
}

.dendy-top-five__details dt {
  margin-bottom: 4px;
  color: #ffca52;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dendy-top-five__details dd {
  margin: 0;
  color: #b9c0cb;
  font-size: .87rem;
  line-height: 1.6;
}

.dendy-top-five__image-note {
  margin: 22px auto 0;
  max-width: 820px;
  text-align: center;
  font-size: .82rem;
}

.retro-gameplay-figure .retro-gameplay-image {
  width: 100% !important;
  max-width: 768px !important;
  image-rendering: pixelated;
}

@media (max-width: 1050px) {
  .dendy-top-five__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dendy-top-five {
    padding: 20px 14px;
  }

  .dendy-top-five__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dendy-top-five__card {
    transition: none;
  }
}

/* ==========================================================================
   Homepage Archive Callout Banner Alignment
   Align icon, text ("Have rare physical media..."), and button on 1 level.
   ========================================================================== */
.elementor-element-3a3bcf0 > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 {
  margin: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 16px !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-icon .elementor-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-content {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
}

.elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.elementor-element-3a3bcf0 .elementor-element-c490d18 {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 767px) {
  .elementor-element-3a3bcf0 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .elementor-element-3a3bcf0 > .e-con-inner {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  .elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-wrapper {
    flex-direction: row !important;
    justify-content: center !important;
  }
  .elementor-element-3a3bcf0 .elementor-element-21700a4 .elementor-icon-box-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}

