/* woapartments.com — Social Gaming Platform */

/* Fonts (self-hosted, variable) */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-vf.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/nunito-sans-vf.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #10141a;
  --bg-lowest: #0a0e14;
  --bg-low: #181c22;
  --bg-cont: #1c2026;
  --bg-high: #262a31;
  --bg-highest: #31353c;
  --green: #00ff9d;
  --green-dim: #00e38b;
  --on-green: #00391f;
  --amber: #ffba20;
  --on-amber: #412d00;
  --text: #dfe2eb;
  --text-2: #b9cbbc;
  --line: #3b4a3f;
  --outline: #849587;
  --red: #ffb4ab;
  --f-head: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --f-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --cookie-h: 0px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  width: 100%; max-width: 100%;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; overflow-wrap: break-word; word-break: break-word; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: break-word;
}
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--on-green); }
button, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button, .btn, .nav a, summary, label { -webkit-user-select: none; user-select: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
textarea { resize: none; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.container { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

/* Clipped corners */
.clip-sm { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.clip-lg { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 900;
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  padding: 14px 30px;
  transition: filter .25s var(--ease), transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-align: center;
}
.btn--primary { background: var(--green); color: var(--on-green); box-shadow: 0 8px 24px rgba(0, 255, 157, .18); }
.btn--primary:hover { filter: brightness(1.12); }
.btn--outline { border: 2px solid rgba(0, 255, 157, .4); color: var(--green); }
.btn--outline:hover { background: rgba(0, 255, 157, .1); }
.btn--amber { background: var(--amber); color: var(--on-amber); box-shadow: 0 8px 24px rgba(255, 186, 32, .18); }
.btn--amber:hover { filter: brightness(1.1); }
.btn--ghost {
  background: rgba(0, 255, 157, .1); border: 1px solid rgba(0, 255, 157, .4); color: var(--green);
}
.btn--ghost:hover { background: var(--green); color: var(--on-green); }
.btn:active { transform: scale(.97); }

/* Section heading helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--green); font-weight: 900; font-size: 11px;
  text-transform: uppercase; letter-spacing: .3em;
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--green); }
.eyebrow--center::after { content: ''; width: 32px; height: 2px; background: var(--green); }
.eyebrow--amber { color: var(--amber); }
.eyebrow--amber::before, .eyebrow--amber::after { background: var(--amber); }
.sec-title { font-size: clamp(26px, 4vw, 40px); }
.sec-title em { color: var(--green); font-style: inherit; }
.title-rule { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.title-rule i { height: 4px; background: var(--green); width: 48px; }
.title-rule i:nth-child(2) { width: 8px; background: var(--amber); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(16, 20, 26, .88);
  border-bottom: 1px solid rgba(0, 255, 157, .2);
  overflow: visible;
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 24px; height: 32px; }
.brand span {
  font-family: var(--f-head); font-weight: 700; font-size: 22px;
  letter-spacing: -.02em; color: var(--green);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.nav-cta) {
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-2);
  position: relative; padding-bottom: 4px;
  transition: color .25s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover { color: var(--green); }
.nav a:not(.nav-cta):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.lang-switch a { color: var(--text-2); transition: color .25s var(--ease); }
.lang-switch a:hover { color: var(--green); }
.lang-switch a.is-lang { color: var(--green); pointer-events: none; }
.lang-switch i { font-style: normal; opacity: .2; }
.btn--head { padding: 10px 20px; font-size: 11px; }
.coins-pill {
  display: none; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 255, 157, .08); border: 1px solid rgba(0, 255, 157, .35);
  color: var(--green); font-weight: 900; font-size: 12px; letter-spacing: .08em;
}
.coins-pill .icon { width: 16px; height: 16px; }
body[data-auth="in"] .coins-pill { display: inline-flex; }
body[data-auth="in"] .auth-only-out { display: none; }
.auth-only-in { display: none; }
body[data-auth="in"] .auth-only-in { display: inline-flex; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 110; flex-shrink: 0;
  background: rgba(0, 255, 157, .06);
  border: 1px solid rgba(0, 255, 157, .25);
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; padding-block: 72px; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/img/hero.avif');
  background-size: cover; background-position: center;
  filter: grayscale(.7); opacity: .38;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(16, 20, 26, .72) 45%, rgba(16, 20, 26, .25) 100%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px; align-items: center; width: 100%;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 22px; }
.hero h1 em { color: var(--green); font-style: inherit; }
.hero__sub { font-size: 19px; color: var(--text-2); max-width: 540px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__note {
  max-width: 250px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-2);
  border-left: 2px solid var(--amber); padding: 4px 0 4px 16px;
}
.hero__chips { display: flex; flex-direction: column; gap: 14px; }
.hero-chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(28, 32, 38, .55); backdrop-filter: blur(8px);
  border-left: 4px solid var(--green);
  padding: 16px 18px;
  font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em;
  transition: background .3s var(--ease);
}
.hero-chip:hover { background: rgba(0, 255, 157, .1); }
.hero-chip .icon { color: var(--green); width: 22px; height: 22px; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroUp .7s var(--ease) backwards; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__chips .hero-chip { animation: heroUp .7s var(--ease) backwards; }
.hero__chips .hero-chip:nth-child(2) { animation-delay: .12s; }
.hero__chips .hero-chip:nth-child(3) { animation-delay: .24s; }
.hero__chips .hero-chip:nth-child(4) { animation-delay: .36s; }

/* Ticker */
.ticker {
  background: var(--bg-highest);
  border-block: 2px solid rgba(0, 255, 157, .2);
  padding-block: 12px;
  overflow: hidden;
}
.ticker__track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: tickerMove 32s linear infinite;
}
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker__item {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em;
  color: var(--text-2);
}
.ticker__item .icon { width: 17px; height: 17px; }
.ticker__item--amber { color: var(--amber); }
.ticker__item--green { color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .hero__copy > *, .hero__chips .hero-chip { animation: none; }
}

/* Sections shared */
.section { padding-block: clamp(56px, 8vw, 88px); }
.section--lowest { background: var(--bg-lowest); border-block: 1px solid rgba(0, 255, 157, .1); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-lead { max-width: 720px; margin: 20px auto 0; font-size: 17px; color: var(--text-2); }

/* Reveal on scroll (below the fold only) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-card {
  position: relative; overflow: hidden;
  background: var(--bg-low);
  border: 1px solid rgba(59, 74, 63, .3);
  padding: 30px 26px;
  transition: border-color .3s var(--ease);
}
.why-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 64px; height: 64px; background: rgba(0, 255, 157, .05); transform: rotate(45deg);
}
.why-card:hover { border-color: var(--green); }
.why-card .icon { width: 38px; height: 38px; color: var(--green); margin-bottom: 16px; transition: transform .3s var(--ease); }
.why-card:hover .icon { transform: scale(1.1); }
.why-card p { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; line-height: 1.55; }

/* Featured demo (Cute Fruits Party) */
.demo-feature__frame {
  max-width: 1024px; margin-inline: auto;
  padding: 20px;
  background: var(--bg-low);
  border: 1px solid rgba(0, 255, 157, .1);
}
.demo-feature__screen {
  position: relative; aspect-ratio: 21 / 9; overflow: hidden;
  border: 2px solid rgba(0, 255, 157, .2);
  background: var(--bg-high);
}
.demo-feature__screen img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transform: scale(1.04);
  transition: filter .7s var(--ease), transform .7s var(--ease);
}
.demo-feature__frame:hover .demo-feature__screen img { filter: grayscale(0); transform: scale(1); }
.demo-feature__screen::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0, 255, 157, .1), transparent 40%, rgba(0, 0, 0, .55));
  pointer-events: none;
}
.demo-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.demo-play__btn {
  position: relative; width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  transition: transform .3s var(--ease);
}
.demo-play__btn:hover { transform: scale(1.1); }
.demo-play__btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0, 255, 157, .18);
  animation: playPulse 2s var(--ease) infinite;
}
.demo-play__btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); }
.demo-play__btn .icon { width: 44px; height: 44px; }
@keyframes playPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .4; } }
.demo-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }
.demo-badge {
  padding: 5px 12px; font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .14em;
}
.demo-badge--solid { background: var(--green); color: var(--on-green); }
.demo-badge--line { background: rgba(16, 20, 26, .8); color: var(--green); border: 1px solid rgba(0, 255, 157, .25); }
.demo-feature__dots { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.demo-feature__dots i { width: 48px; height: 4px; background: var(--bg-highest); transition: background .3s var(--ease); }
.demo-feature__dots i.is-on { background: var(--green); }
.demo-feature__legal {
  margin: 28px auto 0; text-align: center;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .22em;
  color: var(--text-2); opacity: .7; line-height: 1.9;
}

/* Coins info */
.coins-info { position: relative; overflow: hidden; }
.coins-info::before {
  content: ''; position: absolute; top: -80px; left: 20%;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(0, 255, 157, .09); filter: blur(120px);
  pointer-events: none;
}
.coins-info__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.coins-info__media { padding: 8px; background: linear-gradient(135deg, rgba(0, 255, 157, .4), transparent 65%); }
.coins-info__media figure { overflow: hidden; border: 2px solid rgba(0, 255, 157, .2); margin: 0; }
.coins-info__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: grayscale(1); transition: filter .5s var(--ease);
}
.coins-info__media:hover img { filter: grayscale(0); }
.coins-info h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 14px 0 20px; }
.coins-info h2 em { color: var(--green); font-style: inherit; }
.coins-info__text { color: var(--text-2); margin-bottom: 26px; }
.coins-note {
  display: flex; gap: 16px;
  background: var(--bg-high); border-left: 4px solid var(--amber);
  padding: 22px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
}
.coins-note .icon { color: var(--amber); width: 30px; height: 30px; }
.coins-note p { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--text-2); line-height: 1.6; }
.coins-info__aside { font-style: italic; color: var(--text-2); font-size: 14px; border-left: 1px solid var(--line); padding-left: 16px; margin-top: 18px; }
.coins-info .btn { margin-top: 30px; }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; position: relative; }
.how-grid::before {
  content: ''; position: absolute; top: 50px; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 157, .2), transparent);
}
.how-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.how-step__icon {
  width: 88px; height: 88px; margin-bottom: 26px;
  background: var(--bg-cont); border: 2px solid rgba(0, 255, 157, .4);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(45deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease);
  position: relative; z-index: 1;
}
.how-step__icon .icon { width: 36px; height: 36px; color: var(--green); transform: rotate(-45deg); transition: transform .5s var(--ease); }
.how-step:hover .how-step__icon { transform: rotate(225deg) scale(1.08); }
.how-step:hover .how-step__icon .icon { transform: rotate(-225deg); }
.how-step__num { font-family: var(--f-head); font-style: italic; font-weight: 700; font-size: 28px; color: var(--green); margin-bottom: 8px; }
.how-step p { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.how-quote {
  position: relative; max-width: 860px; margin: 64px auto 0;
  background: var(--bg-low); border: 1px solid rgba(0, 255, 157, .1);
  padding: 40px 32px 32px; text-align: center;
}
.how-quote__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--on-green);
  padding: 4px 16px; font-size: 10px; font-weight: 900;
  font-style: italic; text-transform: uppercase; letter-spacing: .2em;
  white-space: nowrap;
}
.how-quote p { font-style: italic; font-size: 17px; color: var(--text-2); }

/* Games grid */
.games-pop__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; margin-bottom: 44px; flex-wrap: wrap;
}
.games-pop__head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.games-pop__head h2 em { color: var(--green); font-style: inherit; }
.games-pop__lead { color: var(--text-2); max-width: 560px; margin-top: 14px; }
.games-pop__live {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: rgba(0, 255, 157, .05); border: 1px solid rgba(0, 255, 157, .2);
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: var(--green);
  white-space: nowrap;
}
.games-pop__live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: playPulse 2s var(--ease) infinite;
}
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.game-card {
  display: flex; flex-direction: column;
  background: var(--bg-low);
  border: 1px solid rgba(0, 255, 157, .1);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.game-card:hover { border-color: rgba(0, 255, 157, .6); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .4); }
.game-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent 55%);
}
.game-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter .7s var(--ease);
}
.game-card:hover .game-card__media img { filter: grayscale(0); }
.game-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px; gap: 12px; }
.game-card__body h3 {
  font-family: var(--f-body); font-style: normal; font-weight: 900;
  font-size: 15px; letter-spacing: .1em; color: var(--green);
}
.game-card__body p { font-size: 14px; color: var(--text-2); flex: 1; }
.game-card__body .btn { width: 100%; margin-top: 10px; padding: 12px; }

/* FAQ */
.faq-home__wrap { max-width: 860px; margin-inline: auto; }
.faq-item {
  background: rgba(28, 32, 38, .5);
  border: 1px solid rgba(59, 74, 63, .2);
  overflow: hidden;
  margin-bottom: 14px;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em;
  transition: background .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(0, 255, 157, .05); }
.faq-item summary .icon { color: var(--green); transition: transform .3s var(--ease); }
.faq-item.is-open summary .icon { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 22px; font-size: 14px; color: var(--text-2); }

/* Reviews */
.reviews-wall { position: relative; overflow: hidden; }
.reviews-wall__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/img/about-us.avif');
  background-size: cover; background-position: center;
  filter: grayscale(1); opacity: .08;
}
.reviews-wall__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg));
}
.reviews-wall .container { position: relative; z-index: 1; }
.reviews-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.review-card {
  background: var(--bg-high);
  border: 1px solid rgba(0, 255, 157, .1);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color .3s var(--ease);
}
.review-card:hover { border-color: rgba(0, 255, 157, .4); }
.review-card__stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 18px; }
.review-card__stars .icon { width: 15px; height: 15px; }
.review-card > p { font-size: 14px; font-style: italic; flex: 1; margin-bottom: 22px; }
.review-card__meta { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.review-card__meta b { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--green); }
.review-card__meta time { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }

/* Featured game (amber) */
.game-feature { border-block: 1px solid rgba(255, 186, 32, .2); }
.game-feature__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.game-feature h3 {
  font-size: clamp(22px, 3vw, 30px); color: var(--amber);
  margin-bottom: 20px; letter-spacing: -.01em;
}
.game-feature__text { font-size: 17px; color: var(--text-2); margin-bottom: 28px; }
.game-feature__legal {
  margin-top: 28px;
  background: var(--bg-high); border-left: 4px solid rgba(255, 186, 32, .4);
  padding: 22px; font-size: 13px; color: var(--text-2); line-height: 1.7;
}
.game-feature__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 2px solid rgba(255, 186, 32, .3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}
.game-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transform: scale(1.04);
  transition: filter .7s var(--ease), transform .7s var(--ease);
}
.game-feature__media:hover img { filter: grayscale(0); transform: scale(1); }
.game-feature__media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 186, 32, .1), transparent 40%, rgba(0, 0, 0, .55));
}
.game-feature__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
}
.game-feature__play i {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid var(--amber); background: rgba(255, 186, 32, .1);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.game-feature__media:hover .game-feature__play i { transform: scale(1.1); }
.game-feature__play .icon { width: 36px; height: 36px; }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; background: rgba(0, 255, 157, .05); text-align: center; }
.cta-final h2 { font-size: clamp(28px, 4.4vw, 46px); max-width: 846px; margin: 24px auto 14px; }
.cta-final h2 em { color: var(--green); font-style: inherit; }
.cta-final__ready {
  font-family: var(--f-head); font-style: italic; font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px); text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); margin-bottom: 40px;
}
.cta-final__sub { font-size: 17px; color: var(--text-2); margin-top: 36px; }
.cta-final__marks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-top: 32px;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: var(--green);
}
.cta-final__marks span { display: inline-flex; align-items: center; gap: 8px; }
.cta-final__marks .icon { width: 16px; height: 16px; }

/* RG support strip */
.rg-strip { background: var(--bg-lowest); border-top: 1px solid rgba(0, 255, 157, .1); }
.rg-strip__head { margin-bottom: 36px; text-align: center; }
.rg-strip__head p { max-width: 720px; margin: 16px auto 0; color: var(--text-2); font-size: 15px; }
.rg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rg-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-low); border: 1px solid rgba(59, 74, 63, .3);
  padding: 26px 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.rg-card:hover { border-color: rgba(0, 255, 157, .5); transform: translateY(-3px); }
.rg-card .icon { width: 30px; height: 30px; color: var(--green); }
.rg-card h3 { font-family: var(--f-body); font-style: normal; font-weight: 900; font-size: 14px; letter-spacing: .08em; }
.rg-card p { font-size: 13px; color: var(--text-2); flex: 1; }
.rg-card span {
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em;
  color: var(--green); display: inline-flex; align-items: center; gap: 6px;
}

/* Footer */
.site-footer { background: var(--bg-lowest); border-top: 2px solid rgba(0, 255, 157, .2); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer-brand__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand__logo img { width: 24px; height: 32px; }
.footer-brand__logo span { font-family: var(--f-head); font-weight: 700; font-size: 20px; color: var(--green); }
.footer-brand > p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; }
.footer-brand__tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); }
.footer-col h4 {
  font-size: 13px; color: var(--green); letter-spacing: .16em; margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--green); }
.footer-news__form { display: flex; gap: 8px; margin-bottom: 14px; }
.footer-news__form input[type="email"] {
  flex: 1; min-width: 0;
  background: var(--bg-high); border: 1px solid rgba(59, 74, 63, .4);
  color: var(--text); padding: 10px 14px; font-size: 14px; outline: none;
  transition: border-color .25s var(--ease);
}
.footer-news__form input[type="email"]:focus { border-color: var(--green); }
.footer-news__form .btn { padding: 10px 16px; font-size: 10px; }
.footer-news label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.footer-news label input { margin-top: 3px; accent-color: var(--green); }
.footer-news label span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); line-height: 1.6; }
.footer-rg { border-top: 1px solid rgba(59, 74, 63, .25); padding-top: 32px; margin-bottom: 48px; }
.footer-rg h4 { font-size: 13px; color: var(--green); letter-spacing: .16em; margin-bottom: 22px; }
.footer-rg__links { display: flex; flex-wrap: wrap; gap: 12px 48px; }
.footer-rg__links a { font-size: 14px; color: var(--text-2); transition: color .25s var(--ease); }
.footer-rg__links a:hover { color: var(--green); }
.footer-badges { border-top: 1px solid rgba(59, 74, 63, .25); padding-top: 32px; margin-bottom: 32px; }
.footer-badges__row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.badge-18 {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--green); background: rgba(0, 255, 157, .1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: var(--green);
}
.badge-flat {
  padding: 10px 16px;
  background: var(--bg-high); border: 1px solid rgba(59, 74, 63, .4);
  font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em;
}
.footer-disclaimer { max-width: 980px; display: flex; flex-direction: column; gap: 12px; }
.footer-disclaimer p { font-size: 12px; color: var(--text-2); line-height: 1.7; }
.footer-disclaimer b { color: var(--text); }
.footer-bottom {
  border-top: 1px solid rgba(59, 74, 63, .25); padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end;
}
.footer-bottom__org b { display: block; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--green); }
.footer-bottom__org span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-top: 8px; }

/* Modals (age gate / auth / toast) */
.modal-layer {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 10, .82);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.modal-layer.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}
.modal-box {
  position: relative; width: 100%; max-width: 520px;
  max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--bg-lowest);
  border: 1px solid rgba(59, 74, 63, .35);
  box-shadow: 0 0 40px rgba(0, 255, 157, .12), 0 30px 60px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .4s var(--ease);
}
.modal-layer.is-open .modal-box { transform: scale(1); }
.modal-box::before, .modal-box::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--green); pointer-events: none;
}
.modal-box::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.modal-box::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.modal-box--denied::before, .modal-box--denied::after { border-color: var(--red); }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: color .25s var(--ease);
}
.modal-close:hover { color: var(--green); }
.modal-close .icon { width: 20px; height: 20px; }
@keyframes modalShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.modal-box.is-shake { animation: modalShake .4s ease; }

/* Age gate */
.age-gate__inner { padding: clamp(32px, 6vw, 52px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.age-gate__logo { position: relative; margin-bottom: 28px; }
.age-gate__logo::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  background: rgba(0, 255, 157, .16); filter: blur(20px);
}
.age-gate__logo img { position: relative; width: 58px; height: auto; filter: drop-shadow(0 0 8px rgba(0, 255, 157, .4)); }
.age-gate__badge {
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: 19px;
  box-shadow: 0 0 24px rgba(0, 255, 157, .25);
  margin-bottom: 26px;
}
.age-gate__inner h2 { font-size: clamp(24px, 4vw, 32px); color: #fff; margin-bottom: 16px; letter-spacing: -.02em; }
.age-gate__text { font-size: 15px; color: var(--text-2); max-width: 360px; margin-bottom: 36px; }
.age-gate__text b { color: var(--green); font-weight: 700; }
.age-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; max-width: 330px; }
.age-gate__actions .btn { flex: 1; padding: 16px 10px; font-family: var(--f-head); font-size: 14px; letter-spacing: .02em; }
.age-gate__denied { padding-block: 20px; }
.age-gate__denied .icon { width: 60px; height: 60px; color: var(--red); margin-bottom: 16px; }
.age-gate__denied h2 { color: var(--red); font-size: 24px; margin-bottom: 14px; }
.age-gate__denied p { color: var(--text-2); font-size: 15px; }
.age-gate__denied a { color: var(--green); font-weight: 700; }
.age-gate__foot {
  margin-top: 44px; padding-top: 22px; width: 100%;
  border-top: 1px solid rgba(59, 74, 63, .2);
  font-size: 10px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--outline); opacity: .6;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.age-gate__foot i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: 0 0 auto;
  animation: playPulse 2s var(--ease) infinite;
}
body[data-gate="locked"] { overflow: hidden; }

/* Auth modal */
.auth-modal__inner { padding: clamp(28px, 5vw, 44px); }
.auth-modal__inner h2 { font-size: 26px; margin-bottom: 8px; }
.auth-modal__inner h2 em { color: var(--green); font-style: inherit; }
.auth-modal__sub { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field { display: flex; flex-direction: column; gap: 6px; }
.auth-form .field label { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); }
.auth-form .field input {
  background: var(--bg-high); border: 1px solid rgba(59, 74, 63, .4);
  color: var(--text); padding: 13px 16px; font-size: 15px; outline: none; width: 100%;
  transition: border-color .25s var(--ease);
}
.auth-form .field input:focus { border-color: var(--green); }
.auth-form .field input.is-bad { border-color: var(--red); }
.auth-form .field .field-err { font-size: 11px; color: var(--red); font-weight: 700; min-height: 14px; }
.auth-form .btn { margin-top: 8px; padding: 15px; }
.auth-modal__swap { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 20px; }
.auth-modal__swap button { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-modal__note {
  margin-top: 22px; padding: 14px 16px;
  background: rgba(255, 186, 32, .06); border-left: 3px solid rgba(255, 186, 32, .5);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-2); line-height: 1.7;
}

/* Toast */
.toast-box { max-width: 420px; text-align: center; padding: 40px 32px; }
.toast-box .icon { width: 48px; height: 48px; color: var(--green); margin-inline: auto; margin-bottom: 18px; }
.toast-box h3 { font-size: 20px; margin-bottom: 10px; }
.toast-box p { font-size: 14px; color: var(--text-2); }

/* Cookie banner */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 720px; margin-inline: auto;
  background: var(--bg-cont); border: 1px solid rgba(0, 255, 157, .25);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 18px;
  transform: translateY(calc(100% + 32px));
  transition: transform .5s var(--ease);
}
.cookie-bar.is-show { transform: none; }
.cookie-bar p { font-size: 13px; color: var(--text-2); flex: 1; min-width: 0; }
.cookie-bar p a { color: var(--green); font-weight: 700; }
.cookie-bar__btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-bar .btn { padding: 10px 18px; font-size: 10px; }

/* Support chat */
.chat-toggle {
  position: fixed; right: 20px; bottom: calc(20px + var(--cookie-h)); z-index: 140;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--on-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 255, 157, .35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), bottom .4s var(--ease);
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(0, 255, 157, .45); }
.chat-toggle .icon { width: 27px; height: 27px; }
.chat-toggle__close { display: none; }
.chat-toggle[aria-expanded="true"] .chat-toggle__open { display: none; }
.chat-toggle[aria-expanded="true"] .chat-toggle__close { display: block; }
.chat-panel {
  position: fixed; right: 20px; bottom: calc(90px + var(--cookie-h)); z-index: 140;
  width: 360px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100dvh - 120px);
  display: flex; flex-direction: column;
  background: var(--bg-cont); border: 1px solid rgba(0, 255, 157, .3);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s, bottom .4s var(--ease);
}
.chat-panel.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear 0s, bottom .4s var(--ease);
}
.chat-panel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-high); border-bottom: 1px solid rgba(0, 255, 157, .2);
}
.chat-panel__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(0, 255, 157, .12); border: 1px solid rgba(0, 255, 157, .4);
  display: flex; align-items: center; justify-content: center;
}
.chat-panel__avatar img { width: 20px; height: 26px; }
.chat-panel__who b { display: block; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.chat-panel__who span { display: flex; align-items: center; gap: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.chat-panel__who span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chat-panel__log {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  overscroll-behavior: contain;
}
.chat-msg {
  max-width: 84%; padding: 10px 14px;
  font-size: 13px; line-height: 1.55;
}
.chat-msg--bot { align-self: flex-start; background: var(--bg-high); border-left: 2px solid var(--green); }
.chat-msg--user { align-self: flex-end; background: rgba(0, 255, 157, .14); color: var(--text); border-right: 2px solid var(--green); }
.chat-msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 13px 14px; }
.chat-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: chatDot 1.1s infinite; }
.chat-msg--typing i:nth-child(2) { animation-delay: .18s; }
.chat-msg--typing i:nth-child(3) { animation-delay: .36s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick button {
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 7px 12px;
  border: 1px solid rgba(0, 255, 157, .35); color: var(--green);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.chat-quick button:hover { background: var(--green); color: var(--on-green); }
.chat-panel__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(59, 74, 63, .35); }
.chat-panel__form input {
  flex: 1; min-width: 0;
  background: var(--bg-high); border: 1px solid rgba(59, 74, 63, .4);
  color: var(--text); padding: 10px 12px; font-size: 13px; outline: none;
}
.chat-panel__form input:focus { border-color: var(--green); }
.chat-panel__form button {
  width: 42px; flex: 0 0 auto;
  background: var(--green); color: var(--on-green);
  display: flex; align-items: center; justify-content: center;
}
.chat-panel__form button .icon { width: 18px; height: 18px; }

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  .burger { display: block; }
  .lang-switch--head { display: none; }
  .header-actions .btn,
  body[data-auth="in"] .header-actions .auth-only-in { display: none; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 76px));
    z-index: 50;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 24px 32px;
    background: var(--bg-lowest);
    border-top: 1px solid rgba(0, 255, 157, .2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .nav[data-open="true"] {
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav a:not(.nav-cta) { width: 100%; padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(59, 74, 63, .3); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-mobile-actions { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
  .nav-mobile-actions .btn { width: 100%; }
  .nav-mobile-actions .lang-switch { justify-content: center; padding-top: 8px; }

  /* No scroll-lock on burger: header stays sticky, nav is an absolute dropdown — prevents layout height jump */

  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__chips { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1221px) { .nav-mobile-actions { display: none; } }

@media (max-width: 820px) {
  .hero { min-height: 480px; padding-block: 56px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(16, 20, 26, .82), rgba(16, 20, 26, .6)); }
  .games-grid { grid-template-columns: minmax(0, 1fr); }
  .coins-info__grid, .game-feature__grid { grid-template-columns: minmax(0, 1fr); }
  .coins-info__media { order: 2; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .how-grid::before { display: none; }
  .demo-feature__screen { aspect-ratio: 16 / 10; }
  .games-pop__head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .why-grid, .reviews-grid, .rg-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__cta { gap: 16px; }
  .hero__cta .btn { width: 100%; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-bar__btns { justify-content: center; }
  .age-gate__actions { flex-direction: column; max-width: 260px; }
  .chat-panel { right: 16px; }
  .chat-toggle { right: 16px; }
  .footer-news__form { flex-direction: column; }
  .footer-news__form .btn { width: 100%; }
}

@media (max-width: 430px) {
  .brand span { font-size: 17px; }
  .coins-pill { padding: 6px 10px; font-size: 11px; gap: 6px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 26px; }
  .sec-title { font-size: 24px; }
}

/* ===== Inner pages ===== */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 9vw, 96px);
  border-bottom: 1px solid rgba(0, 255, 157, .12);
  background: var(--bg-lowest);
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; right: 8%;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(0, 255, 157, .08); filter: blur(130px); pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 16px 0 18px; }
.page-hero h1 em { color: var(--green); font-style: inherit; }
.page-hero p { font-size: 18px; color: var(--text-2); max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); margin-bottom: 6px; }
.breadcrumb a { color: var(--green); }
.breadcrumb span { opacity: .4; }

/* Prose / legal */
.prose { color: var(--text-2); font-size: 16px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(20px, 2.6vw, 26px); color: var(--text); margin-top: 44px; margin-bottom: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; color: var(--green); font-style: normal; text-transform: none; margin-top: 26px; letter-spacing: 0; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.legal-meta { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid rgba(59, 74, 63, .3); }
.legal-note {
  margin-top: 12px; padding: 22px;
  background: var(--bg-high); border-left: 4px solid var(--amber);
  font-size: 14px; color: var(--text-2); line-height: 1.7;
}
.legal-note strong { color: var(--text); }

/* About */
.about-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.about-grid__media { padding: 8px; background: linear-gradient(135deg, rgba(0, 255, 157, .4), transparent 65%); }
.about-grid__media figure { overflow: hidden; border: 2px solid rgba(0, 255, 157, .2); margin: 0; }
.about-grid__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); transition: filter .5s var(--ease); }
.about-grid__media:hover img { filter: grayscale(0); }
.about-grid h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 18px; }
.about-grid h2 em { color: var(--green); font-style: inherit; }
.about-grid p { color: var(--text-2); }
.about-grid p + p { margin-top: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value-card { background: var(--bg-low); border: 1px solid rgba(59, 74, 63, .3); padding: 30px 26px; transition: border-color .3s var(--ease); }
.value-card:hover { border-color: var(--green); }
.value-card .icon { width: 36px; height: 36px; color: var(--green); margin-bottom: 16px; }
.value-card h3 { font-family: var(--f-body); font-style: normal; font-weight: 900; font-size: 15px; letter-spacing: .06em; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-2); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: var(--bg-low); border: 1px solid rgba(0, 255, 157, .12); }
.stat b { display: block; font-family: var(--f-head); font-style: italic; font-size: clamp(28px, 4vw, 40px); color: var(--green); }
.stat span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }

/* Coin packs */
.packs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pack-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-low); border: 1px solid rgba(59, 74, 63, .35);
  padding: 34px 28px; text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.pack-card:hover { border-color: var(--green); transform: translateY(-4px); }
.pack-card--featured { border-color: rgba(0, 255, 157, .5); }
.pack-card__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--on-amber);
  padding: 4px 16px; font-size: 10px; font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: .16em; white-space: nowrap;
}
.pack-card .icon { width: 46px; height: 46px; color: var(--green); margin: 0 auto 6px; }
.pack-card__coins { font-family: var(--f-head); font-style: italic; font-size: 34px; color: var(--text); }
.pack-card__coins span { color: var(--green); }
.pack-card__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); }
.pack-card__price { margin-top: 8px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); }
.pack-card .btn { margin-top: 16px; width: 100%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__item .icon { width: 26px; height: 26px; color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.contact-info__item b { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: 4px; }
.contact-info__item p, .contact-info__item a { font-size: 15px; color: var(--text-2); }
.contact-info__item a:hover { color: var(--green); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--bg-low); border: 1px solid rgba(59, 74, 63, .3); padding: clamp(24px, 4vw, 36px); }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); }
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--bg-high); border: 1px solid rgba(59, 74, 63, .4);
  color: var(--text); padding: 13px 16px; font-size: 15px; outline: none; width: 100%;
  transition: border-color .25s var(--ease);
}
.contact-form textarea { min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--green); }
.contact-form input.is-bad, .contact-form textarea.is-bad { border-color: var(--red); }
.contact-form .field-err { font-size: 11px; color: var(--red); font-weight: 700; min-height: 14px; }
.map-embed { margin-top: 12px; border: 2px solid rgba(0, 255, 157, .2); overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 308px; border: 0; filter: grayscale(1) invert(.92) hue-rotate(120deg) contrast(.9); }

/* Game detail + slot */
.game-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
.game-hero__art { position: relative; overflow: hidden; border: 2px solid rgba(255, 186, 32, .3); box-shadow: 0 24px 48px rgba(0, 0, 0, .5); }
.game-hero__art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.game-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.game-tag { padding: 6px 14px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; background: var(--bg-high); border: 1px solid rgba(0, 255, 157, .3); color: var(--green); }
.game-tag--amber { border-color: rgba(255, 186, 32, .4); color: var(--amber); }
.game-hero h1 { font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 10px; }
.game-hero__dev { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); margin-bottom: 18px; }
.game-hero__text { font-size: 17px; color: var(--text-2); margin-bottom: 26px; }
.game-hero__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.game-hero__meta div { display: flex; flex-direction: column; }
.game-hero__meta b { font-family: var(--f-head); font-style: italic; font-size: 22px; color: var(--green); }
.game-hero__meta span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }

/* Playable slot */
.slot-wrap { max-width: 760px; margin-inline: auto; }
.slot {
  background: var(--bg-low); border: 2px solid rgba(255, 186, 32, .3);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}
.slot__hud { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.slot__stat { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-style: italic; font-weight: 700; }
.slot__stat .icon { width: 20px; height: 20px; color: var(--amber); }
.slot__stat b { font-size: 22px; color: var(--text); }
.slot__stat--win b { color: var(--green); }
.slot__reels {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  background: var(--bg-lowest); border: 1px solid rgba(255, 186, 32, .2);
  padding: 14px; margin-bottom: 18px; overflow: hidden;
}
.slot__reel { display: flex; flex-direction: column; height: 210px; overflow: hidden; }
.slot__strip { display: flex; flex-direction: column; will-change: transform; }
.slot__cell {
  height: 70px; flex: 0 0 70px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; line-height: 1;
}
.slot__controls { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.slot__bet { display: flex; align-items: center; gap: 10px; }
.slot__bet button {
  width: 38px; height: 38px; font-size: 20px; font-weight: 900;
  background: var(--bg-high); border: 1px solid rgba(0, 255, 157, .3); color: var(--green);
}
.slot__bet button:hover { background: rgba(0, 255, 157, .1); }
.slot__bet span { min-width: 78px; text-align: center; font-family: var(--f-head); font-style: italic; }
.slot__bet span b { display: block; font-size: 20px; color: var(--text); }
.slot__bet span i { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.slot__spin { padding: 16px 40px; font-size: 14px; }
.slot__spin:disabled { opacity: .5; cursor: not-allowed; }
.slot__msg { text-align: center; margin-top: 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); min-height: 18px; }
.slot__msg.is-win { color: var(--green); }
.slot__login-hint { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-2); }
.slot__login-hint button { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.slot-legal {
  max-width: 760px; margin: 26px auto 0;
  background: var(--bg-high); border-left: 4px solid rgba(255, 186, 32, .4);
  padding: 22px; font-size: 13px; color: var(--text-2); line-height: 1.75;
}
.slot-legal p + p { margin-top: 10px; }
.slot-legal strong { color: var(--text); }
.shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shots-grid figure { margin: 0; overflow: hidden; border: 1px solid rgba(0, 255, 157, .15); }
.shots-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(.4); transition: filter .5s var(--ease); }
.shots-grid figure:hover img { filter: grayscale(0); }

@media (max-width: 1220px) {
  .about-grid, .contact-grid, .game-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .values-grid, .packs-grid, .shots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .about-grid__media { order: 2; }
  .slot__cell { font-size: 30px; height: 58px; flex-basis: 58px; }
  .slot__reel { height: 174px; }
}
@media (max-width: 520px) {
  .values-grid, .packs-grid, .shots-grid, .stat-row { grid-template-columns: minmax(0, 1fr); }
  .slot__reels { gap: 6px; padding: 10px; }
  .slot__cell { font-size: 24px; height: 50px; flex-basis: 50px; }
  .slot__reel { height: 150px; }
}

/* Game window modal */
.gm-box { max-width: 1000px; }
.gm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(0, 255, 157, .15); }
.gm-head h3 { font-size: 18px; }
.gm-head .modal-close { position: static; }
.gm-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #000; }
.gm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gm-legal { padding: 16px 20px; font-size: 12px; color: var(--text-2); line-height: 1.7; }
.gm-legal strong { color: var(--text); }
@media (max-width: 640px) { .gm-frame { aspect-ratio: 3 / 4; } }
