/* ============================================================
   BK-Games — cozy pixel game studio
   Implemented from the Claude Design "Variante A" concept.
   ============================================================ */

:root {
  /* palette */
  --bg:        #e8dec5;
  --bg-soft:   #efe7d4;
  --cream:     #f3ecd9;
  --sand:      #e0cb97;
  --sand-2:    #d8c08a;
  --ink:       #2c2620;
  --ink-2:     #2c2118;
  --text:      #4a4338;
  --text-2:    #5a5246;
  --muted:     #6b6358;
  --muted-2:   #9a8f78;
  --red:       #d4493a;
  --red-2:     #b63a2d;
  --green:     #62a23c;
  --green-2:   #5a9a3a;
  --green-3:   #6aa83f;
  --gold:      #e8b53e;
  --gold-2:    #f4be4e;
  --gold-3:    #c8a02e;
  --teal:      #3bb6c8;
  --blue:      #3f6cb4;
  --skin:      #e7b485;
  --night:     #2a2150;
  --night-2:   #3a2d5e;
  --night-3:   #1f4a2a;

  --maxw: 1180px;

  --mono: 'DM Mono', ui-monospace, monospace;
  --sans: 'Nunito', system-ui, sans-serif;
  --pixel: 'Silkscreen', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-family: var(--mono); font-size: 13px; text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; margin: 0 0 16px;
}
.eyebrow--green { color: #3f6a2a; }
.eyebrow--gold  { color: var(--gold-2); }
.eyebrow--peach { color: #ffd0b8; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em;
  font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 14px 24px; border-radius: 13px; border: 2px solid; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn--green { background: var(--green); color: #fff; border-color: #4f8a2e; box-shadow: 0 5px 0 #437a27; }
.btn--green:active { box-shadow: 0 2px 0 #437a27; }
.btn--cream { background: #fff; color: var(--ink); border-color: var(--sand); box-shadow: 0 5px 0 rgba(190,165,110,.5); }
.btn--cream:active { box-shadow: 0 2px 0 rgba(190,165,110,.5); }
.btn--gold  { background: var(--gold-2); color: var(--night); border-color: #d49e2e; box-shadow: 0 5px 0 #b9841f; }
.btn--gold:active { box-shadow: 0 2px 0 #b9841f; }
.btn__icon { width: 16px; height: 16px; background: var(--ink); border-radius: 4px; }

.meta-note { font-family: var(--mono); font-size: 12px; color: #b3aacb; text-transform: uppercase; letter-spacing: .04em; }

.section { padding-top: 22px; padding-bottom: 22px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__title { margin: 0; font-weight: 900; font-size: clamp(26px, 4vw, 32px); color: var(--ink); letter-spacing: -.01em; }
.section__count { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(232,222,197,.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #ddcfa9;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__badge {
  width: 42px; height: 42px; background: var(--red); border-radius: 11px; border: 3px solid #fff;
  box-shadow: 0 3px 0 rgba(150,60,40,.4); display: flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-size: 15px; color: #fff; font-weight: 700;
}
.brand__name { font-family: var(--pixel); font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.brand__badge--sm { width: 34px; height: 34px; border-width: 2px; font-size: 12px; box-shadow: none; }
.brand__name--sm { font-size: 14px; }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a {
  font-family: var(--mono); font-size: 13px; color: var(--text); text-decoration: none;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav__menu a:hover { color: var(--green); }

.lang-switch { display: flex; background: #fff; border: 2px solid var(--sand); border-radius: 9px; overflow: hidden; }
.lang-switch__btn {
  font-family: var(--mono); font-size: 12px; padding: 5px 9px; border: 0; background: transparent;
  color: var(--muted-2); cursor: pointer;
}
.lang-switch__btn.is-active { background: var(--green); color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 3px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ============ HERO ============ */
.hero { padding-top: 32px; padding-bottom: 12px; }
.hero__scene {
  position: relative; border-radius: 26px; overflow: hidden; border: 5px solid var(--sand);
  box-shadow: 0 8px 0 rgba(190,165,110,.4), 0 20px 40px rgba(120,95,45,.2);
  background: linear-gradient(180deg, #bfe3ef 0%, #d2e7cf 46%, var(--green-3) 46%, var(--green-2) 100%);
  min-height: 548px;
}
.hero__pitch { position: absolute; left: 0; right: 0; bottom: 0; height: 54%;
  background: repeating-linear-gradient(90deg, var(--green-2) 0 56px, #5fa03e 56px 112px); }
.hero__centerline { position: absolute; left: 0; right: 0; bottom: calc(54% - 2px); height: 3px; background: rgba(255,255,255,.5); }
.hero__centercircle { position: absolute; left: 50%; bottom: calc(54% - 58px); width: 116px; height: 116px;
  border: 3px solid rgba(255,255,255,.5); border-radius: 50%; transform: translateX(-50%); }

.cloud { position: absolute; background: rgba(255,255,255,.8); border-radius: 14px; }
.cloud--1 { top: 42px; left: 90px; width: 78px; height: 22px; background: rgba(255,255,255,.85); animation: bkDrift 9s ease-in-out infinite alternate; }
.cloud--2 { top: 70px; left: 150px; width: 48px; height: 16px; background: rgba(255,255,255,.7); animation: bkDrift 11s ease-in-out infinite alternate; }
.cloud--3 { top: 54px; right: 120px; width: 96px; height: 24px; animation: bkDrift 13s ease-in-out infinite alternate; }

.coin { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd75e, #e6a82a); border: 2px solid #c4901f; }
.coin--1 { top: 150px; left: 120px; width: 30px; height: 30px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); animation: bkFloat 4.5s ease-in-out infinite; }
.coin--2 { top: 120px; right: 150px; width: 24px; height: 24px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); animation: bkFloat 5.5s ease-in-out .6s infinite; }
.gem { background: linear-gradient(135deg, #5fd0e0, #2f9fb2); transform: rotate(45deg); border: 2px solid #2789a0; }
.gem--hero { position: absolute; top: 180px; right: 96px; width: 22px; height: 22px; animation: bkFloat 6s ease-in-out .3s infinite; }

.hero__copy { position: absolute; top: 150px; left: 0; right: 0; text-align: center; padding: 0 40px; z-index: 3; }
.hero__title { margin: 0; font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.02; color: var(--ink);
  letter-spacing: -.02em; text-shadow: 0 2px 0 rgba(255,255,255,.4); }
.hero__lead { margin: 18px auto 0; max-width: 440px; font-size: clamp(15px, 2.4vw, 18px); line-height: 1.5; color: #43504a; font-weight: 600; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.hero__players { position: absolute; bottom: 38px; left: 0; right: 0; display: flex; justify-content: center; gap: 60px; align-items: flex-end; z-index: 2; }
.ball--hero { position: absolute; bottom: 96px; left: calc(50% + 96px); animation: bkBob2 2.4s ease-in-out infinite; z-index: 2; }

.ball { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
  box-shadow: inset -3px -3px 0 rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; }
.ball::after { content: ""; width: 6px; height: 6px; background: var(--ink); }

/* ============ TRUST STRIP ============ */
.trust { display: flex; justify-content: center; gap: 48px; padding-top: 20px; padding-bottom: 12px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dot { width: 14px; height: 14px; }
.dot--coin { border-radius: 50%; background: var(--gold); border: 2px solid #c4901f; }
.dot--red  { border-radius: 3px; background: var(--red); }
.dot--gem  { background: var(--teal); transform: rotate(45deg); }

/* ============ FEATURED ============ */
.featured {
  position: relative; border-radius: 26px; overflow: hidden; border: 5px solid var(--night);
  box-shadow: 0 8px 0 rgba(30,22,55,.4), 0 20px 40px rgba(30,22,55,.25);
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 50%, var(--night-3) 100%);
  padding: 44px; display: flex; gap: 44px; align-items: center;
}
.featured__stars { position: absolute; inset: 0; }
.star { position: absolute; width: 3px; height: 3px; background: #fff; animation: bkTwinkle 3s infinite; }
.featured__text { flex: 1; position: relative; z-index: 2; }
.featured__title { margin: 0; font-family: var(--pixel); font-size: clamp(26px, 4.4vw, 34px); line-height: 1.25;
  color: var(--gold-2); text-shadow: 0 3px 0 rgba(0,0,0,.3); }
.featured__lead { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: #e7e0cf; font-weight: 600; max-width: 380px; }

.chips { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: #cdb8e8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 6px 11px; border-radius: 8px; }
.chip--active { color: var(--night-3); background: var(--gold-2); border-color: var(--gold-2); }

.featured__actions { display: flex; gap: 14px; margin-top: 26px; align-items: center; flex-wrap: wrap; }

/* ---- phone mockup ---- */
.phone { flex: none; z-index: 2; width: 248px; height: 430px; background: #15131f; border-radius: 34px;
  padding: 9px; box-shadow: 0 18px 40px rgba(0,0,0,.4); border: 2px solid #3a3550; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #bfe3ef 0%, #bfe3ef 14%, var(--green-3) 14%, var(--green-2) 100%); }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 74px; height: 18px; background: #15131f; border-radius: 11px; z-index: 5; }
.phone__hud { position: absolute; top: 12px; left: 10px; right: 10px; background: var(--bg-soft); border: 3px solid var(--sand-2);
  border-radius: 14px; padding: 8px 10px; z-index: 4; box-shadow: 0 3px 0 rgba(180,150,90,.4); }
.hud__row { display: flex; gap: 6px; align-items: center; }
.hud__stat { display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--sand);
  border-radius: 8px; padding: 2px 7px; font-family: var(--mono); font-size: 11px; color: var(--ink); }
.hud__coin { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd75e, #e6a82a); }
.hud__gem { width: 9px; height: 9px; background: var(--teal); transform: rotate(45deg); }
.hud__loc { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #8a7f6a; }
.hud__bar { height: 7px; margin-top: 7px; background: #ddd0b0; border-radius: 4px; overflow: hidden; }
.hud__bar i { display: block; height: 100%; background: var(--green); }
.phone__pitch { position: absolute; top: 14%; left: 0; right: 0; bottom: 46px;
  background: repeating-linear-gradient(90deg, var(--green-2) 0 26px, #5fa03e 26px 52px); }
.phone__line { position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.5); }
.phone__circle { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%; transform: translate(-50%,-50%); }
.phone__players { position: absolute; inset: 0; }
.phone__tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 44px; background: var(--bg-soft);
  border-top: 2px solid #e0d4ba; display: flex; align-items: center; justify-content: space-around;
  font-family: var(--mono); font-size: 8px; text-transform: uppercase; color: #8a7f6a; }
.phone__tabs .is-active { color: var(--red); }

/* ============ GAMES GRID ============ */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.card { background: #fff; border: 5px solid var(--sand); border-radius: 22px; box-shadow: 0 6px 0 rgba(190,165,110,.4);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 rgba(190,165,110,.4); }
.card--soon { background: var(--cream); border-style: dashed; border-color: var(--sand-2); box-shadow: none; }
.card--soon:hover { transform: none; box-shadow: none; }

.card__art { height: 160px; display: flex; align-items: center; justify-content: center; }
.card__art--match { background: linear-gradient(160deg, #f3d9a8, #e9c179); }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tile { width: 26px; height: 26px; }
.tile--red { background: var(--red); } .tile--teal { background: var(--teal); }
.tile--green { background: var(--green); } .tile--gold { background: var(--gold); } .tile--blue { background: var(--blue); }
.sq { border-radius: 6px; } .ci { border-radius: 50%; } .di { transform: rotate(45deg); }

.card__art--pitch { background: linear-gradient(180deg, #bfe3ef 0%, var(--green-3) 38%, var(--green-2) 100%);
  position: relative; align-items: flex-end; }
.card__pitch-overlay { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(0,0,0,.04) 30px 60px); }
.card__player { transform: scale(.62) translateY(14px); }

.card__art--mine { background: linear-gradient(170deg, #3a2d5e 0%, #2a2150 46%, #6b4a1a 100%); position: relative; overflow: hidden; }

/* floating gold sparks */
.mine-spark { position: absolute; width: 7px; height: 7px; background: var(--gold-2); border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); opacity: .85; }
.mine-spark--1 { top: 28px; left: 34px; animation: bkFloat 5s ease-in-out infinite; }
.mine-spark--2 { top: 54px; right: 40px; width: 5px; height: 5px; animation: bkFloat 6.4s ease-in-out .7s infinite; }
.mine-spark--3 { bottom: 30px; left: 52px; width: 6px; height: 6px; animation: bkFloat 5.8s ease-in-out 1.2s infinite; }

/* pixel cowboy gold-digger */
.digger { position: relative; width: 64px; display: flex; flex-direction: column; align-items: center;
  transform: scale(1.04); animation: bkBob 3.4s ease-in-out infinite; }
.digger__shadow { position: absolute; bottom: -8px; width: 56px; height: 11px; background: rgba(0,0,0,.28);
  border-radius: 50%; }
.digger__hat-top { width: 30px; height: 14px; background: #8a5a2b; border-radius: 7px 7px 3px 3px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.digger__hat-brim { width: 60px; height: 9px; background: #6b4a1a; border-radius: 6px; margin-top: -2px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.digger__face { position: relative; width: 40px; height: 21px; background: var(--skin); border-radius: 0 0 7px 7px;
  margin-top: 1px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.06); }
.digger__eye { position: absolute; top: 5px; width: 5px; height: 6px; background: #2c2118; border-radius: 1px; }
.digger__eye--l { left: 8px; } .digger__eye--r { right: 8px; }
.digger__stache { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 20px; height: 5px;
  background: #6b4a1a; border-radius: 3px; }
.digger__bandana { width: 44px; height: 7px; background: var(--red); border-radius: 3px; margin-top: -1px; }
.digger__shirt { width: 56px; height: 38px; margin-top: 1px; background: #5a8bbf; border-radius: 9px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.13); }
.digger__belt { position: relative; width: 58px; height: 9px; background: #4a3520; border-radius: 2px; margin-top: -1px;
  display: flex; align-items: center; justify-content: center; }
.digger__buckle { width: 11px; height: 7px; background: var(--gold); border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.digger__trousers { width: 50px; height: 12px; background: #6b4a1a; border-radius: 0 0 4px 4px; }
.digger__legs { display: flex; gap: 8px; margin-top: 1px; }
.digger__leg { width: 18px; height: 9px; background: #3a2a18; border-radius: 3px; }

/* pickaxe — pivots at the cowboy's hands and swings down */
.digger__pick { position: absolute; top: 30px; right: -12px; width: 26px; height: 48px; z-index: 3;
  transform-origin: 13px 42px; animation: bkSwing 1.6s ease-in-out infinite; }
.digger__pick-handle { position: absolute; left: 11px; top: 4px; width: 5px; height: 42px; background: #8a5a2b;
  border-radius: 3px; box-shadow: inset -2px 0 0 rgba(0,0,0,.18); }
.digger__pick-head { position: absolute; top: 0; left: 0; width: 26px; height: 7px; background: #b9b2a4;
  border-radius: 4px; transform: rotate(-16deg); box-shadow: inset 0 -3px 0 rgba(0,0,0,.28); }

.card__art--soon { background: transparent; }
.soon-box { width: 64px; height: 64px; background: #e6dcc0; border: 4px solid var(--sand-2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-family: var(--pixel); font-size: 30px; color: #b6a988; }

.card__body { padding: 18px 18px 20px; }
.card__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; flex-wrap: wrap; }
.card__title { margin: 0; font-weight: 800; font-size: 21px; color: var(--ink); }
.card__title--muted { color: #8a7f6a; }
.tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: #fff; padding: 3px 8px; border-radius: 6px; }
.tag--green { background: var(--green); } .tag--red { background: var(--red); }
.tag--soon { background: var(--gold-3); }
.tag--west { background: #3a2d5e; }
.tag--muted { background: #e6dcc0; color: #8a7f6a; }
.card__text { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 600; }
.card__text--muted { margin: 0; color: var(--muted-2); }
.card__link { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.card__link--green { color: var(--green); } .card__link--red { color: var(--red); } .card__link--gold { color: var(--gold-3); }
.card__link:hover { text-decoration: underline; }

/* ============ ÜBER ============ */
.about, .kiosk { /* shared card frame handled individually */ }
.about { background: #fff; border: 5px solid var(--sand); border-radius: 24px; box-shadow: 0 6px 0 rgba(190,165,110,.4);
  padding: 40px 44px; display: flex; gap: 44px; align-items: center; }
.about__char { flex: none; width: 150px; display: flex; justify-content: center; }
.about__keeper { transform: scale(1.5); }
.about__title { margin: 0 0 14px; font-weight: 900; font-size: clamp(24px, 3.4vw, 30px); color: var(--ink); letter-spacing: -.01em; }
.about__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); font-weight: 600; max-width: 560px; }

/* ============ NEWSLETTER / KIOSK ============ */
.kiosk { position: relative; background: linear-gradient(160deg, var(--red), var(--red-2)); border-radius: 24px;
  box-shadow: 0 6px 0 rgba(130,40,30,.5); padding: 42px 44px; overflow: hidden; display: flex; gap: 40px; align-items: center; }
.kiosk__art { flex: none; width: 130px; display: flex; justify-content: center; }
.kiosk__roof { width: 96px; height: 14px; background: repeating-linear-gradient(90deg, #fff 0 12px, var(--red) 12px 24px); border-radius: 5px 5px 0 0; }
.kiosk__body { width: 96px; height: 72px; background: var(--bg); border: 4px solid #c9a86a; border-top: none; border-radius: 0 0 8px 8px;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.kiosk__text { flex: 1; }
.kiosk__title { margin: 0 0 8px; font-weight: 900; font-size: clamp(22px, 3.2vw, 28px); color: #fff; }
.kiosk__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: #ffe2d6; font-weight: 600; }
.kiosk__form { display: flex; gap: 12px; max-width: 480px; }
.kiosk__form input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; padding: 13px 16px; border-radius: 12px;
  border: 2px solid rgba(255,255,255,.4); background: rgba(255,255,255,.95); color: var(--ink); outline: none; }
.kiosk__form input:focus { border-color: #fff; }
.kiosk__form button { font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
  padding: 13px 22px; background: var(--ink); color: #fff; border: none; border-radius: 12px; box-shadow: 0 5px 0 rgba(0,0,0,.3); cursor: pointer; }
.kiosk__form button:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.kiosk__msg { margin: 14px 0 0; font-family: var(--mono); font-size: 13px; color: #fff; }
.kiosk__consent { margin: 12px 0 0; max-width: 480px; font-size: 12px; line-height: 1.5; color: #ffe2d6; font-weight: 600; }
.kiosk__consent a { color: #fff; }

/* ============ FOOTER ============ */
.site-footer { background: #dcd0b3; border-top: 4px solid #cdbf9a; margin-top: 44px; padding: 40px 0 28px; }
.footer__stripe { height: 6px; background: repeating-linear-gradient(90deg, var(--green) 0 22px, var(--green-2) 22px 44px); border-radius: 3px; margin-bottom: 30px; }
.footer__cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 280px; }
.footer__brand p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); font-weight: 600; }
.footer__brand .brand { margin-bottom: 0; }
.footer__links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__links h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 500; }
.footer__links div { display: flex; flex-direction: column; }
.footer__links a { font-size: 14px; color: var(--text); font-weight: 700; text-decoration: none; margin-bottom: 9px; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { margin-top: 30px; padding-top: 18px; border-top: 2px solid #cdbf9a; display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: #8a7f6a; text-transform: uppercase; letter-spacing: .04em; }

/* ============ COOKIE-CONSENT BANNER ============ */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 4px solid var(--sand); border-radius: 18px;
  box-shadow: 0 12px 30px rgba(120,95,45,.28);
  padding: 18px 20px; display: flex; gap: 14px 20px; align-items: center; flex-wrap: wrap;
  transform: translateY(160%); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
.consent.is-open { transform: none; opacity: 1; }
.consent__text { margin: 0; flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); font-weight: 600; }
.consent__text a { color: var(--green); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent__btn {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; font-weight: 500;
  padding: 11px 18px; border-radius: 11px; cursor: pointer; border: 2px solid;
}
.consent__btn--ghost { background: #fff; color: var(--muted); border-color: var(--sand); }
.consent__btn--primary { background: var(--green); color: #fff; border-color: #4f8a2e; box-shadow: 0 4px 0 #437a27; }
.consent__btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #437a27; }
@media (max-width: 520px) {
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1; }
}

/* ============ LEGAL PAGES ============ */
.legal-header { background: var(--bg-soft); border-bottom: 2px solid #ddcfa9; }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.legal-back { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text); text-decoration: none; }
.legal-back:hover { color: var(--green); }
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.legal h1 { font-weight: 900; font-size: clamp(28px, 5vw, 38px); color: var(--ink); letter-spacing: -.01em; margin: 0 0 8px; }
.legal__intro { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 0 0 36px; }
.legal h2 { font-weight: 800; font-size: 20px; color: var(--ink); margin: 36px 0 10px; }
.legal h3 { font-weight: 800; font-size: 16px; color: var(--text); margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-2); font-weight: 600; }
.legal a:not(.btn) { color: var(--green); }
.legal address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--text-2); font-weight: 700; }
.legal__card { background: #fff; border: 4px solid var(--sand); border-radius: 18px; box-shadow: 0 5px 0 rgba(190,165,110,.4); padding: 22px 26px; margin: 14px 0; }

/* ============ PIXEL PLAYER COMPONENT ============ */
.player { --jersey: var(--red); position: relative; width: 72px; display: flex; flex-direction: column; align-items: center; }
.player__shadow { position: absolute; bottom: -7px; width: 52px; height: 11px; background: rgba(30,20,10,.22); border-radius: 50%; }
.player__hair { width: 44px; height: 13px; background: var(--ink-2); border-radius: 7px 7px 2px 2px; }
.player__cap-brim { width: 50px; height: 6px; background: var(--ink-2); border-radius: 3px; margin-top: 1px; }
.player__face { width: 38px; height: 16px; background: var(--skin); border-radius: 0 0 5px 5px; margin-top: -1px; }
.player__jersey { width: 58px; height: 40px; margin-top: 3px; background: var(--jersey); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: #fff; font: 800 19px var(--sans); box-shadow: inset 0 -7px 0 rgba(0,0,0,.13); }
.player__shorts { width: 46px; height: 12px; background: #f2efe6; border-radius: 0 0 4px 4px; margin-top: -2px; }
.player__legs { display: flex; gap: 12px; margin-top: 3px; }
.player__leg { display: flex; flex-direction: column; align-items: center; }
.player__shin { width: 11px; height: 13px; background: var(--skin); border-radius: 0 0 2px 2px; }
.player__boot { width: 16px; height: 8px; background: var(--ink-2); border-radius: 3px; margin-top: 1px; }
.player--bob { animation: bkBob 3.2s ease-in-out infinite; }

/* juggling striker — one foot taps, ball bounces in sync */
.player--juggle .player__leg--kick { transform-origin: 50% 0; animation: bkKick 1s ease-in-out infinite; }
.player--juggle .player__ball { position: absolute; bottom: 4px; left: calc(50% + 15px); width: 18px; height: 18px;
  border-width: 2px; z-index: 3; animation: bkJuggle 1s ease-in-out infinite; }
.player--juggle .player__ball::after { width: 5px; height: 5px; }

/* ============ ANIMATIONS ============ */
@keyframes bkBob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }
/* juggle: foot up to tap when ball is low (0/100%), foot down while ball is high (50%) */
@keyframes bkKick { 0%,100%{ transform: rotate(34deg); } 50%{ transform: rotate(3deg); } }
@keyframes bkJuggle {
  0%,100% { transform: translate(-50%, 0) rotate(0deg); }
  50%     { transform: translate(-50%, -32px) rotate(180deg); }
}
@keyframes bkBob2 { 0%,100%{ transform: translateY(-4px); } 50%{ transform: translateY(3px); } }
@keyframes bkFloat { 0%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-14px) rotate(8deg); } 100%{ transform: translateY(0) rotate(0deg); } }
@keyframes bkDrift { 0%{ transform: translateX(0); } 100%{ transform: translateX(28px); } }
@keyframes bkTwinkle { 0%,100%{ opacity: .25; } 50%{ opacity: 1; } }
/* pickaxe swing: wind-up hold high, fast strike down, tiny bounce, raise back */
@keyframes bkSwing {
  0%   { transform: rotate(-54deg); }
  45%  { transform: rotate(-54deg); }
  68%  { transform: rotate(40deg); }
  76%  { transform: rotate(31deg); }
  100% { transform: rotate(-54deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .featured { flex-direction: column; align-items: flex-start; }
  .featured__lead { max-width: none; }
  .phone { align-self: center; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; text-align: center; }
  .about__lead { max-width: none; }
  .kiosk { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-soft); border-bottom: 2px solid #ddcfa9; padding: 8px 24px 18px;
    box-shadow: 0 12px 24px rgba(120,95,45,.18);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .lang-switch { align-self: flex-start; margin-top: 10px; }
  .site-header .container { position: relative; }

  .hero__copy { position: static; padding: 40px 24px 0; }
  .hero__scene { min-height: 0; display: flex; flex-direction: column; }
  .hero__pitch, .hero__centerline, .hero__centercircle { display: none; }
  .hero__scene { background: linear-gradient(180deg, #bfe3ef 0%, #d2e7cf 60%, var(--green-3) 60%, var(--green-2) 100%); }
  .hero__players { position: static; padding: 24px 0 28px; gap: 30px; }
  .ball--hero { display: none; }
  .cloud { display: none; }
}

@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .games { grid-template-columns: 1fr; }
  .trust { gap: 18px 28px; }
  .featured, .about, .kiosk { padding: 28px 22px; }
  .kiosk__form { flex-direction: column; }
  .kiosk__form button { width: 100%; }
  .footer__links { gap: 32px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}
