﻿* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

:root {
  --primary-color: #fff;
  --secondary-color: #000;
  --accent-color: rgb(255, 102, 0);
  --body-bg: #221000;
  --header-bg: #221100;
  --btn-reg: #fff;
  --btn-reg-hover: rgb(255, 102, 0);
  --btn--login: #fc8a55;
  --btn--login-hover: rgb(255, 102, 0);
  --burger: #fff;
  --burger-active: #f37500;

  --link: #fff;
  --link-hover: #808080;
  --active: #fe9000;
  --line: #fc4902;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
  text-align: justify;
}

h1, .title {
  font-size: clamp(20px, 5vw, 34px);
  text-align: center;
  margin: 40px 0;
}

@media (max-width: 550px) {
  h1, .title {
    margin: 20px 0;
  }
}

h2 {
  font-size: clamp(20px, 5vw, 28px);
  margin-bottom: 20px;
}
h3 {
  font-size: clamp(18px, 5vw, 24px);
  margin-top: 15px;
  margin-bottom: 15px;
}

ul,
ul li {
  list-style: none;
}

li {
  margin-bottom: 10px;
}

ol, ul {
  margin: 10px 0;
}

ol {
  margin-left: 15px;
}

p {
  margin-bottom: 10px;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* no-scroll */
.no-scroll {
  position: fixed;
  overflow-y: hidden;
  width: 100vw;
}

html,
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  position: relative;
  flex-grow: 1;
  margin-top: 130px;
}

/* @media (max-width: 500px) {
  main {
    margin-top: 100px;
  }
} */

footer {
  flex-shrink: 0;
}

body {
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  color: var(--primary-color);
  background-color: var(--body-bg);
}

.container {
  padding: 0 10px;
  max-width: 1230px;
  margin: 0 auto;
}

.p-80 {
  margin: 40px 0;
}
@media (max-width: 768px) {
  .p-80 {
    margin: 20px 0;
  }
}

.link {
  color: var(--link);
  transition: .3s ease-in-out;
}
@media (min-width: 768px) {
  .link:hover {
    color: var(--link-hover);
  }
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--btn--login);
  background-color: var(--btn--login);
  font-weight: 600;
  color: var(--secondary-color)
}
@media (min-width: 768px) {
  .btn:hover {
    border-color: var(--btn--login-hover);
    background-color: var(--btn--login-hover);
  }
}

.img__wrapp {
  width: 50%;
  text-align: center;
  @media (max-width: 768px) {
    width: 100%;
  }
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  @media (max-width: 768px) {
    display: flex;
    flex-direction: column;
  }
}

.text__content {
  display: flex;
  flex-direction: column;
  text-align: justify;
  width: 50%;
  @media (max-width: 768px) {
    width: 100%;
  }
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/lato-regular.woff") format("woff"),
    url("../font/lato-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../font/lato-bold.woff") format("woff"),
    url("../font/lato-bold.woff2") format("woff2");
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  background: var(--header-bg);
  z-index: 50;
  padding: 10px 0;
  box-shadow: 0 0 15px #fff;
  font-weight: 600;
}

.logo__link {
  display: flex;
  align-items: center;
}

.logo__wrapp {
  max-width: 200px;
  margin-right: 10px;
}

.logo {
  margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
}

@media (max-width:500px) {
  .logo__wrapp {
    width: 102px;
  }
}

.header__container {
  display: grid;
  grid-template-areas: "logo btns"
                        "nav nav";
  gap: 10px;
}

.logo__link {
  grid-area: logo;
}

.offer__btns {
  grid-area: btns;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 550px){
  .offer__btns--column {
    flex-direction: column;
  }
}

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

  @media (max-width: 550px){
    font-size: 14px;
    padding: 10px;
  }
}

.offer__btn--reg {
  border-color: var(--btn-reg);
  fill: var(--btn-reg);
  background-color: transparent;
  color: var(--btn-reg);
  transition: 0.3s ease-in-out;
}

@media (hover: hover) {
  .offer__btn--reg:hover {
    border-color: var(--btn-reg-hover);
    background-color: var(--btn-reg-hover);
  }
}

.offer__btn--download {
  margin-right: auto;
  margin-left: 0;
}

.offer__btn--download img {
  max-width: 16px;
  height: 16px;
}

@media (max-width: 1200px){
  .header__container {
  grid-template-areas: "logo logo"
                        "btns burger";
  }
  .logo__wrapp {
    margin: 0 auto;
  }

  .offer__btns {
    margin-right: auto;
    margin-left: 0;
  }
}

@media screen and (min-width: 1200px){
.burger__btn {
  grid-area: burger;
  display: none;

  }
}

@media screen and (max-width: 1200px){
  .burger__btn {
    
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background-color: transparent;
  cursor: pointer;
  }
}

/* burger__btn */
.burger__btn span {
  position: relative;
  background-color: var(--burger);
  width: 23px;
  height: 2px;
}

.burger__btn span::before {
  content: "";
  position: absolute;
  display: block;
  width: 23px;
  height: 2px;
  top: -5px;
  background-color: var(--burger);
  transition: all 0.3s ease-in-out;
}
@media (max-width: 560px) {
  .burger__btn span::before {
    top: -7px;
  }
}
.burger__btn span::after {
  content: "";
  position: absolute;
  display: block;
  width: 23px;
  height: 2px;
  bottom: -5px;
  background-color: var(--burger);
  transition: all 0.3s ease-in-out;
}
@media (max-width: 560px) {
  .burger__btn span::after {
    bottom: -7px;
  }
}
.burger__btn-active span::before {
  transform: rotate(45deg);
  top: -1px;
  background-color: var(--burger-active);
}
.burger__btn-active span::after {
  transform: rotate(-45deg);
  bottom: -1px;
  background-color: var(--burger-active);
}

/* span__none-active */
.span__none-active {
  height: 0 !important;
}

.nav {
  grid-area: nav;
  margin-left: auto;
}

@media screen and (max-width: 1200px) {
  .nav {
  position: absolute;
  background: rgb(68, 49, 28);
  padding: 40px;
  width: 400px;
  right: 0;
  top: 108px;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  z-index: 5;
  transform: translateX(100%);
  z-index: 40;
  transition: all 0.3s ease-in-out;
  }
}


@media (max-width: 560px) {
  .nav {
  width:100%;
  }
}

@media (max-width: 500px) {
  .nav {
  top: 96px;
  }
}

@media screen and (min-width: 1200px) {
  .nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.nav__list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media screen and (max-width: 1200px) {
  .nav__list {
  display: flex;
  justify-content: start;
  flex-wrap: nowrap;
  align-items: start;
  width: 100%;
  gap: 15px;
  margin-bottom: 0;
  flex-direction: column;
  overflow-y: scroll;
  padding-bottom: 50px;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  }
}

.nav__item {
  margin-right: 20px;
}

/* nav__active */
.nav__active {
  display: flex;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  transform: translateX(0%);
}

.active {
  position: relative;
  color: var(--active);
}

.active::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -5px;
  background-color: var(--active);
  transition: all 0.3s ease-in-out;
}

.card__wrapper {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--btn--login);
  border-radius: 5px;
  background-color: #302f2f;
  box-shadow: transparent;
  transition: .3s ease-in-out;
  font-size: clamp(14px, 2vw, 20px);
}

.card svg {
  width: 50px;
  height: 50px;
}

@media (max-width: 605px) {
  .card {
    height: 138px;
  }
}
@media (max-width: 500px) {
  .card {
    padding: 5px;
    height: 125px;
  }

  .card svg {
    width: 30px;
    height: 30px;
  }
}

@media (hover: hover) {
  .card:hover {
    background-color: #5f5e5e;
    box-shadow: 5px 5px 5px var(--accent-color);
    color: var(--primary-color);
  }
}

.owerlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 30;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.owerlay_active {
  visibility: visible;
  opacity: 1;
}

.li-style li {
  display: flex;
  align-items: start;
}

.li-style li::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #B19464;
  border-radius: 20px;
  display: block;
  padding-right: 10px;
  margin-right: 15px;
  transform: translateY(5px);
}

.download__wrapp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;

  max-width: 220px;
  margin: 25px auto;
}

.download__link {
  display: flex;
  max-width: max-content;
  align-items: center;
  gap: 15px;
  padding: 0px 15px;
  border-radius: 50px;
  color: #fff;
  overflow: hidden;
  font-weight: 600;
  background-color: #EAA43E;
  transition: all 0.3s ease-in-out;
  margin: 0 auto;
}

.download__link img {
  border-radius: 0;
}

.download__img {
  padding: 10px 10px 10px 20px;
  margin-left: -16px;
  background-color: #9723EF;
  transition: all 0.3s ease-in-out;
}

.download__link:hover {
  background-color: #5f6e6a;
}
.download__link:hover .download__img {
  background-color: #3f4a48;
}

.first {
  display: block;
  max-width: 100%;
  margin: 0 auto 30px;
  @media (max-width: 768px) {
    max-width: 100%;
  }
}

.img__one {
  display: block;
  max-width: 50%;
  margin: 20px auto;

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

.img__one-big {
  display: block;
  max-width: 100%;
  margin: 20px auto;

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

.img__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.img__left {
  max-width: 50%;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;

  @media (max-width: 768px) {
    max-width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }
}

.img__right {
  max-width: 50%;
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;

  @media (max-width: 768px) {
    max-width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }
}

.big__card_8526 {
  border: 3px solid var(--line);
  border-radius: 7px;
  padding: 20px 40px;
}

.big__card_8526--logo {
  max-width: 200px;
}
.big__card_8526--title {
  position: relative;
  text-align: center;
}

.big__card_8526--title::after {
  content: "";
  position: absolute;
  display: block;
  width: calc((100% - 50%) - 100px);
  height: 3px;
  right: 0;
  top: 50%;
  background-color: var(--line);
  border-block-end: 0;
  flex-grow: 1;
}
.big__card_8526--title::before {
  content: "";
  position: absolute;
  width: calc((100% - 50%) - 100px);
  left: 0;
  height: 3px;
  top: 50%;  
  background-color: var(--line);
}

.big__card_8526--wrapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.big__card_8526--text {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 10px;
}

.big__card_8526--text p {
  margin-bottom: 0;
}

.big__card_8526--stars {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.big__card_8526--stars img {
  max-width: 15px;
}

.big__card_8526--btn {
  max-width: max-content;
}

.big__card_8526--one {
  margin: 0 auto;
}

.big__card_8526--btn img {
  width: 16px;
}

@media (max-width: 550px) {
  .big__card_8526 {
    padding: 15px 10px;
  }
  .big__card_8526--wrapp {
  flex-direction: column;
  margin-bottom: 10px;
  }
  .big__card_8526--title {
    margin-bottom: 10px;
  }
  .big__card_8526--stars {
    width: max-content;
    margin: auto;
  }
  .big__card_8526--title::after,
  .big__card_8526--title::before {
    width: calc((100% - 47%) - 100px);
  }
  .big__card_8526--btn {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
  }
}

.section__border {
  padding: 15px;
  border: 3px solid var(--line);
  border-radius: 7px;
}

.content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.content div {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.content div img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* game */

.game__wrapp {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: green transparent;
}
.game__wrapp::-webkit-scrollbar {
  width: 5px; 
  color: transparent;
}

.game__wrapp::-webkit-scrollbar-track {
  margin-top: 10px;
  background: transparent;
}

.game__wrapp::-webkit-scrollbar-thumb {
  background-color: #050c26; 
  border-radius: 20px;
  border: 3px solid #050c26; 
}

.game__item_9856 {
  min-width: 90px;
  cursor: pointer;
}

/* modal */

.modal {
  position: fixed;
  width: 100%;
  max-width: 800px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #3f4a48;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 35;

}

.modal__block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.modal__btn {
  border: 1px solid goldenrod;
  background-color: var(--btn--login);
  color: #000;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 15px;
}

.modal_active {
  display: flex;
}

.bonus {
  background-image: url("https://393bet-jogos.com/static/image/bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}