/* GotitanHub.Games — tema oscuro premium (BEM Yandex-style prefixes: gth-) */

:root {
  --gth-bg-deep: #0a0b12;
  --gth-bg-panel: #12152a;
  --gth-bg-elevated: #1a1f38;
  --gth-gold: #e8c547;
  --gth-gold-soft: #f4e19c;
  --gth-neon: #39ff7a;
  --gth-purple: #a855f7;
  --gth-text: #e8eaf5;
  --gth-text-muted: #9aa3c0;
  --gth-border: rgba(232, 197, 71, 0.22);
  --gth-shadow-glow: 0 0 42px rgba(57, 255, 122, 0.12);
  --gth-radius-lg: 1.35rem;
  --gth-radius-md: 1rem;
  --gth-font: "Outfit", system-ui, -apple-system, sans-serif;
  --gth-font-display: "Sora", var(--gth-font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

.gth-body img,
.gth-body video,
.gth-body iframe {
  max-width: 100%;
}

body.gth-body {
  margin: 0;
  font-family: var(--gth-font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gth-text);
  background: var(--gth-bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(57, 255, 122, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(232, 197, 71, 0.06), transparent);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

main [id^="gth-"] {
  scroll-margin-top: calc(var(--gth-header-h) + 0.75rem);
}

.gth-body main {
  overflow-x: hidden;
  max-width: 100%;
}

body.gth-body.gth-body--no-scroll {
  overflow: hidden;
}

.gth-body a {
  color: var(--gth-gold-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.gth-body a:hover {
  color: var(--gth-neon);
}

.gth-body h1,
.gth-body h2,
.gth-body h3,
.gth-body .gth-heading {
  font-family: var(--gth-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gth-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gth-neon);
  margin-bottom: 0.75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.gth-accent {
  color: var(--gth-gold);
}

/* --- Header / nav --- */
.gth-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  --gth-header-h: 4.75rem;
  background: linear-gradient(180deg, rgba(10, 11, 18, 0.97) 0%, rgba(10, 11, 18, 0.88) 100%);
  border-bottom: 1px solid var(--gth-border);
  backdrop-filter: blur(12px);
}

.gth-header__bar {
  width: 100%;
}

.gth-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  min-height: 3.25rem;
  min-width: 0;
  width: 100%;
}

.gth-header__menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.gth-nav.navbar-expand-lg {
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 991.98px) {
  .gth-nav.navbar-expand-lg {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }
}

.gth-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--gth-text) !important;
}

.gth-brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gth-border), var(--gth-shadow-glow);
}

.gth-brand__text {
  font-family: var(--gth-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.gth-brand__text span {
  color: var(--gth-gold);
}

/* --- Burger button (animated hamburger → X) --- */
.gth-burger.navbar-toggler {
  --gth-burger-size: 3rem;
  width: var(--gth-burger-size);
  height: var(--gth-burger-size);
  padding: 0;
  margin: 0;
  border: 1px solid var(--gth-border);
  border-radius: 0.875rem;
  background: linear-gradient(145deg, rgba(26, 31, 56, 0.95), rgba(18, 21, 42, 0.85));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(57, 255, 122, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.gth-burger.navbar-toggler:hover {
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 6px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(232, 197, 71, 0.12);
}

.gth-burger.navbar-toggler:focus {
  outline: none;
  box-shadow:
    0 0 0 2px var(--gth-bg-deep),
    0 0 0 4px rgba(232, 197, 71, 0.45);
}

.gth-burger.navbar-toggler:active {
  transform: scale(0.96);
}

.gth-burger__box {
  width: 1.35rem;
  height: 1rem;
  position: relative;
  display: block;
}

.gth-burger__bar {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gth-gold-soft), var(--gth-gold));
  box-shadow: 0 0 8px rgba(232, 197, 71, 0.35);
  transition:
    transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    top 0.35s ease,
    opacity 0.2s ease,
    background 0.25s ease;
}

.gth-burger__bar:nth-child(1) {
  top: 0;
}

.gth-burger__bar:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

.gth-burger__bar:nth-child(3) {
  bottom: 0;
}

.gth-burger.navbar-toggler[aria-expanded="true"] {
  border-color: rgba(57, 255, 122, 0.35);
  box-shadow:
    0 0 0 1px rgba(57, 255, 122, 0.15),
    0 4px 24px rgba(57, 255, 122, 0.12);
}

.gth-burger.navbar-toggler[aria-expanded="true"] .gth-burger__bar:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}

.gth-burger.navbar-toggler[aria-expanded="true"] .gth-burger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.gth-burger.navbar-toggler[aria-expanded="true"] .gth-burger__bar:nth-child(3) {
  bottom: 50%;
  margin-bottom: -1px;
  transform: rotate(-45deg);
}

.gth-nav .nav-link {
  color: var(--gth-text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.5rem;
}

.gth-nav .nav-link:hover,
.gth-nav .nav-link:focus {
  color: var(--gth-gold) !important;
  background: rgba(232, 197, 71, 0.08);
}

.gth-nav .dropdown-toggle::after {
  margin-left: 0.35em;
  vertical-align: 0.15em;
}

.gth-nav .gth-nav-dropdown {
  --bs-dropdown-bg: var(--gth-bg-panel);
  --bs-dropdown-border-color: var(--gth-border);
  --bs-dropdown-link-color: var(--gth-text-muted);
  --bs-dropdown-link-hover-color: var(--gth-gold);
  --bs-dropdown-link-hover-bg: rgba(232, 197, 71, 0.1);
  --bs-dropdown-link-active-color: var(--gth-gold-soft);
  --bs-dropdown-link-active-bg: rgba(232, 197, 71, 0.15);
  border-radius: var(--gth-radius-md);
  padding: 0.35rem;
  margin-top: 0.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gth-nav .gth-nav-dropdown .dropdown-item {
  border-radius: 0.45rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
}

@media (min-width: 992px) {
  .gth-nav .gth-nav-dropdown {
    margin-top: 0.5rem;
  }
}

.gth-legal-header .gth-nav .gth-nav-dropdown {
  --bs-dropdown-bg: #fff;
  --bs-dropdown-border-color: #e2e6ef;
  --bs-dropdown-link-color: #374151;
  --bs-dropdown-link-hover-color: #1a56db;
  --bs-dropdown-link-hover-bg: rgba(26, 86, 219, 0.06);
  --bs-dropdown-link-active-color: #1a56db;
  --bs-dropdown-link-active-bg: rgba(26, 86, 219, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

@media (min-width: 992px) {
  /* Bootstrap .navbar-expand-lg + наши правила: скрываем бургер на desktop */
  .gth-nav.navbar-expand-lg .gth-burger.navbar-toggler {
    display: none !important;
  }

  .gth-header__drawer.navbar-collapse {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Mobile: выдвижная панель отдельно от полосы шапки (fixed — не двигает вёрстку) */
@media (max-width: 991.98px) {
  .gth-header__drawer.navbar-collapse {
    position: fixed !important;
    left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
    right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    top: calc(var(--gth-header-h) + 0.35rem) !important;
    z-index: 1028;
    flex-basis: auto !important;
    width: auto !important;
    max-height: min(28rem, calc(100dvh - var(--gth-header-h) - 1rem)) !important;
    margin-top: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .gth-header__drawer.navbar-collapse::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  /* Sin overflow scroll durante la animación collapse (Bootstrap anima height → parpadeaba la barra) */
  .gth-header__drawer.navbar-collapse.collapsing {
    overflow: hidden !important;
  }

  .gth-header__drawer.navbar-collapse.collapsing,
  .gth-header__drawer.navbar-collapse.show {
    background: linear-gradient(165deg, rgba(22, 26, 48, 0.98), rgba(14, 16, 28, 0.99));
    border: 1px solid var(--gth-border);
    border-radius: 1rem;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(57, 255, 122, 0.06) inset,
      0 0 40px rgba(168, 85, 247, 0.08);
    padding: 0.65rem 0.5rem;
  }

  #gthNavbarCollapse .navbar-nav {
    gap: 0.25rem;
    padding: 0;
    max-width: 100%;
  }

  #gthNavbarCollapse .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  #gthNavbarCollapse .nav-item:last-child {
    border-bottom: 0;
  }

  #gthNavbarCollapse .nav-link {
    padding: 0.85rem 1rem 0.85rem 1.15rem !important;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    border-radius: 0.65rem;
    position: relative;
  }

  #gthNavbarCollapse .nav-link::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gth-gold), var(--gth-neon));
    opacity: 0;
    transition: height 0.2s ease, opacity 0.2s ease;
  }

  #gthNavbarCollapse .nav-link:hover::before,
  #gthNavbarCollapse .nav-link:focus::before {
    height: 60%;
    opacity: 1;
  }

  #gthNavbarCollapse .dropdown-menu.gth-nav-dropdown {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    float: none;
    width: 100%;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gth-legal-header #gthNavbarCollapse .dropdown-menu.gth-nav-dropdown {
    border-color: #e8ebf0;
  }
}

/* Backdrop under open menu (tap to close) */
.gth-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1015;
  background: rgba(5, 7, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gth-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Legal (light header): burger + panel */
.gth-legal-header .gth-burger.navbar-toggler {
  background: linear-gradient(145deg, #fff, #f0f2f7);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gth-legal-header .gth-burger.navbar-toggler:hover {
  border-color: rgba(26, 86, 219, 0.35);
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.12);
}

.gth-legal-header .gth-burger__bar {
  background: linear-gradient(90deg, #1a56db, #3730a3);
  box-shadow: none;
}

.gth-legal-header .gth-burger.navbar-toggler:focus {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(26, 86, 219, 0.35);
}

.gth-legal-header .gth-burger.navbar-toggler[aria-expanded="true"] {
  border-color: rgba(26, 86, 219, 0.35);
}

@media (max-width: 991.98px) {
  .gth-legal-header .gth-header__drawer.navbar-collapse.collapsing,
  .gth-legal-header .gth-header__drawer.navbar-collapse.show {
    background: #fff;
    border-color: #e2e6ef;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }

  .gth-legal-header #gthNavbarCollapse .nav-item {
    border-bottom-color: #e8ebf0;
  }

  .gth-legal-header #gthNavbarCollapse .nav-link {
    color: #374151 !important;
  }

  .gth-legal-header #gthNavbarCollapse .nav-link:hover,
  .gth-legal-header #gthNavbarCollapse .nav-link:focus {
    color: #1a56db !important;
    background: rgba(26, 86, 219, 0.06);
  }
}

/* --- Sections --- */
.gth-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gth-section__title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.gth-section__title h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.gth-section__title p {
  color: var(--gth-text-muted);
  margin: 0;
}

.gth-section__underline {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gth-gold), var(--gth-neon));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* --- Hero --- */
.gth-hero {
  padding-top: clamp(3rem, 6vw, 4rem);
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

.gth-hero__grid {
  max-width: 1140px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .gth-hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.gth-hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin-bottom: 1rem;
}

.gth-hero__lead {
  color: var(--gth-text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.gth-hero__badge-wrap {
  margin-bottom: 1rem;
}

.gth-hero__badge-wrap a {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gth-hero__badge-wrap a:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.gth-hero__badge-wrap img {
  height: 54px;
  width: auto;
  border-radius: 8px;
}

.gth-hero__disclaimer {
  font-size: 0.85rem;
  color: var(--gth-text-muted);
  max-width: 480px;
}

.gth-hero__visual {
  position: relative;
  max-width: min(100%, 36rem);
  margin-inline: auto;
  justify-self: center;
}

.gth-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(168, 85, 247, 0.42), transparent 72%);
  z-index: -1;
  filter: blur(44px);
  pointer-events: none;
}

.gth-hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--gth-radius-lg);
  border: 1px solid var(--gth-border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  display: block;
}

/* --- About rows --- */
.gth-about__row {
  max-width: 1140px;
  width: 100%;
  min-width: 0;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.gth-about__row:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .gth-about__row--reverse-md {
    direction: rtl;
  }
  .gth-about__row--reverse-md > * {
    direction: ltr;
  }
}

.gth-about__card {
  background: var(--gth-bg-panel);
  border: 1px solid var(--gth-border);
  border-radius: var(--gth-radius-md);
  padding: 1.75rem 2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.gth-about__card h3 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--gth-gold-soft);
}

.gth-about__img {
  width: 100%;
  max-width: min(100%, 34rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--gth-radius-md);
  border: 1px solid var(--gth-border);
  display: block;
}

/* --- Trailer --- */
.gth-trailer__frame-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--gth-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gth-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 9;
  background: #000;
}

.gth-trailer__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gth-trailer__fallback {
  text-align: center;
  margin-top: 1rem;
}

/* --- Features --- */
.gth-features__grid {
  max-width: 1140px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .gth-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .gth-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gth-feature-card {
  background: var(--gth-bg-elevated);
  border: 1px solid var(--gth-border);
  border-radius: var(--gth-radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gth-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 122, 0.35);
  box-shadow: var(--gth-shadow-glow);
}

.gth-feature-card__icon {
  font-size: 1.75rem;
  color: var(--gth-gold);
  margin-bottom: 0.85rem;
}

.gth-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.gth-feature-card p {
  margin: 0;
  color: var(--gth-text-muted);
  font-size: 0.98rem;
}

/* --- Screenshots --- */
.gth-screens__grid {
  max-width: 1140px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gth-screens__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.gth-screens__grid figure {
  margin: 0;
  border-radius: var(--gth-radius-md);
  overflow: hidden;
  border: 1px solid var(--gth-border);
  background: var(--gth-bg-panel);
  display: flex;
  flex-direction: column;
}

.gth-screens__grid figure > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--gth-bg-deep);
}

.gth-screens__grid figcaption {
  margin: 0;
  padding: 0.65rem 0.85rem 0.75rem;
  font-family: var(--gth-font);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--gth-text);
  text-align: center;
  border-top: 1px solid rgba(232, 197, 71, 0.15);
  background: linear-gradient(180deg, rgba(26, 31, 56, 0.65) 0%, rgba(18, 21, 42, 0.9) 100%);
  flex-shrink: 0;
}

/* --- Community --- */
.gth-community__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.gth-community__photo {
  max-width: min(100%, 48rem);
  margin: 0 auto 2rem;
  border-radius: var(--gth-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gth-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.gth-community__photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.gth-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .gth-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gth-stat {
  background: #fff;
  color: #1a1a24;
  border-radius: var(--gth-radius-md);
  padding: 1.25rem 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gth-stat__value {
  font-size: 1.75rem;
  font-family: var(--gth-font-display);
  color: #0a0b12;
}

.gth-stat__stars {
  color: var(--gth-gold);
  letter-spacing: 2px;
}

.gth-stat__label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

/* --- Responsible strip --- */
.gth-responsible {
  background: var(--gth-bg-panel);
  border-top: 1px solid var(--gth-border);
  border-bottom: 1px solid var(--gth-border);
}

.gth-responsible__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.gth-responsible__inner p {
  color: var(--gth-text-muted);
  margin-bottom: 1rem;
}

/* --- CTA --- */
.gth-cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent);
}

.gth-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.gth-cta__icon {
  font-size: 2.5rem;
  color: var(--gth-neon);
  margin-bottom: 0.5rem;
}

/* --- Contact snippet --- */
.gth-contact-snippet {
  max-width: 1140px;
  margin: 0 auto;
}

.gth-contact-snippet__box {
  background: var(--gth-bg-elevated);
  border: 1px solid var(--gth-border);
  border-radius: var(--gth-radius-md);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .gth-contact-snippet__box {
    grid-template-columns: 1fr auto;
  }
}

/* --- Footer --- */
.gth-footer {
  background: #050508;
  border-top: 1px solid var(--gth-border);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 0;
}

.gth-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.gth-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gth-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.gth-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.gth-footer__nav a {
  color: var(--gth-text-muted) !important;
  font-size: 0.95rem;
}

.gth-footer__nav a:hover {
  color: var(--gth-gold) !important;
}

.gth-footer__legal {
  font-size: 0.82rem;
  color: var(--gth-text-muted);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

/* --- Legal pages (white business) --- */
body.gth-body--legal {
  background: #f7f8fa;
  color: #222831;
  background-image: none;
}

.gth-body--legal a {
  color: #1a56db;
}

.gth-body--legal a:hover {
  color: #0e3a9e;
}

.gth-legal-header {
  background: #fff;
  border-bottom: 1px solid #e2e6ef;
}

.gth-legal-header .gth-brand__text,
.gth-legal-header .gth-brand {
  color: #222831 !important;
}

.gth-legal-header .gth-nav .nav-link {
  color: #4a5568 !important;
}

.gth-legal-header .gth-nav .nav-link:hover {
  color: #1a56db !important;
  background: rgba(26, 86, 219, 0.06);
}

.gth-legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.gth-legal-main h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.gth-legal-meta {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.gth-legal-main h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.gth-legal-main h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: #374151;
}

.gth-legal-main p,
.gth-legal-main li {
  color: #4b5563;
}

.gth-legal-main .gth-toc {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.gth-legal-main .gth-toc ul {
  margin: 0;
  padding-left: 1.2rem;
}

.gth-legal-footer {
  background: #fff;
  border-top: 1px solid #e2e6ef;
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* --- Overlays: age + cookie --- */
.gth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(6px);
}

.gth-overlay[hidden] {
  display: none !important;
}

.gth-overlay__dialog {
  max-width: 440px;
  width: 100%;
  background: var(--gth-bg-panel);
  border: 1px solid var(--gth-border);
  border-radius: var(--gth-radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.gth-overlay__dialog h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--gth-gold-soft);
}

.gth-overlay__dialog p {
  color: var(--gth-text-muted);
  font-size: 0.98rem;
}

.gth-overlay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gth-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1990;
  padding: 1rem 1.25rem;
  background: rgba(18, 21, 42, 0.97);
  border-top: 1px solid var(--gth-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.gth-cookie-bar[hidden] {
  display: none !important;
}

.gth-cookie-bar__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .gth-cookie-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gth-cookie-bar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gth-text-muted);
  max-width: 720px;
}

/* --- Buttons --- */
.gth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--gth-font);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gth-btn--primary {
  background: linear-gradient(135deg, var(--gth-gold), #c9a32e);
  color: #1a1204 !important;
  box-shadow: 0 4px 20px rgba(232, 197, 71, 0.35);
}

.gth-btn--primary:hover {
  transform: translateY(-2px);
  color: #1a1204 !important;
}

.gth-btn--ghost {
  background: transparent;
  border: 1px solid var(--gth-border);
  color: var(--gth-text) !important;
}

.gth-btn--ghost:hover {
  border-color: var(--gth-neon);
  color: var(--gth-neon) !important;
}

/* --- Forms --- */
.gth-form {
  position: relative;
}

.gth-form .form-label {
  font-weight: 500;
  color: var(--gth-text);
}

.gth-body--legal .gth-form .form-label {
  color: #374151;
}

.gth-form .form-control {
  border-radius: 0.65rem;
  border-color: var(--gth-border);
  background: var(--gth-bg-deep);
  color: var(--gth-text);
}

.gth-body--legal .gth-form .form-control {
  background: #fff;
  color: #222;
  border-color: #d1d5db;
}

.gth-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: 0 !important;
  top: 0 !important;
}

/* utility */
.gth-max-w {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
