/* ============================================================
   GLOBLE GAME — Modern Design System
   Fonts: Syne (display) + DM Sans (body)
   Theme: Dark Cosmic Geography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
main { display: block; }
img { border-style: none; max-width: 100%; display: block; }
a { background-color: transparent; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[hidden] { display: none; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Core palette */
  --c-bg:           #0a0e1a;
  --c-bg-2:         #0f1628;
  --c-bg-3:         #141d35;
  --c-surface:      #1a2340;
  --c-surface-2:    #1f2a4a;
  --c-border:       rgba(99,130,255,0.15);
  --c-border-2:     rgba(99,130,255,0.08);

  /* Accent */
  --c-gold:         #f5c842;
  --c-gold-2:       #ffd966;
  --c-gold-dim:     rgba(245,200,66,0.12);
  --c-gold-glow:    rgba(245,200,66,0.25);
  --c-blue:         #4a8fff;
  --c-blue-dim:     rgba(74,143,255,0.12);
  --c-blue-glow:    rgba(74,143,255,0.3);
  --c-teal:         #2dd4bf;
  --c-red:          #f87171;
  --c-green:        #4ade80;

  /* Text */
  --t-primary:      #f0f4ff;
  --t-secondary:    #8fa3cc;
  --t-muted:        #4a5f8a;
  --t-gold:         #f5c842;
  --t-link:         #7ab4ff;

  /* Typography */
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-w:     1100px;
  --max-w-game: 620px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Effects */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow:     0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.6);
  --glow-gold:  0 0 30px rgba(245,200,66,0.2), 0 0 60px rgba(245,200,66,0.1);
  --glow-blue:  0 0 30px rgba(74,143,255,0.2);

  /* App (legacy compat) */
  --app-width: 620px;
  --app-bg-color: var(--c-bg);
  --text-main-color: var(--t-primary);
  --text-white-color: #fff;
  --text-white-color-dark: var(--c-surface);
  --text-black-color: var(--t-primary);
  --text-red-color: var(--c-red);
  --text-rose-color: #fb7185;
  --text-green-color: var(--c-green);
  --text-green-light-color: rgba(74,222,128,0.15);
  --text-blue-color: var(--c-blue);
  --text-blue-color-light: var(--c-blue-dim);
  --btn-blue-hover: rgba(74,143,255,0.2);
  --btn-darkblue-hover: #3a7fff;
  --btn-green-bg: #22c55e;
  --btn-blue-text: #f0f4ff;
  --btn-blue-bg: var(--c-blue-dim);
  --btn-gray-bg-dark: var(--c-surface-2);
  --btn-gray-bg: var(--c-surface);
  --btn-gray-bg-light: var(--c-bg-3);
  --btn-gray-border: var(--c-border);
  --btn-gray-border-light: var(--c-border-2);
  --btn-gray-color: var(--t-secondary);
  --autocomplete-bg: var(--c-surface);
  --autocomplete-border: var(--c-border);
  --autocomplete-hover-bg: var(--c-surface-2);
  --autocomplete-result-text: var(--t-primary);
  --app-scroll-size: 6px;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar, ::-webkit-scrollbar-track { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb { background: var(--c-surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }

/* ── Base HTML / Body ─────────────────────────────────────── */
html { background: var(--c-bg); overflow-y: scroll; }
body, html { height: 100%; overflow-x: clip; }
body {
  color: var(--t-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--c-bg);
}

/* Subtle grid texture on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,143,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Page Structure ───────────────────────────────────────── */
.page { padding: 0; min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.page__wrapper { flex: 1; }

/* ── Containers ───────────────────────────────────────────── */
.container { margin: 0 auto; max-width: 85%; padding: 0 var(--space-md); }
.container-globle { margin: 0 auto; max-width: var(--max-w); padding: 0 var(--space-xl); }
@media (max-width: 768px) {
  .container-globle { padding: 0 var(--space-md); }
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: var(--space-2xl) 0; }
.section--full { padding: 0; }
.section--main { position: relative; }
.section--blue {
  background: linear-gradient(135deg, var(--c-bg-2) 0%, var(--c-bg-3) 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.section--blue::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(74,143,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section--grey {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border-2);
}

/* ── Game Container ───────────────────────────────────────── */
.container-globle.globle-game { max-width: var(--max-w-game); }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}
.header .container {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-w-game);
}
.header-cell { display: flex; flex: 1 0 auto; flex-flow: row nowrap; justify-content: center; }
.header-cell:first-child { justify-content: flex-start; }
.header-cell:last-child { justify-content: flex-end; }
.header-cell .btn {
  align-items: center; border-radius: 50px; display: flex;
  height: 38px; justify-content: center; margin-left: var(--space-sm); width: 38px;
}
.header-cell .btn span { display: block; height: 24px; }

/* ── Logo ─────────────────────────────────────────────────── */
.logo {
  color: var(--t-primary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.logo:hover { color: var(--c-gold); }

/* ── Headline ─────────────────────────────────────────────── */
.headline { padding: var(--space-xl) 0; text-align: center; }
.headline__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #f0f4ff 0%, #c8d8ff 50%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.headline__text {
  color: var(--t-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Globle Text (content blocks) ────────────────────────── */
.globle-text { padding: var(--space-lg) 0; }
.globle-text h2, .h2--center {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-xl);
  color: var(--t-primary);
}
.h2--center { text-align: center; }
.info_text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: var(--space-xl);
  color: var(--t-primary);
}

/* ── How to Play List ─────────────────────────────────────── */
.ol {
  list-style: none;
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding: 0;
}
.ol li {
  counter-increment: steps;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ol li::before {
  content: counter(steps);
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-gold);
  background: var(--c-gold-dim);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.ol li::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(74,143,255,0.08), transparent 70%);
  pointer-events: none;
}
.ol li:hover {
  transform: translateY(-4px);
  border-color: rgba(74,143,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,143,255,0.1);
}
.ol li h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: var(--space-sm);
  color: var(--t-primary);
}
.ol li span { display: block; font-size: 13px; color: var(--t-secondary); margin-bottom: var(--space-md); }
.ol li img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  margin-top: var(--space-sm);
}
@media (max-width: 768px) {
  .ol { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ── Other Games ──────────────────────────────────────────── */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}
.game-item {
  display: flex;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--t-primary);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  group: true;
}
.game-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245,200,66,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,200,66,0.1);
  text-decoration: none;
  color: var(--t-primary);
}
.game-item__img {
  width: 88px;
  min-width: 88px;
  overflow: hidden;
  background: var(--c-bg-3);
}
.game-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-item:hover .game-item__img img { transform: scale(1.06); }
.game-item__info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.game-item__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.game-item__text {
  font-size: 12px;
  color: var(--t-secondary);
  line-height: 1.4;
  flex: 1;
  margin-bottom: var(--space-sm);
}
.game-item__bottom { display: flex; }
.game-item__play {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-gold);
  background: var(--c-gold-dim);
  border: 1px solid rgba(245,200,66,0.25);
  border-radius: 50px;
  padding: 4px 14px;
  transition: background 0.2s, box-shadow 0.2s;
}
.game-item:hover .game-item__play {
  background: rgba(245,200,66,0.2);
  box-shadow: 0 0 16px rgba(245,200,66,0.15);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn { border: 0; cursor: pointer; outline: 0; font-family: var(--font-body); font-weight: 500; transition: all 0.2s ease; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.btn-blue {
  background: var(--c-blue-dim);
  color: var(--t-primary);
  border: 1px solid rgba(74,143,255,0.2);
}
.btn-blue:hover { background: rgba(74,143,255,0.2); border-color: rgba(74,143,255,0.4); }

.btn-darkblue {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74,143,255,0.3);
}
.btn-darkblue:hover { background: var(--btn-darkblue-hover); box-shadow: 0 6px 20px rgba(74,143,255,0.4); transform: translateY(-1px); }

.btn-red__border {
  background: transparent;
  border: 1px solid var(--c-red);
  color: var(--c-red);
}
.btn-red__border:hover { background: rgba(248,113,113,0.1); }

/* ── Globe ────────────────────────────────────────────────── */
.globe {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: grab;
  margin: 0 auto;
  -webkit-user-select: none; user-select: none;
}
.globe:active { cursor: grabbing; }
.globe-holder { margin-top: var(--space-md); position: relative; }
.globe-controls {
  display: flex; height: 0; justify-content: space-between;
  left: 0; position: absolute; right: 0; top: 0;
}
.globe-controls .btn {
  align-items: center; border-radius: 50%; display: flex;
  font-size: 20px; height: 36px; justify-content: center; width: 36px;
  background: var(--c-surface); border: 1px solid var(--c-border);
}
.globe-controls .btn:hover { border-color: rgba(245,200,66,0.4); color: var(--c-gold); }

/* ── Autocomplete ─────────────────────────────────────────── */
.autocomplete-wrapper {
  background: var(--c-bg);
  padding-top: var(--space-md);
  position: sticky;
  top: -10px;
  z-index: 50;
}
.autocomplete-wrapper.__pinned::before {
  bottom: 0; box-shadow: 0 2px 16px rgba(0,0,0,0.6);
  content: ''; height: 1px; left: 50%; position: absolute;
  transform: translateX(-50%); width: 100vw;
}
.autocomplete-form {
  display: grid; gap: var(--space-sm);
  grid-template-columns: 1fr 104px; align-items: center;
}
.autocomplete-form .btn { border-radius: 50px; font-size: 15px; height: 100%; }

.autocomplete-holder { position: relative; z-index: 1; }
.autocomplete-holder .wrapper {
  background-color: var(--c-surface) !important;
  border-color: var(--c-border) !important;
  color: var(--t-primary) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}
.autocomplete-holder .wrapper input {
  color: var(--t-primary) !important;
  text-transform: uppercase;
  font-size: 15px;
  font-family: var(--font-body) !important;
  background: transparent !important;
}
.autocomplete-holder .wrapper li.selected { background-color: var(--c-surface-2) !important; }
.autocomplete-holder .wrapper div.line { border-top-color: var(--c-border) !important; }
.autocomplete-holder .result-item {
  display: grid; gap: var(--space-sm); grid-template-columns: 20px 1fr;
  align-items: center; font-family: var(--font-body); text-transform: uppercase; font-size: 14px;
}
.autocomplete-holder .result-item__icon { align-items: center; display: flex; }
.autocomplete-holder .result-item__icon img { display: block; max-width: 100%; }
.autocomplete-holder .wrapper ul li { cursor: pointer; }
.autocomplete-holder .wrapper > div:first-child { padding-left: 30px; position: relative; }
.autocomplete-holder .wrapper > div:first-child::before {
  background-position: 50% 50%; background-repeat: no-repeat;
  content: ''; height: 20px; left: 14px; margin-top: -10px;
  position: absolute; top: 50%; width: 20px;
}

/* Autocomplete messages */
.autocomplete-message { margin: 7px 0; min-height: 1.7em; text-align: center; }
.autocomplete-message span { font-size: 14px; }
.autocomplete-message a { color: inherit; }
.autocomplete-message a:hover { text-decoration: none; }
.autocomplete-message.__info { color: var(--c-blue); }
.autocomplete-message.__error { color: var(--c-red); }
.autocomplete-message.__success { color: var(--c-green); font-weight: 700; }

/* ── Suggestion Controls & List ───────────────────────────── */
.suggestion-control { padding: 0 0 var(--space-md); text-align: center; }
.suggestion-control .btn { border-radius: 50px; display: inline-block; padding: 14px 16px; vertical-align: top; }

.suggestion-list { padding: var(--space-md) 0 var(--space-md); }
.suggestion-list__row {
  display: grid; gap: 3px; grid-template-columns: 1fr 120px; margin-bottom: 3px;
}
.suggestion-list__row.__directions { grid-template-columns: 1fr 120px 52px; }
.suggestion-list__row > div {
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  display: flex; padding: 13px 10px; white-space: nowrap;
  transition: background 0.15s;
}
.suggestion-list__row > div:first-child { border-bottom-left-radius: var(--radius-sm); border-top-left-radius: var(--radius-sm); }
.suggestion-list__row > div:first-child ~ div { justify-content: center; }
.suggestion-list__row > div:last-child { border-bottom-right-radius: var(--radius-sm); border-top-right-radius: var(--radius-sm); }
.suggestion-list__row.__bingo > div { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.2); }
.suggestion-list__flag { left: 14px; position: absolute; top: 14px; }
.suggestion-list__flag img { display: block; max-width: 22px; }
.suggestion-list__name { padding-left: 40px !important; position: relative; }

.suggestion-block {
  align-items: center; display: flex; gap: 4px;
  justify-content: center; padding: var(--space-xl) 0 0;
}
.suggestion-block .btn { border-radius: 50px; font-size: 12px; padding: 12px; text-transform: uppercase; }
.suggestion-block .btn.__active { pointer-events: none; }
.suggestion-block .btn:not(.__active) { background: transparent; color: var(--t-primary); }
.suggestion-block .btn:not(.__active):hover { background: var(--c-surface); }

/* ── Popup ────────────────────────────────────────────────── */
.popup-holder {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  bottom: 0; left: 0; padding: 60px 10px 30px;
  position: fixed; right: 0; top: 0; z-index: 200;
}
.popup {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 3px;
  box-shadow: var(--shadow-lg);
}
.popup-header {
  background: var(--c-surface-2);
  padding: var(--space-md) 40px;
  position: sticky; text-align: center; top: 0; z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.popup-content { max-height: calc(100vh - 90px); overflow-y: auto; }
.popup-title {
  color: var(--t-primary);
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; margin: 0;
}
.popup-close {
  background: none; border: 0; cursor: pointer;
  position: absolute; right: 10px; top: 10px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover { background: var(--c-surface); }
.popup-close svg { height: 16px; width: 16px; }
.popup-close svg path { fill: var(--t-secondary); }
.popup-close:hover svg path { fill: var(--t-primary); }
.popup-body {
  background: var(--c-bg-3);
  border-radius: var(--radius);
  padding: var(--space-lg) 22px;
}
.popup-body p { font-size: 15px; line-height: 1.65; color: var(--t-secondary); }
.popup-body > :last-child { margin-bottom: 0; }

.popup-countries {
  display: grid; gap: var(--space-sm);
  grid-template-columns: repeat(4, 1fr); min-height: 150px;
}
.popup-countries .country-block { will-change: transform; }
.popup-country { margin: 0; }
.popup-country svg { max-width: 100%; }
.popup-country__text {
  color: var(--t-primary); font-family: var(--font-display);
  font-size: 14px; font-weight: 700; margin-bottom: 15px; text-align: center;
}

/* ── Settings ─────────────────────────────────────────────── */
.setting-row {
  display: grid; gap: var(--space-sm); grid-template-columns: 1fr 50px;
  border-bottom: 1px solid var(--c-border-2);
  margin-bottom: 15px; padding-bottom: 9px;
  align-items: center;
}
.setting-row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.setting-row__name { font-size: 16px; font-weight: 500; padding: 7px 0 14px; }

/* ── Toggle ───────────────────────────────────────────────── */
.toggle-holder { display: inline-block; }
.toggle-wrapper {
  column-gap: 8px; display: grid;
  grid-template-areas: "toggle top" "toggle bottom";
}
.toggle-wrapper__text { font-size: 12px; line-height: 1; text-align: left; }
.toggle-wrapper__top { grid-area: top; }
.toggle-wrapper__bottom { grid-area: bottom; }
.toggle-text { color: var(--t-secondary); display: block; font-size: 12px; padding: 0 3px; text-align: center; width: 100%; }
.toggle-label {
  align-items: center;
  background: var(--c-surface-2);
  border-radius: 13px; cursor: pointer;
  display: flex; grid-area: toggle;
  height: 26px; min-width: 48px;
  padding-left: 24px; position: relative;
  transition: background 0.3s, padding 0.3s;
}
.toggle-label::before {
  background: var(--t-secondary);
  border-radius: 100%; content: '';
  height: 20px; left: 0; margin: -10px 3px 0;
  position: absolute; top: 50%;
  transition: left 0.3s, background 0.3s; width: 20px;
}
.toggle-label input { left: 0; position: absolute; top: 0; opacity: 0; }
.toggle-label:not(.__checked) ~ .toggle-wrapper__top { font-weight: 700; }
.toggle-label.__checked { background: var(--btn-green-bg); padding: 0 24px 0 0; }
.toggle-label.__checked::before { left: calc(100% - 26px); background: #fff; }
.toggle-label.__checked ~ .toggle-wrapper__bottom { font-weight: 700; }
.toggle-label.toggle-blue, .toggle-label.toggle-blue.__checked { background: var(--c-blue); }

/* ── Loader ───────────────────────────────────────────────── */
.loader { display: block; height: 100px; margin: 100px auto; width: 100px; }
.loader svg path { fill: var(--c-green); }

/* ── Stats ────────────────────────────────────────────────── */
.stat-controls { align-items: center; display: flex; gap: 16px; justify-content: center; }
.stat-controls .btn { border-radius: 50px; font-size: 16px; min-width: 102px; padding: 13px 20px; }
.stat-holder {
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(3, 1fr);
  text-align: center; padding-bottom: 15px;
}
@media (max-width: 480px) { .stat-holder { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  display: flex; flex-flow: column nowrap;
  gap: 6px; padding: 20px 10px 14px;
  transition: border-color 0.2s;
}
.stat-cell:hover { border-color: rgba(245,200,66,0.3); }
.stat-cell__val {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--c-gold);
}
.stat-cell__name { font-size: 11px; text-transform: uppercase; color: var(--t-secondary); letter-spacing: 0.5px; }

/* ── Utility ──────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-gray, .text-gray-dark { color: var(--t-secondary); }
.fw-b { font-weight: 700; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: var(--space-xl) 0;
  margin-top: auto;
}
.footer__top { margin-bottom: var(--space-lg); }
.footer__logo { display: inline-block; opacity: 0.8; transition: opacity 0.2s; }
.footer__logo:hover { opacity: 1; }
.footer__logo img { height: 32px; width: auto; }
.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm);
}
.footer__copir { font-size: 13px; color: var(--t-muted); }
.footer__links { list-style: none; display: flex; gap: var(--space-lg); }
.footer__links a {
  font-size: 13px; color: var(--t-secondary);
  text-decoration: none; transition: color 0.2s;
}
.footer__links a:hover { color: var(--c-gold); }

/* ── Banner Containers ────────────────────────────────────── */
.globle-container { padding-bottom: 20px; }
.banner { display: block; margin: 0 auto; }

/* ── 404 Page ─────────────────────────────────────────────── */
.content { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.b404 {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 480px;
  margin: 0 auto;
}
.b404__title {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 800;
  letter-spacing: -8px;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(74,143,255,0.3));
  margin-bottom: var(--space-md);
}
.b404__text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--t-secondary);
  margin-bottom: var(--space-xl);
}
.b404__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(74,143,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.b404__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(74,143,255,0.5);
  background: #3a7fff;
}
.b404__btn::before { content: '←'; }

/* ── Privacy Policy ───────────────────────────────────────── */
.background-main {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.breadcrumbs {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.breadcrumbs__li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__li + .breadcrumbs__li::before {
  content: '/';
  color: var(--t-muted);
}
.breadcrumbs__link, .breadcrumbs__span {
  color: var(--t-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs__link:hover, .breadcrumbs__span:hover { color: var(--c-gold); }

.globle-text blockquote {
  background: var(--c-surface);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-lg) var(--space-xl);
  margin: 0 0 var(--space-xl);
  font-size: 15px;
  line-height: 1.7;
  color: var(--t-secondary);
}
.globle-text blockquote a { color: var(--t-link); }
.globle-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--t-primary);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--c-border-2);
}
.globle-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--t-secondary);
  margin-bottom: var(--space-md);
}
.globle-text p a { color: var(--t-link); }
.globle-text p a:hover { color: var(--c-gold); }
.globle-text__date {
  font-size: 13px;
  color: var(--t-muted);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-border-2);
}

/* ── FAQ Section ──────────────────────────────────────────── */
.faq { padding: var(--space-2xl) 0; }
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
  color: var(--t-primary);
}
.faq__list { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 800px; margin: 0 auto; }
.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item:hover { border-color: rgba(74,143,255,0.25); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--t-primary);
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 20px;
  color: var(--c-gold);
  min-width: 24px;
  text-align: center;
  transition: transform 0.2s;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 14px;
  line-height: 1.7;
  color: var(--t-secondary);
  border-top: 1px solid var(--c-border-2);
}

/* ── Features / Benefits Section ──────────────────────────── */
.features { padding: var(--space-2xl) 0; }
.features__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
  color: var(--t-primary);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-gold));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(74,143,255,0.25); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
  display: block;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--t-primary);
  margin-bottom: var(--space-sm);
}
.feature-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--t-secondary);
}
@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ── SEO Text Block ───────────────────────────────────────── */
.seo-block {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--c-border-2);
}
.seo-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.seo-block__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-md);
}
.seo-block__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--t-primary);
}
.seo-block__title span { color: var(--c-gold); }
.seo-block__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--t-secondary);
  margin-bottom: var(--space-md);
}
.seo-block__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.seo-stat {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
.seo-stat__val {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--c-gold);
  display: block;
}
.seo-stat__label {
  font-size: 12px;
  color: var(--t-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .seo-block__inner { grid-template-columns: 1fr; }
  .seo-block__stats { display: none; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245,200,66,0.1); }
  50%       { box-shadow: 0 0 40px rgba(245,200,66,0.25); }
}

.section--blue { animation: fadeInUp 0.6s ease both; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container-globle { padding: 0 var(--space-lg); }
}
@media (max-width: 768px) {
  .section { padding: var(--space-xl) 0; }
  .headline { padding: var(--space-lg) 0; }
  .games { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .games { grid-template-columns: 1fr; }
  .globle-text blockquote { padding: var(--space-md); }
  .faq__question { font-size: 14px; }
  .b404__title { letter-spacing: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
