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

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji';
  line-height: 1.15; /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  -moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
  -o-tab-size: 4;
  tab-size: 4; /* 3 */
  scroll-behavior: smooth;
}

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

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

b,
strong {
  font-weight: bolder;
}

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

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;
}

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse;
}

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

button,
select {
  text-transform: none;
}
p {
  margin: 10px 0;
}
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; /* 1 */
  outline-offset: -2px; /* 2 */
}

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

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

summary {
  display: list-item;
}

:root {
  --light-primary: #fff;
  --accent-color: #630892;
  --accent-color-secondarily: #875f3b;
  --dark-primary: #000000;
  --hover-primary: #8563e0;
  --gold: #d39b1c;
  --border-color: #878776;
  --bg-th: #5278b8;
  --before: linear-gradient(145deg, #ff2300, #ffda00);
  --td-hover: #8f8d9b;
  --bg-list: linear-gradient(145deg, #1b4f73, #48c7b6, #ffb400 95%);
  --bt-btn-lang: linear-gradient(145deg, #223d99, #5fdede);
  --btn-color: linear-gradient(145deg, #f70515, #ef323b, #ff5f14);
  --btn-hover: linear-gradient(145deg, #e73844, #c7020f);
  --btn-active: linear-gradient(145deg, #c7020f, #a0020d);
  --bg-header: linear-gradient(313deg, #5799ce 10%, #d39b1c 57%, #1b4f73 82%);
  --bg-footer: linear-gradient(to top, #000000, #333333);
  --bg-box-btn: #ddcece;
}

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

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

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;
}
.bold {
  font-weight: 900;
}

: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: 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.5;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  background-color: var(--dark-primary);
  font-weight: 400;
}

h1 {
  letter-spacing: 0.095rem;
  font-family: sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 102%;
  margin-top: 15px;

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

h2 {
  font-family: sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 25px 0;
}

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

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

.img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.link {
  color: #ffcc29;
  text-decoration: underline;
  transition: all;
}

.link:hover {
  color: #ecddaa;
}

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

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

.logo {
  margin-left: 15px;

  @media (min-width: 762px) {
    margin-right: 135px;
    margin-left: 0px;
  }
}

.logo-link {
  margin-left: 15px;

  @media (min-width: 762px) {
    margin-right: 185px;
    margin-left: 0px;
  }
}

.hero-text {
  font-weight: 600;
  text-align: center;
  margin: 15px auto;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 10px;
  color: var(--light-primary);
  background: var(--btn-color);
  border-radius: 0.75rem;
  transition: all 0.1s ease;
  max-width: 350px;
  height: 60px;
  margin: 0 auto;
}

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

.button:active {
  letter-spacing: 0px;
  transform: skew(-10deg) translateY(6px);
  background: var(--btn-active);
}

.button-demo {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  top: 35%;
  left: 50%;
  z-index: 200;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  line-height: 48px;
  width: 14em;
  border: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  text-transform: uppercase;
  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.5s ease;

  @media (min-width: 762px) {
    width: 17em;
    font-size: 1.5em;
    top: 40%;
  }
}
.button-demo:hover {
  color: #000;
  background-color: fedc00;
  font-size: 1.55em;
}
.button-none {
  display: none;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 10px;
  color: var(--light-primary);
  background: var(--btn-color);
  border-radius: 0.75rem;
  transition: all 0.5s ease;
  max-width: 350px;
  height: 60px;
  margin: 10px auto;
}

.button-none.show {
  display: flex;
  transform: translateY(0);
}
.button-none:hover {
  transform: scale(1.05);
}

.img-box {
  width: 100%;
  height: auto;
  /* max-width: 700px; */
  border-radius: 15px;
  overflow: hidden;
  margin: 15px auto;

  & img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    display: block;
  }
}

.no-scroll {
  overflow: hidden;
}

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

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

/* ----------header----------- */
.header {
  display: flex;
  justify-content: center;
  top: 0px;
  left: 20px;
  background: var(--bg-header);
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  z-index: 998;
  transition: all 0.4s ease;
  width: 100%;
  padding: 10px 0px;
}

.bonusnow {
  display: none;
  @media (min-width: 762px) {
    display: inline-block;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;

  @media (min-width: 992px) {
    justify-content: space-evenly;
    max-width: 1200px;
  }
}

@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: 30px;
    align-items: center;
  }
}

.nav-item {
  position: relative;

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

.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-family: IBM Plex Sans, sans-serif;
  font-weight: 700;
  background-color: #f30000;
  padding: 0.875rem 0.8rem;
  font-size: 0.813rem;
  line-height: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: #ffffff;

  &:hover {
    background-color: red;
    color: var(--light-primary);
  }
}
.header-btn {
  @media (min-width: 768px) {
    background-color: #fff;
    color: #000;
  }
}

.menuButton {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10%;
  color: #090909;
  width: 2.4em;
  height: 2.5em;
  border-radius: 0.5em;
  transition: all 0.3s, opacity 0.15s ease-in-out;
  position: absolute;
  right: 35px;
  z-index: 999;
  margin: 0;
  padding: 0;

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

.menuButton:hover {
  border: 1px solid white;
}

.menuButton span {
  width: 20px;
  height: 2.1px;
  background: #fff;
  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: #fff;
  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;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-top: 80px;
  padding-left: 35px;
}

.nav-link {
  transition: all 0.3s ease;
  font-weight: 700;
  color: #fff;
}
.nav-link:hover {
  color: var(--dark-primary);
}
.nav-link.active {
  border-bottom: 2px solid var(--bg-accent-color);
  color: var(--accent-color);
  color: #0531c0;
}

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

/* Navigation dropdown styles */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--dark-primary);
}

.nav-dropdown-arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.nav-dropdown-toggle[aria-expanded='true'] .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 200px;
  margin-top: 5px;
}

.nav-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-content {
  padding: 10px 0;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--dark-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-dropdown-link:hover {
  background: var(--accent-color);
  color: #fff;
  border-left-color: var(--gold);
}

/* Hide dropdown on mobile devices */
@media (max-width: 991px) {
  .nav-item-dropdown {
    display: none;
  }
}

/* ------------ */

/* lang */

.language-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 30px;
  display: none;

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

.dropdown-btn {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  gap: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
  background: var(--before-color);
  border-radius: 15px;
  overflow: hidden;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content a {
  color: var(--light-primary);
  padding: 12px 16px;
  text-decoration: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob a {
  padding: 10px 5px;
  font-size: 16px;
}

.dropdown-content a:hover {
  background: var(--light-primary);
  color: var(--dark-primary);
}

.language-dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 991px) {
  .language-dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown-content.show {
    display: block;
    overflow-y: auto;
    max-height: 150px;
  }
}

/* ----- */

.questions {
  max-width: 635px;
}

@media (min-width: 768px) {
  .questions-faq {
    letter-spacing: 0.095rem;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 101%;
    text-align: center;
  }
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--dark-primary);
}
.questions-item {
  padding: 10px;
  border-radius: 10px;
  color: #070707;
  border: 2px solid;
}

.questions-content-box {
  &:hover .questions-title {
    color: #0531c0;
  }

  &:hover .questions-plus {
    background-color: #fff;
    border: 1px #0531c0 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: 22px;
  margin-bottom: 15px;
}

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

.top-line,
.bottom-line {
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #0531c0;
}

.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;
}

/* Автор */

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

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

.author__avatar {
  width: 50px;
  height: 50px;
  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;
  }
}

/* --------- */

@media (min-width: 992px) {
  .hero-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
  }

  .hero-box {
    width: 50%;
  }
}

.hero-mob-text {
  font-weight: 600;
  margin-top: 10px;

  @media (min-width: 768px) {
    display: none;
  }
}

.hero-list-mob {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;

  @media (min-width: 768px) {
    display: none;
  }
}

.hero-item-mob {
  width: 100%;
  margin: 5px;
}

.hero-list {
  margin-top: 20px;

  @media (max-width: 768px) {
    display: none;
  }
}

.hero-img-box {
  border-radius: 15px;
  overflow: hidden;
  margin-top: 15px;
  max-height: 400px;
  max-width: 300px;
  margin: 0 auto;

  & img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
  }

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

.list {
  font-family: IBMPlexSans, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  list-style: circle;
  padding-left: 20px;
  font-style: italic;
}

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

.table-double {
  margin: 30px auto;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'IBMPlexSans', 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #2c3e50;
  background: var(--light-primary);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  /* Фиксы для Safari/iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  overflow: hidden;
  isolation: isolate;
}

.table-double thead {
  background: linear-gradient(135deg, #d39b1c 0%, #ffb400 100%);
  position: relative;
  /* Фиксы для Safari/iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  overflow: hidden;
}

.table-double thead th {
  background: transparent;
  color: #ffffff;
  text-align: center;
  padding: 20px 15px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.table-double thead th:first-child {
  border-top-left-radius: 20px;
}

.table-double thead th:last-child {
  border-top-right-radius: 20px;
}

.table-double tbody td {
  padding: 18px 15px;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.table-double tbody td:first-child {
  font-weight: 600;
  color: #34495e;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-right: 3px solid transparent;
  background-clip: padding-box;
}

.table-double tbody td:last-child {
  font-weight: 700;
  color: #2c3e50;
}

.table-double tbody tr {
  transition: all 0.3s ease;
}

.table-double tbody tr:nth-child(even) {
  background: rgba(248, 249, 250, 0.5);
}

.table-double tbody tr:nth-child(even):hover {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
}

.table-double tbody tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

.table-double tbody tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

.table-double tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive design for table */
@media (max-width: 768px) {
  .table-double {
    font-size: 12px;
    border-radius: 15px;
  }

  .table-double thead th {
    font-size: 12px;
  }

  .table-double thead th,
  .table-double tbody td {
    padding: 10px 5px;
  }

  .table-double thead th:first-child,
  .table-double thead th:last-child {
    border-radius: 15px 15px 0 0;
  }

  .table-double tbody tr:last-child td:first-child,
  .table-double tbody tr:last-child td:last-child {
    border-radius: 0 0 15px 15px;
  }
}

/* Removed hover animation effects */
.table-double tbody td:first-child {
  position: relative;
}

/* ---- */

/* ---------------swiper-------------------- */
.swiper {
  & img {
    object-fit: contain;
  }
}

@media (max-width: 628px) {
  .swiper.desk {
    display: none;
  }
}

@media (min-width: 629px) {
  .swiper.mob {
    display: none;
  }
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: #ffbe1f;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active.swiper-pagination-bullet-active-main {
  background: var(--bg-list);
}

.bonuse-img-box {
  display: flex;
}

/* review */

.review-card {
  background: var(--light-primary);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-primary);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.positive-review {
  border-left: 5px solid #4caf50;
}

.positive-review .review-rating {
  color: #4caf50;
}

.neutral-review {
  border-left: 5px solid #ffc107;
}

.neutral-review .review-rating {
  color: #ffc107;
}

.negative-review {
  border-left: 5px solid #f44336;
}

.negative-review .review-rating {
  color: #f44336;
}

.review-card h3 {
  margin-top: 0;
  font-size: 1.2em;
  font-weight: bold;
}

.review-card .review-rating {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 10px;
}

.review-card .review-text {
  font-size: 1em;
  line-height: 1.5;
}

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

.plus-minus-box {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .plus-minus-box {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.group,
.demo-group {
  position: relative;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Pros styling */
.plus-group,
.demo-group[style*='#0e9209'] {
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  border: 2px solid #28a745;
  border-left: 6px solid #28a745;
}

/* Cons styling */
.minus-group,
.demo-group[style*='#ff0000'] {
  background: linear-gradient(135deg, #ffeaea 0%, #f8d7da 100%);
  border: 2px solid #dc3545;
  border-left: 6px solid #dc3545;
}

.plus-minus-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.plus-minus-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plus-minus-box ul li {
  display: flex;
  align-items: flex-start;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* Pros list items */
.plus-group ul li,
.demo-group[style*='#0e9209'] ul li {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #155724;
}

/* Cons list items */
.minus-group ul li,
.demo-group[style*='#ff0000'] ul li {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #721c24;
}

/* Icon styling for both existing and new classes */
.plus-group ul li::before,
.minus-group ul li::before,
.demo-group[style*='#0e9209'] ul li::before,
.demo-group[style*='#ff0000'] ul li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  margin-right: 12px;
  flex-shrink: 0;
}

.plus-group ul li::before,
.demo-group[style*='#0e9209'] ul li::before {
  content: '✓';
  background: #28a745;
  color: white;
}

.minus-group ul li::before,
.demo-group[style*='#ff0000'] ul li::before {
  content: '✕';
  background: #dc3545;
  color: white;
}

/* Additional decorative elements */
.group::after,
.demo-group::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  opacity: 0.1;
}

.plus-group::after,
.demo-group[style*='#0e9209']::after {
  border-top: 25px solid #28a745;
}

.minus-group::after,
.demo-group[style*='#ff0000']::after {
  border-top: 25px solid #dc3545;
}

/* -----------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-main */
.demo-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  @media (min-width: 992px) {
    align-items: center;
    flex-direction: row;
  }
}
.demo-main .iframe-bwb {
  width: 100%;
  max-height: 400px;
  @media (min-width: 768px) {
    max-height: 650px;
  }
}
/* demo */
.iframe-bwb {
  position: relative;
  overflow: hidden;
  /* border-radius: 10px; */
  background-color: #171515ff;
  margin-bottom: 15px;
}

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

  @media screen and (max-width: 768px) {
    height: 70vh;
  }
}

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

.iframe-bwb__button-box {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iframe-bwb__button {
  transform: translate(-50%, -50%);
  font-size: 1.1em;
  line-height: 48px;
  min-width: 250px;
  border: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 2px;
  padding: 4px 10px;
  color: var(--dark-primary);
  background: #f3f2f7;
  border-radius: 0.75rem;
  transition: all 0.1s ease;
  font-weight: 700;
  text-transform: uppercase;
}

.iframe-bwb__button:hover {
  background: var(--btn-hover);
}

.iframe-bwb__red {
  background: #ffcc29;
  transition: all 0.3s ease;
}

.iframe-bwb__red:hover {
  background: linear-gradient(145deg, #fded3f, #ffd000);
}

#game-container {
  /* margin-top: 20px; */
  width: 100%;
  max-width: 100%;
  height: 80vh;
  display: none;

  /* margin-bottom: 15px;  */
  background-image: url(./img/main/wildclusters-logo.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  @media screen and (max-width: 768px) {
    height: 60vh;
  }
}

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

.stake-img {
  display: block;
  margin: 20px auto;
}

.stake-num {
  font-size: 18px;
  font-weight: 600;
  color: #ffcc29;
}

.stake-box-item {
  display: flex;
  gap: 5px;
}

/* --- Карточка как на картинке --- */
.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 32px));
  background: #fff;
  color: #111;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
.hero-cta__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}
.hero-cta__sub {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #555;
}
.hero-cta__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.3px;
  border: 0;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #ffcc29;
  color: #111;
}
.btn--primary:hover {
  background: linear-gradient(145deg, #fded3f, #ffd000);
}

.btn--ghost {
  background: #f3f2f7;
  color: #111;
}
.btn--ghost:hover {
  background: #e8e7ef;
}

/* Появление демо и скрытие карточки */
#iframe-bwb__content {
}
.iframe-bwb.is-playing .iframe-bwb__content {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.game {
  width: 100%;
  max-width: 100%;
  height: 0; /* скрыто до старта */
  overflow: hidden;
  transition: height 0.25s ease;
  background: #0b1320;
  background-image: url(./img/main/wildclusters-logo.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.iframe-bwb.is-playing + .game {
  height: 420px; /* высота демо после клика */
}
@media (max-width: 768px) {
  .hero-cta {
    grid-template-columns: 1fr;
    text-align: left;
    bottom: 25%;
    padding: 18px;
  }
  .iframe-bwb.is-playing + .game {
    height: 320px;
  }
  .hero-cta__buttons {
    justify-content: center;
  }
}

/* iframe */
.game-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  /* margin-top: 50px; */
}

/* CTA под демкой */
.cta-under-demo {
  display: none;
  gap: 12px;
  padding: 16px;
  justify-content: center;
}
.iframe-bwb.is-playing + .game .cta-under-demo {
  display: flex;
}
.iframe-bwb.is-playing .iframe-bwb__content {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.hero-cta__text {
  text-align: center;
}

/* features */

.features-box {
  display: flex;
  gap: 30px;
}

.features-box > :first-child {
  flex: 1;
}

.features-box > :last-child {
  flex: 2;
}

/* ----- */

/* index */
.index-hero-box {
  position: relative;
}
.index-hero-1-img {
  position: absolute;
  top: -250px;
  right: 250px;
  height: 800px;
  width: 500px;
  max-inline-size: none;
  max-block-size: none;
}

.index-hero-1 {
  display: none;
  @media (min-width: 768px) {
    display: inline-block;
    width: 100%;
    background-image: url(/assets/img/main/main1-1.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
    padding: 240px 40px 140px 90px;
    margin-top: 50px;
  }
}
.index-title-1 {
  max-width: 500px;
  display: block;

  @media (max-width: 768px) {
    margin-left: 15px;
    margin-right: 15px;
  }

  @media (min-width: 768px) {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--light-primary);
    text-align: center;
    margin-bottom: 25px;
  }
}

.index-title-1,
.index-hero-1-img,
.index-button-box-1 {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 1s ease;
}
.index-hero-box:hover .index-title-1,
.index-hero-box:hover .index-hero-1-img,
.index-hero-box:hover .index-button-box-1 {
  opacity: 1;
  visibility: visible;
}
.index-hero {
  @media (min-width: 768px) {
    background-image: url(./img/main/background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding: 240px 40px 140px 90px;
    /*margin-top: 50px;*/
  }
}
.index-title {
  max-width: 500px;
  display: block;

  @media (max-width: 768px) {
    margin-left: 15px;
    margin-right: 15px;
  }

  @media (min-width: 768px) {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--light-primary);
    text-align: center;
    margin-bottom: 25px;
  }
}

.index-mob_img {
  width: 100%;

  @media (min-width: 768px) {
    display: none;
  }
}

.index-button-box {
  max-width: 500px;
  padding: 0px 15px;
}
.index-button-box-1 {
  max-width: 500px;
  padding: 0px 15px;
}

.index-hero-text {
  color: var(--light-primary);
  font-weight: 600;
  margin-bottom: 15px;
  margin: 0px 15px 15px 15px;
  text-align: center;

  @media (max-width: 768px) {
    color: var(--dark-primary);
    margin: 0px 0px 15px 0px;
    text-align: center;
  }
}

/* --hw-- */

@media (max-width: 768px) {
  .hw-title {
    margin-top: 15px;
  }
}

.win-img-box {
  position: relative;
  max-width: 320px;
  max-height: 380px;
  overflow: hidden;
  border-radius: 15px;

  @media (max-width: 768px) {
    margin: 0 auto;
  }
}

.static-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.parallax-img {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 100%;
  pointer-events: none;
}

.parallax-img-second {
  z-index: 2;
  opacity: 0.8;
  top: 63%;
  left: 60%;
}

.parallax-img-third {
  z-index: 3;
  opacity: 0.6;
  top: 55%;
  left: 55%;
}

@media (max-width: 768px) {
  .hw-button {
    display: none;
  }
}

.hw-section {
  position: relative;
  background: linear-gradient(145deg, #48c7b6, #ffb400 95%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 75px 20px;
  color: var(--light-primary);

  @media (min-width: 992px) {
    padding: 100px 185px;
  }
}

.hw-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hw-section > * {
  position: relative;
  z-index: 1;
}

.hw-list {
  @media (min-width: 1400px) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    & > li {
      flex: 1;
    }

    & .img-box {
      height: 90px;
    }

    & img {
      object-fit: cover;
      max-width: 500px;
    }
  }
}

/* --------wp------- */

.section-where-play,
.section-secondary {
  padding: 120px 20px 20px 20px;

  @media (max-width: 768px) {
    padding-top: 100px;
  }
}

.section-secondary {
  @media (max-width: 768px) {
    padding-top: 12px;
  }
}

.section-where-play {
  background: linear-gradient(to right, #3b5356, #19272a);
  color: var(--light-primary);
}

.wp-img-desk {
  display: none;
}

@media (min-width: 768px) {
  .where-play-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .wp-img-desk {
    display: block;
  }

  .wrapper {
    position: relative;
  }

  .section-where-play {
    font-size: 20px;
  }

  .wp-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
  }

  .section-secondary {
    --mask: radial-gradient(
      circle at var(--x, 70%) var(--y, 50%),
      black 25%,
      transparent 0
    );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f17000, #fffdb0);
    color: var(--dark-primary);
    -webkit-mask-image: var(--mask);
    mask-image: var(--mask);
    font-size: 20px;
    font-weight: 600;
  }

  .section-secondary h2 {
    font-size: 28px;
    font-weight: 900;
  }
}

@media (min-width: 768px) {
  .wp-flex {
    display: flex;
    gap: 20px;
    align-items: center;

    & > div {
      flex: 1;
    }
  }
}

/* download */

.download-section {
  width: 100vw;
  background-image: url('/assets/img/download/download-back-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-left: 10%;
  padding-right: 10%;
  overflow: hidden;
  height: 50vh;

  @media (min-width: 768px) {
    display: flex;
    align-items: center;
    height: 100vh;
  }
}

.download-hero-box {
  flex: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000000c5;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;

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

.download-title {
  color: #fff;
  text-align: center;
}

.download-btn {
  background-color: #f90000;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-family: IBM Plex Sans, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5rem;
  transition: all 0.14s ease-in-out;
  margin: 0 auto;
  display: block;
  max-width: 250px;
}

.download-btn:hover {
  color: #121212;
  background-color: #fedc00;
}

.download-img-box {
  flex: 1;
  position: relative;
  height: 350px;

  @media (min-width: 400px) {
    height: 350px;
    width: 300px;
  }

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

.download-img-top {
  position: absolute;
  border-radius: 20px;
}

.download-img-mid {
  position: absolute;
  left: -35%;
  bottom: -40px;
  width: 200px;
  height: 200px;
}

.download-img-bottom {
  position: absolute;
  right: -15%;
  top: 40px;
  width: 150px;
  height: 150px;

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

/* Mobile Styles */
.feature-box-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .feature-box-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #333;
  color: rgb(255, 255, 255);
  padding: 15px;
  border-radius: 10px;
  margin: 10px 0;
  text-align: center;
}

.feature-img img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.feature-text h3 {
  font-size: 18px;
  margin-top: 10px;
  color: #ffad1e;
}

.feature-text p {
  font-size: 14px;
  line-height: 1.4;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .feature-box {
    flex-direction: row;
    text-align: left;
    padding: 20px;
  }

  .feature-img {
    flex: 1;
    max-width: 250px;
  }

  .feature-text {
    flex: 2;
    padding-left: 20px;
  }

  .feature-text h3 {
    font-size: 22px;
  }

  .feature-text p {
    font-size: 16px;
  }
}

/* Основные стили */
.accordion-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  @media (min-width: 768px) {
    flex-direction: row;
  }
}

/* Аккордеон */
.accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  @media (min-width: 768px) {
    width: 35%;
  }
}

.accordion-button {
  width: 100%;
  padding: 10px 15px;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: bold;
}

.accordion-button:hover {
  color: #7a1dff;
}

/* Контент аккордеона */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 15px;
  font-size: 14px;
  color: #555;
}

/* Видео-контейнер */
.video-content {
  display: none;
  width: 100%;
  border-radius: 10px;
  @media (min-width: 768px) {
    display: inline-block;
    width: 65%;
  }
}

iframe.embed_feature {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}
#video-frame-mob {
  width: 300px;
  height: 188px;
  @media (min-width: 768px) {
    display: none;
  }
}

/* Стиль для кнопки с картинкой */
.button-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Базовое состояние изображения */
.button-block img {
  transition: transform 0.4s ease;
}

/* Вращение на 180 градусов при активном аккордеоне */
.accordion-content.active + .button-block img {
  transform: rotate(180deg);
}

.flex-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.blinking-btn {
  animation: blink 2s infinite;
  background-color: red; /* Красный фон */
  color: rgb(245, 245, 245);
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}

@keyframes blink {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
a {
  cursor: pointer;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #ffb400;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: var(--gold);
}

/* footer */

.footer {
  background: #b7b6b6;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #000;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  flex: 1 1 300px;
}

.logo-footer {
  max-height: 60px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badges img {
  height: 20px;
}

.footer-links {
  display: flex;
  flex: 1 1 300px;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  @media (min-width: 768px) {
    gap: 40px;
  }
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .footer-links {
    margin-top: 15px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    width: 100%;
    padding-left: 20px;
    gap: 0px;
    margin-bottom: 10px;
  }

  .footer-links ul {
    padding: 0;
    margin: 10px 0;
  }

  .footer-links ul li {
    margin-bottom: 6px;
    font-size: 14px;
    margin: 10px 0;
  }

  .footer-links + p {
    text-align: left;
    padding-left: 20px;
  }
}

/* // 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: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.offer.show {
  transform: translateY(0);
  opacity: 1;
}
.offer__inner {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(145deg, #5b5353, #f44a55, #e40310);
  color: #111;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  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: #fff;
  text-transform: uppercase;
  font-size: 30px;
}
.offer__cta {
  position: relative;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fcd804;
  color: #2b1e6e;
  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: inline-block;
  text-align: 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: #fff;
  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;
  }
  .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);
  }
}

.table-transposed {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.table-transposed thead {
  display: none;
}

.table-transposed tbody tr {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fafafa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table-transposed tbody tr td {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.table-transposed tbody tr td::before {
  content: attr(data-label);
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.3rem;
}

/* === Десктопный вид: обычная таблица === */
@media (min-width: 768px) {
  .table-transposed thead {
    display: table-header-group;
  }

  .table-transposed tbody tr {
    display: table-row;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .table-transposed tbody tr td {
    display: table-cell;
    margin: 0;
    border: 1px solid #ddd;
    padding: 0.8rem;
    vertical-align: top;
  }

  .table-transposed tbody tr td::before {
    display: none;
  }
}

/* casino cards */

.casino-card-wrapper {
  margin: 25px 0;
}

.casino-card {
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-style: normal;
  border-radius: 16px;
  box-shadow: 0 4px 4px -1px #0c0c0d1a, 0 4px 4px -1px #0c0c0d0d;
  overflow: hidden;
  margin: 20px 0;

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

.casino-table-row-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.casino-table-cells {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  padding-right: 10px;
}
.casino-table-cell strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
}

.casino-table-cell_logo {
  position: relative;
  flex: 0 0 120px;
  height: 120px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
}
.casino-table-cell_logo .casino-pos {
  position: absolute;
  left: 2px;
}

.casino-table-cell_rating {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  margin: 10px 0;
  color: #111827;
}
.casino-table-cell_rating .casino-name span {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.casino-rating-stars-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.casino-rating-numbers span {
  height: 14px;
}
.casino-rating-numbers .good-rating {
  color: #111827;
  font-weight: 400;
  font-size: 18px;
}
.casino-rating-stars img {
  width: 12px;
}

.casino-rating-content__hint {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 10;
}
.casino-table-cell_rating:hover .casino-rating-content__hint {
  display: block;
}

/* бонус */
.casino-table-cell_bonus {
  flex: 1 1 280px;
  background: #fffbec;
  border: 2px solid #fdf1ce;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.casino-bonus-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-dark);
  /* margin-bottom: 8px; */
}

.casino-bonus-number {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.casino-bonus-number small {
  font-weight: 400;
  font-size: 14px;
}
.text-bonus {
  color: #f97316;
  font-size: 16px;
  margin-top: 4px;
}

.casino-table-cell_features {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 15px 50px;
  color: #374151;

  @media (min-width: 768px) {
    margin: 15px 0;
  }
}
.casino-features-item::before {
  content: '';
  color: #10b981;
  margin-right: 6px;
}

.casino-table-cell_link {
  flex: 0 0 140px;
}

.casino-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(90deg, #facc15 0%, #f59e0b 100%);
  color: #111827;
  font-weight: 700;
  text-align: center;
  border-radius: 40px;
  text-decoration: none;
  overflow: hidden;
  transition: all;
}

.casino-link:hover {
  transform: scale(1.02);
}

.casino-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 1.6s infinite ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

/* --- футер --- */
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px 0;
  font-size: 11px;
  color: #6b7280;
  flex-direction: column;
  background-color: #f9fafb;
  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.casino-table-row-footer__text {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-style: Light;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0%;
}
.casino-licenses-mob {
  display: none;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .casino-table-row-inner {
    border: none;
    box-shadow: none;
  }
  .casino-rating-stars-wrap {
    margin: 0 auto;
  }

  .casino-table-cell_logo {
    height: 230px;
  }

  .casino-table-cells {
    flex-direction: column;
    align-items: stretch;
    padding: 0px;
    gap: 5px;
  }

  .casino-table-cell_bonus {
    padding: 8px;
  }

  .casino-table-cell_logo,
  .casino-table-cell_rating,
  .casino-table-cell_bonus,
  .casino-table-cell_features,
  .casino-table-cell_link {
    flex: 1 1 auto;
    text-align: left;
    /* padding-left: 20px; */
  }
  .casino-table-cell_link {
    padding-left: 0px;
  }
  .casino-table-cell_rating .casino-name span {
    margin-bottom: 2px;
    text-align: center;
  }
  .casino-bonus-number {
    font-size: 18px;
  }

  .casino-licenses-mob {
    display: block;
    font-size: 12px;
  }

  .casino-link-wrapper {
    max-width: 270px;
    margin: 15px auto;
  }

  .footer-wrap {
    padding: 12px 24px 6px 24px;
  }
}

.casino-table-cell_features .casino-features-item {
  gap: 5px;
  align-items: center;
  display: flex;
  position: relative;
  line-height: 1.85em;
  border-radius: 8px;
  padding: 2px 10px;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4a5b68;

  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 18px;
}

.casino-table-cell.casino-table-cell_features:hover * {
  background-color: rgba(144, 238, 144, 0.3) !important;
}
.casino-name {
  text-align: center;
}

.casino-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 14px;
  /* padding-bottom: 20px; */
  background-color: #f9fafb;
}

.casino-column {
  flex: 1 1 30%;
  min-width: 280px;
}

.casino-column span {
  margin-bottom: 10px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0%;
  color: #6b7280;
}

.casino-games,
.casino-additional-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.casino-games li,
.casino-additional-info li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.casino-additional-info li span {
  margin-left: auto;
}

.casino-additional-info li {
  padding-bottom: 3px;
  border-bottom: 1px solid #d9d9d9;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-dark);
}

.icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;

  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-icon {
  width: 50px;
  @media (max-width: 768px) {
    width: 60px;
  }
}

.toggle-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  scrollbar-color: transparent transparent;
  padding: 20px 20px;
  border: none;
  background-color: transparent;
}

.hidden {
  display: none;
}

.casino-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.casino-games li {
  display: flex;
  align-items: center;
  font-size: 10px;
}

.casino-games .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}
.hidden {
  display: none;
}

.card-back {
  height: 150px;
  background-size: cover;
  @media (min-width: 768px) {
    width: 200px;
    height: 200px;

    background-size: cover;
  }
}
.casino-card-img {
  background-color: var(--dark-primary);
  border-radius: 10px 10px 0 0;

  @media (min-width: 768px) {
    height: 144px;
    border-radius: 10px 0 0 0;
  }
}

.casino-table-cell_logo {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.card-back {
  margin: 0 auto;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;

  @media (min-width: 768px) {
    height: 144px;
    max-width: 150px;
  }
}

@media (min-width: 768px) {
  .casino-table-cell_logo {
    flex: 0 0 200px;
  }

  .card-back {
    width: 200px;
    max-height: 200px;
  }
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

@media (min-width: 768px) {
  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}
.payment-methods div {
  border: 1px solid #d1d9e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
}
.payment-methods div img {
  /* min-width: 36px;
    max-height: 18px; */
  padding: 3px;
}
.payment-methods li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icon {
  display: block;
  max-width: 100%;
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.collapse {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.collapse--open {
  height: auto;
}

.collapse > *:first-child {
  margin-top: 0;
}

.casino-info-block {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}

/* Demo Modal Styles */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.demo-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.demo-modal__content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  height: 90%;
  max-height: 700px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
}

.demo-modal__controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 10002;
}

.demo-modal__close,
.demo-modal__fullscreen {
  width: 44px;
  height: 44px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  backdrop-filter: blur(10px);
}

.demo-modal__close:hover,
.demo-modal__fullscreen:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.demo-modal__close:active,
.demo-modal__fullscreen:active {
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.demo-modal__fullscreen svg,
.demo-modal__close svg {
  transition: transform 0.2s ease;
}

.demo-modal__fullscreen:hover svg {
  transform: scale(1.1);
}

.demo-modal__close:hover svg {
  transform: rotate(90deg);
}

.demo-modal__header {
  padding: 20px 25px 15px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.demo-modal__header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.demo-modal__body {
  flex: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.demo-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

/* Fullscreen styles */
.demo-modal.fullscreen {
  background: rgba(0, 0, 0, 0.95);
}

.demo-modal.fullscreen .demo-modal__content {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

.demo-modal.fullscreen .demo-modal__header {
  display: none;
}

.demo-modal.fullscreen .demo-modal__controls {
  top: 20px;
  right: 20px;
}

.demo-modal.fullscreen .demo-modal__body {
  padding: 0;
  background: black;
}

/* Mobile styles */
@media (max-width: 768px) {
  .demo-modal__content {
    width: 98%;
    height: 95%;
    border-radius: 8px;
  }

  .demo-modal__header {
    padding: 15px 20px 10px;
  }

  .demo-modal__header h3 {
    font-size: 20px;
  }

  .demo-modal__controls {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .demo-modal__close,
  .demo-modal__fullscreen {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .demo-modal__close svg,
  .demo-modal__fullscreen svg {
    width: 16px;
    height: 16px;
  }
}

/* ================== LANGUAGE SWITCHER STYLES ================== */

.desktop-lang-switcher {
  @media (max-width: 768px) {
    display: none;
  }
}

.nav-mob .lang-switcher {
  position: absolute;
  top: 20px;
  left: 20px;
}

.nav-mob .language-btn {
  color: white;
}

.nav-mob .lang-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 1001;
  padding: 60px 20px 20px 20px;
  overflow-y: auto;
}

.nav-mob .lang-dropdown .lang-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #333;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-close-btn {
  display: none;
}

@media (max-width: 768px) {
  .nav-mob .lang-close-btn {
    display: flex;
  }
}

.lang-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
}

.language-btn:hover {
  opacity: 0.8;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: none;
  z-index: 1000;
}

.lang-dropdown::-webkit-scrollbar {
  display: none;
}

.lang-dropdown__title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.lang-section + .lang-section {
  margin-top: 16px;
}

.lang-section__title {
  margin: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lang-item {
  cursor: pointer;
  margin: 4px 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.lang-link {
  display: flex;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: #333;
  gap: 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-link:hover {
  background: #f5f5f5;
}

.lang-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-text {
  font-weight: 500;
  font-size: 16px;
}

.lang-text-bottom {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.lang-check {
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-item--active .lang-link {
  background: #e8f4f8;
}

.lang-item--active .lang-text {
  color: #0066cc;
}

.lang-item--active .lang-check {
  opacity: 1;
}

.hidden {
  display: none !important;
}
