:root {
  --background-color-base: #10291a;
  --background-color-footer: #10291a;
  --background-color-aside: #0c2215;
  --background-color-content: #122314;
  --color-text-base: #fff;
  --color-accent: #40b64c;
  --border-radius: 13px;
  --control-neutral: #b21717;

  --box-shadow:
    rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
    rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

  --aside-width: 300px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html,
body {
  scrollbar-width: none;
}

/* IE / старый Edge */
html,
body {
  -ms-overflow-style: none;
}

.riobet_1400_body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  background-color: var(--background-color-base);
  color: var(--color-text-base);
}

.riobet_1400_aside {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 11;
  width: var(--aside-width);
  padding: 0;
  background-color: var(--background-color-aside);
  overflow-y: auto;
  font-size: 16px;
  border-right: 1px solid #535f54;
}

.riobet_1400_header,
.riobet_1400_main,
.riobet_1400_footer,
.riobet_1400_promo {
  margin-left: var(--aside-width);
}

.riobet_1400_aside__item {
  margin: 0;
}

.riobet_1400_aside__title {
  color: #79818b;
  margin: 0 20px;
}

.riobet_1400_aside__list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #535f54;
  border-bottom: 1px solid #535f54;
}

.riobet_1400_aside__link {
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 40px;
  margin: 0 20px;
}

.riobet_1400_aside__link_active {
  color: #edc97f;
}

.riobet_1400_aside__link:hover {
  color: #edc97f;
}

.riobet_1400_aside__text {
  margin: 0;
}

.riobet_1400_aside__link svg {
  width: 20px;
  height: 20px;
}

.riobet_1400_aside__buttons {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
  border-bottom: 1px solid #535f54;
}

.riobet_1400_aside__support {
  display: flex;
  padding: 20px;
}

.riobet_1400_aside__support .riobet_1400_button {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

.riobet_1400_wrapper {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.riobet_1400_header {
  background-color: var(--background-color-base);
  position: fixed;
  width: calc(100% - var(--aside-width));
  top: 0;
  z-index: 10;
  box-shadow: var(--box-shadow);
}

.riobet_1400_header .riobet_1400_wrapper {
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.riobet_1400_logo svg {
  height: 90px;
  width: 280px;
}

.riobet_1400_promo {
  margin-top: 100px;
}

.riobet_1400_header__buttons {
  display: flex;
  gap: 12px;
}

.riobet_1400_button {
  display: inline-block;
  text-align: center;
  height: 54px;
  line-height: 54px;
  padding: 0 40px;
  border-radius: var(--border-radius);
  background-color: var(--color-accent);
  color: var(--color-text-base);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.12px;
}

.riobet_1400_button:hover {
  background: #2f8637;
}

.riobet_1400_button__second {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    #49554c;
  color: #fff;
}

.riobet_1400_button__second:hover {
  background: rgba(255, 255, 255, 0.32);
}

.riobet_1400_button__desktop {
  display: inline-block;
}

@media (max-width: 950px) {
  .riobet_1400_button__desktop {
    display: none;
  }
}

.riobet_1400_main .riobet_1400_wrapper {
  max-width: 1160px;
  flex-direction: column;
  border: 1px solid #1e301e;
  padding: 24px;
  border-radius: var(--border-radius);
  background: var(--background-color-content);
  box-shadow: var(--box-shadow);
}

.riobet_1400_banner {
  background-image: url("/assets/banner.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 350px;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  box-shadow: var(--box-shadow);
}

.riobet_1400_banner__link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(0.5);
}

.riobet_1400_banner__wrapper {
  display: flex;
  height: 100%;
  align-items: end;
  gap: 20px;
  justify-content: center;
}

.riobet_1400_banner__wrapper::after {
  content: "";
  display: block;
  background-image: url(/assets/banner-decor.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 350px;
  height: 280px;
}

.riobet_1400_banner__content {
  height: 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.riobet_1400_banner__label {
  display: inline-block;
  color: #fff;
  border-radius: var(--border-radius);
  padding: 10px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
}

.riobet_1400_banner__text {
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.riobet_1400_game-filter {
  display: inline-flex;
  margin: 0 15px 30px;
  white-space: nowrap;
  font-size: 14px;
}

.riobet_1400_game-filter__item {
  margin: 0;
  flex: 1;
}

.riobet_1400_game-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  border-radius: var(--border-radius);
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.riobet_1400_game-filter__link {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  gap: 12px;
  border: 1px solid transparent;
  background-color: #1d2a1e;
}

.riobet_1400_game-filter__link:hover {
  background-color: #1d2a1e;
  border: 1px solid #fff;
  color: #fff;
}

.riobet_1400_game-filter__link svg {
  width: 20px;
  height: 20px;
}

.riobet_1400_game-filter__text {
  margin: 0;
}

.riobet_1400_game-filter__link_active,
.riobet_1400_game-filter__link_active:hover {
  border: 1px solid #fff;
  color: #fff;
  background-color: #39483a;
}

.riobet_1400_games__list {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  white-space: nowrap;
  flex-wrap: wrap;
  margin-left: 0;
  list-style: none;
}

.riobet_1400_games__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  box-shadow: var(--box-shadow);
}

.riobet_1400_games__button {
  opacity: 0;
  display: inline-block;
  position: absolute;
  width: 90%;
  transition: all 0.3s;
}

.riobet_1400_games__link:hover .riobet_1400_games__button {
  opacity: 1;
}

.riobet_1400_games__item {
  width: 25%;
  padding: 10px;
  margin: 0;
}

.riobet_1400_games__img {
  width: 100%;
  border-radius: var(--border-radius);
}

.riobet_1400_content {
  padding: 20px;
}

h1 {
  text-align: center;
  margin: 10px 0 30px;
  font-size: 40px;
}

h2 {
  font-size: 35px;
  margin: 10px 0;
}

h3 {
  font-size: 30px;
  margin: 10px 0;
}

h4 {
  font-size: 27px;
  margin: 10px 0;
}

ol,
ul {
  margin-left: 30px;
  margin-bottom: 30px;
  list-style: square;
}

ol li,
ul li {
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

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

table p {
  text-align: center;
  margin: 10px 0;
}

p {
  margin: 10px 0 30px;
  text-align: justify;
}

.riobet_1400_footer {
  background-color: var(--background-color-footer);
}

.riobet_1400_footer__text {
  width: 100%;
  text-align: center;
}

@media (max-width: 1200px) {
  .riobet_1400_banner__wrapper::after {
    width: 280px;
    height: 230px;
  }

  .riobet_1400_banner__text {
    font-size: 30px;
  }

  .riobet_1400_banner__label {
    font-size: 13px;
  }
}

@media (max-width: 1000px) {
  .riobet_1400_banner {
    min-height: 300px;
  }

  :root {
    --aside-width: 200px;
  }

  .riobet_1400_games__item {
    width: 50%;
  }

  .riobet_1400_aside__support .riobet_1400_button {
    padding: 0 10px;
  }

  .riobet_1400_aside__support .riobet_1400_button svg {
    display: none;
  }
}

@media (max-width: 767px) {
  h1 {
    margin: 10px 0;
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 19px;
  }

  table {
    display: block;
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;
  }

  .riobet_1400_aside {
    display: none;
  }

  :root {
    --aside-width: 0px;
  }

  .riobet_1400_games__list {
    overflow: auto;
  }
  
  .riobet_1400_main .riobet_1400_wrapper {
    padding: 24px 5px;
  }
}

@media (max-width: 650px) {
  .riobet_1400_banner__wrapper::after {
    display: none;
  }

  .riobet_1400_header .riobet_1400_wrapper {
    padding: 0 10px 0 0;
  }

  .riobet_1400_header__logo .logo svg {
    height: 70px;
    width: 160px;
  }

  .riobet_1400_header__buttons .riobet_1400_button {
    padding: 0 10px;
  }
}

@media (max-width: 400px) {
  .riobet_1400_games__item {
    width: 100%;
  }

  .riobet_1400_banner__label {
    font-size: 15px;
  }

  .riobet_1400_wrapper {
    padding: 5px;
  }
}
