:root {
  --navy: #11173b;
  --navy-2: #141c4a;
  --navy-3: #192257;
  --pink: #ff2c87;
  --pink-soft: #ff4e92;
  --text: #141c4a;
  --muted: #616885;
  --white: #ffffff;
  --shell: 2070px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--navy);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--navy);
}

.header-main {
  background: var(--navy);
}

.header-main__inner {
  height: 65px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 156px;
  height: auto;
}

.hamburger {
  display: none;
  width: 24px;
  height: 18px;
  padding: 0;
  margin: 0 18px 0 0;
  border: 0;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 6px;
  border-radius: 20px;
  background: var(--white);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-width: 115px;
  height: 39px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--white);
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
}

.btn--pink {
  background: var(--pink);
}

.gift-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-3);
}

.gift-button svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.language {
  height: 37px;
  min-width: 94px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #9ca7e2;
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.language svg {
  width: 12px;
  height: 8px;
  fill: var(--white);
}

.top-nav {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-2);
}

.top-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 24px;
  color: var(--white);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.top-nav svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.top-nav .search-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink);
}

.top-nav .search-dot svg {
  width: 13px;
  height: 13px;
}

.page {
  padding-top: 115px;
  background: var(--white);
}

.hero {
  position: relative;
  aspect-ratio: 1920 / 600;
  min-height: 420px;
  overflow: hidden;
}

.hero__picture,
.hero__picture img {
  width: 100%;
  height: 100%;
}

.hero__picture img {
  object-fit: cover;
}

.hero__content {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 4vw, 72px);
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
}

.hero__logo {
  width: clamp(210px, 17vw, 313px);
  height: auto;
  margin-bottom: 46px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 2.6vw, 48px);
  font-weight: 500;
  line-height: 1.05;
}

.hero__button {
  margin-top: clamp(60px, 6vw, 96px);
  width: 252px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--pink);
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.hero__dots span {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.hero__dots .is-active {
  background: rgba(255, 255, 255, 0.65);
}

.featured {
  padding-top: 62px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-heading h2,
.games-heading h2 {
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.section-heading a {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy-2);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
}

.section-heading a span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-weight: 800;
}

.featured-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.featured-card {
  position: relative;
  width: 303px;
  flex: 0 0 303px;
  min-height: 153px;
  border-radius: 24px;
  overflow: visible;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 40%, rgba(255, 255, 255, 0.13), transparent 32%),
    linear-gradient(135deg, #25305f 0%, #151b48 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.featured-card::after {
  content: "7";
  position: absolute;
  right: 16px;
  top: 12px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-12deg);
}

.featured-card__title {
  position: absolute;
  z-index: 1;
  left: 15px;
  top: 14px;
  max-width: calc(100% - 28px);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
}

.featured-card__provider {
  position: absolute;
  z-index: 1;
  left: 15px;
  top: 34px;
  max-width: 58%;
  margin: 0;
  font-size: 12px;
  line-height: 1.1;
}

.featured-card__image {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: -18px;
  width: 101px;
  height: 103px;
  object-fit: cover;
  border-radius: 12px;
}

.featured-card__play {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 15px;
  min-width: 91px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--pink);
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.games {
  padding-top: 37px;
  padding-bottom: 142px;
}

.games-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}

.games-heading span {
  color: var(--text);
  text-transform: uppercase;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 28px 24px;
}

.game-card {
  min-width: 0;
}

.game-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(17, 23, 59, 0.18);
}

.game-card__title {
  margin: 16px 0 0;
  min-height: 28px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.game-card__provider {
  margin: 4px 0 0;
  color: var(--pink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.load-more {
  display: block;
  width: 170px;
  height: 46px;
  margin: 62px auto 0;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--pink);
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.longread {
  max-width: 1180px;
  margin: 76px auto 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

.longread h2 {
  margin: 46px 0 16px;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.22;
  text-transform: none;
}

.longread h2:first-child {
  margin-top: 0;
}

.longread p {
  margin: 0 0 18px;
  color: #27305f;
  font-size: 17px;
  line-height: 1.72;
}

.longread h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.casino-facts {
  margin: 18px 0 28px;
  overflow: hidden;
  border: 1px solid #d8dcee;
  border-radius: 8px;
  background: #fff;
}

.casino-facts table {
  width: 100%;
  border-collapse: collapse;
  color: #27305f;
  font-size: 15px;
  line-height: 1.45;
}

.casino-facts caption {
  padding: 14px 18px;
  background: #f4f6fb;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.casino-facts th,
.casino-facts td {
  padding: 13px 18px;
  border-top: 1px solid #e4e7f2;
  vertical-align: top;
}

.casino-facts th {
  width: 240px;
  color: var(--text);
  font-weight: 800;
  text-align: left;
  background: #fafbff;
}

.casino-facts td {
  font-weight: 500;
}

.longread-faq {
  display: grid;
  gap: 14px;
  margin: 8px 0 4px;
}

.longread-faq section {
  padding: 18px 20px;
  border: 1px solid #e4e7f2;
  border-radius: 8px;
  background: #fff;
}

.longread-faq p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  padding: 46px 24px 22px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.08fr 2.4fr;
  gap: 72px;
  align-items: start;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 34px;
}

.footer-brand p {
  max-width: 350px;
  margin: 0 0 22px;
  color: #e9e9e9;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.footer-brand a,
.legal a {
  color: var(--pink);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}

.footer-columns h3 {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.footer-columns a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
  color: #e9e9e9;
  font-size: 15px;
  line-height: 1.2;
}

.footer-columns span {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--pink);
  position: relative;
}

.footer-columns span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 5px;
  height: 3px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.payments {
  margin-top: 58px;
  padding-top: 36px;
  border-top: 1px solid rgba(156, 167, 226, 0.23);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.payments img {
  max-width: 132px;
  max-height: 34px;
  object-fit: contain;
}

.security {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 38px;
}

.security img {
  max-width: 150px;
  max-height: 50px;
  object-fit: contain;
}

.security img:nth-child(1) {
  max-width: 225px;
}

.security img:nth-child(2) {
  max-width: 105px;
}

.security img:nth-child(3),
.security img:nth-child(4) {
  max-width: 40px;
  max-height: 40px;
}

.security img:nth-child(5) {
  max-width: 245px;
}

.security img:nth-child(6) {
  max-width: 142px;
}

.security img:nth-child(7) {
  max-width: 170px;
}

.security img:nth-child(8) {
  max-width: 166px;
}

.guru {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.guru img {
  width: 104px;
  height: auto;
}

.legal {
  max-width: 1240px;
  margin: 32px auto 0;
  color: #f4f4f4;
  text-align: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.22;
}

.legal p {
  margin: 0 0 4px;
}

.cookies {
  display: block;
  margin: 58px auto 0;
  border: 0;
  color: #898fa9;
  background: transparent;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
}

.mobile-bar {
  display: none;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #25305f;
  cursor: pointer;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

@media (max-width: 1439px) {
  .games-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .site-shell {
    width: calc(100% - 32px);
  }

  .header-main__inner {
    height: 52px;
  }

  .hamburger {
    display: block;
  }

  .brand img {
    width: 150px;
  }

  .gift-button,
  .language,
  .top-nav {
    display: none;
  }

  .btn {
    min-width: 98px;
    height: 42px;
    font-size: 14px;
  }

  .btn--outline {
    background: var(--pink);
    border-color: var(--pink);
  }

  .btn--pink {
    background: transparent;
    border-color: var(--white);
  }

  .page {
    padding-top: 52px;
  }

  .hero {
    width: 100%;
    min-height: 0;
    aspect-ratio: 600 / 540;
  }

  .hero__content {
    width: 100%;
    align-items: center;
    padding-top: 18px;
  }

  .hero__logo {
    width: min(205px, 42vw);
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: clamp(27px, 5.6vw, 42px);
    line-height: 1.02;
  }

  .hero__button {
    width: min(190px, 43vw);
    height: 56px;
    margin-top: auto;
    margin-bottom: 54px;
    font-size: 14px;
  }

  .hero__dots {
    bottom: 31px;
  }

  .featured {
    width: 100%;
    padding-top: 37px;
    overflow: hidden;
  }

  .section-heading {
    width: calc(100% - 32px);
    margin-inline: auto;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .games-heading h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .featured-track {
    width: max-content;
    display: flex;
    gap: 18px;
    padding-left: 0;
    transform: translateX(calc(-1 * (303px + 18px) * 3 - 47px));
  }

  .featured-card {
    width: 303px;
    min-height: 153px;
    flex: 0 0 303px;
  }

  .featured-card__title {
    font-size: 18px;
    top: 18px;
  }

  .featured-card__provider {
    top: 42px;
    font-size: 16px;
  }

  .featured-card__image {
    width: 101px;
    height: 103px;
    bottom: -18px;
  }

  .featured-card__play {
    min-width: 110px;
    height: 42px;
    font-size: 16px;
  }

  .games {
    padding-top: 50px;
    padding-bottom: 74px;
  }

  .games-heading {
    display: block;
    margin-bottom: 38px;
  }

  .games-heading span {
    display: block;
    margin-top: 4px;
    font-size: 16px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .game-card:first-child {
    grid-column: span 2;
  }

  .game-card__image {
    border-radius: 26px;
  }

  .game-card__title {
    margin-top: 12px;
    font-size: 13px;
  }

  .load-more,
  .site-footer,
  .scroll-top {
    display: none;
  }

  .longread {
    margin-top: 52px;
    padding-bottom: 28px;
  }

  .longread h2 {
    margin-top: 34px;
    font-size: 22px;
    line-height: 1.25;
  }

  .longread p {
    font-size: 15px;
    line-height: 1.66;
  }

  .longread h3 {
    font-size: 17px;
    line-height: 1.28;
  }

  .casino-facts {
    margin: 16px 0 24px;
  }

  .casino-facts table,
  .casino-facts tbody,
  .casino-facts tr,
  .casino-facts th,
  .casino-facts td {
    display: block;
    width: 100%;
  }

  .casino-facts caption {
    display: block;
    padding: 13px 14px;
    font-size: 16px;
  }

  .casino-facts tr {
    border-top: 1px solid #e4e7f2;
  }

  .casino-facts th,
  .casino-facts td {
    border-top: 0;
    padding: 10px 14px;
    font-size: 14px;
  }

  .casino-facts th {
    padding-bottom: 4px;
    background: #fafbff;
  }

  .casino-facts td {
    padding-top: 4px;
  }

  .longread-faq {
    gap: 12px;
  }

  .longread-faq section {
    padding: 15px 14px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy-2);
  }

  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-bar svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: calc(100% - 36px);
  }

  .header-main__inner {
    width: 100%;
    padding-inline: 18px;
  }

  .brand img {
    width: 149px;
  }

  .header-actions {
    gap: 10px;
  }

  .btn {
    min-width: auto;
    height: 42px;
    padding-inline: 15px;
    font-size: 14px;
  }

  .hero {
    width: 100%;
  }

  .hero__picture img {
    object-position: center;
  }

  .section-heading {
    width: calc(100% - 36px);
  }

  .games-grid {
    overflow: visible;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 132px;
  }

  .btn {
    height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .featured-track {
    transform: translateX(calc(-1 * (70vw + 18px) * 3 + 18px));
  }

  .featured-card {
    width: 70vw;
    flex-basis: 70vw;
  }
}
