/* =============================================
   SITE DESIGN SYSTEM — автономная ДС сайта
   Не зависит от party/ или game/ стилей.
   Содержит токены + общие компоненты сайта.
   ============================================= */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/Gilroy-Regular.woff2') format('woff2'),
       url('/fonts/Gilroy-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/Gilroy-Bold.woff2') format('woff2'),
       url('/fonts/Gilroy-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/Gilroy-Semibold.woff2') format('woff2'),
       url('/fonts/Gilroy-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/Gilroy-Medium.woff2') format('woff2'),
       url('/fonts/Gilroy-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
:root { --vh: 1vh; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Gilroy", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Montserrat", sans-serif;
  background: #11132A;
  color: #ffffff;
  font-size: 16px;
  line-height: 18px;
}
@media (min-width: 768px) { body { font-size: 20px; line-height: 24px; } }
a { color: inherit; }
p { margin: 0; }
img { display: block; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 10px;
  margin: 0 auto;
}
@media (min-width: 768px) { .container { padding: 0 20px; } }
@media (min-width: 1400px) { .container { padding: 0 75px; } }

/* ===== TYPOGRAPHY ===== */
.title {
  margin: 0;
  font-size: 32px;
  line-height: 36px;
  font-weight: bold;
  text-align: center;
}
@media (min-width: 768px) { .title { font-size: 48px; line-height: 54px; } }
@media (min-width: 1200px) { .title { font-size: 60px; line-height: 73px; text-align: left; } }

.subtitle {
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
}
@media (min-width: 1200px) { .subtitle { margin: 0 0 50px; font-size: 48px; line-height: 59px; } }

/* ===== BUTTON ===== */
.button {
  position: relative;
  border-radius: 50px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0;
  display: inline-block;
  padding: 22px 30px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  font-family: "Gilroy", "Open Sans", sans-serif;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
  outline: none;
  text-align: center;
}
.button::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50px;
  background: #11132A;
  z-index: -1;
}
.button--icon { padding: 22px 60px 22px 30px; }
.button--icon::after {
  content: "\f061";
  position: absolute;
  top: 50%; right: 0;
  transform: translate(-30px, -50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
}
.button.accent::before { display: none; }
.button:hover, .button:focus { box-shadow: 0 0 30px rgba(116, 66, 200, 1); }

/* ===== LAYOUT ===== */
.main {
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  background: #11132A;
  overflow-x: hidden;
}
.content {
  padding-top: 30px;
  padding-bottom: 50px;
  flex-grow: 1;
}
@media (min-width: 1200px) { .content { padding-bottom: 100px; } }

/* ===== BLUR ===== */
.blur {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 50px;
  background: linear-gradient(180deg, #000000 0%, rgba(0,0,0,0) 100%);
}
.blur--bottom { transform: rotate(180deg); }

/* ===== LOGO ===== */
.logo {
  display: inline-block;
  flex-grow: 1;
  text-align: left;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  font-family: 'Montserrat', 'Gilroy', sans-serif;
}
.logo__salo { color: #fa4010; }
.logo__dot  { color: #cfcffd; }
.logo__fun  { color: #fea036; }

/* ===== HEADER ===== */
.header {
  width: 100%;
  margin: 0;
  position: relative;
  padding: 20px 0 0;
  background: #000000;
  z-index: 99;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.header__text { display: none; }
@media (min-width: 768px) {
  .header__text { display: block; font-size: 20px; line-height: 37px; font-weight: 600; }
}
@media (min-width: 992px) { .header__text { font-size: 24px; } }
.header__btn { display: none; }
@media (min-width: 576px) { .header__btn { display: block; padding: 15px 30px; } }

/* ===== FOOTER ===== */
.footer {
  width: 100%;
  margin: 0;
  position: relative;
  background: #000000;
  z-index: 99;
  padding: 0 0 40px;
}

.footer__mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 0;
}
@media (min-width: 576px) { .footer__mobile { display: none; } }

.footer__sm {
  display: none;
}
@media (min-width: 576px) {
  .footer__sm {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 10px 0;
    gap: 30px;
  }
}
@media (min-width: 768px) { .footer__sm { padding: 20px 20px 0; } }
@media (min-width: 1200px) { .footer__sm { display: none; } }

.footer__xl {
  display: none;
}
@media (min-width: 1200px) {
  .footer__xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.footer__tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 1200px) { .footer__tags { flex-direction: row; flex-wrap: wrap; } }

.footer__logo { flex-grow: 0; }

.footer__btn { display: none; }
@media (min-width: 768px) { .footer__btn { display: block; padding: 15px 30px; } }

.link { color: #ffffff; text-decoration: none; font-size: 14px; padding: 6px 0; display: inline-block; }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0; left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  z-index: 99999;
}
.modal.modal--visible { display: flex; }

.modal__backdrop {
  position: absolute;
  width: 100%; height: 100%;
  z-index: -1;
  background: rgba(0,0,0,0.8);
}

.modal__box {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 576px) { .modal__box { padding: 20px; } }

.form {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 600px;
  padding: 50px 10px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  border-radius: 30px;
  font-family: "Gilroy", "Open Sans", sans-serif;
}
.form::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 30px;
  background: #11132A;
  z-index: -1;
}
@media (min-width: 576px) { .form { padding: 50px 50px 60px; } }

.form__close {
  position: absolute;
  right: 30px; top: 20px;
  padding: 0;
  background: 0;
  border: 0;
  cursor: pointer;
}
.form__close .fas { font-size: 28px; color: rgba(255,255,255,0.25); }

.form__title {
  font-weight: 600;
  line-height: 37px;
  font-size: 26px;
  margin: 0 0 15px;
}
@media (min-width: 576px) { .form__title { font-size: 30px; margin: 0 0 30px; } }

.form__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
@media (min-width: 576px) { .form__item { gap: 30px; } }

.form__input {
  width: 100%;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border: 0;
  padding: 0 0 0 15px;
  border-radius: 50px;
  font-size: 30px;
  letter-spacing: 15px;
  color: #fff;
  outline: none;
  font-weight: 600;
  text-align: center;
}
.form__input::placeholder { color: rgba(255,255,255,0.65); }
@media (min-width: 576px) { .form__input { width: calc(50% - 15px); } }

.form__button { width: 100%; }
@media (min-width: 576px) { .form__button { width: calc(50% - 15px); } }

.form__error {
  position: absolute;
  bottom: 15px; left: 50%;
  transform: translate(-50%, 0);
  font-size: 16px;
  width: 100%;
  display: none;
}

/* ===== RETURN TO PARTY BUTTON ===== */
.home__return {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  animation: slide-up 0.6s ease-in;
  width: 260px;
  z-index: 999;
  display: none;
}
@keyframes slide-up {
  from { top: -80px; }
  to   { top: 20px; }
}

/* ===== TAGS (catalog & game) ===== */
.tags {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tags__list {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  visibility: hidden;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.tags__list.visible {
  visibility: visible;
  opacity: 1;
  height: auto;
  width: 100%;
  transition: opacity 0.5s;
  overflow: visible;
}
@media (min-width: 576px) {
  .tags__list { visibility: visible; opacity: 1; height: auto; width: 100%; overflow: visible; }
}

.tag { text-align: center; padding: 15px 20px; font-size: 16px; }
.tag.active::before { display: none; }

.more { display: none; }
.more.active { display: block; }
@media (min-width: 576px) { .more.active { display: none; } }

/* ===== SECTION PADDING ===== */
.pt { padding-top: 50px; }
@media (min-width: 768px) { .pt { padding-top: 100px; } }

/* ===== CARD — Gradient-border card ===== */
.card {
  position: relative;
  border-radius: 30px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0;
  padding: 25px;
}
.card::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 30px;
  background: #11132A;
  z-index: -1;
}
.card--sm { border-radius: 20px; }
.card--sm::before { border-radius: 20px; }
.card--pill { border-radius: 50px; }
.card--pill::before { border-radius: 50px; }
.card:hover { box-shadow: 0 0 30px rgba(116, 66, 200, 0.5); }

/* ===== BLOG CARD ===== */
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover {
  box-shadow: 0 0 30px rgba(116, 66, 200, 0.5);
  transform: translateY(-4px);
}
.blog-card__img { width: 100%; display: block; }
.blog-card__body { padding: 15px; }
.blog-card__title { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
@media (min-width: 768px) { .blog-card__title { font-size: 24px; } }
.blog-card__text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.75); }

/* ===== MARKER — Gradient-border number marker ===== */
.marker {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0;
  width: 50px; height: 50px;
  font-size: 28px;
  color: #7442C8;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 10px rgba(116,66,200,0.75);
  flex-shrink: 0;
}
.marker::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 20px;
  background: #11132A;
  z-index: -1;
}
.marker--circle { border-radius: 50%; }
.marker--circle::before { border-radius: 50%; }
@media (min-width: 576px) { .marker { width: 70px; height: 70px; font-size: 36px; } }

/* ===== REVIEW ===== */
.review {
  position: relative;
  padding: 25px;
  border-radius: 20px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0;
}
.review::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 20px;
  background: #11132A;
  z-index: -1;
}
.review__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 12px; }
.review__title { margin: 0; font-size: 20px; font-weight: 600; }
.review__score { flex-shrink: 0; font-size: 36px; font-weight: 700; color: #7442C8; }
.review__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); }

/* ===== PROSE — Rich text content ===== */
.prose { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.9); }
@media (min-width: 768px) { .prose { font-size: 18px; } }
.prose h1, .prose h2, .prose h3 { margin: 1.5em 0 0.5em; font-weight: 600; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: #F1008E; }

/* ===== LOADING ===== */
.loading { text-align: center; padding: 60px 0; color: rgba(255,255,255,0.5); font-size: 18px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 100000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__backdrop { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.9); }
.lightbox__img { position: relative; max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 12px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: white; font-size: 28px; cursor: pointer; z-index: 1; }

/* ===== VIDEO EMBED ===== */
.video-embed { width: 100%; max-width: 480px; }
.video-embed iframe { width: 100%; aspect-ratio: 16/9; border-radius: 12px; border: 0; }

/* ===== PAGE — page-level padding ===== */
.page { padding: 0 10px; }
@media (min-width: 768px) { .page { padding: 0 20px; } }

.page__container { max-width: 1440px; margin: 0 auto; padding: 0 10px; }
@media (min-width: 768px) { .page__container { padding: 0 20px; } }
@media (min-width: 1400px) { .page__container { padding: 0 65px; } }

.page__container--narrow { max-width: 900px; margin: 0 auto; }

/* ===== SECTION ===== */
.section { padding-top: 50px; }
@media (min-width: 768px) { .section { padding-top: 100px; } }

.section__title { text-align: center; margin-bottom: 30px; }
@media (min-width: 768px) { .section__title { margin-bottom: 40px; } }

.section__desc {
  text-align: center; font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.75); max-width: 800px; margin: 0 auto 40px;
}
@media (min-width: 768px) { .section__desc { font-size: 18px; } }

/* ===== GRID ===== */
.grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 576px) { .grid--2-sm { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid { gap: 20px; } .grid--2-md { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .grid { gap: 30px; } .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr 1fr; } }

/* ===== ROW — flexbox two-column ===== */
.row { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) { .row { flex-direction: row; align-items: flex-start; } }
@media (min-width: 992px) { .row--center { align-items: center; } }
.row__col { width: 100%; }
@media (min-width: 768px) { .row__col { flex: 1; } .row__col--50 { width: 50%; flex: none; } }

/* ===== GLOW — decorative blurred circle ===== */
.glow { position: relative; z-index: 0; }
.glow::before {
  content: ""; display: block; position: absolute;
  width: 600px; height: 600px; border-radius: 50%; filter: blur(250px); z-index: -1;
}
.glow--left::before { top: 100px; left: 0; transform: translate(-38%, 0); background: linear-gradient(180deg, #4E61EC 0%, #823EB8 100%); }
.glow--right::before { top: 180px; right: 0; transform: translate(48%, 0); background: linear-gradient(180deg, #4C5EE4 0%, #9430E3 100%); }

/* ===== GAME CARD ===== */
.game-card {
  position: relative; border-radius: 30px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0; padding: 18px 15px;
  display: flex; flex-direction: column; align-items: center; gap: 15px;
  text-decoration: none; color: white; transition: all 0.3s;
}
.game-card::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 30px; background: #11132A; z-index: -1;
}
.game-card:hover, .game-card:focus { box-shadow: 0 0 30px rgba(116, 66, 200, 0.5); transform: translateY(-2px); }
@media (min-width: 992px) { .game-card { padding: 30px; flex-direction: row; gap: 20px; } }

.game-card__info { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
@media (min-width: 992px) { .game-card__info { align-items: flex-start; text-align: left; } }

.game-card__title { font-size: 20px; line-height: 24px; font-weight: 600; margin: 0; }
@media (min-width: 1200px) { .game-card__title { font-size: 30px; line-height: 37px; } }

.game-card__count { font-size: 14px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; }
.game-card__text { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.8); margin: 0; }
@media (min-width: 768px) { .game-card__text { font-size: 16px; } }
.game-card__btn { margin-top: auto; align-self: flex-start; }
.game-card__cover { order: -1; flex-shrink: 0; }
@media (min-width: 992px) { .game-card__cover { order: 0; width: 40%; } }
.game-card__img { width: 100%; height: auto; }

/* ===== STATS BAR ===== */
.stats {
  position: relative; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 62px; padding: 40px; z-index: 0;
}
.stats::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: calc(100% - 4px); background: transparent; z-index: -1;
}
@media (min-width: 768px) {
  .stats { flex-direction: row; background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%); }
  .stats::before { background: #11132A; }
}
@media (max-width: 575px) {
  .stats { padding: 20px; gap: 0; }
  .stats__item:not(:first-child) { display: none; }
  .stats__item:first-child { flex-direction: row; gap: 15px; }
  .stats__item:first-child .stats__text { align-items: center; }
  .stats__item:first-child .stats__text span { margin: 0 0 4px; }
  .stats__item:first-child::after { display: none; }
}

.stats__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
@media (min-width: 768px) { .stats__item { flex-direction: row; } }
.stats__item:not(:last-child)::after {
  content: ""; position: absolute; bottom: -30px; right: 50%; transform: translate(50%, 0);
  height: 2px; width: 60px; background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
}
@media (min-width: 768px) {
  .stats__item:not(:last-child)::after { top: 50%; right: -30px; transform: translate(0, -50%); height: 60px; width: 2px; bottom: auto; }
}
.stats__item:nth-child(2) .stats__icon i { font-size: 30px; }

.stats__icon {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
}
.stats__icon i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 36px; }

.stats__text { display: flex; flex-direction: column; align-items: center; margin: 0; }
@media (min-width: 768px) { .stats__text { align-items: flex-start; } }
.stats__text span {
  display: block; margin: 0 0 10px; font-size: 34px; line-height: 1;
  text-shadow: 0px -3px 2px rgba(12,19,55,0.004), 0 -1px 4px #1b7ae2, 0 -2px 10px #1b7ae2, 0 -10px 20px #1b7ae2, 0 -18px 40px #1b7ae2;
  text-transform: uppercase; font-weight: 700;
}

/* ===== FEATURES LIST ===== */
.features { margin-top: 60px; }
@media (min-width: 768px) { .features { margin-top: 80px; } }
.features__container {
  position: relative;
  z-index: 0;
}

@media (min-width: 768px) { .features__row { display: flex; align-items: flex-start; gap: 30px; } }
@media (min-width: 1200px) { .features__row { gap: 50px; } }
@media (min-width: 1400px) { .features__row { gap: 70px; } }

.features__col { width: 100%; margin: 20px 0 0; }
@media (min-width: 768px) { .features__col { margin: 0; } }

.features__list { margin: 20px 0 0; }
.features__item { position: relative; text-align: left; }
.features__item:not(:first-child) { margin: 25px 0 0; }
@media (min-width: 1200px) { .features__item { padding: 0 0 0 90px; } .features__item:not(:first-child) { margin: 50px 0 0; } }

.features__marker {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  width: 30px; height: 30px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%); z-index: 0;
}
.features__marker::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; background: #11132A; z-index: -1;
}
.features__marker i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 16px; }
@media (min-width: 1200px) { .features__marker { width: 60px; height: 60px; } .features__marker i { font-size: 24px; } }

.features__title { padding: 0 0 0 45px; font-weight: 600; font-size: 20px; line-height: 24px; }
@media (min-width: 1200px) { .features__title { padding: 0; font-size: 30px; line-height: 37px; } }
.features__text { margin: 20px 0 0; }
@media (min-width: 1200px) { .features__text { margin: 10px 0 0; } }

/* ===== WORKS (numbered steps) ===== */
.works__container {
  padding-top: 50px;
  position: relative;
  z-index: 0;
}
.works__container::before {
  content: ""; display: block; position: absolute;
  width: 600px; height: 600px; top: 180px; right: 0;
  transform: translate(48%, 0);
  background: linear-gradient(180deg, #4C5EE4 0%, #9430E3 100%);
  filter: blur(250px); border-radius: 50%; z-index: -1;
}
@media (min-width: 768px) { .works__container { padding-top: 100px; } }

@media (min-width: 768px) { .works__row { display: flex; align-items: center; } }

@media (min-width: 768px) { .works__col { width: 50%; } }

@media (min-width: 768px) { .works__info { text-align: left; } }

.works__item { text-align: center; }
@media (min-width: 576px) {
  .works__item { margin: 15px 0 0; display: grid; grid-template-columns: 80px 1fr; grid-template-rows: 37px auto; gap: 10px 30px; grid-template-areas: "marker label" "marker text"; align-items: center; }
}
@media (min-width: 992px) { .works__item:not(:first-child) { margin: 50px 0 0; } }

.works__marker { margin: 15px auto; grid-area: marker; }
@media (min-width: 576px) {
  .works__marker {
    margin: 0;
    width: 80px;
    height: 80px;
    font-size: 42px;
  }
}

.works__label { grid-area: label; font-size: 20px; line-height: 24px; font-weight: 600; }
@media (min-width: 576px) { .works__label { text-align: left; } }
@media (min-width: 1200px) { .works__label { font-size: 30px; line-height: 37px; } }

.works__text { grid-area: text; margin: 10px 0 0; }
@media (min-width: 576px) { .works__text { text-align: left; margin: 0; } }

.works__img { display: none; }
@media (min-width: 768px) { .works__img { display: block; width: 100%; max-width: 520px; height: auto; border-radius: 50%; } }

/* ===== FAQ ===== */
.faq__list { max-width: 850px; margin: 0 auto; }
.faq__item {
  position: relative; border-radius: 30px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  z-index: 0; padding: 20px; text-align: left;
}
.faq__item::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 30px; background: #11132A; z-index: -1;
}
.faq__item:not(:first-child) { margin: 15px 0 0; }
@media (min-width: 1200px) { .faq__item { padding: 30px; } .faq__item:not(:first-child) { margin: 30px 0 0; } }
.faq__title { font-size: 20px; line-height: 24px; font-weight: 600; }
@media (min-width: 1200px) { .faq__title { font-size: 30px; line-height: 37px; } }
.faq__text { margin: 20px 0 0; }

/* ===== COUNTER BADGE ===== */
.counter {
  position: fixed; bottom: 40px; right: 20px; padding: 10px 30px; height: 62px;
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  border-radius: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1000;
}
.counter::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50px; background: #11132A; z-index: -1;
}
.counter--accent::before { display: none; }
.counter__title { font-size: 12px; line-height: 16.8px; margin: 0; }
.counter__stats { display: flex; gap: 20px; }
.counter__stats-item { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; line-height: 25.2px; }
.counter__stats-item p { margin: 0; }
