/* Шрифты (Montserrat) подключаются через <link> в index.php */
:root {
  /* Vars */
  --text-main: #f1f1f1;
  --text-regular: #B9B3C1;
  --text-placeholder: #f1f1f1;
  --danger: #dc758f;
  --brand: rgba(255, 189, 37, 0.86);
  --success: #3cc199;
  --bg-color: #fefefe;
  --bg-second: #322E3C;
}

* {
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}

.header-pm {
  background: #322E3C;
  margin-top: -30px;
  padding: 15px;
}

.header-pm a {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(0, 0, 0, 0.3);
}

*:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background: #2D2937;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text-regular);
  font-size: 16px;
}

a,
a:visited {
  color: #fff;
  text-decoration: none;
}

.bg {
  width: 100%;
  height: 587px;
  background: url("../images/ui/bg.png");
  position: absolute;
}

.container {
  max-width: 1200px !important;
  padding: 0 !important;
  margin: 0 auto;
}

header {
  display: flex;
  top: 30px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn {
  padding: 18px 30px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  border: none;
  cursor: pointer;
}

.btn-brand {
  background: rgba(255, 189, 37, 0.86);
  color: #1f1a0f;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-brand span {
  font-size: 24px;
}

.btn-brand:hover {
  background: rgba(255, 189, 37, 0.86);
}

/* «Начать играть» в шапке — иконка загрузки + текст (index, rules, agree, privacy) */
#download-button {
  gap: 8px;
}

#download-button .icon {
  width: 22px;
  height: 22px;
}

.links {
  display: flex;
  list-style-type: none;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.link {
  margin-right: 30px;
}

.link:last-child {
  margin-right: 0;
}

.link a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 450;
  font-size: 17px;
}

.link:hover a {
  color: #f1f1f1;
}

.link.active a {
  color: #f1f1f1;
}

/* Фиксированный размер — нет смещения при подмене lazyload и загрузке изображения */
.logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  position: relative;
  left: -17px;
  margin-left: -10px;
}

.content {
  margin-top: 46px;
}

.title {
  font-weight: bold;
  font-size: 36px;
  color: var(--text-main);
  margin-left: 20px;
  padding-top: 35px;
}

.subtitle {
  font-weight: 500;
  font-size: 18px;
  margin-top: 5px;
  color: #fefefe;
  margin-left: 20px;
}

.pd-0-0-25-25 {
  padding: 0 0 12px 25px !important;
}

/* Блок категорий: по центру карточки, текст и вкладки — выравнивание слева */
.card-categories .card-categories-inner {
  padding: 0 0 4px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.category-hint {
  font-size: 13px;
  margin: 12px 0 8px 0;
  color: #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  max-width: fit-content;
}
.category-hint .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tabs {
  margin-top: 8px;
  margin-bottom: 4px;
  display: flex;
  min-height: 38px;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-placeholder);
  height: 38px;
  line-height: 38px;
  margin-right: 0;
  padding: 0 10px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .card-categories {
    margin-top: 10px;
  }

  .card-categories .card-categories-inner {
    padding: 8px 12px 10px 12px;
  }

  .category-hint {
    font-size: 12px;
    margin: 8px 0 6px 0;
  }

  .tabs {
    gap: 6px;
  }

  .tab {
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
  }
}

.tab:hover {
  color: #fefefe;
}

.tab.active {
  color: var(--text-main);
  border-bottom: 2px solid var(--brand);
}

.tab:last-child {
  margin-right: 0;
}

@media (max-width: 768px) {
  .category-hint {
    font-size: 12px;
    margin: 10px 0 6px 0;
    gap: 4px;
    padding: 0;
  }
  .category-hint .icon {
    width: 14px;
    height: 14px;
  }
  .tabs {
    margin-top: 6px;
    margin-bottom: 8px;
    height: 34px;
    gap: 2px;
  }
  .tab {
    font-size: 14px;
    height: 34px;
    line-height: 34px;
    margin-right: 16px;
    padding: 0 2px;
  }
}

@media (max-width: 480px) {
  .category-hint {
    font-size: 11px;
    margin: 8px 0 4px 0;
  }
  .category-hint .icon {
    width: 13px;
    height: 13px;
  }
  .tabs {
    height: 32px;
    margin-top: 4px;
    margin-bottom: 6px;
  }
  .tab {
    font-size: 13px;
    height: 32px;
    line-height: 32px;
    margin-right: 12px;
  }
}

.card {
  background: #322E3C;
  border-radius: 15px;
  border: 1px solid #262b2f;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.sell {
  padding: 14px 28px;
  display: flex;
  align-items: center;
}

.sell-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.sell-subtitle {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-regular);
  margin-top: 4px;
}

/* Кнопка "Начать играть" под текстом "Покупка Доната" */
/* Донат на сервере UltraMine: тот же шрифт, Ultra — жёлтый, Mine — белый */
.hero-ultra,
.hero-mine {
  font-family: "Press Start 2P", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: inherit;
  font-weight: inherit;
  text-shadow: 0 3px 0 rgba(0,0,0,0.55), 0 10px 28px rgba(0,0,0,0.45);
}
.hero-ultra {
  color: #ffeb3b;
}
.hero-mine {
  color: #ffffff;
}

.hero-start-btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(105deg, #ff1d00 0%, #ff4d1a 25%, #ff7f00 50%, #ffbb00 75%, #bbff25 100%);
  border: none;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-start-btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-start-btn:hover {
  background: linear-gradient(105deg, #ff1d00 0%, #ff4d1a 25%, #ff7f00 50%, #ffbb00 75%, #bbff25 100%);
  box-shadow: 0 8px 25px rgba(255, 127, 0, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Кнопка "К товарам" в герое — ниже кнопки "Начать играть", цвет текста не меняется при клике */
.hero-actions .gobuy {
  min-height: 44px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  color: #fefefe;
}

.hero-actions .gobuy:hover,
.hero-actions .gobuy:focus,
.hero-actions .gobuy:active,
.hero-actions .gobuy:visited {
  color: #fefefe;
}

.hero-actions .gobuy .icon-gobuy {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-actions .gobuy:hover,
.hero-actions .gobuy:focus {
  background: rgba(255, 189, 37, 1);
  box-shadow: 0 6px 20px rgba(255, 189, 37, 0.4);
  transform: translateY(-2px);
}

.hero-actions .gobuy:active {
  transform: translateY(0);
  color: #fefefe;
}

.time {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.timer b {
  font-size: 16px;
  color: var(--brand);
  position: relative;
  margin: 0 3px;
  top: -12px;
}

.number {
  background: rgba(255, 190, 134, 0.2);
  border-radius: 7px;
  height: 46px;
  width: 65px;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.time p {
  color: #75717b;
  font-size: 14px;
  margin-top: 5px;
}

.good-card {
  background: var(--bg-second);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 20px 23px;
  margin-bottom: 20px;
  transition: transform 0.3s;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.good-card:hover {
  transform: scale(1.1);
}

/* Единый размер картинки во всех вкладках (Привилегии, Ключи, Другое) */
.good-card .good-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Название в одну строку, без переноса (ПК и мобила), без обрезки */
.good-name {
  font-size: 15px;
  font-weight: 550;
  margin-top: 20px;
  white-space: nowrap;
  text-align: center;
}

.good-price {
  color: var(--brand);
  font-weight: 600;
  font-size: 16px;
  line-height: 27px;
  margin-top: 3px;
}

.monitoring {
  padding: 40px 30px;
}

/* Мониторинг и версия в одну строку, версия справа и мельче */
.monitoring-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
}

/* Как в «Последние покупки»: иконка и текст Мониторинг того же цвета (не brand) */
.monitoring-title-row .card-title-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 18px;
  margin-right: 0;
  position: static;
  top: auto;
}

.monitoring-title-row .card-title-inner .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Бейдж версии справа — мелкий (перебиваем .card-title span, где font-size: 18px) */
.monitoring .card-title.monitoring-title-row .monitoring-version {
  font-size: 12px !important;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  background: #2e7d32;
  color: #e8f5e9;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
  margin-right: 0;
  position: static;
  top: auto;
}

.buyers {
  padding: 40px 30px 10px;
  position: relative;
}

.monitoring h2:not(.card-title) {
  font-weight: bold;
  font-size: 22px;
  line-height: 35px;
  color: var(--text-main);
}

.card-title {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-main);
  margin: 0;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.25);
}

.card-title span {
  color: var(--brand);
  font-size: 18px;
  margin-right: 15px;
  position: relative;
  top: 1px;
}

.online {
  background: rgba(255, 190, 134, 0.2);
  box-shadow: 0 0 10px rgba(255, 190, 134, 0.3);
  border-radius: 50px;
  height: 15px;
  width: 100%;
}

.online-path {
  background: var(--brand);
  border-radius: 50px;
  height: 15px;
}

.shop {
  padding-right: 60px !important;
}

.products-tabs-wrap {
  min-height: 0;
}

.products-tab[hidden] {
  display: none !important;
}

.add-server {
  padding-top: 20px;
}

.add-server .placeholder {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-placeholder);
}

.btn-copy {
  background: rgba(255, 189, 37, 0.86);
  border-radius: 15px;
  width: 61px;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  flex: none;
  border: none;
  cursor: pointer;
}

.buyer {
  display: flex;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 25px;
  align-items: center;
}

.buyer img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 7px;
  object-fit: cover;
}

.buyer h4,
.buyer .buyer-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.badge-success {
  background: rgba(60, 193, 153, 0.2);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--success);
  padding: 7px 10px;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.25);
}

.scroll-mask {
  background: linear-gradient(180deg, rgba(51, 46, 60, 0.65) 0%, #fff 100%);
  border: 1px solid #262b2f;
  border-radius: 0 0 15px 15px;
  width: 100%;
  height: 135px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
}

.review {
  padding: 40px 25px 50px;
}

.review img {
  filter: drop-shadow(0 0 20px rgba(255, 190, 134, 0.15));
  border-radius: 50%;
  width: 40px;
  margin-right: 20px;
  object-fit: cover;
}

.review h4 {
  font-size: 16px;
  color: var(--text-main);
  line-height: 27px;
  margin-bottom: 0;
  font-weight: 500;
}

.review span {
  font-size: 14px;
}

.review p {
  font-size: 16px;
  line-height: 27px;
}

footer {
  background: #25344E;
  margin-top: 110px;
  padding: 46px 0;
  line-height: 25px;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #272838;
}

::-webkit-scrollbar-thumb {
  background: #35374a;
  border-radius: 7px;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.modal-container {
  min-width: 1000px;
  padding: 30px 25px;
}

.modal {
  width: 100%;
  z-index: 11000;
  max-width: 1000px;
  background: #2D2937;
  border-radius: 15px;
  padding: 50px 40px 70px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Модалка "Как начать играть" — компактная и адаптивная */
#howto-modal .modal-container {
  min-width: 0;
  max-width: 520px;
  width: 100%;
  padding: 20px 16px;
}

.howto-modal {
  max-width: 520px;
  padding: 24px 20px 20px;
}

.howto-header {
  margin-bottom: 8px;
}

.howto-header h2 {
  font-size: 20px;
  margin: 0 0 4px 0;
}

.howto-header p {
  font-size: 14px;
  color: #a0aec0;
}

.howto-body {
  padding-top: 0;
}

.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.howto-step {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.howto-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.howto-step-content h4,
.howto-step-content h3 {
  font-size: 14px;
  margin: 0 0 2px 0;
}

.howto-step-content p {
  font-size: 13px;
  color: #cbd5e0;
  margin: 0;
}

.howto-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.howto-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howto-download-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(102, 126, 234, 0.35);
}

.howto-download-btn--alt {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.howto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.howto-primary.btn-brand {
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  justify-content: center;
  min-width: 220px;
}

.howto-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(105deg, #ff1d00 0%, #ff4d1a 25%, #ff7f00 50%, #ffbb00 75%, #bbff25 100%);
  color: #ffffff;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.howto-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 127, 0, 0.35);
  color: #ffffff;
}

/* Крестик закрытия в модалке "Как начать играть" всегда белый */
.howto-header .howto-close svg {
  stroke: #ffffff;
}

@media (max-width: 768px) {
  #howto-modal .modal-container {
    max-width: 100%;
    padding: 16px;
  }

  #howto-modal .modal {
    padding: 20px 16px 16px;
  }

  .howto-header h2 {
    font-size: 18px;
  }

  .howto-step {
    font-size: 13px;
  }

  .howto-step-content p {
    font-size: 12px;
  }

}

.modal .card-header {
  display: flex;
  align-items: center;
}

.modal .card-header img {
  width: 50px;
  margin-right: 25px;
  object-fit: cover;
}

#title {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 8px;
}

#price {
  font-weight: 500;
  font-size: 16px;
  color: var(--brand);
}

.input-group label {
  font-size: 14px;
  color: var(--text-placeholder);
  margin-bottom: 5px;
  display: inline-block;
}

.input {
  background: #322E3C;
  border-radius: 7px;
  width: 100%;
  border: none;
  color: var(--text-main);
  font-family: inherit;
}

.input::placeholder {
  color: var(--text-placeholder);
}

.input {
  height: 50px;
  padding: 11px 10px;
  font-size: 16px;
}

.footer-text {
  font-weight: 300; 
  text-align: center;
  color: #fefefe;
}

.footer-text-mojang {
  font-size: 12px;
  font-weight: 300; 
  text-align: center;
  color: #fefefe;
}
.footer-text-mojang a {
  color: #b8b8bc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-text-mojang a:hover {
  color: #e0e0e2;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

a, a:hover, a:focus, a:active {
  text-decoration: none;
  outline: none;
}

a, a:active, a:focus {
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

section {
  padding: 60px 0;
}

.footer {
  background-color: #322E3C;
  padding-top: 40px;
  padding-bottom: 10px;
  margin-top: 20px;
}

.single_footer h4,
.single_footer h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
}

.single_footer h4::after,
.single_footer h3::after {
  content: "";
  display: block;
  height: 2px;
  width: 40px;
  background: #fff;
  margin-top: 20px;
}

.single_footer p {
  color: #fff;
}

.single_footer ul li a {
  color: #fff;
  transition: all 0.3s ease;
  line-height: 36px;
  font-size: 15px;
  text-transform: capitalize;
}

.single_footer ul li a:hover {
  color: #ff3666;
}

.single_footer_address ul li {
  color: #fff;
}

.single_footer_address ul li span {
  font-weight: 400;
  color: #fff;
  line-height: 28px;
}

.contact_social ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subscribe {
  display: block;
  position: relative;
  margin-top: 15px;
  width: 100%;
}

.subscribe__input {
  background-color: #fff;
  border: none;
  border-radius: 5px;
  color: #333;
  display: block;
  font-size: 15px;
  font-weight: 500;
  height: 60px;
  letter-spacing: 0.4px;
  margin: 0;
  padding: 0 150px 0 20px;
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  font-family: inherit;
}

@media only screen and (max-width: 768px) {
  .subscribe__input {
    padding: 0 50px 0 20px;
  }
}

.subscribe__btn {
  background-color: transparent;
  border-radius: 0 25px 25px 0;
  color: #01c7e9;
  cursor: pointer;
  display: block;
  font-size: 20px;
  height: 60px;
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  border: none;
}

.subscribe__btn i {
  transition: all 0.3s ease;
}

@media only screen and (max-width: 768px) {
  .subscribe__btn {
    right: 0;
  }
}

.subscribe__btn:hover i {
  color: #ff3666;
}

button {
  padding: 0;
  border: none;
  background-color: transparent;
  border-radius: 0;
  font-family: inherit;
}

.social_profile {
  margin-top: 40px;
}

.social_profile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.social_profile ul li {
  margin: 0 5px 10px;
}

.social_profile ul li a {
  text-align: center;
  border: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 18px;
  color: #fff;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social_profile ul li a i {
  line-height: 1;
}

.social_profile ul li a .social-icon-svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--text-main);
}

.social_profile ul li a:hover .social-icon-svg {
  color: #fff;
}

.social_profile ul li a .social-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transform: translateY(-1px);
}

@media only screen and (max-width: 768px) {
  .social_profile ul li a {
    margin-right: 10px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 480px) {
  .social_profile ul li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .social_profile ul li a .social-icon-img {
    width: 16px;
    height: 16px;
    transform: translateY(-1px);
  }
}

.social_profile ul li a:hover {
  background: #ff3666;
  border: 1px solid #ff3666;
  color: #fff;
}

.copyright {
  margin-top: 30px;
  padding-top: 40px;
  color: #fff;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
}

.copyright a {
  color: #01c7e9;
  transition: all 0.2s ease;
}

.copyright a:hover {
  color: #ff3666;
}

.input-prepend {
  display: flex;
  min-width: 0;
}

.input-prepend .input,
.input-prepend .input-select {
  border-radius: 0 7px 7px 0;
  min-width: 0;
}

/* Выбор сервера: удобно и аккуратно на ПК и мобиле */
.input-prepend .input-select {
  cursor: pointer;
  padding-right: 36px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B9B3C1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  background-color: #322E3C;
}

.input-prepend .input-select:focus {
  outline: none;
}

.input-prepend .input-select option {
  background: #322E3C;
  color: var(--text-main);
}

.input-prepend-icon,
.input-prepend > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-width: 50px;
  height: 50px;
  background: #322E3C;
  border-radius: 7px 0 0 7px;
  color: var(--text-regular);
}

#desc {
  background-color: #322E3C;
  padding: 10px;
  border-radius: 10px;
}

.input-prepend span {
  background: #322E3C;
  height: 50px;
  width: 50px;
  min-width: 50px;
  border-radius: 7px 0 0 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-regular);
}

.border-right {
  border-right: 1px solid #f3eeff;
}

.lgpr-20px {
  padding-right: 20px !important;
}

.lgpl-20px {
  padding-left: 20px !important;
}

.modal .subtitle {
  margin-top: 0;
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.modal-scroll-mask {
  background: linear-gradient(180deg, rgba(46, 41, 54, 0) 0%, #fefefe 100%);
  width: 100%;
  height: 76px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10000;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.mobile-burger {
  background: rgba(255, 189, 37, 0.86);
  height: 60px;
  width: 60px;
  border-radius: 10px;
  border: none;
  margin-right: 15px;
  cursor: pointer;
  display: none;
}

/* Критично для мобильных: скрыть кнопку «Начать играть» в шапке с первой отрисовки (adaptive.css грузится асинхронно) */
@media (max-width: 576px) {
  #download-button {
    display: none !important;
  }
}

#mobile-menu {
  background: var(--bg-second);
  padding: 30px;
  position: absolute;
  z-index: 1000;
  margin-left: -25px;
  top: -320px;
  transition: ease-in 0.2s;
}

#mobile-menu.active {
  top: -10px;
}

.mobile-links {
  list-style-type: none;
}

.mobile-links li {
  text-align: center;
}

.mobile-links li:not(:last-child) {
  margin-bottom: 30px;
}

.mobile-links li a {
  color: var(--text-regular);
  font-size: 18px;
  text-decoration: none;
}

.mobile-links li a:hover {
  color: var(--text-main);
}

.mobile-links a.active {
  color: var(--text-main);
}

#close-mobile {
  position: absolute;
  right: 7px;
  top: 20px;
  background: none;
  border: none;
  color: var(--text-regular);
  cursor: pointer;
  font-size: 20px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .single_footer {
    margin-bottom: 30px;
  }
}

/* СТАНДАРТНЫЕ РАЗМЕРЫ ДЛЯ STEAVE AVATAR 2025 - МАЙНКРАФТ ПЕ С СТАРЫМ ЦВЕТОМ */
.buyer .steave-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    border: 3px solid transparent !important;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ff6b35) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-left: -8px !important;
    margin-right: 18px !important;
    position: relative !important;
    overflow: hidden !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) !important;
}

.buyer .steave-avatar::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transform: rotate(45deg) !important;
    animation: shine 4s ease-in-out infinite !important;
    z-index: 1 !important;
}

.buyer .steave-avatar:hover {
    transform: scale(1.15) rotate(3deg) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6) !important;
    border-color: #ff6b35 !important;
    filter: drop-shadow(0 6px 20px rgba(255, 107, 53, 0.5)) !important;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .buyer .steave-avatar {
        width: 58px !important;
        height: 58px !important;
        margin-left: -6px !important;
        margin-right: 15px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 480px) {
    .buyer .steave-avatar {
        width: 52px !important;
        height: 52px !important;
        margin-left: -4px !important;
        margin-right: 12px !important;
        border-radius: 8px !important;
    }
}

/* Дополнительные современные эффекты 2025 */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.7);
    }
}

.buyer .steave-avatar {
    animation: gradientShift 3s ease infinite, pulseGlow 3s ease-in-out infinite !important;
}

/* FAQ — в стиле карточек сайта (мониторинг, howto) */
.seo-faq-wrap {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 0 15px;
}

.seo-faq-card {
  padding: 20px 22px 18px;
}

.seo-faq-heading {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-faq-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-regular);
}

.seo-faq-howto-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-faq-howto-link:hover {
  color: #fff;
}

.seo-faq-heading .card-title-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.seo-faq-heading .card-title-inner .icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex-shrink: 0;
}

.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-faq-item {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid #262b2f;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-faq-item[open] {
  border-color: rgba(255, 189, 37, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.seo-faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.seo-faq-summary::-webkit-details-marker {
  display: none;
}

.seo-faq-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 189, 37, 0.9) 0%, rgba(255, 127, 0, 0.85) 100%);
  color: #1f1a0f;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.25);
}

.seo-faq-q {
  flex: 1;
  text-align: left;
}

.seo-faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-regular);
  transition: transform 0.2s ease, color 0.2s ease;
}

.seo-faq-item[open] .seo-faq-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.seo-faq-answer {
  padding: 0 16px 14px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-faq-answer p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-regular);
}

.seo-faq-answer .text-brand {
  color: var(--brand);
  font-weight: 600;
}

.seo-faq-answer strong {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 576px) {
  .seo-faq-card {
    padding: 16px 14px 14px;
  }

  .seo-faq-summary {
    padding: 12px 12px;
    font-size: 14px;
    gap: 10px;
  }

  .seo-faq-answer {
    padding: 0 12px 12px 12px;
  }

  .seo-faq-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}
