/* UK English site — social games only, no brand */
:root {
  --bg: #0b0b0f;
  --bg-elevated: #14141c;
  --bg-card: #1a1a24;
  --border: rgba(232, 197, 71, 0.18);
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --accent: #e8c547;
  --accent-dim: #c9a94a;
  --info: #4a9eff;
  --warn-bar: #f5c400;
  --warn-bar-text: #1a1200;
  --radius: 14px;
  --radius-pill: 999px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-warning {
  background: linear-gradient(90deg, #ffd54a 0%, #f5c400 35%, #ffd54a 100%);
  color: var(--warn-bar-text);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  text-align: center;
  padding: 0.85rem 1rem;
  letter-spacing: 0.02em;
  border-bottom: 3px solid #1a1200;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-warning strong {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Full-screen gate before site content (puzzle) */
.site-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(30, 28, 40, 0.97), rgba(6, 6, 10, 0.98));
  backdrop-filter: blur(8px);
}

html.site-gate-passed #site-gate {
  display: none !important;
  pointer-events: none;
}

html:not(.site-gate-passed) {
  overflow: hidden;
}

html.site-gate-passed {
  overflow: auto;
}

.site-gate__panel {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.65rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.site-gate__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.site-gate__panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.site-gate__lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-gate .puzzle-captcha {
  margin: 0;
  max-width: none;
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-logo img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #14120a;
  box-shadow: 0 4px 20px rgba(232, 197, 71, 0.35);
}

.btn--primary:hover {
  background: #f0d56a;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(232, 197, 71, 0.45);
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(232, 197, 71, 0.08);
  text-decoration: none;
}

.btn[disabled],
.btn[aria-disabled="true"],
a.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent);
}

.hero__lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.hero__stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.hero__stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.hero__stat span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  padding: 2.5rem 0;
}

.section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.section__head h2 span {
  color: var(--accent);
}

.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.info-strip {
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #cfe6ff;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(232, 197, 71, 0.35);
  transform: translateY(-2px);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.game-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.game-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0a0e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.game-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(40, 180, 100, 0.95);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.game-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.game-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.game-card__body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-title {
  padding: 2rem 0 1rem;
}

.page-title h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--text);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-wellbeing {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer-wellbeing p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-wellbeing__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.partner-row a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  filter: grayscale(0.15);
}

.partner-row a:hover {
  opacity: 1;
}

.partner-row img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* Puzzle slider captcha */
.puzzle-captcha {
  max-width: 340px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.puzzle-captcha__title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.puzzle-captcha__viewport {
  position: relative;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #2a2a38 0%, #16161f 50%, #222230 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.puzzle-captcha__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 12px,
      rgba(232, 197, 71, 0.06) 12px,
      rgba(232, 197, 71, 0.06) 13px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.04) 10px,
      rgba(255, 255, 255, 0.04) 11px
    );
  opacity: 0.9;
}

.puzzle-captcha__slot {
  position: absolute;
  top: 50%;
  left: var(--slot-x, 50%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(232, 197, 71, 0.55);
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.puzzle-captcha__piece {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(145deg, #e8c547, #a88a2e);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateX(var(--piece-x, 0px));
  transition: transform 0.05s linear;
  pointer-events: none;
}

.puzzle-captcha__range {
  width: 100%;
  height: 28px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--accent);
}

.puzzle-captcha__hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.puzzle-captcha__status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5fd68a;
  min-height: 1.25em;
}

.puzzle-captcha--ok .puzzle-captcha__status::before {
  content: "✓ ";
}

.puzzle-captcha--fail .puzzle-captcha__status {
  color: #ff8a65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 480;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-bar__actions {
  display: flex;
  gap: 0.5rem;
}

.btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}
