@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-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.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;
  }
}
.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;
}
.cards-header .descr {
  grid-column: span 2;
}
@media (max-width: 1024px) {
  .cards-header .descr {
    grid-column: span 1;
  }
}
.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 a {
  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%;
}
@media (max-width: 768px) {
  .cards-logo {
    padding: 32px 8px 8px;
  }
}
.cards-logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  -o-object-fit: contain;
     object-fit: contain;
}
.cards-logo iframe {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  border: none;
}
.cards-info {
  display: grid;
  padding: 16px 8px;
  gap: 10px;
}
@media (max-width: 768px) {
  .cards-info {
    align-items: center;
  }
}
.cards-info-name {
  font-size: 26px;
  text-align: center;
  align-self: end;
}
.cards-descr {
  padding: 16px 8px;
  font-size: 16px;
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
@media (max-width: 1024px) {
  .cards-descr {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .cards-descr {
    grid-row: 3/4;
    grid-column: 1/2;
  }
}
.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;
  }
}
.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;
  }
}
.cards-btn {
  padding: 16px 8px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media (max-width: 768px) {
  .cards-btn {
    grid-row: 3/4;
    grid-column: 2/3;
    flex-direction: column;
    text-align: center;
  }
}
.cards-btn a {
  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 a {
    font-size: 18px;
  }
}
.cards-btn a: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;
  padding-bottom: 20px;
}