/* ===========================================================================
   Supership Studio — theme
   ========================================================================== */

:root {
  --fo-bg: #0a0e10;
  --fo-bg-soft: #0d1215;
  --fo-card: #12181c;
  --fo-card-2: #171e23;
  --fo-border: rgba(255, 255, 255, 0.08);
  --fo-text: #eef2f4;
  --fo-muted: #97a3ab;
  --fo-green: #2fd573;
  --fo-red: #ff4d4d;
  --fo-accent: #3fb4ff;
  --fo-radius: 1.25rem;
  --header-offset: 12rem;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--fo-bg);
  color: var(--fo-text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(63, 180, 255, 0.35);
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

/* Typography ------------------------------------------------------------- */

.display-heading,
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
}

.display-heading {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  max-width: 15ch;
  text-wrap: balance;
}

.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  max-width: 22ch;
  text-wrap: balance;
}

.section-copy {
  color: var(--fo-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 46ch;
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

/* Buttons ---------------------------------------------------------------- */

.btn-pill {
  --bs-btn-border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-pill .bi {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn-pill:hover .bi-arrow-right {
  transform: translateX(4px);
}

.btn-solid {
  background: #fff;
  border: 1px solid #fff;
  color: #0b0f12;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #e6ebee;
  border-color: #e6ebee;
  color: #0b0f12;
  transform: translateY(-2px);
}

.btn-ghost,
.btn-discord {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--fo-text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible,
.btn-discord:hover,
.btn-discord:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.btn-discord .bi-discord {
  font-size: 1.1rem;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--fo-border);
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-nav {
  width: 150px;
  height: auto;
  max-height: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: #fff;
}

.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  border: 1px solid var(--fo-border);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.25rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(63, 180, 255, 0.25);
}

/* The logo has a fixed, generous visual presence while links remain clear. */
@media (min-width: 1200px) {
  .site-header .navbar > .container-xxl {
    position: relative;
    min-height: 150px;
  }

  .site-header .navbar-brand {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .site-header .navbar-collapse {
    display: flex !important;
    flex: 1 1 100%;
    min-height: 150px;
  }

  .site-header .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
  }
}

/* Collapse earlier than Bootstrap's default so the centred 150px logo never
   collides with navigation on tablets and smaller laptops. */
@media (max-width: 1199.98px) {
  .site-header .navbar > .container-xxl {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header .navbar-brand {
    margin: 0;
  }

  .site-header .navbar-toggler {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0.75rem;
    display: block;
    transform: translateY(-50%);
  }

  .site-header .navbar-expand-lg .navbar-collapse {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem 1.25rem;
    border: 1px solid var(--fo-border);
    border-radius: 1.25rem;
    background: rgba(10, 14, 16, 0.96);
    backdrop-filter: blur(14px);
  }

  .site-header .navbar-expand-lg .navbar-collapse.show,
  .site-header .navbar-expand-lg .navbar-collapse.collapsing {
    display: block !important;
  }

  .site-header .navbar-expand-lg .navbar-nav {
    align-items: stretch !important;
    flex-direction: column;
  }

  .site-header .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: static;
  }

  .site-header .navbar-collapse > .d-flex {
    margin-top: 0.75rem;
  }
}

/* Hero ------------------------------------------------------------------- */

.hero,
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-slide {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-carousel,
.hero-carousel .carousel-inner {
  height: 100vh;
}

.hero-slide {
  position: relative;
  height: 100vh;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: var(--hero-position, center);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.91) 0%, rgba(5, 8, 10, 0.7) 44%, rgba(5, 8, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.56) 0%, rgba(5, 8, 10, 0.04) 38%, rgba(10, 14, 16, 0.92) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.hero-eyebrow,
.hero-meta {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #fff;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 48ch;
}

.hero-carousel-indicators {
  z-index: 4;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: auto;
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

.hero-carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 2.5rem;
  height: 3px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-carousel-indicators .active {
  background: #fff;
}

.hero-carousel-nav {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: clamp(3.75rem, 6vw, 5rem);
  display: flex;
  gap: 0.55rem;
}

.hero-carousel-control {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(9, 12, 14, 0.32);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .hero-content {
    padding-bottom: 7.75rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 8, 10, 0.82) 0%, rgba(5, 8, 10, 0.46) 100%),
      linear-gradient(180deg, rgba(5, 8, 10, 0.24) 0%, rgba(10, 14, 16, 0.96) 88%);
  }
}

/* About / card fan ------------------------------------------------------- */

.card-fan {
  position: relative;
  height: clamp(300px, 36vw, 440px);
}

.fan-card {
  --spread: calc(var(--i) - var(--middle));
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  transform-origin: 50% 175%;
  transform: translateX(-50%) rotate(calc(var(--spread) * 12deg));
  transition: transform 0.35s ease;
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fan-card:hover {
  transform: translateX(-50%) rotate(calc(var(--spread) * 12deg)) translateY(-16px);
  z-index: 10;
}

.stats {
  border-top: 1px solid var(--fo-border);
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  color: var(--fo-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Games rail ------------------------------------------------------------- */

.games-layout {
  --edge: 0.75rem;
}

@media (min-width: 1400px) {
  .games-layout {
    --edge: calc((100vw - 1296px) / 2);
  }
}

@media (min-width: 992px) {
  .games-layout {
    display: grid;
    grid-template-columns: var(--edge) minmax(280px, 340px) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
  }

  .games-intro   { grid-column: 2; }
  .games-railwrap { grid-column: 3; min-width: 0; }
}

@media (max-width: 991.98px) {
  .games-intro {
    padding-inline: var(--edge);
    margin-bottom: 2.25rem;
  }
}

.games-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-right: var(--edge);
  padding-block: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

@media (max-width: 991.98px) {
  .games-rail {
    padding-left: var(--edge);
  }
}

.games-rail::-webkit-scrollbar {
  display: none;
}

.games-rail.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.game-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(230px, 22vw, 300px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-radius);
  background: var(--fo-card);
  scroll-snap-align: start;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.game-card-link-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.game-card-link-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 10, 0.18) 52%, rgba(5, 8, 10, 0.88) 100%);
  content: "";
  pointer-events: none;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--game-position, center);
  transition: transform 0.5s ease;
  user-select: none;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--game-accent) 68%, white);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card-overlay {
  position: absolute;
  z-index: 1;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  background: rgba(9, 12, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.game-card-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}

.game-card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
  color: var(--game-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card-status .bi {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.game-card-link-card:hover,
.game-card-link-card:focus-visible {
  color: #fff;
}

.game-card-link-card:hover .game-card-status .bi,
.game-card-link-card:focus-visible .game-card-status .bi {
  transform: translate(2px, -2px);
}

/* News / blog ------------------------------------------------------------ */

.news-carousel .carousel-item {
  transition-duration: 0.7s;
}

@media (min-width: 768px) {
  .news-carousel {
    min-height: 30rem;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  border-radius: 1.4rem;
  padding: 0.9rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.blog-card-media {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 0.5rem 0.6rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.blog-tag {
  background: var(--fo-card-2);
  border: 1px solid var(--fo-border);
  color: var(--fo-text);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.blog-read {
  color: var(--fo-muted);
  font-size: 0.75rem;
}

.blog-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.blog-excerpt {
  color: var(--fo-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.blog-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.blog-more:hover {
  color: var(--fo-green);
}

.blog-more .bi {
  font-size: 0.8rem;
}

.blog-page-list .blog-card {
  scroll-margin-top: var(--header-offset);
}

.blog-page-list .blog-title {
  font-size: 1.2rem;
}

.blog-article-hero .blog-meta {
  margin: 1.5rem 0 1rem;
}

.blog-article-heading {
  max-width: 56rem;
}

.blog-article-content {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.blog-article {
  max-width: 52rem;
}

.blog-article-media {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
}

.blog-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-body {
  max-width: 44rem;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}

.blog-article-body p {
  margin: 0 0 1.5rem;
  color: var(--fo-text);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.8;
}

.blog-article-body p:last-child {
  margin-bottom: 0;
}

/* Contact page ----------------------------------------------------------- */

.contact-page-methods {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.contact-method {
  padding-top: 1.5rem;
  border-top: 1px solid var(--fo-border);
}

.contact-method > .bi {
  color: var(--fo-accent);
  font-size: 1.35rem;
}

.contact-method-label {
  margin: 1.25rem 0 0.35rem;
  color: var(--fo-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method-value {
  display: block;
  width: fit-content;
  color: var(--fo-text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  text-decoration: none;
}

.contact-method-value:hover,
.contact-method-value:focus-visible {
  color: #fff;
}

.contact-method-note {
  margin: 0.35rem 0 0;
  color: var(--fo-muted);
  font-size: 0.8rem;
}

.contact-method-action {
  margin-top: 1rem;
}

/* Cookie consent --------------------------------------------------------- */

.cookie-consent {
  position: fixed;
  z-index: 1060;
  right: 0;
  bottom: 0;
  left: 0;
  padding-block: 1rem;
  background: var(--fo-bg-soft);
  border-top: 1px solid var(--fo-border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cookie-consent-copy {
  max-width: 48rem;
}

.cookie-consent-title {
  margin: 0;
  color: var(--fo-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-consent-text {
  margin: 0.3rem 0 0;
  color: var(--fo-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cookie-consent-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--fo-text);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-link:hover,
.cookie-consent-link:focus-visible {
  color: #fff;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-consent-actions .btn-pill {
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

@media (max-width: 767.98px) {
  .cookie-consent-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn-pill {
    justify-content: center;
    flex: 1 1 100%;
  }
}

/* Privacy page ----------------------------------------------------------- */

.privacy-page-content {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.privacy-page-layout {
  max-width: 54rem;
}

.privacy-section {
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--fo-border);
}

.privacy-section-title {
  max-width: none;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.privacy-section-copy {
  max-width: 68ch;
  margin: 0.9rem 0 0;
  color: var(--fo-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-contact-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--fo-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-contact-link:hover,
.privacy-contact-link:focus-visible {
  color: #fff;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  position: relative;
  border-top: 1px solid var(--fo-border);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--fo-bg-soft);
}

.footer-brand {
  color: #fff;
  text-decoration: none;
}

.footer-brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-tagline {
  color: var(--fo-muted);
  font-size: 0.95rem;
  max-width: 30ch;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--fo-border);
  color: var(--fo-text);
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--fo-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-games li {
  margin-bottom: 1rem;
}

.footer-games a {
  color: var(--fo-text);
  display: inline-block;
}


.footer-bottom {
  border-top: 1px solid var(--fo-border);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  color: var(--fo-muted);
  font-size: 0.82rem;
}

.footer-watermark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 21vw, 20rem);
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
  margin-bottom: -0.28em;
  background: linear-gradient(180deg, #1d252b 0%, #0e1316 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

/* Eyebrow label ---------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fo-muted);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--fo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* Language switch -------------------------------------------------------- */

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  gap: 0.15rem;
  border: 1px solid var(--fo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-option {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fo-muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-option:hover {
  color: #fff;
}

.lang-option.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

html.is-language-switching body {
  cursor: progress;
}

.site-header,
main,
.site-footer,
.cookie-consent {
  transition: opacity 0.18s ease;
}

html.is-language-switching .site-header,
html.is-language-switching main,
html.is-language-switching .site-footer,
html.is-language-switching .cookie-consent {
  opacity: 0.55;
  pointer-events: none;
}

/* Solutions dropdown ----------------------------------------------------- */

.dropdown-menu-fo {
  --bs-dropdown-bg: rgba(14, 19, 22, 0.97);
  --bs-dropdown-border-color: var(--fo-border);
  --bs-dropdown-link-color: var(--fo-muted);
  --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-active-bg: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-top: 0.6rem;
  min-width: 17rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-fo .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.dropdown-icon .bi {
  font-size: 1.05rem;
  line-height: 1;
}

.dropdown-item-all {
  font-weight: 600;
  color: var(--fo-text) !important;
}

.dropdown-item-all .bi {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.dropdown-item-all:hover .bi {
  transform: translateX(3px);
}

/* Solution cards --------------------------------------------------------- */

.solution-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0.25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fo-text);
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  color: var(--fo-text);
}

.solution-card:focus-visible {
  outline: 2px solid var(--fo-accent);
  outline-offset: 0.5rem;
}

.solution-card-lg {
  padding: 0.25rem 0;
}

.solution-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  color: var(--accent, var(--fo-accent));
  background: rgba(255, 255, 255, 0.06);
  background: color-mix(in srgb, var(--accent, var(--fo-accent)) 14%, transparent);
  border: 1px solid var(--fo-border);
  border-color: color-mix(in srgb, var(--accent, var(--fo-accent)) 30%, transparent);
}

.solution-card .solution-icon {
  align-self: flex-start;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.solution-icon-lg {
  width: auto;
  height: auto;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.solution-name {
  position: relative;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.solution-card-lg .solution-name {
  font-size: 1.35rem;
}

.solution-tagline {
  position: relative;
  color: var(--fo-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.solution-preview {
  position: relative;
  margin-bottom: 1.4rem;
}

.solution-preview li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--fo-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.55rem;
}

.solution-preview .bi {
  color: var(--fo-accent);
  font-size: 0.95rem;
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.solution-more {
  position: relative;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.solution-more .bi {
  transition: transform 0.25s ease;
}

.solution-card:hover .solution-more .bi {
  transform: translateX(4px);
}

/* Published projects ----------------------------------------------------- */

.published-project {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid var(--fo-border);
  color: var(--fo-text);
  text-decoration: none;
}

.published-project-index {
  color: var(--fo-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.published-project-title {
  margin: 1.15rem 0 0;
  color: var(--fo-text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.published-project-copy {
  margin: 0.75rem 0 0;
  color: var(--fo-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.published-project-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 1.4rem;
  color: var(--fo-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.published-project-more .bi {
  transition: transform 0.25s ease;
}

.published-project:hover .published-project-more .bi,
.published-project:focus-visible .published-project-more .bi {
  transform: translate(3px, -3px);
}

.published-project:focus-visible {
  outline: 2px solid var(--fo-accent);
  outline-offset: 0.5rem;
}

/* Sub-page hero ---------------------------------------------------------- */

.page-hero {
  padding-top: calc(150px + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

/* Square and centred so the glow fades out before the clipped edges. */
.page-hero-solution::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -12%;
  width: 44rem;
  height: 44rem;
  transform: translateY(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero > .container-xxl {
  position: relative;
}

.page-hero-title {
  max-width: 20ch;
}

.page-hero-lead {
  color: var(--fo-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fo-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #fff;
}

.back-link .bi {
  transition: transform 0.2s ease;
}

.back-link:hover .bi {
  transform: translateX(-3px);
}

.solution-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  color: var(--fo-text);
  max-width: 62ch;
  border-left: 2px solid var(--fo-border);
  padding-left: clamp(1rem, 2vw, 1.75rem);
}

.block-heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin: 0;
}

/* Game detail ----------------------------------------------------------- */

.game-detail-page .game-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(150px + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

.game-detail-page .game-detail-hero::before {
  position: absolute;
  z-index: -1;
  top: -14rem;
  right: -12rem;
  width: min(58vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--game-accent) 24%, transparent) 0%, transparent 68%);
  content: "";
  pointer-events: none;
}

.game-detail-page .game-detail-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--game-accent) 42%, var(--fo-border));
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: var(--fo-card);
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.38);
}

.game-detail-page .game-detail-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--game-accent) 20%, transparent), transparent 50%), linear-gradient(0deg, rgba(5, 8, 10, 0.3), transparent 50%);
  content: "";
  pointer-events: none;
}

.game-detail-page .game-detail-art img,
.game-detail-page .game-detail-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--game-position, center);
}

.game-detail-page .game-detail-copy {
  max-width: 38rem;
}

.game-detail-page .game-detail-eyebrow,
.game-detail-page .game-detail-label {
  display: block;
  color: var(--game-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.game-detail-page .game-detail-title {
  max-width: 100%;
  font-size: clamp(2.6rem, 5.4vw, 5.25rem);
}

.game-detail-page .game-detail-meta {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 1.5rem 0 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--fo-border);
  border-radius: 999px;
  color: var(--fo-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.game-detail-page .game-detail-overview {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fo-border);
}

.game-detail-page .game-detail-description {
  max-width: 56ch;
  margin: 0.7rem 0 0;
  color: var(--fo-text);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.game-detail-page .game-detail-platforms {
  margin-top: 1.5rem;
}

.game-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.game-platform {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.1rem;
  border-top: 1px solid var(--fo-border);
  color: var(--fo-text);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.game-platform > i {
  color: var(--game-accent);
  font-size: 1.35rem;
}

.game-platform > span {
  font-size: 0.82rem;
  font-weight: 700;
}

.game-platform > small {
  color: var(--fo-muted);
  font-size: 0.7rem;
}

.game-platform:hover,
.game-platform:focus-visible {
  border-color: var(--game-accent);
  color: #fff;
}

.game-platform.is-coming {
  opacity: 0.48;
}

.game-detail-page .game-detail-availability {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--game-accent) 28%, var(--fo-border));
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--game-accent) 8%, var(--fo-card));
}

.game-detail-page .game-detail-availability .bi {
  flex: 0 0 auto;
  color: var(--game-accent);
  font-size: 1.25rem;
  line-height: 1.2;
}

.game-detail-page .game-detail-feature {
  margin: 0.25rem 0 0;
  color: var(--fo-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.game-detail-page .game-detail-play {
  margin-top: 1.75rem;
  border-color: var(--game-accent);
  background: var(--game-accent);
  color: #0a0e10;
  box-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--game-accent) 22%, transparent);
}

.game-detail-page .game-detail-play:hover,
.game-detail-page .game-detail-play:focus-visible {
  border-color: var(--game-accent);
  background: color-mix(in srgb, var(--game-accent) 82%, white);
  color: #0a0e10;
  transform: translateY(-2px);
}

.game-detail-page .game-detail-play:hover .bi,
.game-detail-page .game-detail-play:focus-visible .bi {
  transform: translate(2px, -2px);
}


@media (max-width: 991.98px) {
  .game-detail-page .game-detail-art {
    max-width: 42rem;
  }

  .game-detail-page .game-detail-copy {
    max-width: 42rem;
  }
}

@media (max-width: 575.98px) {
  .game-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-detail-page .game-detail-hero {
    padding-top: calc(150px + 2rem);
  }

  .game-detail-page .game-detail-art {
    aspect-ratio: 1 / 1;
  }

  .game-detail-page .game-detail-meta {
    border-radius: 0.75rem;
  }
}

/* Service cards ---------------------------------------------------------- */

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: 1.2rem;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card[id] {
  scroll-margin-top: var(--header-offset);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  border-color: color-mix(in srgb, var(--accent, var(--fo-accent)) 40%, var(--fo-border));
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--accent, var(--fo-accent));
  margin-bottom: 0.9rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.service-text {
  color: var(--fo-muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

/* Process ---------------------------------------------------------------- */

.process-section {
  background: var(--fo-bg-soft);
  border-block: 1px solid var(--fo-border);
}

.process-step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fo-border);
}

.process-dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent, var(--fo-accent));
  box-shadow: 0 0 12px var(--accent, var(--fo-accent));
}

.process-index {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent, var(--fo-accent));
  margin-bottom: 0.7rem;
}

.process-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-text {
  color: var(--fo-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Case list -------------------------------------------------------------- */

.case-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--fo-border);
  color: var(--fo-text);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 74ch;
}

.case-item .bi {
  color: var(--accent, var(--fo-accent));
  font-size: 1.4rem;
  line-height: 1.2;
  flex: 0 0 auto;
}

/* Contact panel ---------------------------------------------------------- */

.contact-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.75rem;
  border: 1px solid var(--fo-border);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(63, 180, 255, 0.16) 0%, transparent 55%),
    var(--fo-card);
}

.contact-detail a {
  color: var(--fo-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: #fff;
}

.footer-bottom a {
  color: var(--fo-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Reveal animations ------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header,
  main,
  .site-footer,
  .cookie-consent,
  .news-carousel .carousel-item {
    transition: none;
  }

  .hero-play::after {
    animation: none;
  }

  .btn-pill,
  .game-card,
  .game-card img,
  .blog-card,
  .fan-card {
    transition: none;
  }
}
