@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url("/Nunito-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url("/Nunito-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  src: url("/Nunito-Black.woff2") format("woff2");
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background-color: #FFFFFF;
  color: #3E4464;
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-weight: 900;
  line-height: 1.2;
  color: #3e4464;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

a {
  color: #EA386A;
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero__cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.button {
  display: inline-flex;
  gap: 4px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: 46px;
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-decoration: none !important;
}

.button--icon {
  padding: 0 20px 0 28px;
}

.button:hover {
  box-shadow: 0 6px 15px rgba(62, 68, 100, 0.2);
}

.button--primary {
  background-color: #ffdc3d;
  box-shadow: 0 10px 30px -15px #ffd100;
  color: #372d00;
  border: 2px solid #ffdc3d;
}

.button--secondary {
  background-color: transparent;
  color: #ffdc3d;
  border: 2px solid #ffdc3d;
  transition: background-color 0.3s, color 0.3s;
}

.button--primary:hover,
.button--secondary:hover {
  background-color: #ffc933;
  color: #000;
}

.button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  height: 54px;
}

.button--special {
  background-color: #000;
  color: #fff;
}

/* --- Table --- */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(62, 68, 100, 0.1);
  margin-bottom: 2em;
}

.game-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  color: #000;
}

.game-table__header {
  background-color: #3E4464;
  color: #FFFFFF;
  padding: 15px 20px;
  text-align: left;
  font-weight: 700;
}

.game-table__cell {
  padding: 15px 20px;
  border-bottom: 1px solid #e8eaf6;
}

.game-table__body .game-table__row:last-child .game-table__cell {
  border-bottom: none;
}

.game-table__body .game-table__row:nth-child(even) {
  background-color: #f7f8fc;
}

.game-table__cell:first-child {
  font-weight: 700;
  color: #3c488d;
}

/* --- Lists --- */
.steps-list {
  padding-left: 20px;
  margin-bottom: 1em;
}

.steps-list__item {
  margin-bottom: 1em;
}

.steps-list--simple {
  padding-left: 20px;
}

.nested-list {
  list-style-type: '🐔';
  padding-left: 25px;
  margin-top: 0.5em;
}

.nested-list li {
  margin-bottom: 0.5em;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
}

.icon-list__item {
  padding-left: 35px;
  position: relative;
  margin-bottom: 0.8em;
}

.icon-list__item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  color: #EA386A;
}

.icon-list--large .icon-list__item {
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- Card --- */
.card__img {
  border-radius: 24px;
}

.card__title {
  color: #3E4464;
}

.card__text {
  margin-bottom: 1em;
}

/* --- FAQ --- */
.faq__item {
  border-bottom: 2px solid #e8eaf6;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 20px 34px 20px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: #3E4464;
}

.faq__question::-webkit-details-marker {
  display: none;
  /* for chrome */
}

.faq__question::after {
  content: '+';
  font-size: 2rem;
  font-weight: 400;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  color: #EA386A;
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  padding: 0 1em 1.2em 1em;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  padding: 7px 0;
  background-color: #425069;
  box-shadow: 0 2px 10px rgba(62, 68, 100, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo,
.logo {
  height: 60px;
  width: 60px;
}

.header__logo_box {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2000;
}

.title__app {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.subheader {
  margin-top: 16px;
}

.subheader__container {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
}

.subheader__link {
  color: #9fa5d5;
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* --- Hero Section --- */
.hero {
  padding: 30px 0 0;
  background: url(/bg2.webp) no-repeat;
  overflow: hidden;
  position: relative;
  color: #fff;
  text-align: center;
  background-size: cover;
}

.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(0deg, #3b3c50, transparent);
  bottom: 0;
  left: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__logo {
  position: relative;
}

.hero__logo_img {
  height: 120px;
  margin: 0 auto 32px;
  display: block;
}

.phone__shadow {
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, #EA386A, #00a2ff71);
  left: -40px;
  top: -60px;
  border-radius: 50%;
  filter: blur(80px);
  position: absolute;
  z-index: -1;
  animation: phone__shadow 6s infinite linear;
}

@keyframes phone__shadow {
  0% {
    transform: scale(1) translate(0);
  }

  30% {
    transform: scale(1.1) translate(-50px, -60px);
  }

  70% {
    transform: scale(1.3) translate(250px, -20px);
  }

  100% {
    transform: scale(1) translate(0);
  }
}

.hero__title {
  color: #ffffff;
  margin-bottom: 0.5em;
  font-size: 32px;
}

.hero__subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1em;
}

.hero__text {
  margin-bottom: 2em;
  letter-spacing: -0.01em;
}

.black {
  color: #151825;
}

.section--highlight .section__title {
  color: #fff;
}

.videobox {
  position: relative;
  margin-bottom: 24px;
}

.video {
  position: relative;
  border-radius: 32px;
  height: auto;
  width: 100%;
}

.videobox__mask {
  background: linear-gradient(180deg, #3a3e52 56px, #3e4464 57px, #151825);
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 10px;
  margin: auto;
  border-radius: 56px;
  border: 10px solid #466680;
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__rating {
  font-weight: 500;
  font-size: 14px;
  color: #fff;
}


.hamburger-button {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  border-radius: 8px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 10px;
  z-index: 1001;
  background-color: #ffdc3d;
}

.hamburger-button__line {
  width: 24px;
  height: 3px;
  background-color: #372d00;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.hamburger-button.is-active .hamburger-button__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-button.is-active .hamburger-button__line:nth-child(2) {
  opacity: 0;
}

.hamburger-button.is-active .hamburger-button__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.header__container {
  display: flex;
  justify-content: space-between;
}

.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background-color: #25283b;
  z-index: 1000;
  transition: right 0.2s linear;
  padding-top: 80px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* Состояние открытого меню */
.header__nav.is-open {
  right: 0;
}

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

.header__nav-link {
  display: block;
  padding: 15px 25px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}

.header__nav-link:hover {
  background-color: #00112277;
}

.body-no-scroll {
  overflow: hidden;
}

.red {
  font-weight: 900;
  color: #ffdc3d;
}

.white {
  color: #fff;
}

/* --- Section --- */
.section {
  padding: 60px 0;
}

.section__title {
  text-align: center;
  margin-bottom: 1em;
}

.section__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__text--note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1.5em;
}

.section--highlight {
  background-color: #3b3c50;
  color: #fff;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 90px 30px;
}

.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px 30px;
}

.card--full-width {
  background: #e9ebf1;
  padding: 32px;
  border-radius: 24px;
  text-align: center;
}

.how-to-play__steps {
  list-style: none;
  counter-reset: steps-counter;
  margin-top: 30px;
}

.how-to-play__step {
  position: relative;
  padding: 20px 20px 20px 80px;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(62, 68, 100, 0.2);
  counter-increment: steps-counter;
}

.how-to-play__step::before {
  content: counter(steps-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #fbe927;
  color: #651224;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.how-to-play__step strong {
  color: #3e4464;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.how-to-play__note {
  background-color: #e8eaf6;
  padding: 15px 20px;
  border-radius: 15px;
  margin-top: 20px;
  border-left: 5px solid #3e4464;
  text-align: center;
}

.how-to-play__imgbox {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
}

.how-to-play__bg {
  animation: blur 2.5s infinite;
}

@keyframes blur {
  0% {
    filter: blur(0)
  }

  50% {
    filter: blur(5px);
    transform: scale(1.01);
  }

  100% {
    filter: blur(0)
  }
}

.how-to-play__bet {
  position: absolute;
  bottom: 28px;
  left: 46px;
  border-radius: 12px;
  border: 2px solid #fbe927;
  box-shadow: 0 0 100px black;
  overflow: hidden;
  animation: jump 2.5s infinite;
}

.how-to-play__diff {
  position: absolute;
  bottom: 28px;
  left: 280px;
  border-radius: 12px;
  border: 2px solid #fbe927;
  box-shadow: 0 0 100px black;
  overflow: hidden;
  animation: jump 2.5s infinite;
}

.how-to-play__start {
  position: absolute;
  bottom: 28px;
  right: 46px;
  border-radius: 12px;
  border: 2px solid #fbe927;
  box-shadow: 0 0 100px black;
  overflow: hidden;
  animation: jump 2.5s infinite;
}

@keyframes jump {
  0% {
    transform: translate(0);
  }

  50% {
    transform: translate(0, -7px);
    transform: scale(1.03);
  }

  100% {
    transform: translate(0);
  }
}

.final-cta {
  text-align: center;
  margin-top: 3em;
  padding: 2em;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(234, 56, 106, 0.1);
}

.final-cta__text {
  font-size: 1.8rem;
  font-weight: 900;
  color: #3c488d;
  margin-bottom: 0.2em;
}

.final-cta__subtext {
  margin-bottom: 1.5em;
}


/* --- Footer --- */
.footer {
  padding: 30px 0;
  color: #e8eaf6;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.special__container {
  background: #3e4464;
  border-radius: 32px;
  padding: 48px 24px 24px;
  color: #ffffff;
  position: relative;
}

.special__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  top: 0;
  left: 0;
  border-radius: 32px;
}

.special__text {
  max-width: 70%;
  position: relative;
  z-index: 1;
}

.special__container .section__title,
.special__text,
.special__container .button {
  position: relative;
  z-index: 1;
}

.white {
  color: #fff;
}

.green {
  color: #00e171;
  font-weight: 900;
}

.special__img {
  position: absolute;
  z-index: 1;
  right: -50px;
  bottom: 0;
  max-width: 375px;
}

/* --- Sticky CTA Bar --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 -4px 15px rgba(62, 68, 100, 0.1);
  padding: 10px 0;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 200;
}

.sticky-cta--visible {
  transform: translateY(0);
}

.sticky-cta__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.sticky-cta__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.sticky-cta__info {
  flex-grow: 1;
  margin-right: 15px;
  min-width: 140px;
}

.sticky-cta__title {
  font-weight: 900;
  margin: 0;
  font-size: 1.1rem;
  color: #3E4464;
}

.sticky-cta__rating {
  margin: 0;
  font-size: 12px;
  color: #3E4464;
}

.mt24 {
  margin-top: 24px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  background: #eceef3;
  padding: 24px 24px 0;
  border-radius: 24px;
}

.BreadcrumbList {
  display: flex;
  gap: 16px;
  list-style: none;
}

/* --- New Additions for Page 2 --- */

/* Wrapper to center the icon list when it's standalone */
.centered-list-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.centered-list-wrapper .icon-list {
  text-align: left;
}

/* Modifier to align section titles to the left */
.section__title--left {
  text-align: left;
}

/* New Component: Media Block (for text + image) */
.media-block {
  display: flex;
  align-items: center;
  gap: 40px;
}

.media-block__text {
  flex: 1;
}

.media-block__image {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.media-block__image img {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(62, 68, 100, 0.1);
}

.feature-list {
  list-style: none;
  padding: 0;
}



/* --- Additions to Responsiveness section --- */

/* Inside @media (max-width: 768px) */
.media-block {
  flex-direction: column;
}

.media-block__text {
  order: 2;
  /* Text comes after image on mobile */
}

.section__title--left {
  text-align: center;
}

@media (max-width: 992px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card--full-width {
    padding: 20px;
  }

  .card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card--reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__logo_img {
    height: 80px;
    margin: -10px auto 20px;
  }

  .button {
    width: 100%;
    padding: 0 20px;
  }

  .button--icon {
    padding: 0 10px 0 16px;
  }

  .hero__cta-group {
    flex-direction: column;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero__text {
    font-size: 14px;
  }

  .title__app {
    font-size: 16px;
  }

  .header__rating {
    font-size: 12px;
  }

  .hero {
    background: url(/bg6-mobile.webp) no-repeat;
    background-size: cover;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .media-block__image {
    gap: 8px;
  }

  .media-block__image img {
    border-radius: 12px;
  }

  .special__text {
    max-width: 100%;
  }

  .special__img {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .header__buttons .sticky-cta__rating {
    display: none;
  }

  .header__logo,
  .logo {
    height: 50px;
    width: 50px;
  }

  .videobox__mask {
    border-radius: 20px;
    padding: 4px;
    border: 4px solid #466680;
    box-shadow: 0 10px 50px -10px #000414;
  }

  .video {
    border-radius: 12px;
  }

  .subheader__container {
    gap: 4px;
  }

  .section,
  .hero {
    padding: 40px 0;
  }

  .how-to-play__imgbox {
    border-radius: 16px;
  }

  .how-to-play__bet {
    bottom: 6px;
    left: 16px;
    border-radius: 16px;
    transform: scale(0.5);
    transform-origin: bottom left;
    animation: none;
  }

  .how-to-play__diff {
    bottom: 6px;
    left: 20%;
    border-radius: 16px;
    transform: scale(0.5);
    transform-origin: bottom left;
    animation: none;
  }

  .how-to-play__start {
    bottom: 6px;
    right: 16px;
    border-radius: 16px;
    transform: scale(0.5);
    transform-origin: bottom right;
    animation: none;
  }

  .how-to-play__step::before {
    position: relative;
    left: 0;
    top: 15px;
  }

  .how-to-play__step {
    padding: 20px;
  }

  .game-table__head {
    display: none;
  }

  .game-table__row {
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(62, 68, 100, 0.1);
    overflow: hidden;
  }

  .game-table__cell {
    display: block;
    border-bottom: 1px solid #e8eaf6;
    position: relative;
    padding: 10px;
  }

  .game-table__cell:last-child {
    border-bottom: 0;
  }

  .game-table__cell::before {
    content: attr(data-label);
    position: relative;
    left: 0;
    margin-right: 4px;
    font-weight: bold;
    text-align: left;
    color: #3E4464;
  }
}

@media (max-width: 790px) {
.special__img {
  max-width: 175px;
  right: 0;
  bottom: -20px;
  z-index: 1000;
}
}

@media (max-width: 480px) {
  .sticky-cta__container {
    justify-content: center;
    gap: 0px;
  }
}
