@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--card-btn-shadow-anim), 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--card-btn-shadow-anim), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--card-btn-shadow-anim), 0);
  }
}
:root {
  --text: #fff;
  --bg: #000;
  --bg-accent: #191919;
  --header: #ffd25e;
  --header-bg: linear-gradient(#ffd25e, #fcf6ba, #e8c363, #fbf5b7);
  --card-text: #fff;
  --card-sub-text: #8e8e8e;
  --card-bg: #1d1e1e;
  --card-border: #616161;
  --card-border-accent: #fcf5b8;
  --card-shadow: 0px 0px 0px 1px #fcf5b8, 0px 7px 15px 3px #000, 0px 5px 40px 10px hsla(54, 92%, 85%, 0.35);
  --card-star: #f8c642;
  --card-btn-bg: #38b549;
  --card-btn-shadow-anim: 51, 217, 178;
  --card-label-text: #fff;
  --card-label-bg: #666;
  --card-label-text-accent: #121213;
  --card-label-bg-accent: linear-gradient(142deg, #ffd25e, #fcf6ba, #e8c363, #fbf5b7);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  position: relative;
}
body:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: url(../images/bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  body:before {
    background-image: url(../images/bg-t.jpg);
  }
}

.container {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .container {
    max-width: 570px;
  }
}

.header {
  position: relative;
  z-index: 2;
  padding: 8px;
  text-align: center;
  background-color: var(--bg);
}
.header-text {
  font-size: 12px;
}
.header-link {
  color: inherit;
}

.hero {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 44px 15px 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero {
    padding: 20px 15px 16px;
    background-image: url(../images/bg-m.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }
}
.hero-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--header);
  background: -webkit-linear-gradient(#ffd25e, #fcf6ba, #e8c363, #fbf5b7);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 20px;
    max-width: 540px;
    margin: 0 auto;
  }
}
.hero-list {
  margin-top: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .hero-list {
    margin-top: 8px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    max-width: 540px;
    margin: 0 auto;
  }
}
.hero-item {
  position: relative;
  padding: 3px 8px 3px 36px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .hero-item {
    padding: 0 0 0 23px;
    height: auto;
    font-size: 10px;
  }
}
.hero-item::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  background-image: url(../images/icon-feature.png);
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 768px) {
  .hero-item::before {
    width: 15px;
    height: 15px;
    left: 0;
  }
}

.cards {
  padding-top: 24px;
}
@media (max-width: 768px) {
  .cards {
    padding-top: 0;
  }
}
.cards-header {
  border-radius: 6px;
  background-color: var(--bg-accent);
  display: grid;
  grid-template-columns: 32px repeat(5, 1fr);
  margin-bottom: 6px;
}
@media (max-width: 1024px) {
  .cards-header {
    grid-template-columns: 32px repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .cards-header {
    display: none;
  }
}
.cards-header div {
  text-align: center;
}
@media (max-width: 1024px) {
  .cards-header-payments {
    display: none;
  }
}
.cards-row {
  position: relative;
  display: grid;
  grid-template-columns: 32px repeat(5, 1fr);
  margin-bottom: 8px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background-color: var(--card-bg);
}
@media (max-width: 1024px) {
  .cards-row {
    grid-template-columns: 32px repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .cards-row {
    transform: scale(0.95);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
  }
}
.cards-row.accent {
  border-color: var(--card-border-accent);
  box-shadow: var(--card-shadow);
}
@media (max-width: 768px) {
  .cards-row.accent {
    transform: scale(1);
    background-image: url(../images/texture.png);
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: 50% 100%;
  }
}
.cards-row.accent .cards-btn .btn-link {
  animation: pulse 2s infinite;
}
.cards-row.accent .cards-row-label {
  color: var(--card-label-text-accent);
  background: var(--card-label-bg-accent);
}
.cards-row-label {
  position: absolute;
  top: 5px;
  left: 23px;
  padding: 2px 20px;
  font-size: 11px;
  background-color: var(--card-label-bg);
}
@media (max-width: 768px) {
  .cards-row-label {
    width: calc(50% - 8px);
    left: 4px;
    border-radius: 7px;
    text-align: center;
  }
}
.cards-pos {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  background-color: var(--bg-accent);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
@media (max-width: 768px) {
  .cards-pos {
    display: none;
  }
}
.cards-logo {
  padding: 32px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.cards-logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  -o-object-fit: contain;
     object-fit: contain;
}
.cards-offer {
  display: grid;
  padding: 16px 8px;
  gap: 10px;
}
@media (max-width: 768px) {
  .cards-offer {
    align-items: center;
  }
}
.cards-offer-text {
  font-size: 16px;
  text-align: center;
}
.cards-offer-subtext {
  font-size: 8px;
  text-align: center;
  color: var(--card-sub-text);
}
.cards-offer-subtext a{
  color: inherit;
}
@media (max-width: 768px) {
  .cards-offer-subtext {
    display: none;
  }
}
.cards-payment {
  padding: 16px 8px;
  display: grid;
  gap: 8px;
  justify-items: center;
}
@media (max-width: 1024px) {
  .cards-payment {
    display: none;
  }
}
@media (max-width: 768px) {
  .cards-payment {
    display: grid;
    grid-row: 3/4;
    grid-column: 1/2;
  }
}
.cards-payment ul {
  align-self: end;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cards-payment ul li {
  display: block;
  border-radius: 50%;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  height: 24px;
  width: 24px;
  overflow: hidden;
}
.cards-payment ul li div {
  background-image: url(../images/payments.png);
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  transform-origin: top left;
  transform: scale(0.5);
}
.cards-payment-link {
  align-self: start;
  display: block;
  color: var(--card-text);
  font-size: 12px;
}
.cards-rating {
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .cards-rating {
    grid-row: 2/3;
    grid-column: 1/2;
    padding: 0 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}
.cards-rating-score {
  font-size: 14px;
}
@media (max-width: 768px) {
  .cards-rating-score {
    font-size: 12px;
  }
  .cards-rating-score span {
    font-size: 20px;
  }
}
.cards-rating-score span {
  font-size: 26px;
  font-weight: 700;
}
.cards-rating-star {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.cards-rating-star svg {
  width: 22px;
  height: 22px;
  fill: var(--card-star);
}
@media (max-width: 768px) {
  .cards-rating-star svg {
    width: 11px;
    height: 11px;
  }
}
.cards-rating-votes {
  font-size: 12px;
}
@media (max-width: 768px) {
  .cards-rating-votes {
    color: #a0a0a0;
    font-size: 8px;
    grid-column: 2/3;
  }
}
.cards-btn {
  padding: 16px 8px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cards-btn p {
  display: none;
}
@media (max-width: 768px) {
  .cards-btn {
    grid-row: 3/4;
    grid-column: 2/3;
    flex-direction: column;
    text-align: center;
  }
  .cards-btn p {
    font-size: 8px;
    display: block;
  }
  .cards-btn p a{
    color: inherit;
  }
}
.cards-btn .btn-link {
  width: 100%;
  padding: 8px 32px;
  color: var(--card-text);
  background-color: var(--card-btn-bg);
  transition: opacity 0.2s ease-out;
  text-decoration: none;
  border-radius: 4px;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .cards-btn .btn-link {
    font-size: 18px;
  }
}
.cards-btn .btn-link:hover {
  opacity: 0.9;
}

.info {
  padding: 16px 0;
  display: grid;
  gap: 16px;
}
.info-group {
  padding: 32px;
  background-color: var(--bg-accent);
}
.info-title {
  margin-bottom: 14px;
  font-size: 25px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .info-title {
    font-size: 20px;
  }
}
.info-text {
  font-size: 12px;
  line-height: 1.75;
}
.info-text + p {
  margin-top: 18px;
}

.footer {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.footer a {
  color: inherit;
}
.footer-img-box, .footer-img-box-last {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-img-box img, .footer-img-box-last img {
  display: block;
  height: 30px;
}
.footer-img-box-last {
  padding: 32px 0 20px;
}
.footer-img-box-last img {
  display: block;
  height: 25px;
}

.pm-amex {
  background-position: -10px -10px;
}

.pm-astropay {
  background-position: -78px -10px;
}

.pm-bank-transfer {
  background-position: -10px -78px;
}

.pm-banco-do-brasil {
  background-position: -78px -78px;
}

.pm-bitcoin {
  background-position: -146px -10px;
}

.pm-blik {
  background-position: -146px -78px;
}

.pm-bradesco {
  background-position: -10px -146px;
}

.pm-brite {
  background-position: -78px -146px;
}

.pm-caixa {
  background-position: -146px -146px;
}

.pm-cashlib {
  background-position: -214px -10px;
}

.pm-echeck {
  background-position: -214px -78px;
}

.pm-ecopayz {
  background-position: -214px -146px;
}

.pm-entropay {
  background-position: -10px -214px;
}

.pm-danskebank {
  background-position: -78px -214px;
}

.pm-ethereum {
  background-position: -146px -214px;
}

.pm-ezeewallet {
  background-position: -214px -214px;
}

.pm-giropay {
  background-position: -282px -10px;
}

.pm-ideal {
  background-position: -282px -78px;
}

.pm-idebit {
  background-position: -282px -146px;
}

.pm-handelsbanken {
  background-position: -282px -214px;
}

.pm-instadebit {
  background-position: -10px -282px;
}

.pm-interac {
  background-position: -78px -282px;
}

.pm-instantbanking {
  background-position: -146px -282px;
}

.pm-itau {
  background-position: -214px -282px;
}

.pm-jeton {
  background-position: -282px -282px;
}

.pm-klarna {
  background-position: -350px -10px;
}

.pm-litecoin {
  background-position: -350px -78px;
}

.pm-mifinity {
  background-position: -350px -146px;
}

.pm-muchbetter {
  background-position: -350px -214px;
}

.pm-maestro {
  background-position: -350px -282px;
}

.pm-mastercard {
  background-position: -10px -350px;
}

.pm-neosurf {
  background-position: -78px -350px;
}

.pm-net {
  background-position: -146px -350px;
}

.pm-nodapay {
  background-position: -214px -350px;
}

.pm-paysafecard {
  background-position: -282px -350px;
}

.pm-paypal {
  background-position: -350px -350px;
}

.pm-payfun {
  background-position: -418px -10px;
}

.pm-nordea {
  background-position: -418px -78px;
}

.pm-payid {
  background-position: -418px -146px;
}

.pm-pix {
  background-position: -418px -214px;
}

.pm-oppohjola {
  background-position: -418px -282px;
}

.pm-poli {
  background-position: -418px -350px;
}

.pm-promptpay {
  background-position: -10px -418px;
}

.pm-ripple {
  background-position: -78px -418px;
}

.pm-revolut {
  background-position: -146px -418px;
}

.pm-saastopankki {
  background-position: -214px -418px;
}

.pm-santander {
  background-position: -282px -418px;
}

.pm-skrill {
  background-position: -350px -418px;
}

.pm-sofort {
  background-position: -418px -418px;
}

.pm-spankki {
  background-position: -486px -10px;
}

.pm-tether {
  background-position: -486px -78px;
}

.pm-trustly {
  background-position: -486px -146px;
}

.pm-visa {
  background-position: -486px -214px;
}

.pm-volt {
  background-position: -486px -282px;
}

.pm-zimpler {
  background-position: -486px -350px;
}

.cards-payment ul li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}