/* Shared policy-safe footer used across Nobigames pages. */
.site-footer.footer-v2 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 36px 0 0 !important;
  padding: 34px 14px 0;
  color: #dbeafe;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.24), transparent 22rem),
    radial-gradient(circle at 90% 10%, rgba(96, 165, 250, 0.22), transparent 20rem),
    linear-gradient(135deg, #07111f 0%, #0e1d30 58%, #1e40af 100%);
  border-top: 1px solid rgba(96,165,250, 0.22);
  font-family: "Saira", Arial, Helvetica, sans-serif;
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: auto !important;
}

.footer-v2 * {
  box-sizing: border-box;
}

.footer-v2 a {
  color: inherit;
  text-decoration: none;
}

.footer-v2-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(180px, 0.85fr));
  gap: 12px;
}

.footer-v2-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(96,165,250, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 42px rgba(0, 0, 0, 0.16);
}

.footer-v2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(96, 165, 250, 0.46)) top left / 100% 3px no-repeat,
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
}

.footer-v2-card > * {
  position: relative;
  z-index: 1;
}

.footer-v2-logo {
  width: auto;
  max-width: 168px;
  max-height: 46px;
  object-fit: contain;
  margin-bottom: 14px;
}

/* One shared, text-based brand mark keeps every generated page in sync. */
.brand-wordmark {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  height: auto;
  align-items: center;
  gap: 9px;
  color: #102033;
  line-height: 1;
  text-decoration: none;
}

.brand-wordmark-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  background: linear-gradient(145deg, #1d4ed8 0%, #60a5fa 58%, #60a5fa 100%);
  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.brand-wordmark-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
}

.brand-wordmark-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 8px;
  height: 3px;
  border-radius: 999px;
  background: #dbeafe;
}

.brand-wordmark-name {
  min-width: 0;
  color: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark-name > span {
  color: #2563eb;
}

.site-header .brand-wordmark.logo-text {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  filter: none;
}

.footer-v2 .brand-wordmark.footer-v2-logo {
  width: max-content;
  max-width: 100%;
  max-height: none;
  color: #fff;
  object-fit: initial;
}

.footer-v2 h2,
.footer-v2 h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
}

.footer-v2 h2 {
  font-size: 20px;
}

.footer-v2 h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-v2 p {
  margin: 0;
  color: #bed0e4;
  font-size: 13.5px;
  line-height: 1.62;
  font-weight: 600;
}

.footer-v2 p + p {
  margin-top: 10px;
}

.footer-v2-operator {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 11px;
  border: 1px solid rgba(96,165,250, 0.22);
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.14);
  color: #eff6ff;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.footer-v2 ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-v2 li {
  margin: 0;
}

.footer-v2 a.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 12px;
  color: #d7e6f7;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.footer-v2 a.footer-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.footer-v2 a.footer-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.footer-v2-contact {
  display: grid;
  gap: 10px;
}

.footer-v2-email {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer-v2-note {
  color: #9fb1c7;
  font-size: 12.5px;
}

.footer-v2-bottom {
  width: min(1180px, 100%);
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px 18px;
  border-top: 1px solid rgba(96,165,250, 0.15);
  color: #afc0d4;
  font-size: 13px;
  font-weight: 700;
}

.footer-v2-bottom strong {
  color: inherit;
}

body.has-sticky-download-cta,
body.has-sticky-store-cta,
body.has-sticky-online-game-cta {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  .footer-v2-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer.footer-v2 {
    margin-top: 18px !important;
    padding: 12px 8px 0;
  }

  .footer-v2-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .footer-v2-card {
    padding: 12px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 24px rgba(0, 0, 0, 0.13);
  }

  .footer-v2-card:first-child,
  .footer-v2-contact {
    grid-column: 1 / -1;
  }

  .footer-v2-logo {
    margin-bottom: 8px;
  }

  .footer-v2-card:first-child > h2 {
    display: none;
  }

  .footer-v2 h2 {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .footer-v2 p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .footer-v2 p + p {
    margin-top: 7px;
  }

  .footer-v2-operator {
    margin-top: 8px;
    padding: 6px 9px;
    border-radius: 11px;
    font-size: 10.5px;
  }

  .brand-wordmark {
    gap: 8px;
  }

  .brand-wordmark-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
    font-size: 17px;
  }

  .brand-wordmark-name {
    font-size: 19px;
  }

  .footer-v2 ul {
    gap: 1px;
  }

  .footer-v2 a.footer-link {
    gap: 6px;
    min-height: 27px;
    padding: 4px 3px;
    border-radius: 8px;
    font-size: 11.5px;
  }

  .footer-v2 a.footer-link::before {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
  }

  .footer-v2-contact {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px 10px;
  }

  .footer-v2-contact h2 {
    margin: 0;
  }

  .footer-v2-email-link {
    min-width: 0;
  }

  .footer-v2-email {
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 10.5px;
  }

  .footer-v2-note {
    grid-column: 1 / -1;
    font-size: 10.5px !important;
  }

  .footer-v2-bottom {
    margin-top: 8px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px 11px;
    font-size: 10.5px;
    text-align: center;
  }

  .footer-v2-bottom span {
    width: 100%;
  }
}

/* Sitewide readable typography refresh - start */
@font-face {
  font-family: "Nunito Sans Local";
  src: url("/assets/fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --site-font-sans: "Nunito Sans Local", "Nunito Sans", "Google Sans", "Product Sans", Roboto, "Segoe UI", Arial, sans-serif;
}

html,
body,
body * {
  font-family: var(--site-font-sans) !important;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.site-title, .section-title, .section-heading, .home-section-title,
.game-title, .app-title, .card-title, .article-title,
.game-name, .app-name, .item-title, .name {
  font-family: var(--site-font-sans) !important;
  font-weight: 600 !important;
}

.download-ready, .download-btn, .download-cta, .store-badge,
button, .btn, .view-all, .view-more {
  font-family: var(--site-font-sans) !important;
  font-weight: 700 !important;
}

p, li, .description, .desc, .short-description, .detail-copy,
.meta, .category, .subtitle, .supporting-copy, .footer-copy {
  font-family: var(--site-font-sans) !important;
}

.description, .desc, .short-description, .detail-copy,
p, li {
  font-weight: 400 !important;
}

.meta, .category, .subtitle, .supporting-copy, small {
  font-weight: 500 !important;
}

strong, b {
  font-weight: 600 !important;
}
/* Sitewide readable typography refresh - end */
