@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/RobotoVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #1d4268;
  --blue: #205583;
  --primary: #276aa5;
  --accent: #7eac2f;
}

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

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #fff;
  background: var(--navy);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 2px solid #a4d64f;
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.button:hover {

  background:hsl(208,63%,51%);
}

.button--accent {
  background: var(--accent);
}

.button--accent:hover {
  background: #90c238;
}

.header {
  position: sticky;
  top:0;
  z-index: 30;
  display: grid;
  grid-template-areas: "logo top" "bottom bottom";
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 48px 40px;
  padding: 0 8px 8px;
  background: var(--navy);
  box-shadow: 0 0 10px rgb(29 66 104 / 50%);
}

.header__logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  height: 48px;
  margin: 0 8px;
}

.header__logo img {
  width: 122px;
  height: 27px;
}

.header__top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 48px;
}

.header__actions {
  display: flex;
  align-items: center;
  margin-right: -8px;
  padding: 4px 8px;
  gap: 8px;
}

.header__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
}

.header__action:hover {
  background:hsl(208,63%,51%);
}

.header__action > img {
  width: 16px;
  height: 16px;
}

.header__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  height: 12px;
  padding: 0 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--primary);
  font-size: 8px;
  font-weight: 700;
  line-height: 9px;
}

.header__registration {
  width: 130px;
}

[lang="uz"] .header__registration {
  padding-right: 8px;
  padding-left: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.header__settings {
  display: flex;
  gap: 1px;
}

.settings {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 32px;
  border-radius: 8px 0 0 8px;
  color: #fff;
  background: var(--primary);
  gap: 4px;
}

.settings:hover {
  background:hsl(208,63%,51%);
}

.settings__icon {
  width: 16px;
  height: 16px;
}

.settings__angle,
.language__angle,
.navigation__angle {
  width: 10px;
  height: 6px;
}

.language {
  position: relative;
}

.language__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 4px 7px;
  border-radius: 0 8px 8px 0;
  color: #fff;
  background: var(--primary);
  gap: 4px;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
}

.language__trigger:hover {
  background:hsl(208,63%,51%);
}

.language__flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d4dee8;
}

.language__menu {
  position: absolute;
  top: 40px;
  right: 0;
  display: none;
  width: 320px;
  overflow: hidden;
  border-radius: 8px;
  color: #224f7c;
  background: #fff;
  box-shadow: 0 4px 16px rgb(29 66 104 / 25%);
}

.language--open .language__menu {
  display: block;
}

.language__title {
  padding: 8px 16px;
  color: var(--blue);
  text-align: center;
  font-size: 14px;
  line-height: 16px;
}

.language__option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  border-bottom: 1px solid #e9eef2;
  color: #224f7c;
  background: #fff;
  gap: 12px;
  text-align: left;
  font-size: 14px;
}

.language__option:last-child {
  border-bottom: 0;
}

.language__option:hover,
.language__option--active {
  background: #f0f7fc;
}

.language__option img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.navigation {
  grid-area: bottom;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--blue);
  gap: 12px;
  scrollbar-width: none;
}

.navigation::-webkit-scrollbar {
  display: none;
}

.navigation__link,
.navigation__game {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 32px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.navigation__link {
  gap: 4px;
}

.navigation__link--top {
  color: #93c738;
}

.navigation__trophy {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.navigation__game {
  margin-left: 4px;
  gap: 8px;
}

.navigation__game img {
  width: 32px;
  height: 32px;
}

.navigation__link:hover,
.navigation__game:hover {
  background: var(--primary);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  padding: 8px;
  background: var(--navy);
  gap: 8px;
  position:relative;
  z-index:5;
}

.footer__navigation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 252px;
  padding: 12px;
  border-radius: 8px;
  background: var(--blue);
  gap: 8px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.footer__column a {
  font-size: 12px;
  line-height: 14px;
}

.footer__column a:hover {
  color: #c4e978;
}

.footer__app-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}

.partners {
  grid-column: 1 / -1;
  height: 177px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
}

.partners__title {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.partners__slider {
  height: 129px;
}

.partners__slide {
  width: 120px;
  height: 120px;
}

.partner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #224f7c;
}

.partner__trophy {
  position: absolute;
  top: 8px;
  right:8px;
  width: 16px;
  height: 16px;
}

.partner__image {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.partners__scrollbar {
  height: 5px;
  margin-top: -5px;
  border-radius: 3px;
  background: transparent;
}

.partners__scrollbar .scrollbar__drag {
  border-radius: 3px;
  background: rgb(255 255 255 / 30%);
}

.footer__legal,
.footer__copyright,
.support,
.footer__contacts {
  padding: 12px;
  border-radius: 8px;
  background: var(--blue);
}

.footer__legal,
.footer__copyright,
.footer__bottom {
  grid-column: 1 / -1;
}

.footer__legal p,
.footer__copyright p {
  color: #a1bcd4;
  font-size: 12px;
  line-height: 14px;
}

.footer__legal a,
.footer__copyright a {
  color: #e1ecf4;
  text-decoration: underline;
}

.footer__copyright p + p {
  margin-top: 3px;
}

.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  gap: 8px;
}

.support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.support__icon {
  width: 38px;
  height: 38px;
  opacity: .7;
}

.support__title {
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.support__phone {
  color: #a1bcd4;
  font-size: 20px;
  line-height: 24px;
}

.footer__side {
  display: grid;
  grid-template-rows: 56px 40px;
  gap: 8px;
}

.footer__contacts {
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  gap: 8px;
}

.socials {
  display: flex;
  flex: 1;
  align-items: center;
  align-self: stretch;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--blue);
  gap: 10px;
}

.socials a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
}

.socials img {
  width: 16px;
  height: 16px;
}

.footer__age {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue);
  font-size: 20px;
}

.footer__mobile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary);
  font-size: 14px;
}

.support-fab {
  position: fixed;
  z-index: 25;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1b9be0;
  box-shadow: 0 2px 8px rgb(29 66 104 / 25%);
}

.support-fab img {
  width: 20px;
  height: 20px;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider__wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.slider__slide {
  flex-shrink: 0;
}

.slider-arrow.swiper-button-disabled {
  opacity: .6;
  pointer-events: none;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 80px;
  border-radius: 8px;
  background: #e9eef2;
}

.slider-arrow img {
  width: 10px;
  height: 16px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination .swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #8bbb40;
  opacity: .5;
}

.pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (min-width: 1300px) and (max-width: 1400px) {
  body {
    zoom: .75;
  }
}

@media (min-width: 1025px) and (max-width: 1299px) {
  body {
    zoom: .7;
  }
}

@media (max-width: 1100px) {
  .header__action--agent {
    display: none;
  }

  .footer__navigation {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
}

@media (max-width: 900px) {
  .header__logo {
    width: 100px;
  }

  .header__logo img {
    width: 100px;
    height: auto;
  }

  .header__action,
  .settings,
  .language__trigger {
    display: none;
  }

  .header__registration {
    width: auto;
  }

  .navigation__link,
  .navigation__game {
    font-size: 10px;
  }

  .footer__navigation {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .header__logo {
    width: 84px;
    margin: 0 8px 0 0;
  }

  .header__logo img {
    width: 84px;
  }

  .header__actions {
    gap: 6px;
  }

  .header__registration,
  .header__login {
    padding-right: 12px;
    padding-left: 12px;
  }

  .navigation {
    gap: 8px;
  }

  .footer__navigation {
    padding: 16px 12px;
    column-gap: 12px;
  }

  .partners {
    padding-right: 8px;
    padding-left: 8px;
  }

  .support__phone {
    font-size: 18px;
  }

  .socials {
    padding: 0 12px;
    gap: 6px;
  }
}
