
@font-face {
  font-family: 'DMSans';
  src: url('./fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('./fonts/DMSans-ExtraBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('./fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('./fonts/DMSans-Thin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

html {
  font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -o-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

hr {
  height: 0;
  color: inherit;
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
  margin: 10px 0px;
  font-size: 18px;
  font-weight: 700;
  display: block;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo,
    monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

:-moz-focusring {
  outline: 1px dotted ButtonText;
}

:-moz-ui-invalid {
  box-shadow: none;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

:root {
  --light-primary: #fff;
  --clr-bg-muted: #f6f7f8;
  --dark-bg: #000000;
  --dark-primary: #0b1020;
  --clr-text: #0b1320;
  --bg: #070a1a;
  --bio-dark: #31323b;
  --bio-wave: var(--bio-dark);
  --text: #e9ecf1;
  --muted: #b6becc;
  --bio-muted: #8a94a6;
  --clr-bg-1: #fff6df;
  --accent: #ff2d7a;
  --accent-hover: #ff4b93;
  --card: #ff1f74;
  --clr-accent: #d1194a;
  --clr-accent-2: #e33b62;
  --modal-bg: linear-gradient(145deg, #070a1a, #ff4b93, #d1194a);
  --bg-question-plus: #ffe8f9;
  --bg-footer: linear-gradient(to bottom, #31323b, #7a7c8a);
  --clr-border-1: #f1c24f;
  --clr-border-muted: #efefef;
  --dash: #ffffff80;
  --bg-td: var(--clr-bg-1);
  --bg-th: #ffd97a;
  --border-color: #878776;
  --minus-group: #4caf50;
  --plus-group: #f44336;

  --radius: 28px;
  --radius-inner: 22px;
  --container: 1200px;
  --pm-avatar-size: 44px;
  --bio-avatar: 56px;
}

.link {
  color: var(--accent);
  transition: all 0.3s ease;
}

.link:hover {
  color: var(--accent-hover);
}

.text-weight {
  font-weight: 700;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

a,
button {
  cursor: revert;
  text-decoration: none;
}

ol,
ul,
menu {
  list-style: none;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

input,
textarea {
  -webkit-user-select: auto;
}

meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
  box-sizing: border-box;
}

::-moz-placeholder {
  color: unset;
}

::placeholder {
  color: unset;
}

::marker {
  content: initial;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable='false'])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable='true']) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  background-color: var(--light-primary);
  font-weight: 400;
  color: var(--text);
}

body.demo-page .header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  display: none;
}
body.demo-page .header.header--visible {
  opacity: 1;
  pointer-events: auto;
  display: flex;
  background-color: var(--light-primary);
}

h1 {
  letter-spacing: 0.095rem;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 102%;
  margin-bottom: 15px;

  @media (min-width: 768px) {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 0;
  }
}

h2 {
  font-family: sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 15px;
}

h3,
h4 {
  font-weight: 600;
  font-size: 20px;
  margin-top: 10px;
}

.section {
  padding: 20px;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--dark-primary);
}

.section-top {
  padding-top: 110px;

  @media (min-width: 762px) {
    padding-top: 140px;
  }
}

@media (min-width: 1200px) {
  .logo-link {
    margin-right: 50px;
  }
}

.header.scrolled .nav-mob {
  background-color: var(--bg);
}

.header.scrolled {
  background-color: var(--light-primary);
  color: var(--dark-primary);
}

.hero-text {
  color: var(--dark-primary);
  max-width: 500px;
  margin: 0px auto 15px auto;
  padding: 0px 20px;
  font-weight: 600;

  & > p {
    text-align: center;
  }

  @media (min-width: 768px) {
    text-align: left;
    margin: 0px 0px 25px 0px;
  }
}

.no-scroll {
  overflow: hidden;
}

.hidden {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.header {
  position: fixed;
  top: 15px;
  left: 20px;
  border-radius: 40px;
  background: var(--bg-header);
  color: var(--light-primary);
  width: calc(100% - 40px);
  padding: 0px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  z-index: 998;
  transition: all 0.4s ease;

  @media (min-width: 762px) {
    padding: 10px 30px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0px 10px 25px;

  @media (min-width: 992px) {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  nav {
    margin-left: 75px;
  }
}

.nav-mob.is-visible {
  transform: translateY(0);
}

.nav-list {
  display: none;
}

@media (min-width: 992px) {
  .nav-list {
    display: flex;
    gap: 54px;
    align-items: center;
  }
}

.nav-item {
  color: var(--dark-primary);
  position: relative;

  &:hover {
    color: var(--accent);
  }
}

.nav-item-mob {
  color: var(--light-primary);

  &:hover {
    color: var(--accent);
  }
}

.header-box {
  position: relative;
  display: inline-block;
  margin-left: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 15px;

  @media (min-width: 992px) {
    display: flex;
  }
}

.line-vertical_navbar {
  background-color: var(--border-color);
  width: 1px;
  height: 1.75rem;
}

.header-btn {
  padding: 1rem 1.25rem;
  font-weight: 700;
  background-color: var(--accent);
  padding: 0.875rem 1rem;
  font-size: 0.813rem;
  line-height: 0.875rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  color: var(--light-primary);

  &:hover {
    background-color: var(--accent-hover);
  }
}

.menuButton {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10%;
  color: var(--dark-primary);
  width: 2.4em;
  height: 2.5em;
  border-radius: 0.5em;
  transition: all 0.3s;
  position: absolute;
  right: 35px;
  z-index: 999;
  margin: 0;
  padding: 0;
  @media (min-width: 992px) {
    display: none;
  }
}

.menuButton.active {
  background: var(--light-primary);
}

.menuButton:hover {
  border: 1px solid var(--accent);
}

.menuButton span {
  width: 20px;
  height: 2.1px;
  background: var(--accent);
  border-radius: 100px;
  transition: 0.3s ease;
}

.menuButton.active .top {
  transform: translateY(6px) rotate(45deg);
  width: 30px;
}

.menuButton.active .bot {
  transform: translateY(-6px) rotate(312deg);
  width: 30px;
}

.menuButton.active .mid {
  opacity: 0;
}

.nav-mob {
  transform: translateY(-200%);
  background: var(--bg-header);
  color: var(--dark-primary);
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 998;
  transition: all 0.4s ease;
  overflow-y: auto;

  overflow: hidden;
}

.nav-btn-close {
  position: absolute;
  top: 33px;
  right: 27px;
}

.nav-list-mob {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  font-weight: 600;
  margin-top: 80px;
}

.nav-link {
  transition: all 0.3s ease;
  font-weight: 700;
}

.nav-link.active {
  border-bottom: 2px solid var(--bg-accent-color);
  color: var(--accent);
}

.nav-link-mob.active {
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  position: relative;
}

/* Автор */

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
  color: var(--dark-primary);
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dark-primary);
  min-width: 0;
}

.author__avatar {
  width: var(--pm-avatar-size);
  height: var(--pm-avatar-size);
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.author__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.author__name {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  color: var(--pm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.author__role {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.readtime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 15px;
}

.readtime__icon {
  display: block;
}

@media (max-width: 640px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .author__name {
    font-size: 18px;
  }
  .readtime {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .author__name {
    font-size: 22px;
  }
}

/* === FAQ === */

@media (min-width: 768px) {
  .questions-faq {
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 3rem;
    font-weight: 700;
  }
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--dark-primary);
}

.questions-item {
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.questions-content-box {
  &:hover .questions-title {
    color: var(--accent);
  }

  &:hover .questions-plus {
    background-color: var(--light-primary);
    border: 1px var(--accent) solid;
  }
}

.questions-cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.questions-title {
  display: grid;
  grid-template-columns: 1fr 20px;
  cursor: pointer;
  align-items: center;
  font-size: 20px;
  margin-bottom: 15px;

  @media screen and (min-width: 768px) {
    font-size: 22px;
  }
}

.questions-plus {
  border-radius: 0.375rem;
  min-width: 1.875rem;
  height: 1.875rem;
  padding: 0.25rem;
  background-color: var(--bg-question-plus);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.top-line,
.bottom-line {
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: var(--accent);
}

.top-line {
  transform: rotate(90deg);
  transition: all 0.3s ease;
}

.questions-plus.active .top-line {
  transform: rotate(0deg);
}

.icon {
  width: 30px;
  height: 25px;
  fill: var(--light-primary);
}

.questions-content {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}

.questions-item {
  background: var(--light-primary);
  transition: background-color 0.2s ease;
  border-radius: 12px;
}
.questions-item.is-open {
  background: var(--clr-bg-1);
}

.questions-content p {
  font-size: 14px;

  @media screen and (min-width: 768px) {
    font-size: 18px;
  }
}

.questions-content a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--dark-primary);
  font-size: 16px;
}

.questions-content a::before {
  content: '';
  width: 10px;
  height: 12px;
  flex: 0 0 10px;
  background-color: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 12"><path d="M9 4.26795C10.3333 5.03775 10.3333 6.96225 9 7.73205L3 11.1962C1.66666 11.966 0 11.0037 0 9.4641V2.5359C0 0.996296 1.66667 0.0340469 3 0.803847L9 4.26795Z" fill="%23000"/></svg>')
    no-repeat 50% 50% / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 12"><path d="M9 4.26795C10.3333 5.03775 10.3333 6.96225 9 7.73205L3 11.1962C1.66666 11.966 0 11.0037 0 9.4641V2.5359C0 0.996296 1.66667 0.0340469 3 0.803847L9 4.26795Z" fill="%23000"/></svg>')
    no-repeat 50% 50% / contain;
  transition: transform 0.15s ease;
}

.questions-content a:hover {
  color: var(--dark-primary);
}
.questions-content a:hover::before {
  transform: translateX(2px);
}

.questions-content a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* === */

.list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 15px;
  padding: 20px 0px 0px 40px;
  margin-bottom: 15px;
}

.list-item {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  border-radius: 10px;

  &::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-weight: 700;
    font-size: 30px;
    background: var(--bg-th);
    color: var(--accent);

    border-radius: 50%;
    z-index: 2;
    color: var(--light-primary);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2),
      inset 0px -3px 6px rgba(0, 0, 0, 0.3),
      inset 0px 3px 6px rgba(255, 255, 255, 0.3);
  }
}

/* -------table--------- */

table {
  width: 100%;
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 500px) {
  th,
  td {
    font-size: 12px;
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  th {
    font-size: 10px;
  }
}

th {
  background-color: var(--bg-th);
  color: var(--dark-primary);
  font-weight: bold;

  &:first-child {
    border-top-left-radius: 10px;
  }

  &:last-child {
    border-top-right-radius: 10px;
  }
}

tr {
  transition: all 0.3s ease;
}

tbody tr:hover {
  background-color: var(--bio-dark);
  color: var(--light-primary);
}

.table-double {
  max-width: 900px;
  margin: 15px auto;
}

.table-double {
  table-layout: fixed;
  width: 100%;
}

.table-double th,
.table-double td {
  width: 50%;
  overflow-wrap: anywhere;
}

.table-double tr > td:nth-child(odd) {
  background: var(--bg-td);
  color: var(--dark-primary);
}

.table-triple td:first-child {
  background: var(--accent);
  color: var(--dark-primary);
}

/* footer */

.footer {
  width: 100%;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  background: var(--bg-footer);
  color: var(--text);
}

.footer-text {
  font-size: 12px;
}

.footer-payment-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.footer-payment-list {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-social-list {
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.social-link {
  display: block;
  transition: all 0.3s ease;
}

.footer-partners__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-links {
  margin-bottom: 35px;
  flex: 1;
}

.footer-links__group:not(:last-child) {
  margin-bottom: 35px;
}

.footer-links__group {
  display: flex;
  flex-direction: column;
  gap: 10px;

  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;

  & a:hover {
    color: var(--accent);
  }
}

@media screen and (min-width: 768px) {
  .footer-cover {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .social-link:hover {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 992px) {
  .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
  }

  .footer-links__group:not(:last-child) {
    margin-bottom: 0px;
  }
}
/* ---- */

/* ----------plus-minus------------- */

.plus-minus-box {
  margin-top: 15px;

  @media (min-width: 992px) {
    display: flex;
    gap: 15px;
  }
}

.group {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.plus-group {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.minus-group {
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
}

.plus-minus-box ul li {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.plus-group ul li::before {
  content: '✔';
  color: var(--minus-group);
  margin-right: 10px;
}

.minus-group ul li::before {
  content: '✖';
  color: var(--plus-group);
  margin-right: 10px;
}

/* -----------win-box--- */

@media (min-width: 725px) {
  .win-box {
    display: flex;
    gap: 10px;
  }

  .win-box > .win-box-width {
    max-width: 50%;
  }

  .img-mob {
    width: 30%;
  }
}

.win-box-width {
  margin-top: 15px;
}

/* demo */
/* .iframe-bwb {
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #171515ff;
}

.iframe-bwb__bg-image {
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(50%) blur(6px);
    background-image: url(./img/demo/demo2.webp);

}

.iframe-bwb__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.iframe-bwb__button {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    line-height: 48px;
    width: 10em;
    border: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    max-width: 99%;
    letter-spacing: 2px;
    padding: 15px 10px;
    color: var(--light-primary);
    background: var(--btn-color);
    border-radius: 0.75rem;
    transition: all 0.1s ease;
  
}

.iframe-bwb__button:hover {
    background: var(--btn-hover);
  }
  
  .btn-demo{
    background: #c2c0cf;
    top: 60%;
 }

 .btn-demo:hover{
    background: #aeadba;
 }

  #game-container {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    height: 500px; 
    display: none; 
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.main-icon-uoutube{
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 98px; 
    height: 68px; 
    background: url('./img/youtubelogo.svg') no-repeat center center; 
    background-size: contain;

    @media (min-width:768px) {
        width: 155px;
        height: 104px;
    }
}

.demo-group{
    background: var(--before-color);
    color:var(--light-primary);
    & li{
        background: var(--light-primary);
        color: var(--dark-primary);
        border: none;
    }
} */

/* --hw-- */

.hw-section-decorTop {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  z-index: 0;

  @media screen and (max-width: 768px) {
    top: -15px;
  }
}

.hw-section {
  background-color: var(--dark-bg);
  color: var(--text);
  margin-top: 40px;
  padding-bottom: 70px;
  padding-top: 70px;
  position: relative;
}

.hw-section h2 {
  color: var(--text);
}

/* -----------modal------ */
.offer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 999999;
  pointer-events: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.offer.show {
  transform: translateY(0);
  opacity: 1;
}
.offer__inner {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--modal-bg);
  color: var(--dark-primary);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-around;
  padding: 12px 16px;
}
.offer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer__brand img {
  width: 100px;
  height: 100px;
  /* margin-left: 50px; */
  transform-origin: center;
}
.offer__text {
  font-weight: 700;
  text-align: center;
  color: var(--light-primary);
  text-transform: uppercase;
  font-size: 22px;
  @media screen and (max-width: 720px), (max-width: 992px) {
    font-size: 24px;
  }
}
.offer__cta {
  position: relative;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fcd804;
  color: var(--dark-primary);
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: scales 0.9s ease-out both, pulse 3.2s ease-in-out 1s infinite;
}

.offer__cta:hover {
  transform: translateY(-1px);
  animation: scales 0.9s ease-out both, pulse 2.4s ease-in-out 0.9s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .offer__cta {
    animation: none !important;
  }
}

.offer__cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-25deg);
}

.offer__cta.shine::after {
  animation: shine 2s ease-in-out forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.offer__close {
  position: absolute;
  top: 25px;
  color: var(--light-primary);
  right: 30px;
  font-size: 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.offer__inner_block {
  display: flex;
  align-items: center;
  margin: 0 20px;
  gap: 15px;
}
@media (max-width: 720px) {
  .offer__inner {
    display: flex;
    flex-direction: column;
  }
  .offer__brand {
    grid-area: brand;
    min-width: 60px;
  }
  .offer__text {
    grid-area: text;
    font-size: 15px;
  }
  .offer__cta {
    grid-area: cta;
    justify-self: end;
  }
  .offer__close {
    grid-area: close;
    justify-self: end;
  }
  .offer__brand img {
    width: 50px;
    height: 50px;
    margin-left: 0px;
  }
  .offer__inner_block {
    align-items: center;
  }
}

.offer__brand img.pop-in {
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.offer__brand img.wiggle {
  animation: wiggle 0.8s ease-in-out both;
}

@keyframes popIn {
  0% {
    transform: scale(0.6) rotate(-10deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes scales {
  0% {
    transform: scale(0.6) rotate(-10deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(-10deg);
  }
  35% {
    transform: rotate(8deg);
  }
  55% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 130px 20px 140px;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero__media {
  background: linear-gradient(180deg, #ff4aa1 0%, #ff1f74 100%);
  border-radius: calc(var(--radius) + 4px);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 450px;
  margin: 0 auto;
}

.hero__img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Content */
.hero__title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: 0.2px;
}

.hero__text {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--muted);
}

.accent {
  color: #ffffff;
  font-weight: 700;
}
.accent::after {
  content: '';
}

/* Actions */
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;

  @media screen and (max-width: 981px) {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.btn--primary {
  background: var(--accent);
  color: var(--light-primary);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--light-primary);
  border-color: var(--accent);
}

.btn--ghost:hover {
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Wave */
.hero__wave {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 100%;
  min-width: var(--container);
  line-height: 0;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero {
    padding: 120px 20px 120px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__media {
    order: 2;
  }
  .hero__content {
    order: 1;
  }
}

/* картачки казино */

.ncr-rating__block {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(400px, 3fr);
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--clr-bg-muted);
  border: 3px solid var(--clr-border-muted);
  position: relative;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.ncr-rating__block--1 {
  background: var(--clr-bg-1);
  border-color: var(--clr-border-1);
}
.ncr-rating__block-style-2:not(.ncr-rating__block--1) {
  background: #f7f7f7;
  border-color: var(--clr-border-muted);
}
.ncr-rating__block-style-2:not(.ncr-rating__block--1) .ncr-rating__border {
  border-color: #f1f1f1;
}

.ncr-rating__border {
  position: relative;
  background: var(--light-primary);
  border-radius: var(--radius-inner);
  padding: 5px 24px;
  border: 4px solid #fce9b9;
}
.ncr-rating__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
}
.ncr-rating__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.ncr-rating__border-inner {
  position: absolute;
  top: -12px;
  left: -12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ncr-rating__badge {
  position: relative;
  width: 46px;
  height: 52px;
}
.ncr-rating__badge-icon {
  width: 100%;
  height: 100%;
  display: block;
}
.ncr-rating__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--light-primary);
  font-size: 18px;
}
.ncr-rating__bonus-title {
  margin: 0;
  padding: 10px 16px;
  background: #ffd97a;
  color: #4b3a00;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 2px 0 #e6c05f inset;
  white-space: nowrap;
}

.ncr-rating__content {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(200px, 1fr) minmax(
      180px,
      0.7fr
    );
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 10px 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ncr-rating__info,
.ncr-rating__refs {
  position: relative;
}
.ncr-rating__info::before,
.ncr-rating__refs::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 10%;
  width: 1px;
  height: 80%;
  background-image: linear-gradient(
    to bottom,
    var(--dash) 6px,
    transparent 6px
  );
  background-size: 1px 12px;
  background-repeat: repeat-y;
}

.ncr-rating__bonus {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ncr-rating__bonus-inner {
  flex-shrink: 0;
}
.ncr-rating__bonus-count {
  --size: 96px;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 8px solid #d6f5db;
  font-weight: 800;
  color: #0b1320;
  box-shadow: 0 0 0 4px #27c34b inset;
}
.ncr-rating__bonus-count span {
  font-size: 26px;
}
.ncr-rating__bonus-list {
  min-width: 0;
}
.ncr-rating__bonus-item {
  background: #fce0e7;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 0 #f5c9d4 inset;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.ncr-rating__bonus-item p {
  margin: 0;
  color: var(--clr-text);
  line-height: 1.35;
}
.ncr-rating__bonus-item p + p {
  margin-top: 6px;
  color: var(--bio-muted);
}
.ncr-rating__bonus-item strong {
 font-size: 14px;
}

.ncr-rating__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.ncr-rating__text {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--clr-text);
}
.ncr-rating__icon {
  flex: 0 0 28px;
}

.ncr-rating__refs {
  display: flex;
  justify-content: center;
}
.ncr-rating__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: var(--light-primary);
  text-decoration: none;
  font-weight: 800;
  padding: 18px 34px;
  border-radius: 999px;
  transition: 0.2s ease;
  min-width: 200px;
}
.ncr-rating__button:hover {
  background: var(--clr-accent-2);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .ncr-rating__content {
    grid-template-columns: 300px 1fr 220px;
  }
}
@media (max-width: 992px) {
  .ncr-rating__block {
    grid-template-columns: 1fr;
    padding: 14px 14px 18px;
    border-radius: 22px;
    gap: 14px;
  }
  .ncr-rating__border {
    padding: 16px;
    border-radius: 18px;
  }
  .ncr-rating__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      'bonus'
      'info'
      'refs';
    gap: 22px;
    padding: 0;
  }
  .ncr-rating__info::before,
  .ncr-rating__refs::before {
    display: none;
  }
  .ncr-rating__refs {
    justify-content: stretch;
  }
  .ncr-rating__button {
    width: 100%;
    max-width: none;
    padding: 18px 20px;
    font-size: 18px;
    border-radius: 999px;
  }
  .ncr-rating__bonus {
    grid-area: bonus;
    position: relative;
    align-items: center;
    padding-bottom: 18px;
  }
  .ncr-rating__bonus-inner {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  .ncr-rating__bonus-list {
    width: 100%;
    padding-right: 110px;
  }
  .ncr-rating__bonus-item {
    max-width: none;
  }
  .ncr-rating__bonus::after,
  .ncr-rating__info::after {
    content: '';
    display: block;
    margin-top: 18px;
    height: 1px;
    background-image: linear-gradient(
      to right,
      var(--dash) 6px,
      transparent 6px
    );
    background-size: 12px 1px;
    background-repeat: repeat-x;
  }
  .ncr-rating__info {
    grid-area: info;
    padding-bottom: 12px;
  }
  .ncr-rating__list {
    gap: 16px;
  }
  .ncr-rating__text {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .ncr-rating__image-wrap {
    height: 120px;
  }
  .ncr-rating__bonus-count {
    --size: 72px;
    border-width: 6px;
  }
  .ncr-rating__bonus-list {
    padding-right: 96px;
  }
  .ncr-rating__text {
    font-size: 17px;
  }
  .ncr-rating__bonus-item {
    padding: 14px 16px;
  }
}
@media (min-width: 993px) and (max-width: 1200px) {
  .ncr-rating__block {
    padding: 14px;
    gap: 16px;
  }
  .ncr-rating__image-wrap {
    height: 130px;
  }
  .ncr-rating__border {
    padding: 18px;
  }
  .ncr-rating__bonus-title {
    font-size: 14px;
    padding: 8px 14px;
  }
  .ncr-rating__content {
    grid-template-columns:
      minmax(200px, 0.9fr)
      minmax(220px, 1.1fr)
      minmax(120px, 0.7fr);
    gap: 18px;
    padding: 6px 0;
  }
  .ncr-rating__bonus-count {
    --size: 84px;
    border-width: 6px;
    box-shadow: 0 0 0 3px #27c34b inset;
  }
  .ncr-rating__bonus-count span {
    font-size: 22px;
  }
  .ncr-rating__bonus-item {
    padding: 12px 14px;
    max-width: none;
  }
  .ncr-rating__bonus-item p {
    font-size: 12px;
  }
  .ncr-rating__bonus-item p strong {
    font-size: 13px;
  }
  .ncr-rating__text {
    font-size: 10px;
    line-height: 1.35;
  }
  .ncr-rating__icon {
    width: 24px;
    height: 24px;
  }
  .ncr-rating__refs {
    justify-content: flex-end;
  }
  .ncr-rating__button {
    min-width: 180px;
    padding: 14px 22px;
    font-size: 16px;
  }
}

/* ======bio========= */
.bio {
  position: relative;
  background: var(--light-primary);
  color: var(--dark-primary);
  padding: 48px 20px 140px;
  overflow: hidden;
}

.bio__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 48px;
  align-items: start;
}

/* Автор */
.bio__author {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 14px;
}
.bio__avatar {
  width: var(--bio-avatar);
  height: var(--bio-avatar);
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.bio__meta {
  display: flex;
  flex-direction: column;
}
.bio__name {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}
.bio__role {
  margin-top: 6px;
  color: var(--bio-muted);
  font-size: 16px;
}

/* Соцкнопки */
.bio__social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.bio__social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--light-primary);
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bio__social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Текст справа */
.bio__content p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.5;
  max-width: 950px;
}

/* Волна */
.bio__wave {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1200px;
  line-height: 0;
}
.bio__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .bio {
    padding: 36px 20px 120px;
  }
  .bio__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bio__name {
    font-size: 22px;
  }
  .bio__content p {
    font-size: clamp(17px, 3.8vw, 22px);
  }
}

/* ========= download-section =================*/

.download-top-section {
  position: relative;
}

.section-fon {
  position: relative;
  width: 100vw;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-fon {
  width: 100vw;
  height: 50vh;
}

.section-fon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.section-fon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 -200px 150px 10px #070a1a;
  z-index: 2;
}

@media (min-width: 600px) {
  .section-fon {
    height: 65vh;
  }
}

@media (min-width: 1200px) {
  .section-fon {
    height: 78vh;
  }
}

.download-section {
  position: relative;
  padding: 40px 20px 80px 20px;
  max-width: 850px;
  margin: -70px auto 0 auto;
  z-index: 3;
  overflow: hidden;
}

.download-box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}

.download-cover {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
}

.download-img {
  border-radius: 20%;
  grid-column: 1;
}

.download-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.download-title {
  line-height: 1.7rem;
  font-size: 1.2rem;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0 0 5px 0;

  @media (min-width: 600px) {
    font-size: 1.7rem;
  }

  @media (min-width: 992px) {
    font-size: 1.9rem;
  }
}

.download-content a {
  color: var(--accent);
  line-height: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.00625em;
  font-weight: 500;
}

.info-cover {
  margin-top: 15px;

  @media (min-width: 600px) {
    display: flex;
  }
}

.info-container {
  display: flex;
  align-items: center;
  gap: 50px;

  @media (max-width: 600px) {
    margin-bottom: 15px;
  }
}

.rating-value {
  display: flex;
  align-items: center;
  gap: 3px;
}

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.info-box:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -30px;
  height: 100%;
  width: 1px;
  background-color: var(--bg);
}

.info-content {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.info-description {
  font-size: 14px;
  color: var(--muted);
}

.icon {
  font-style: normal;
  margin-left: 5px;
}

.info-btn {
  background: var(--accent);
  width: 100%;
  margin: 0 auto;

  @media (min-width: 600px) {
    max-width: 200px;
  }

  @media (min-width: 768px) {
    max-width: 300px;
  }
}

.info-btn:hover {
  background: var(--accent-hover);
}

/* ------list-2--------- */

.feature-list {
  list-style: none;
  margin: 15px 0px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--clr-bg-1);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-left: 26px;
}

.feature-list p {
  margin: 0;
  color: var(--dark-primary);
  line-height: 1.45;
  font-size: 18px;
}

.feature-list p > span {
  font-weight: 800;
  color: var(--dark-primary);
}

@media (max-width: 640px) {
  .feature-list {
    padding: 16px 18px;
    gap: 10px;
  }
  .feature-list p {
    font-size: 16px;
  }
  .feature-list li {
    padding-left: 24px;
  }
  .feature-list li::before {
    width: 12px;
    height: 12px;
    top: 0.5em;
  }
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12' fill='none'>\
<path d='M9 4.268c1.333.77 1.333 2.694 0 3.464L3 11.196C1.667 11.966 0 11.004 0 9.464V2.536C0 .996 1.667.034 3 .804L9 4.268Z' fill='%23ff2b72'/>\
</svg>");
}
