:root {
  --gold: #fbb800;
  --gold-light: #ffd34d;
  --bg: #060608;
  --surface: #121218;
  --board-light: #2a2520;
  --board-dark: #1a1612;
  --cell-play: #3d3428;
  --cell-play-hover: #4a4032;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --white-piece: #f0ece4;
  --black-piece: #1a1a1a;
  --highlight: rgba(251, 184, 0, 0.45);
  --capture: rgba(255, 77, 106, 0.5);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Noto Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(251, 184, 0, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(120, 80, 255, 0.06) 0%, transparent 50%);
}

/* Header */
.vrbee-header { position: relative; z-index: 10; padding: 20px 16px 0; }
.vrbee-header__shell { width: min(70%, 920px); margin: 0 auto; }
.vrbee-header__wrap {
  background: #fff;
  border-radius: 35px;
  padding: 0 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.vrbee-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}
.vrbee-header__logo img { display: block; max-height: 45px; width: auto; }
.vrbee-header__menu { flex: 1; display: flex; justify-content: center; }
.vrbee-header__links { display: flex; margin: 0; padding: 0; list-style: none; }
.vrbee-header__link {
  padding: 20px 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
}
.vrbee-header__link--gold { color: var(--gold); }
.vrbee-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 14px 26px;
  border-radius: 40px;
  background: var(--gold);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.vrbee-header__bar {
  display: flex;
  justify-content: center;
  padding: 16px 0 6px;
}
.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid rgba(251, 184, 0, 0.18);
}
.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch__btn.is-active { background: var(--gold); color: #000; }

/* Layout */
.checkers-app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.hero { text-align: center; margin-bottom: 20px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251, 184, 0, 0.12);
  border: 1px solid rgba(251, 184, 0, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__title {
  margin: 14px 0 8px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
}
.hero__title span { color: var(--gold); }
.hero__sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.game-panel {
  background: var(--surface);
  border: 1px solid rgba(251, 184, 0, 0.15);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
}
.status-bar__side {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-bar__side:last-child { justify-content: flex-end; }
.status-bar__center {
  text-align: center;
  color: var(--gold);
  font-size: 13px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.status-dot--you { background: var(--white-piece); box-shadow: 0 0 8px rgba(255,255,255,0.4); }
.status-dot--ai { background: var(--black-piece); border: 1px solid #444; }

.board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(251, 184, 0, 0.25);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
  user-select: none;
  touch-action: manipulation;
}

.cell {
  position: relative;
  aspect-ratio: 1;
  border: none;
  padding: 0;
  cursor: default;
  background: var(--board-light);
}
.cell--dark { background: var(--cell-play); cursor: pointer; }
.cell--dark:hover:not(:disabled) { background: var(--cell-play-hover); }
.cell--selected { box-shadow: inset 0 0 0 3px var(--gold); }
.cell--target { box-shadow: inset 0 0 0 3px var(--highlight); background: #4a4032 !important; }
.cell--capture { box-shadow: inset 0 0 0 3px var(--capture); }
.cell:disabled { cursor: default; }

.piece {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 2.5vw, 14px);
  pointer-events: none;
  transition: transform 0.12s ease;
}
.piece--white {
  background: radial-gradient(circle at 35% 30%, #fff, var(--white-piece));
  box-shadow: 0 3px 8px rgba(0,0,0,0.45), inset 0 -2px 4px rgba(0,0,0,0.15);
  border: 2px solid #ccc;
}
.piece--black {
  background: radial-gradient(circle at 35% 30%, #444, var(--black-piece));
  box-shadow: 0 3px 8px rgba(0,0,0,0.6), inset 0 -2px 4px rgba(255,255,255,0.08);
  border: 2px solid #000;
}
.piece--king::after {
  content: '\f521';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn--primary {
  background: var(--gold);
  color: #000;
}
.btn--primary:hover { background: var(--gold-light); }
.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn--ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.rules {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--muted);
}

.board--thinking { opacity: 0.85; pointer-events: none; }

@media (max-width: 767px) {
  .vrbee-header__shell { width: 100%; }
  .vrbee-header__wrap { border-radius: 28px; padding: 0 14px; }
  .vrbee-header__link { padding: 12px 10px; font-size: 12px; }
  .vrbee-header__cta { min-height: 40px; padding: 10px 16px; font-size: 12px; }
}
