/* ===== Fonts ===== */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/anton.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/space-grotesk.woff2') format('woff2');
}

/* ===== Tokens ===== */
:root {
  --bg: #0D0D0D;
  --panel: #1A1A1A;
  --panel2: #111111;
  --text: #FFFFFF;
  --muted: #888888;
  --red: #E50914;
  --line: #333333;
  --yellow: #FFCC00;
  --maxw: 1360px;
  --cookie-h: 0px;
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; border-radius: 0 !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; overflow-wrap: break-word; word-break: break-word; }
a:hover { color: var(--text); }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-break: break-word; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
button, .btn { font-family: inherit; }
input, textarea, button, select { font-family: inherit; }
input:focus, textarea:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 5vw;
}

/* UI: no accidental selection on controls */
.btn, .nav a, .burger, .chat-toggle, .ticker, .badge { -webkit-tap-highlight-color: transparent; user-select: none; }

/* ===== Custom cursor (desktop pointer only) ===== */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--red); border-radius: 50% !important;
  pointer-events: none; mix-blend-mode: difference; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .14s ease, height .14s ease;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
  .cursor-dot.is-big { width: 34px; height: 34px; }
  body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on input,
  body.cursor-on textarea, body.cursor-on label, body.cursor-on .game-card { cursor: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: none; cursor: pointer; text-transform: uppercase;
  font-family: 'Anton', sans-serif; letter-spacing: .06em;
  padding: .9rem 1.4rem; font-size: 15px; line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--bg); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn--ghost:hover { background: #fff; color: var(--bg); }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--bg); }
.btn--sm { padding: .6rem 1rem; font-size: 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .1em; }

/* ===== Ticker ===== */
.ticker {
  width: 100%; height: 35px; background: var(--bg);
  border-bottom: 1px solid var(--red); overflow: hidden;
  display: flex; align-items: center; position: relative; z-index: 60;
}
.ticker__track { display: flex; white-space: nowrap; animation: ri-marquee 45s linear infinite; will-change: transform; }
.ticker__track span { font-size: 12px; letter-spacing: .08em; color: #fff; padding-right: 3rem; }
@keyframes ri-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ===== Age gate / restricted ===== */
.gate {
  position: fixed; inset: 0; z-index: 9000; background: rgba(13,13,13,.72);
  backdrop-filter: blur(22px) grayscale(50%); -webkit-backdrop-filter: blur(22px) grayscale(50%);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.gate__box { border: 4px solid var(--red); background: var(--bg); padding: 2.5rem; max-width: 520px; width: 100%; }
.gate__box h2 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red);
  font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: .9; margin: 0 0 1.2rem; letter-spacing: .01em; }
.gate__box p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0 0 1.8rem; }
.gate__actions { display: flex; gap: 1rem; }
.gate__actions .btn { flex: 1; }
.restricted__box { border: 4px solid var(--red); background: var(--bg); padding: 2.5rem; max-width: 520px; width: 100%; text-align: center; }
.restricted__box h2 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red); font-size: clamp(2rem,5vw,3rem); margin: 0 0 1rem; line-height: .95; }
.restricted__box p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ===== Cookie banner ===== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8500;
  background: var(--panel); border-top: 2px solid var(--red);
  padding: 1.2rem 5vw; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: center;
}
.cookie p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 720px; }
.cookie__actions { display: flex; gap: .6rem; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section--tight { padding: 4rem 0; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 1rem; }
.h-display { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: .9; letter-spacing: .008em; margin: 0; }
.lead { font-size: 15px; line-height: 1.8; color: var(--muted); }

/* Hero — matches mockup absolute overlap layout */
.hero { display: grid; grid-template-columns: 60% 40%; height: calc(100vh - 35px); position: relative; overflow: hidden; background: var(--bg); }
.hero__tags { position: absolute; top: 2rem; left: 2vw; z-index: 20; display: flex; gap: 10px; flex-wrap: wrap; max-width: 55vw; }
.tag { background: var(--panel); border: 1px solid var(--line); color: #fff; padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero__title { position: absolute; top: 50%; transform: translateY(-50%); left: 2vw; z-index: 10; font-family: 'Anton', sans-serif; font-size: 11vw; color: var(--red); pointer-events: none; white-space: normal; width: 85vw; line-height: .85; text-transform: uppercase; margin: 0; letter-spacing: .005em; }
.hero__card { position: absolute; bottom: 5rem; left: 2vw; width: 350px; max-width: 90vw; background: var(--panel); padding: 1.5rem; border-left: 5px solid var(--red); z-index: 20; }
.hero__card p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0 0 1.25rem; }
.hero__card-actions { display: flex; gap: 10px; }
.hero__card-actions .btn { flex: 1; }
.hero__visual { grid-column: 2; position: relative; background: var(--panel); overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.2) grayscale(20%); display: block; }

/* Games grid */
.games { padding: 5.5rem 0 6rem; }
.games__title { font-family: 'Anton', sans-serif; font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .85; color: var(--red); text-transform: uppercase; margin: 0 0 2.5rem; padding: 0 5vw; letter-spacing: .004em; }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 340px; gap: 0; }
.teamfaq-faq { margin-top: 3rem; }
.game-card { position: relative; overflow: hidden; cursor: pointer; background: var(--panel); border: none; padding: 0; text-align: left; color: inherit; }
.game-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .32s ease; }
.game-card:hover img, .game-card:focus-visible img { filter: brightness(.3) grayscale(100%); }
.game-card__panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: var(--red);
  transform: translateY(100%); transition: transform .38s cubic-bezier(.16,1,.3,1);
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between;
}
.game-card:hover .game-card__panel, .game-card:focus-visible .game-card__panel { transform: translateY(0); }
.game-card__panel h3 { font-family: 'Anton', sans-serif; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: .95; text-transform: uppercase; color: #fff; margin: 0 0 .5rem; letter-spacing: .01em; }
.game-card__panel p { font-size: 12px; line-height: 1.5; color: #fff; opacity: .92; margin: 0; }
.game-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.game-card__stats { font-size: 11px; letter-spacing: .04em; color: #fff; opacity: .9; }
.game-card__cta { background: var(--bg); color: #fff; padding: .5rem .9rem; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.game-card.span2 { grid-column: span 2; }
.game-card.row2 { grid-row: span 2; }

/* Game modal */
.game-modal { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 2vh 2vw; }
.game-modal__inner { width: 100%; max-width: 1100px; background: var(--bg); border: 3px solid var(--red); display: flex; flex-direction: column; max-height: 96vh; }
.game-modal__head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.game-modal__head h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #fff; margin: 0; font-size: 1.2rem; letter-spacing: .02em; }
.game-modal__close { background: transparent; border: 1px solid var(--line); color: #fff; width: 40px; height: 40px; cursor: pointer; font-size: 18px; line-height: 1; }
.game-modal__close:hover { background: var(--red); border-color: var(--red); }
.game-modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.game-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* About — ghost text + floating stat boxes (matches mockup) */
.about { position: relative; overflow: hidden; padding: 9rem 6vw; display: flex; justify-content: center; background: var(--bg); }
.about__ghost { position: absolute; inset: 0; font-family: 'Anton', sans-serif; font-size: 15vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(229,9,20,.15); text-transform: uppercase; word-break: break-word;
  user-select: none; pointer-events: none; overflow: hidden; }
.about__body { position: relative; z-index: 4; max-width: 600px; text-align: center; }
.about__body h1, .about__body h2 { font-family: 'Anton', sans-serif; font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; color: #fff; line-height: .9; margin: 0 0 1.5rem; letter-spacing: .008em; }
.about__body p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 1.2rem; }
.about__stat { position: absolute; background: var(--bg); border: 1px solid #fff; padding: 1rem 1.4rem; z-index: 5; }
.about__stat .n { font-family: 'Anton', sans-serif; font-size: 1.6rem; color: var(--red); line-height: 1; }
.about__stat .l { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about__stat.s1 { top: 12%; left: 8vw; }
.about__stat.s2 { bottom: 16%; left: 12vw; }
.about__stat.s3 { top: 20%; right: 9vw; }

/* Split (coins/login, generic 2-col) */
.split { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split > div { width: 50%; padding: 4rem 5vw; display: flex; flex-direction: column; justify-content: center; }
.split > div:first-child { border-right: 1px solid var(--line); }
.split h2, .split h1 { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: .9; margin: 0 0 1.5rem; letter-spacing: .008em; }
.split .accent-h { color: var(--red); font-size: clamp(2rem, 3.4vw, 3rem); }
.split .white-h { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.split p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 1.5rem; max-width: 440px; }
.field { display: flex; flex-direction: column; }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form textarea {
  background: transparent; border: none; border-bottom: 2px solid #fff; color: #fff;
  padding: .6rem 0; font-size: 12px; letter-spacing: .1em; width: 100%;
}
.form textarea { resize: none; }
.form input::placeholder, .form textarea::placeholder { color: #bbb; letter-spacing: .1em; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--red); }

/* Custom checkbox — equal sides */
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 11px; line-height: 1.5; color: var(--muted); letter-spacing: .02em; }
.check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 0; flex: 0 0 auto;
  width: 18px; height: 18px; border: 2px solid #fff; background: transparent; cursor: pointer; position: relative;
}
.check input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.check input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 6px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check span { flex: 1; }

/* Team */
.team-top { position: relative; min-height: 540px; }
.team-top__body { max-width: 620px; position: relative; z-index: 4; }
.team-top__body h1, .team-top__body h2 { font-family: 'Anton', sans-serif; font-size: clamp(2.2rem, 4vw, 3.6rem); text-transform: uppercase; color: #fff; line-height: .9; margin: 0 0 1.5rem; }
.team-top__body p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
.polaroid { position: absolute; width: 220px; height: auto; border: 10px solid #fff; border-bottom: 40px solid #fff; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.9); object-fit: cover; aspect-ratio: 1/1; transition: transform .3s ease; }
.polaroid:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 10; }
.polaroid.p1 { transform: rotate(-8deg); top: -20px; right: 15vw; z-index: 3; }
.polaroid.p2 { transform: rotate(12deg); top: 120px; right: 8vw; z-index: 2; }
.polaroid.p3 { transform: rotate(-5deg); top: 220px; right: 22vw; z-index: 1; filter: brightness(.6); }

/* Team members grid (team page) */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; margin-top: 3rem; }
.member { border: 1px solid var(--line); background: var(--panel); }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.member__body { padding: 1.4rem; }
.member__body h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #fff; margin: 0 0 .3rem; font-size: 1.3rem; letter-spacing: .02em; }
.member__role { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 .8rem; }
.member__body p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3rem; }
.faq-item h3, .faq-item h2 { font-family: 'Anton', sans-serif; font-size: clamp(1.2rem, 1.8vw, 1.6rem); text-transform: uppercase; color: var(--red); line-height: 1; margin: 0 0 .75rem; letter-spacing: .01em; }
.faq-item p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--line); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.review { border-left: 10px solid var(--red); padding: 2rem; background: var(--panel); }
.review p { font-size: 16px; line-height: 1.6; color: #fff; margin: 0 0 1.25rem; }
.review__name { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }

/* Reviews marquee (matches mockup) */
.reviews-marquee { background: var(--bg); padding: 4rem 0; border-top: 1px solid var(--line); overflow: hidden; }
.reviews-marquee__track { display: flex; width: max-content; animation: ri-marquee-fast 45s linear infinite; will-change: transform; }
.review-card { width: 400px; max-width: 80vw; flex-shrink: 0; border-left: 10px solid var(--red); padding: 2rem; background: var(--panel); margin-right: 2rem; }
.review-card p { font-size: 16px; line-height: 1.6; color: #fff; margin: 0 0 1.25rem; }
.review-card .nm { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
@keyframes ri-marquee-fast { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reviews-marquee__track { animation: none; flex-wrap: wrap; width: auto; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info { background: var(--red); color: #fff; padding: 4rem 5vw; }
.contact-info h1, .contact-info h2 { font-family: 'Anton', sans-serif; font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; line-height: .9; margin: 0 0 1.25rem; }
.contact-info > p { font-size: 14px; line-height: 1.7; margin: 0 0 2rem; opacity: .95; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-direction: column; gap: .9rem; font-size: 12px; line-height: 1.5; }
.contact-list strong { letter-spacing: .08em; }
.contact-info .form input, .contact-info .form textarea { border-bottom-color: #fff; }
.contact-info .form input:focus, .contact-info .form textarea:focus { border-bottom-color: var(--bg); }
.contact-info .check { color: #fff; }
.contact-info .check input[type="checkbox"] { border-color: #fff; }
.contact-info .check input[type="checkbox"]:checked { background: var(--bg); border-color: var(--bg); }
.contact-map { min-height: 500px; background: var(--panel); }
.contact-map iframe { width: 100%; height: 100%; min-height: 500px; border: 0; filter: grayscale(100%) invert(100%) contrast(150%); display: block; }

/* Disclaimer */
.disclaimer { background: var(--yellow); color: #000; padding: 2rem 5vw; border-top: 5px solid #000; border-bottom: 5px solid #000; }
.disclaimer p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.disclaimer .lbl { font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .03em; }
.disclaimer a { color: #000; text-decoration: underline; }
.disclaimer a:hover { color: var(--red); }

/* Legal content */
.legal { padding: 4rem 0 5rem; }
.legal h1 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .9; margin: 0 0 .5rem; }
.legal .legal-meta { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin: 0 0 2.5rem; }
.legal-content h2 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.2rem 0 .8rem; letter-spacing: .01em; }
.legal-content h3 { font-size: 1.05rem; color: #fff; margin: 1.6rem 0 .6rem; }
.legal-content p { font-size: 14px; line-height: 1.8; color: #bfbfbf; margin: 0 0 1rem; }
.legal-content ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal-content li { font-size: 14px; line-height: 1.8; color: #bfbfbf; margin-bottom: .4rem; }
.legal-content strong { color: #fff; }
.legal-content a { text-decoration: underline; }

/* Intro block for content pages */
.page-intro { padding: 3.5rem 0 1rem; }
.page-intro h1 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red); font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: .88; margin: 0 0 1.2rem; letter-spacing: .005em; }
.page-intro p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 760px; }

/* Lore (games page) */
.lore { padding: 2rem 0 5rem; }
.lore-item { border-top: 1px solid var(--line); padding: 2.5rem 0; display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.lore-item img { width: 100%; aspect-ratio: 9/7; object-fit: cover; border: 1px solid var(--line); }
.lore-item h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 1rem; line-height: .95; }
.lore-item p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 1.2rem; }
.lore-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.lore-stats li { font-size: 12px; line-height: 1.5; color: #bfbfbf; }
.lore-stats strong { color: #fff; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.lore-item .btn { margin-top: 1.4rem; }

/* Steps (how to play) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; margin-top: 1rem; }
.step { border: 1px solid var(--line); padding: 2rem 1.6rem; background: var(--panel); }
.step__num { font-family: 'Anton', sans-serif; font-size: 2.4rem; color: var(--red); line-height: 1; }
.step h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #fff; font-size: 1.2rem; margin: .6rem 0 .6rem; letter-spacing: .01em; }
.step p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ===== Footer ===== */
.footer { background: var(--panel2); color: var(--muted); padding: 4rem 5vw 2rem; font-size: 11px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__brand { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1rem; }
.footer__brand span { font-family: 'Anton', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .02em; }
.footer__brand .n1 { color: #fff; }
.footer__brand .n2 { color: var(--red); }
.footer p { line-height: 1.7; }
.footer__badge { display: inline-block; background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer__badge .dot { color: var(--red); }
.footer__rule { border-top: 1px solid var(--line); margin: 2rem 0; }
.footer__mid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 3rem; }
.footer__col-title { font-family: 'Anton', sans-serif; font-size: 13px; letter-spacing: .14em; color: #fff; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: #fff; }
.footer__news { display: flex; gap: 0; margin-bottom: .9rem; }
.footer__news input { flex: 1; min-width: 0; background: transparent; border: 1px solid var(--line); border-right: none; color: #fff; padding: .7rem .8rem; font-size: 11px; letter-spacing: .08em; }
.footer__news button { background: var(--red); color: #fff; border: none; padding: .7rem 1.1rem; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.footer__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.footer__badges span { border: 1px solid var(--line); padding: 6px 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom .left { max-width: 60%; line-height: 1.7; }
.footer__bottom .right { text-align: right; line-height: 1.7; }
.footer .check { font-size: 10px; }
.footer .check input[type="checkbox"] { width: 16px; height: 16px; }
.footer .check input[type="checkbox"]:checked::after { left: 3px; top: 0; width: 5px; height: 9px; }

/* ===== Auth (login / register) ===== */
.auth { padding: 5rem 5vw 6rem; display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 460px; border: 1px solid var(--line); background: var(--panel); padding: 3rem 2.5rem; }
.auth__card h1 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--red); font-size: clamp(2rem, 5vw, 3rem); line-height: .9; margin: 0 0 .8rem; letter-spacing: .008em; }
.auth__sub { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0 0 2rem; }
.auth .form { max-width: none; }
.auth .btn { width: 100%; margin-top: .5rem; }
.auth__alt { font-size: 13px; color: var(--muted); margin: 1.6rem 0 0; }
.auth__alt a { text-decoration: underline; }

/* ===== Form toast (centered modal) ===== */
.toast { position: fixed; inset: 0; z-index: 9600; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.toast__box { background: var(--bg); border: 3px solid var(--red); padding: 2.5rem 2rem; max-width: 420px; width: 100%; text-align: center; }
.toast__icon { width: 54px; height: 54px; margin: 0 auto 1.2rem; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; }
.toast__box h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; color: #fff; font-size: 1.6rem; margin: 0 0 .7rem; letter-spacing: .02em; }
.toast__box p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 0 1.6rem; }
.toast__box .toast-email { color: var(--red); font-weight: 700; word-break: break-word; }

/* ===== Support chat ===== */
.chat-toggle {
  position: fixed; right: 22px; bottom: calc(22px + var(--cookie-h)); z-index: 8600;
  width: 60px; height: 60px; background: var(--red); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chat-toggle:hover { transform: scale(1.06); box-shadow: 0 14px 36px rgba(229,9,20,.4); }
.chat-toggle svg { width: 28px; height: 28px; fill: #fff; }
.chat-panel {
  position: fixed; right: 22px; bottom: calc(22px + var(--cookie-h)); z-index: 8600;
  width: 360px; max-width: calc(100vw - 44px); height: 460px; max-height: calc(100vh - 100px);
  background: var(--bg); border: 2px solid var(--red); display: none; flex-direction: column;
}
.chat-panel.is-open { display: flex; }
.chat-head { background: var(--red); color: #fff; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.chat-head__id { display: flex; align-items: center; gap: .7rem; }
.chat-head__avatar { width: 34px; height: 34px; background: var(--bg); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Anton', sans-serif; }
.chat-head__name { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.chat-head__status { font-size: 10px; letter-spacing: .1em; opacity: .9; }
.chat-close { background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.chat-msg { max-width: 82%; padding: .6rem .8rem; font-size: 13px; line-height: 1.5; }
.chat-msg.bot { background: var(--panel); color: #fff; align-self: flex-start; border-left: 3px solid var(--red); }
.chat-msg.user { background: var(--red); color: #fff; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.chat-quick button { background: transparent; border: 1px solid var(--line); color: #fff; font-size: 11px; padding: .4rem .7rem; cursor: pointer; letter-spacing: .04em; }
.chat-quick button:hover { border-color: var(--red); color: var(--red); }
.chat-input { display: flex; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; padding: .8rem; font-size: 13px; }
.chat-input button { background: var(--red); color: #fff; border: none; padding: 0 1.1rem; cursor: pointer; font-family: 'Anton', sans-serif; letter-spacing: .04em; }

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  .about { display: block; padding: 4.5rem 6vw; }
  .about__body { max-width: 680px; margin: 0 auto; }
  .about__stats { position: relative; z-index: 5; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
  .about__stat { position: static; }
}
@media (max-width: 1100px) {
  .lore-item { grid-template-columns: 240px 1fr; gap: 1.8rem; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__tags { position: static; padding: 1.5rem 4vw 0; max-width: none; }
  .hero__title { position: static; transform: none; font-size: 16vw; padding: 4rem 4vw 1.5rem; width: auto; }
  .hero__card { position: static; margin: 0 4vw 3rem; width: auto; max-width: none; }
  .hero__visual { grid-column: auto; height: 55vh; }
  .games-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .game-card { grid-column: 1 / -1 !important; grid-row: auto !important; height: 300px; }
  .split { flex-direction: column; }
  .split > div { width: 100%; padding: 3rem 6vw; }
  .split > div:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__mid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-top { min-height: auto; display: flex; flex-wrap: wrap; gap: 1rem; }
  .team-top__body { width: 100%; }
  .polaroid { position: static; width: 28%; min-width: 0; border-width: 6px; border-bottom-width: 22px;
    transform: none !important; top: auto; right: auto; left: auto; margin: 0; }
  .polaroid.p3 { filter: none; }
  .lore-item { grid-template-columns: 1fr; gap: 1.2rem; }
  .lore-item img { max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__bottom .left, .footer__bottom .right { max-width: 100%; text-align: left; }
}
@media (max-width: 520px) {
  .section { padding: 3.5rem 0; }
  .header__row1 { padding: .9rem 5vw; }
  .team-grid { grid-template-columns: 1fr; }
  .lore-stats { grid-template-columns: 1fr; }
  .gate__box, .restricted__box { padding: 1.8rem; }
  .cookie { padding: 1rem 5vw; }
  .chat-panel { right: 12px; bottom: calc(12px + var(--cookie-h)); }
  .chat-toggle { right: 16px; bottom: calc(16px + var(--cookie-h)); }
}
@media (max-width: 430px) {
  .hero__card-actions { flex-direction: column; }
  .gate__actions { flex-direction: column; }
}
