/* NeueWelle - Neon Wave */

/* Fonts */
@font-face {
  font-family: 'Gabarito';
  src: url('/assets/fonts/gabarito-var-latin.woff2?v=1') format('woff2');
  font-weight: 400 900;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('/assets/fonts/albert-sans-var-latin.woff2?v=1') format('woff2');
  font-weight: 100 900;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */
:root {
  --paper: #14172a;
  --paper-2: #1c2038;
  --card: #212545;
  --ink: #edeffa;
  --ink-soft: #a7accc;
  --paprika: #3ccfe6;
  --paprika-deep: #7de4f2;
  --amber: #f0b545;
  --cta: #ff5a49;
  --cta-deep: #e03e2d;
  --line: rgba(237, 239, 250, .14);
  --r: 3px;
  --r-btn: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, .3);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, .45);
  --header-offset: 64px;
}

/* Base */
* { 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(--paper);
  color: var(--ink);
  font: 400 16.5px/1.65 'Albert Sans', system-ui, sans-serif;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a { color: var(--paprika); }
p a:hover, li a:hover { color: var(--paprika-deep); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Gabarito', 'Albert Sans', sans-serif;
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: balance;
}
a { overflow-wrap: break-word; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.no-select, .btn, .burger, .nav a, .chat-toggle {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: clip;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.section-pad { padding-block: clamp(44px, 7vw, 104px); }
.nb { white-space: nowrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(20, 23, 42, .82);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 36px; height: 36px; }
.brand-name {
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
}
.brand-name b { color: var(--paprika); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 600;
  font-size: 15px;
  padding: 7px 4px;
  position: relative;
  transition: color .28s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: var(--paprika);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--paprika); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  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); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--primary {
  background: var(--paprika);
  color: #14172a;
}
.btn--primary:hover { background: var(--paprika-deep); box-shadow: var(--shadow-soft); }
.btn--go {
  position: relative;
  overflow: clip;
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 90, 73, .3);
}
.btn--go:hover, .btn--go:focus-visible {
  background: var(--cta-deep);
  box-shadow: 0 10px 26px rgba(255, 90, 73, .4);
}
.btn--go { animation: goBlink 2s ease-in-out infinite; }
.btn--go:hover, .btn--go:focus-visible { animation: none; }
@keyframes goBlink {
  0%, 55% { background-color: var(--cta); }
  76%, 84% { background-color: #17a4bd; }
  100% { background-color: var(--cta); }
}
.hidlink { position: absolute; z-index: -5; }

/* Hero */
.nw-stage {
  background-image: linear-gradient(180deg, rgba(20, 23, 42, .86) 0%, rgba(20, 23, 42, .78) 50%, rgba(20, 23, 42, .9) 100%), url('/assets/img/hero/stage-bg.avif?v2');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.nw-hero__inner {
  text-align: center;
  padding-block: 60px 0;
}
.nw-hero h1 {
  font-size: clamp(20px, 5vw, 62px);
  max-width: 23ch;
  margin-inline: auto;
}
.nw-hero h1 em {
  font-style: normal;
  color: var(--paprika);
}
.nw-hero__sub {
  margin-top: 18px;
  font-size: clamp(11px, 2.9vw, 19px);
  color: var(--ink-soft);
}
.hero-in {
  animation: heroIn .9s var(--ease) both;
}
.hero-in--2 { animation-delay: .14s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Section heads */
.section-head { margin-bottom: clamp(26px, 4vw, 52px); }
.section-head h2 { font-size: clamp(24px, 3.4vw, 40px); }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 17px; }

/* Top table */
.nw-top { padding-block: clamp(16px, 5vw, 72px); }
.nw-top__board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
}
.nw-row {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "logo main"
    "perks perks"
    "action action";
  align-items: center;
  gap: 10px 16px;
  padding: 30px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3), 0 20px 44px rgba(0, 0, 0, .45);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nw-row:hover {
  background: var(--paper);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .38), 0 26px 56px rgba(0, 0, 0, .55);
}
.nw-row__rank {
  position: absolute;
  top: -1px;
  left: 20px;
  width: 34px;
  height: 46px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  background: var(--amber);
  color: #14172a;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 17px;
  z-index: 2;
}
.nw-top__note {
  margin-top: 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}
.nw-row__logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 0;
}
.nw-row__logo img {
  width: clamp(55px, 6.5vw, 80px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
}
.nw-row__main { grid-area: main; min-width: 0; }
.nw-row__main h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: clip;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rating { display: flex; align-items: center; gap: 9px; }
.rating__num { font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.stars {
  position: relative;
  width: 96px; height: 18px;
  flex-shrink: 0;
}
.stars__row {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: clip;
  white-space: nowrap;
}
.stars__row svg {
  width: 18px; height: 18px;
  margin-right: 1.5px;
  flex-shrink: 0;
  fill: rgba(237, 239, 250, .18);
}
.stars__row--fill svg { fill: var(--amber); }
.nw-row__perks { grid-area: perks; display: grid; gap: 6px; }
.nw-row > .btn { grid-area: action; width: 100%; margin-top: 6px; }
.perk {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: clamp(11.5px, 2.6vw, 15px);
  color: var(--ink-soft);
}
.perk svg {
  width: 14px; height: 14px;
  color: var(--paprika);
  flex-shrink: 0;
  transform: translateY(2px);
}

/* Methodology */
.nw-method { background: var(--paper-2); }
.nw-method__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.nw-method__body h2 { font-size: clamp(24px, 3.4vw, 40px); }
.nw-method__body p { margin-top: 16px; color: var(--ink-soft); }
.nw-method__list { margin-top: 22px; display: grid; gap: 11px; }
.nw-method__list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  font-weight: 500;
}
.nw-method__list li svg {
  width: 16px; height: 16px;
  color: var(--paprika);
  flex-shrink: 0;
  transform: translateY(2px);
}
.nw-method__media { position: relative; }
.nw-method__media img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
}

/* Games page */
.pg-banner {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.pg-banner__inner { padding-block: clamp(38px, 6vw, 84px); }
.pg-banner h1 { font-size: clamp(27px, 4.2vw, 52px); max-width: 24ch; }
.pg-banner p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.gm-reviews { padding-block: clamp(40px, 6vw, 92px); }
.gm-review {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 54px);
}
.gm-review + .gm-review { border-top: 1px solid var(--line); }
.gm-review:nth-child(even) .gm-review__media { order: 1; }
.gm-review__media img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
}
.gm-review__head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.gm-review__head img {
  width: 52px; height: 52px;
  border-radius: 50%;
}
.gm-review__head h3 { font-size: clamp(21px, 2.6vw, 28px); }
.gm-review__body > p { color: var(--ink-soft); margin-top: 12px; }
.gm-review__body h4 {
  font-size: 16px;
  margin-top: 20px;
  letter-spacing: .01em;
}
.gm-review__facts { margin-top: 9px; display: grid; gap: 7px; }
.gm-review__facts li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.gm-review__facts li svg {
  width: 14px; height: 14px;
  color: var(--paprika);
  flex-shrink: 0;
  transform: translateY(2px);
}
.gm-review__body .btn { margin-top: 24px; }
.gm-review__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
}
.gm-choose { background: var(--paper-2); }
.gm-choose__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3.5vw, 48px);
}
.gm-choose__cols p { color: var(--ink-soft); }
.gm-choose__cols p + p { margin-top: 14px; }

/* About */
.ab-intro__inner { padding-block: clamp(38px, 6vw, 80px); }
.ab-intro h1 { font-size: clamp(27px, 4.2vw, 52px); max-width: 22ch; }
.ab-intro p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.ab-story { background: var(--paper-2); }
.ab-story__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.ab-story__media img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
}
.ab-story__body h2 { font-size: clamp(23px, 3.2vw, 38px); }
.ab-story__body p { margin-top: 15px; color: var(--ink-soft); }
.ab-values { padding-block: clamp(44px, 7vw, 104px); }
.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}
.ab-value {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.ab-value:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.ab-value h3 { font-size: 18px; margin-bottom: 9px; }
.ab-value p { color: var(--ink-soft); font-size: 15.5px; }

/* Contact */
.ct-intro__inner { padding-block: clamp(38px, 6vw, 80px); }
.ct-intro h1 { font-size: clamp(27px, 4.2vw, 52px); }
.ct-intro p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.ct-main { background: var(--paper-2); }
.ct-main__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}
.ct-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 16px;
}
.ct-form label { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; }
.ct-form input, .ct-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 12px 14px;
  font-size: 15.5px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ct-form textarea { resize: none; min-height: 130px; }
.ct-form input:focus, .ct-form textarea:focus {
  outline: none;
  border-color: var(--paprika);
  box-shadow: 0 0 0 3px rgba(60, 207, 230, .2);
}
.ct-info h2 { font-size: clamp(21px, 2.6vw, 30px); }
.ct-info p { margin-top: 13px; color: var(--ink-soft); }
.ct-info__list { margin-top: 20px; display: grid; gap: 12px; }
.ct-info__list li { display: flex; align-items: baseline; gap: 10px; font-weight: 500; }
.ct-info__list li svg { width: 15px; height: 15px; color: var(--paprika); flex-shrink: 0; transform: translateY(2px); }

/* Legal */
.legal-content { padding-block: clamp(36px, 5vw, 72px); }
.legal-content h1 { font-size: clamp(26px, 3.8vw, 44px); margin-bottom: 10px; }
.legal-content > p.legal-updated { color: var(--ink-soft); margin-bottom: 30px; font-size: 15px; }
.legal-content h2 { font-size: 21px; margin: 30px 0 10px; }
.legal-content p { color: var(--ink-soft); margin-top: 10px; }
.legal-content ul { margin-top: 10px; display: grid; gap: 7px; }
.legal-content ul li {
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 15px;
}
table.data th, table.data td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--ink-soft);
}
table.data th { color: var(--ink); font-weight: 700; border-top: 0; background: var(--paper-2); }
.x-wrap { overflow-x: auto; }

/* Footer */
.site-footer {
  background: #0e1122;
  color: #e3e6f6;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .4fr .55fr;
  gap: clamp(26px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 64px);
}
.site-footer__brand .brand { margin-bottom: 14px; }
.site-footer__brand .brand-name { color: #fff; }
.site-footer__brand p { color: rgba(227, 230, 246, .62); max-width: 52ch; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(227, 230, 246, .22);
  color: #e3e6f6;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.socials a:hover { background: var(--paprika); border-color: var(--paprika); color: #14172a; }
.socials svg { width: 17px; height: 17px; }
.site-footer__legal-h { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: rgba(227,230,246,.5); margin-bottom: 14px; font-family: 'Instrument Sans', sans-serif; font-weight: 700; }
.site-footer__legal ul { display: grid; gap: 10px; }
.site-footer__legal a { color: rgba(227, 230, 246, .82); font-size: 15px; transition: color .25s var(--ease); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__contact address {
  font-style: normal;
  color: rgba(227, 230, 246, .82);
  font-size: 15px;
  line-height: 1.7;
}
.site-footer__contact a { color: var(--paprika); font-size: 15px; display: inline-block; margin-top: 10px; }
.site-footer__contact a:hover { color: var(--paprika-deep); }
.site-footer__bar {
  border-top: 1px solid rgba(227, 230, 246, .14);
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(227, 230, 246, .55);
}


/* FAQ */
.nw-faq { padding-block: clamp(44px, 7vw, 104px); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--paprika);
  border-bottom: 2px solid var(--paprika);
  transform: rotate(45deg);
  transition: transform .32s var(--ease);
  flex-shrink: 0;
}
.faq-item.is-open summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-item__body { overflow: clip; padding: 0 22px; color: var(--ink-soft); }
.faq-item__body p { padding-bottom: 18px; }

/* Reveal */
.rv {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 97;
  background: #f2f4fd;
  color: #1a1d33;
  border-radius: var(--r);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin-inline: auto;
  transform: translateY(calc(100% + 24px));
  transition: transform .5s var(--ease);
}
.cookie.is-on { transform: translateY(0); }
.cookie p { font-size: 13.5px; line-height: 1.5; color: rgba(26, 29, 51, .85); }
.cookie p a { color: #c23a2c; }
.cookie__acts { display: flex; gap: 9px; flex-shrink: 0; }
.cookie .btn { padding: 9px 16px; font-size: 13.5px; }
.cookie .btn--primary { background: var(--cta); color: #fff; }
.cookie .btn--primary:hover { background: var(--cta-deep); }
.cookie .btn--ghost {
  background: transparent;
  border: 1px solid rgba(26, 29, 51, .35);
  color: #1a1d33;
}
.cookie .btn--ghost:hover { border-color: #1a1d33; }

/* Chat */
.chat-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--paprika);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 90, 73, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
}
.chat-toggle:hover { transform: scale(1.06); box-shadow: 0 16px 38px rgba(255, 90, 73, .5); }
.chat-toggle svg { width: 27px; height: 27px; }
.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 96;
  width: min(360px, calc(100vw - 32px));
  height: min(460px, calc(100dvh - 120px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
  overflow: clip;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  visibility: hidden;
  pointer-events: none;
  transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear 0s;
}
.chat-panel__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  background: #0e1122;
  color: #e3e6f6;
}
.chat-panel__head img { width: 38px; height: 38px; border-radius: 50%; }
.chat-panel__who strong { display: block; font-size: 15px; }
.chat-panel__who span { font-size: 12.5px; color: rgba(244, 235, 224, .6); }
.chat-panel__close {
  margin-left: auto;
  background: none;
  border: 0;
  color: rgba(244, 235, 224, .7);
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.chat-panel__close:hover { background: rgba(244, 235, 224, .12); color: #fff; }
.chat-panel__close svg { width: 17px; height: 17px; }
.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overscroll-behavior: contain;
}
.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: msgIn .4s var(--ease) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--paper-2);
  border-bottom-left-radius: 3px;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--cta);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.chat-form {
  display: flex;
  gap: 8px;
  padding: 11px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 9px 15px;
  font-size: 14.5px;
}
.chat-form input:focus { outline: none; border-color: var(--paprika); }
.chat-form button {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paprika);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s var(--ease);
}
.chat-form button:hover { background: var(--paprika-deep); }
.chat-form button svg { width: 17px; height: 17px; }

/* Toast */
.toast-back {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 10, 22, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.toast-back.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s var(--ease), visibility 0s linear 0s;
}
.toast {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  padding: 30px 34px;
  text-align: center;
  max-width: 420px;
  transform: translateY(14px) scale(.96);
  transition: transform .35s var(--ease);
}
.toast-back.is-on .toast { transform: translateY(0) scale(1); }
.toast h3 { font-size: 20px; margin-bottom: 8px; }
.toast p { color: var(--ink-soft); font-size: 15px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .chat-msg { animation: none; }
  .rv { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==== Responsive ==== */
@media (max-width: 1220px) {
  .site-header__row { padding-block: 6px; }
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 64px));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 28px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    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: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav a {
    width: 100%;
    padding: 15px 4px;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
}

@media (max-width: 1220px) {
  .nw-top__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .nw-method__grid, .ab-story__grid { grid-template-columns: 1fr; }
  .nw-method__media { order: -1; }
  .gm-review { grid-template-columns: 1fr; }
  .gm-review:nth-child(even) .gm-review__media { order: 0; }
  .ct-main__grid { grid-template-columns: 1fr; }
  .ab-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 15.5px; }
  .nw-hero__inner { padding-block: 10px 0; }
  .nw-hero__sub { display: none; }
  .nw-hero__sub { margin-top: 10px; }
  .nw-top__board { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .nw-row {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "logo main"
      "perks perks"
      "action action";
    gap: 4px 16px;
    padding: 8px 18px 8px 22px;
  }
  .nw-row__rank {
    width: 22px;
    height: 33px;
    font-size: 12px;
    left: 14px;
    padding-top: 5px;
  }
  .nw-row__logo {
    grid-area: logo;
    padding-right: 0;
    border-right: 0;
  }
  .nw-row__main { grid-area: main; align-self: center; }
  .nw-row__perks { grid-area: perks; gap: 4px; }
  .nw-row .btn { grid-area: action; width: 100%; margin-top: 10px; }
  .stars { width: 82px; height: 15px; }
  .stars__row svg { width: 15px; height: 15px; margin-right: 1.4px; }
  .ab-values__grid { grid-template-columns: minmax(0, 1fr); }
  .gm-choose__cols { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie p { font-size: 11.5px; }
  .cookie__acts { justify-content: center; }
}

@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .section-pad { padding-block: 34px; }
  .btn { padding: 12px 20px; }
  .gm-review__head img { width: 44px; height: 44px; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 16.5px; }
  .brand svg { width: 30px; height: 30px; }
  .chat-panel { right: 12px; }
  .chat-toggle { right: 12px; width: 52px; height: 52px; }
  .chat-toggle svg { width: 24px; height: 24px; }
}
