* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #171717;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
}

a {
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  opacity: 0.7;
}

body {
  background: #000000;
  background-image: url(../img/pattern.png);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.header {
  height: 60px;
}

.preheader {
  background: #455e7b;
  text-align: center;
  padding: 9px;
}

.preheader p {
  max-width: 825px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 400;
}

.container {
  max-width: 1210px;
  padding: 0 20px;
  margin: 0 auto;
}

header {
  padding-top: 10px;
  padding-bottom: 25px;
  background: #fff;
  position: relative;
}

header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1024px) {
  header .logo {
    top: 10px;
  }
}

header .logo span {
  background: linear-gradient(180deg, #02FE83 0%, #1F8AF4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 400;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .menu {
  display: flex;
  gap: 25px;
}

header .menu li {
  list-style: none;
}

header .menu li a {
  font-size: 14px;
  font-weight: 700;
}

header .menu li a.active {
  padding: 7px 16px;
  border-radius: 10px;
  background: #FFF;
  color: #031a31;
}

main {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 45px 0px;
}

.content {
  max-width: 100%;
  text-align: center;
  padding-bottom: 10px;
  padding-top: 10px;
}

.image img {
  max-width: 100%;
  height: auto;
}

main h1 {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

main h1 span {
  color: #8cc739;
  font-size: 25px;
  font-weight: 700;
}

main p {
  font-size: 14px;
  font-style: normal;
  color: #fff;
  font-weight: 400;
  max-width: 100%;
  margin-top: 10px;
  padding-bottom: 30px;
}

main .btn {
  width: 210px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #fff;
  border-radius: 5px;
  margin-top: 10px;
  background: #8cc739;
  box-shadow: 0px 5px 40px 0px rgba(255, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 600;
}

main .btn:hover {
  opacity: 0.7;
}

main .items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}
main .items .item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.line_info {
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #171717;
  width: 100%;
  text-align: center;
  font-weight: 700;
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
}

.line {
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  .line_info {
    display: none;
  }
}

main .items .item span {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  width: max-content;
}

@media screen and (max-width: 1024px) {
  main .items .item span {
    font-size: 10px;
  }

  .img-icon {
    width: 20%;
  }
}

.sites.page h2 {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 20px;
}

.sites.page p {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
}

.sites.page p:last-child {
  margin-bottom: 0;
}

.sites .items {
  border-radius: 0;
  background: #fff;
  width: 100%;
}

.sites .items .item {
  border-radius: 0;
  border: 1px solid #e9e9e9;
  background: #fff;
  padding: 35px 0 1px 0;
  position: relative;
}

.sites .items .item.top {
  background: #f9f9f9;
}

.sites .items .item.top .badge {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0;
  background: #ffc000;
  width: 180px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #171717;
}

.sites .items .item img {
  max-width: 150px;
}

.sites .items .item .table {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: repeat(5, 20%);
}

.sites .items .item .table .tr {
  display: flex;
  font-weight: 600;
  color: #fff;
  font-size: 13px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.sites .items .item .table .tr:last-child {
  border-right: none;
}

.sites .items .item .b_text {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  max-width: 800px;
  padding: 0 10px;
  margin: 21px auto 0;
}

.sites .items .item .two {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #171717;
}

.sites .items .item .two span {
  color: #171717;
  font-size: 28px;
  font-weight: 700;
}

.sites .items .item .rating_mob p {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.sites .items .item .rating_pc p {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: #171717;
}

.sites .items .item .rating_pc .stars {
  width: 100%;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.sites .items .item .btn {
  height: 50px;
  border-radius: 65px;
  background: #8cc739;
  box-shadow: 0px 5px 40px 0px rgba(140, 199, 57, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #171717;
  font-size: 18px;
  font-weight: 600;
}

.badge-container {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #285ca7;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.circle1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #285ca7;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.label-hot {
  padding: 5px 15px;
  background-color: #285ca7;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 0 0 15px 0;
  text-transform: uppercase;
  display: inline-block;
}

.label-hot1 {
  padding: 5px 15px;
  background-color: #285ca7;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 65px;
  text-transform: uppercase;
  display: inline-block;
}

.sites .items .item .btnactive {
  height: 50px;
  width: 200px;
  border-radius: 12px;
  background: #8cc739;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.votes {
  text-align: center;
}

.prefooter {
  background: #001222;
  margin-top: 50px;
  padding: 65px 0;
}

footer {
  background-color: rgb(249, 249, 249);
  padding: 40px 0;
  text-align: center;
}

footer .menu {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

footer .menu li {
  list-style: none;
}

footer .menu li a {
  font-size: 14px;
  font-weight: 700;
}

footer .menu li a.active {
  padding: 7px 16px;
  border-radius: 10px;
  background: #FFF;
  color: #031a31;
}

footer p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

footer .items {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media screen and (max-width: 1290px) {
  main::after, main::before {
    display: none;
  }

  .openmob {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  header .menu {
    display: none;
  }

  .openmob {
    display: block;
  }
}


@media screen and (max-width: 1024px) {
  .sites .items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
  }

  .sites .items .item {
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    overflow: hidden;
    padding: 15px 10px;
  }

  .sites .items .item .label-hot {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 0 0 10px 0;
    margin-bottom: 10px;
    width: fit-content;
  }

  .sites .items .item .table {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .sites .items .item .table .tr {
    width: 100%;
    text-align: center;
    border: none;
    padding: 5px 0;
  }

  .sites .items .item .logo_img {
    max-width: 120px;
    height: auto;
  }

  .sites .items .item .two {
    font-size: 14px;
  }

  .sites .items .item .two span {
    font-size: 22px;
  }

  .sites .items .item .rating_pc p {
    font-size: 20px;
  }

  .sites .items .item .rating_pc .stars img {
    height: 18px;
  }

  .sites .items .item .btnactive {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
    margin: 0 auto;
  }

  .sites .items .item .btn_btext {
    font-size: 12px;
    margin-top: 5px;
  }

  .votes {
    font-size: 11px;
    color: #555;
  }

  .line_info {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  /* Контейнер карток */
  .sites .items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 10px;
  }

  /* Окрема картка */
  .sites .items .item {
    width: 100%;
    padding: 15px 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Лейбл зверху */
  .sites .items .item .label-hot {
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
  }

  /* Таблиця всередині картки (бонус, рейтинг, кнопка) */
  .sites .items .item .table {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
  }

  .sites .items .item .table .tr {
    width: 100%;
    padding: 4px 0;
    border: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Логотип */
  .sites .items .item img {
    max-width: 120px;
    height: auto;
    margin: 10px auto;
  }

  /* Бонус і текст */
  .sites .items .item .two {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
  }

  .sites .items .item .two span {
    font-size: 22px;
    font-weight: 700;
    display: block;
  }

  /* Рейтинг */
  .sites .items .item .rating_pc p {
    font-size: 18px;
    text-align: center;
  }

  .sites .items .item .rating_pc .stars {
    gap: 5px;
    justify-content: center;
  }

  .sites .items .item .rating_pc .stars img {
    height: 18px;
  }

  /* Кнопка */
  .sites .items .item .btnactive {
    width: 100%;
    height: 45px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 10px;
  }

  /* Текст під кнопкою */
  .sites .items .item .btn_btext {
    font-size: 12px;
    margin-top: 5px;
    color: #666;
    text-align: center;
  }

  /* Відступи */
  .votes {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
  }
}