body {
  margin: 0;
  padding: 0;
  padding-bottom: 0px; /* Отступ для FAQ секции */
  min-height: 100vh;
  background: linear-gradient(120deg, #101c16 0%, #1b2e23 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #e0f2f1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
html {
  background: linear-gradient(120deg, #101c16 0%, #1b2e23 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100%;
}

* {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Распределяем элементы по краям */
  padding: 20px 20px 16px 20px;
  background: rgba(27, 77, 62, 0.18);
  box-shadow: 0 2px 16px rgba(27,77,62,0.10);
}

.header-buttons {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0 5px;
}

.header-buttons:last-child {
  justify-content: flex-end;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(59, 224, 122, 0.1);
  border: 1px solid rgba(59, 224, 122, 0.2);
  border-radius: 6px;
  color: #3be07a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.8;
}

.header-btn:hover {
  color: #4ade80;
  background: rgba(59, 224, 122, 0.15);
  border-color: rgba(59, 224, 122, 0.3);
  opacity: 1;
  transform: translateY(-1px);
}

.header-btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.header-btn-text {
  white-space: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  position: relative;
  margin-top:-0.4%;
  width: 200px;
  height: 80px;
  overflow: hidden;
}
.logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e0f2f1;
}
.steam-title {
  color: #3be07a;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(59,224,122,0.12);
  font-size: 1.45em;
}
.subtitle {
  font-size: 1rem;
  color: #b2dfdb;
  margin-top: 6px;
  opacity: 0.85;
}

/* Desktop Title Section */
.desktop-title {
  display: none;
  text-align: center;
  margin-bottom: 0px;
  padding: 0 20px;
  position: absolute;
  left: 50%;
  top: 33px; /* Опустили заголовок немного ниже */
  transform: translateX(-50%);
  z-index: 0;
  max-width: 800px;
  width: 100%;
}

.main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e0f2f1;
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 12px rgba(59, 224, 122, 0.15);
  line-height: 1.2;
}

.steam-accent {
  background: linear-gradient(135deg, #3be07a, #27a85a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  text-shadow: none;
}

.main-subtitle {
  font-size: 1.1rem;
  color: #b2dfdb;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.9;
}

/* Mobile Title - hidden by default */
.mobile-title {
  display: none;
}
main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 70vh;
  padding-left: 5%;
  padding-top: 5%; /* добавлено */
  position: relative; /* Added for absolute positioning of reviews gallery */
  flex-direction: column; /* Добавляем для правильного позиционирования на мобильных */
}
/* Base form block styles - will be overridden by device-specific classes */
.form-block {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1000;
  align-items: center;
}
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}
.input-group label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #e0f2f1;
  margin-bottom: 2px;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-icon input {
  width: 100%;
  padding-right: 36px;
}
.icon-help {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  background: rgba(59,224,122,0.13);
  color: #3be07a;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1.5px solid #3be07a22;
  z-index: 2;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
  padding-top: 2px;
}
.icon-help:hover {
  background: #3be07a;
  color: #101c16;
}
.tooltip {
  position: absolute;
  top: auto;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-bottom: 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.tooltip-content {
  background: rgba(27, 77, 62, 0.98);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(59,224,122,0.18);
  text-align: center;
  position: relative;
  min-width: 360px;
  max-width: 90vw;
  border: 1px solid #3be07a44;
}
.tooltip-content::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(27, 77, 62, 0.98);
}
.tooltip-content::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #3be07a44;
}
.tooltip-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e0f2f1;
  margin-bottom: 6px;
}
.tooltip-video {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
  box-shadow: 0 4px 16px rgba(59,224,122,0.15);
  background: #101c16;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.tooltip-text {
  font-size: 0.95rem;
  color: #b2dfdb;
  margin-bottom: 2px;
}
.tooltip-link {
  color: #3b8ee0;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
.tooltip-link:hover {
  color: #1976d2;
}
.icon-help:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Селектор валют */
.currency-selector {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.currency-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(59,224,122,0.13);
  border: 1.5px solid #3be07a22;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.currency-icon:hover {
  background: rgba(59,224,122,0.25);
  border-color: #3be07a44;
}

.currency-symbol {
  color: #3be07a;
  font-size: 1.1rem;
  font-weight: 700;
}

.currency-arrow {
  color: #3be07a;
  font-size: 0.7rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.currency-icon.active .currency-arrow {
  transform: rotate(180deg);
}

.currency-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  margin-top: 8px;
  background: rgba(27, 77, 62, 0.98);
  border: 1px solid #3be07a44;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(59,224,122,0.18);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1000;
}

.currency-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #3be07a22;
}

.currency-option:last-child {
  border-bottom: none;
}

.currency-option:hover {
  background: rgba(59,224,122,0.15);
}

.currency-option.selected {
  background: rgba(59,224,122,0.25);
}

.currency-option .currency-symbol {
  font-size: 1rem;
  font-weight: 700;
  color: #3be07a;
}

.currency-option .currency-name {
  font-size: 0.9rem;
  color: #e0f2f1;
  font-weight: 500;
  flex: 1;
}

.currency-option .currency-rate {
  font-size: 0.8rem;
  color: #3be07a;
  font-weight: 600;
  opacity: 0.8;
}
input[type="text"], input[type="number"] {
  padding: 12px 16px;
  border: 1.5px solid #3be07a44;
  border-radius: 8px;
  font-size: 1.08rem;
  outline: none;
  background: rgba(16,28,22,0.85);
  color: #e0f2f1;
  transition: border 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus, input[type="number"]:focus {
  border: 1.5px solid #3be07a;
  box-shadow: 0 2px 12px rgba(59,224,122,0.10);
}
input.error {
  border: 1.5px solid #d63031 !important;
  animation: shake-fast 0.18s linear 1;
  background: rgba(214,48,49,0.08);
}
@keyframes shake-fast {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.min-text {
  font-size: 0.92rem;
  color: #b2dfdb;
  margin-top: 2px;
  opacity: 0.8;
  margin-left: 2px;
}

/* Стили для информации о комиссии */
.commission-info {
  margin-top: -19px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.commission-text {
  font-size: 0.9rem;
  color: #b2dfdb;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.commission-text.discount {
  color: #3be07a;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(59, 224, 122, 0.3);
}

.total-amount {
  font-size: 0.95rem;
  color: #e0f2f1;
  font-weight: 500;
  margin-top: 0px;
}

@keyframes commissionPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* Кастомный чекбокс */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.98rem;
  color: #e0f2f1;
  margin-top: -10px;
  position: relative;
}
.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #3be07a;
  border-radius: 6px;
  background: #101c16;
  outline: none;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s, background 0.3s;
  position: relative;
  margin-right: 4px;
  box-shadow: 0 2px 8px rgba(59,224,122,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Принудительно устанавливаем квадратную форму */
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
}
.checkbox-group input[type="checkbox"]:checked {
  background: #184d3a;
  border: 2px solid #3be07a;
}
.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 5px !important;
  top: 2px !important;
  width: 7px !important;
  height: 13px !important;
  border: solid #fff;
  border-width: 0 3.5px 3.5px 0 !important;
  border-radius: 1.5px;
  transform: rotate(45deg) scale(1);
  opacity: 1;
  transition: all 0.2s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 0 6px #3be07a88;
}
.checkbox-group input[type="checkbox"]:not(:checked)::after {
  content: '';
  display: block;
  position: absolute;
  left: 6px !important;
  top: 3px !important;
  width: 7px !important;
  height: 13px !important;
  border: solid #fff;
  border-width: 0 3.5px 3.5px 0 !important;
  border-radius: 1.5px;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: all 0.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.checkbox-group input[type="checkbox"].error {
  border: 2px solid #d63031 !important;
  animation: shake-soft 0.32s cubic-bezier(.68,-0.55,.27,1.55) 1;
  background: rgba(214,48,49,0.08);
  transition: border 0.3s, background 0.3s;
  animation-delay: 0s;
}
/* Плавное возвращение чекбокса к зелёному через 1 сек */
.checkbox-group input[type="checkbox"] {
  transition: border 0.3s, background 0.3s;
}
.checkbox-group input[type="checkbox"].error {
  animation: shake-soft 0.32s cubic-bezier(.68,-0.55,.27,1.55) 1;
  border: 2px solid #d63031 !important;
  background: rgba(214,48,49,0.08);
  transition: border 0.3s, background 0.3s;
}
.checkbox-group input[type="checkbox"].error.return-green {
  border: 2px solid #3be07a !important;
  background: #101c16;
  transition: border 1.5s, background 1.5s;
}
@keyframes shake-soft {
  0% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}
.checkbox-group label {
  cursor: pointer;
  user-select: none;
}
.submit-btn {
  background: linear-gradient(90deg, #184d3a 0%, #3be07a 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59,224,122,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 10px;
  width: 100%;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1000;
}
.submit-btn:active {
  background: #184d3a;
}
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16, 28, 22, 0.85);
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.4s;
}
.popup.show {
  display: flex;
  animation: fadeInBg 0.4s;
}
.popup.hide {
  animation: fadeOutBg 0.3s forwards;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOutBg {
  from { opacity: 1; }
  to { opacity: 0; }
}
.popup-content {
  background: rgba(27, 77, 62, 0.98);
  border-radius: 18px;
  padding: 48px 38px 38px 38px;
  box-shadow: 0 8px 32px rgba(59,224,122,0.18);
  text-align: center;
  position: relative;
  min-width: 320px;
  max-width: 95vw;
  animation: popupAppear 0.5s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ensure QR wrapper is properly centered in popup on desktop */
.popup-content .qr-wrapper.desktop-only {
  margin: 0 auto !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
}
.popup-content.hide {
  animation: popupDisappear 0.3s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes popupAppear {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes popupDisappear {
  0% { transform: scale(1) translateY(0); opacity: 1; }
  100% { transform: scale(0.7) translateY(40px); opacity: 0; }
}
.close {
  position: absolute;
  top: -10px;
  right: 7px;
  font-size: 2rem;
  color: #3be07a;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.close:hover {
  color: #d63031;
}
.popup-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #e0f2f1;
  margin-bottom: 10px;
}
.popup-text {
  font-size: 1.01rem;
  color: #b2dfdb;
  margin-bottom: 2px;
}
.popup-link {
  color: #3b8ee0;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
.popup-link:hover {
  color: #1976d2;
}
.loader {
  border: 4px solid #1b2e23;
  border-top: 4px solid #3be07a;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  animation: spin 1s linear infinite;
  margin: 0 auto 18px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loading-text {
  font-size: 1.08rem;
  color: #e0f2f1;
  margin-bottom: 8px;
}
.qr-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  margin: 0 auto 0 auto;
}
#resultImage {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 260px;
  max-height: 260px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(59,224,122,0.12);
  animation: imgAppear 0.7s cubic-bezier(.68,-0.55,.27,1.55);
  background: #101c16;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Ensure desktop QR image is properly centered */
.qr-wrapper.desktop-only #resultImage {
  max-width: 260px !important;
  max-height: 260px !important;
  margin: 0 auto !important;
  display: block !important;
  position: relative !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
}
.qr-corner {
  position: absolute;
  width: 38px;
  height: 38px;
  z-index: 3;
  stroke: #3be07a;
  stroke-width: 5px;
  stroke-linecap: round;
  fill: none;
  opacity: 0.92;
  transform-origin: center center;
  animation: qrCornerZoom 1.3s infinite alternate cubic-bezier(.68,-0.55,.27,1.55);
}
.qr-corner.tl { left: 0; top: 0; transform: rotate(0deg); }
.qr-corner.tr { right: 0; top: 0; transform: rotate(90deg); }
.qr-corner.br { right: 0; bottom: 0; transform: rotate(180deg); }
.qr-corner.bl { left: 0; bottom: 0; transform: rotate(270deg); }
@keyframes qrCornerZoom {
  0% { transform: scale(0.85); }
  100% { transform: scale(1.08); }
}
.result-text {
  display: none;
}
.timer {
  font-size: 1.25rem;
  color: #3be07a;
  font-weight: 700;
  margin: 12px 0 0 0;
  letter-spacing: 0.04em;
}

.payment-amount {
  text-align: center;
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(27, 77, 62, 0.4);
  border-radius: 12px;
  border: 1px solid #3be07a44;
  backdrop-filter: blur(8px);
  animation: amountAppear 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}

.amount-label {
  display: block;
  color: #b2dfdb;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 6px;
  opacity: 0.9;
}

.amount-value {
  display: block;
  color: #3be07a;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(59,224,122,0.4);
  letter-spacing: 0.5px;
}

@keyframes amountAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
@media (max-width: 600px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  body {
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
  }
  main {
    min-height: auto;
    height: auto;
    overflow-y: visible;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-left: 0;
    padding-top: 20px !important;
  }
  /* Mobile form styles are now handled by .form-block.mobile-form class */
  .header { 
    padding: 4px 10px 2px 10px; 
    flex-direction: row;
    gap: 8px;
    text-align: center;
    height: auto;
    justify-content: space-between !important;
    align-items: center;
    position: relative;
  }
  
  .header-buttons {
    display: flex; /* Показываем кнопки на мобильных */
    align-items: center;
    gap: 4px;
  }
  
  .header-btn {
    padding: 4px 6px;
    font-size: 11px;
  }
  
  .header-btn-icon {
    width: 12px;
    height: 12px;
  }
  .logo {
    margin-right: 0;
    margin-bottom: 4px;
  }
  .header-title {
    display: none;
  }
  .mobile-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0px !important;
    padding: 0 12px;
    position: relative;
  }
  .mobile-title .main-title {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
  .mobile-title .steam-title {
    font-size: 0.95em;
  }
  .mobile-title .subtitle {
    font-size: 0.75rem;
    margin-top: 2px;
  }
  .popup-content { 
    min-width: 85vw; 
    padding: 24px 16px 16px 16px;
    margin: 12px;
  }
  .tooltip-content {
    min-width: 260px;
    padding: 8px 10px;
  }
  .tooltip-video {
    max-width: 220px;
  }
  .qr-wrapper {
    width: 220px;
    height: 220px;
  }
  #resultImage {
    max-width: 180px;
    max-height: 180px;
  }
  .currency-dropdown {
    min-width: 110px;
    right: 0 !important;
    left: auto !important;
    transform: translateY(-10px) !important;
  }
  .currency-dropdown.show {
    transform: translateY(0) !important;
  }
  .currency-option {
    padding: 6px 8px;
  }
  .currency-option .currency-name {
    font-size: 0.8rem;
  }
  .currency-option .currency-rate {
    font-size: 0.7rem;
  }
  input[type="text"], input[type="number"] {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  .input-group label {
    font-size: 0.95rem;
  }
  .submit-btn {
    padding: 10px 0;
    font-size: 1rem;
  }
  .checkbox-group {
    font-size: 0.9rem;
  }
  .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
  .checkbox-group input[type="checkbox"]:checked::after {
    left: 4px !important;
    top: 2px !important;
    width: 5px !important;
    height: 9px !important;
    border-width: 0 3px 3px 0 !important;
  }
  .checkbox-group input[type="checkbox"]:not(:checked)::after {
    left: 4px !important;
    top: 2px !important;
    width: 5px !important;
    height: 9px !important;
    border-width: 0 3px 3px 0 !important;
  }
  .amount-value {
    font-size: 18px;
  }
  .amount-label {
    font-size: 11px;
  }
  .timer {
    font-size: 1rem;
  }
  .popup-title {
    font-size: 1rem;
  }
  .popup-text {
    font-size: 0.9rem;
  }
  .loading-text {
    font-size: 0.95rem;
  }
  .loader {
    width: 28px;
    height: 28px;
  }
  .icon-help {
    width: 28px;
    height: 28px;
    font-size: 1.15rem;
  }
  .currency-icon {
    padding: 3px 6px;
  }
  .currency-symbol {
    font-size: 1rem;
  }
  .currency-arrow {
    font-size: 0.6rem;
  }
  .cs-image {
    display: none;
  }
  
  /* Mobile Payment Button Adjustments */
  .mobile-payment-wrapper {
    max-width: 260px;
    margin: 0 auto 16px auto;
  }
  
  .mobile-payment-button {
    padding: 16px 12px;
  }
  
  .payment-icon {
    font-size: 1.8rem;
  }
  
  .payment-title {
    font-size: 1.1rem;
  }
  
  .payment-subtitle {
    font-size: 0.8rem;
  }
  
  .payment-arrow {
    font-size: 1.3rem;
  }
  
  .countdown-number {
    font-size: 2.5rem;
  }
  
  .countdown-text {
    font-size: 0.7rem;
    margin-top: 3px;
  }
}

@media (max-width: 480px) {
  /* Small mobile form styles are now handled by .form-block.mobile-form class */
  .header { 
    padding: 3px 8px 1px 8px;
    height: auto;
  }
  
  /* Кнопки показываем на всех мобильных устройствах */
  .header-btn {
    padding: 3px 5px;
    font-size: 10px;
  }
  
  .header-btn-icon {
    width: 10px;
    height: 10px;
  }
  
  .logo {
    width: 140px;
    height: 50px;
  }
  .logo img {
    width: 140px;
    height: 140px;
  }
  .mobile-title .main-title {
    font-size: 0.85rem;
  }
  .mobile-title .steam-title {
    font-size: 0.85rem;
  }
  .mobile-title .subtitle {
    font-size: 0.7rem;
  }
  .popup-content { 
    padding: 30px 14px 14px 14px;
    margin: 12px;
  }
  .tooltip-content {
    min-width: 260px;
    padding: 8px 10px;
  }
  .tooltip-video {
    max-width: 220px;
  }
  .qr-wrapper {
    width: 220px;
    height: 220px;
  }
  #resultImage {
    max-width: 180px;
    max-height: 180px;
  }
  .qr-corner {
    width: 28px;
    height: 28px;
    stroke-width: 3px;
  }
  .currency-dropdown {
    min-width: 110px;
  }
  .currency-option {
    padding: 6px 8px;
  }
  .currency-option .currency-symbol {
    font-size: 0.9rem;
  }
  .currency-option .currency-name {
    font-size: 0.8rem;
  }
  .currency-option .currency-rate {
    font-size: 0.7rem;
  }
  input[type="text"], input[type="number"] {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  .input-group label {
    font-size: 0.95rem;
  }
  .submit-btn {
    padding: 10px 0;
    font-size: 1rem;
  }
  .checkbox-group {
    font-size: 0.9rem;
  }
  .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
  .checkbox-group input[type="checkbox"]:checked::after {
    left: 4px !important;
    top: 1px !important;
    width: 5px !important;
    height: 10px !important;
    border-width: 0 2.5px 2.5px 0 !important;
  }
  .checkbox-group input[type="checkbox"]:not(:checked)::after {
    left: 3px !important;
    top: 1px !important;
    width: 4px !important;
    height: 7px !important;
    border-width: 0 2.5px 2.5px 0 !important;
  }
  .amount-value {
    font-size: 18px;
  }
  .amount-label {
    font-size: 11px;
  }
  .timer {
    font-size: 1rem;
  }
  .popup-title {
    font-size: 1rem;
  }
  .popup-text {
    font-size: 0.9rem;
  }
  .loading-text {
    font-size: 0.95rem;
  }
  .loader {
    width: 28px;
    height: 28px;
  }
  .icon-help {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    line-height: 1;
  }
  .currency-icon {
    padding: 3px 6px;
  }
  .currency-symbol {
    font-size: 1rem;
  }
  .currency-arrow {
    font-size: 0.6rem;
  }
  
  /* Mobile Payment Button Adjustments for 480px */
  .mobile-payment-wrapper {
    max-width: 240px;
    margin: 0 auto 14px auto;
  }
  
  .mobile-payment-button {
    padding: 14px 10px;
  }
  
  .payment-icon {
    font-size: 1.6rem;
  }
  
  .payment-title {
    font-size: 1rem;
  }
  
  .payment-subtitle {
    font-size: 0.75rem;
  }
  
  .payment-arrow {
    font-size: 1.2rem;
  }
  
  .countdown-number {
    font-size: 2.2rem;
  }
  
  .countdown-text {
    font-size: 0.45rem;
    position: relative;
    top: 6px; /* опускает визуально, но не сдвигает остальной поток */
  }
  
  .login-help-popup .popup-content {
    max-width: 95vw;
    max-height: 85vh;
    padding: 18px;
  }
  
  .login-help-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .login-help-video {
    max-width: 260px;
    margin: 10px 0;
  }
  
  .login-help-text {
    font-size: 0.9rem;
  }
}

/* Desktop/Mobile Visibility */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Ensure desktop QR wrapper maintains its size */
.qr-wrapper.desktop-only {
  width: 300px !important;
  height: 300px !important;
  margin: 0 auto !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
}

@media (max-width: 600px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
}

/* Mobile Payment Button */
.mobile-payment-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px auto;
}

.mobile-payment-button {
  background: linear-gradient(135deg, #3be07a 0%, #184d3a 100%);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 8px 24px rgba(59,224,122,0.25);
  border: 2px solid #3be07a44;
  position: relative;
  overflow: hidden;
}

.mobile-payment-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.mobile-payment-button:hover::before {
  left: 100%;
}

.mobile-payment-button:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(59,224,122,0.3);
}

.payment-icon {
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.payment-text {
  flex: 1;
  text-align: left;
}

.payment-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.payment-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.payment-arrow {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.mobile-payment-button:hover .payment-arrow {
  transform: translateX(4px);
}

/* Countdown Overlay */
.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 77, 62, 0.95);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.countdown-overlay.show {
  opacity: 1;
  visibility: visible;
}

.countdown-text {
  font-size: 0.75rem;
  color: #e0f2f1;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 4px;
  font-weight: 500;
}

.countdown-number {
  font-size: 3rem;
  font-weight: 900;
  color: #3be07a;
  text-shadow: 0 0 20px rgba(59,224,122,0.6);
  animation: countdownPulse 1s infinite alternate;
}

@keyframes countdownPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 20px rgba(59,224,122,0.6);
  }
  100% {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(59,224,122,0.8);
  }
}

/* CS Image */
.cs-image {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 200;
  pointer-events: none;
}

.cs-image img {
  width: 50vw;
  height: 50vh;
  max-width: 700px;
  max-height: 700px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  transform: translate(13%, 10%);
}

@media (max-width: 1200px) {
  .cs-image img {
    width: 45vw;
    height: 45vh;
  }
}

@media (max-width: 900px) {
  .cs-image img {
    width: 40vw;
    height: 40vh;
  }
}

@media (max-width: 600px) {
  .cs-image img {
    width: 35vw;
    height: 35vh;
  }
}

@media (max-width: 400px) {
  .cs-image img {
    width: 30vw;
    height: 30vh;
  }
} 

@media (max-width: 600px) {
  /* Полное скрытие QR-кода на мобильных устройствах */
  .qr-wrapper.desktop-only,
  .qr-wrapper.desktop-only *,
  #resultImage.desktop-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
}

/* Стили для попапа помощи по логину */
.login-help-popup .popup-content {
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

.login-help-content {
  text-align: center;
}

.login-help-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e0f2f1;
  margin-bottom: 16px;
}

.login-help-video {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 6px 24px rgba(59,224,122,0.2);
  background: #101c16;
}

.login-help-text {
  font-size: 1rem;
  color: #b2dfdb;
  line-height: 1.5;
  margin-bottom: 8px;
}

.login-help-link {
  color: #3b8ee0;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.login-help-link:hover {
  color: #1976d2;
}

/* Стили для кнопки ручного перехода */
.manual-redirect-container {
  text-align: center;
  margin-top: 20px;
  animation: fadeInUp 0.5s ease-out;
}

.manual-redirect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  margin: 10px auto;
  padding: 16px 32px;
  background: linear-gradient(135deg, #184d3a 0%, #3be07a 50%, #2d8f5a 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(59,224,122,0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.manual-redirect-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.manual-redirect-btn:hover::before {
  left: 100%;
}

.manual-redirect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,224,122,0.35);
}

.manual-redirect-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(59,224,122,0.2);
}

.manual-redirect-btn .btn-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.manual-redirect-btn .btn-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
} 

/* Desktop-specific form styles */
.form-block.desktop-form {
  background: rgba(27, 77, 62, 0.38) !important;
  border-radius: 22px !important;
  box-shadow: 0 8px 32px rgba(27,77,62,0.25) !important;
  padding: 38px 32px 32px 32px !important;
  margin-top: -7% !important; /* изменено с 48px на 0 */
  position: absolute !important; /* Абсолютное позиционирование */
  left: 50% !important; /* Центрируем по горизонтали */
  top: 300px !important; /* Увеличили расстояние от заголовка */
  transform: translateX(-50%) !important; /* Только горизонтальное центрирование */
  min-width: 350px !important;
  max-width: 98vw !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: auto !important;
  transform-origin: unset !important;
}

/* Mobile-specific form styles */
.form-block.mobile-form {
  background: rgba(27, 77, 62, 0.38) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(27,77,62,0.25) !important;
  padding: 20px 16px !important;
  margin: 20px auto 0 auto !important;
  min-width: unset !important;
  max-width: 85vw !important;
  width: 85vw !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transform: none !important;
  transform-origin: unset !important;
}

/* Mobile form height adaptations */
@media (max-height: 700px) {
  .form-block.mobile-form {
    padding: 16px 14px !important;
    margin-top: 15px !important;
  }
}

@media (max-height: 600px) {
  .form-block.mobile-form {
    padding: 14px 12px !important;
    margin-top: 10px !important;
  }
}

@media (max-height: 500px) {
  .form-block.mobile-form {
    padding: 12px 10px !important;
    margin-top: 5px !important;
  }
}

/* Small mobile form styles */
@media (max-width: 480px) {
  .form-block.mobile-form {
    padding: 18px 14px !important;
    max-width: 90vw !important;
    width: 90vw !important;
    margin: -75px auto 0 auto !important;
  }
  
  @media (max-height: 700px) {
    .form-block.mobile-form {
      padding: 16px 12px !important;
      margin-top: -85px !important;
    }
  }
  
  @media (max-height: 600px) {
    .form-block.mobile-form {
      padding: 14px 10px !important;
      margin-top: -95px !important;
    }
  }
  
  @media (max-height: 500px) {
    .form-block.mobile-form {
      padding: 12px 8px !important;
      margin-top: -105px !important;
    }
  }
} 

/* ========================================
   ГАЛЕРЕЯ ОТЗЫВОВ
   ======================================== */

.reviews-section {
  position: absolute;
  /* margin-top: 10%; - removed for dynamic positioning */
  padding: 0 20px;
  max-width: calc(100% - 444px); /* Оставляем место для cs.png */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  top: 0; /* Will be set by JavaScript */
}

.reviews-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(27, 77, 62, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 224, 122, 0.2);
  box-shadow: 0 8px 32px rgba(27, 77, 62, 0.2);
}

.reviews-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 18px 0; /* Reduced from 20px by 10% */
}

.review-card {
  flex: 0 0 400px;
  margin: 0 15px;
  padding: 18px; /* Reduced from 20px by 10% */
  background: rgba(27, 77, 62, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(59, 224, 122, 0.3);
  box-shadow: 0 4px 20px rgba(27, 77, 62, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 180px; /* Reduced from 200px by 10% */
  padding-bottom: 54px; /* Reduced from 60px by 10% */
  cursor: pointer; /* Добавляем курсор pointer для всей карточки */
  user-select: none; /* Запрещаем выделение текста при клике */
}

.review-card.duplicate {
  /* Дублированные карточки для seamless loop */
  flex: 0 0 400px;
  margin: 0 15px;
  padding: 18px;
  background: rgba(27, 77, 62, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(59, 224, 122, 0.3);
  box-shadow: 0 4px 20px rgba(27, 77, 62, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 180px;
  padding-bottom: 54px;
  cursor: pointer; /* Добавляем курсор pointer для дублированных карточек */
  user-select: none; /* Запрещаем выделение текста при клике */
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 224, 122, 0.1) 0%, transparent 50%, rgba(27, 77, 62, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover::before {
  opacity: 1;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 77, 62, 0.4);
  border-color: rgba(59, 224, 122, 0.5);
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px; /* Reduced from 50px by 10% */
  height: 45px; /* Reduced from 50px by 10% */
  margin-bottom: 13px; /* Reduced from 15px by 10% */
}

.review-avatar img {
  width: 45px; /* Reduced from 50px by 10% */
  height: 45px; /* Reduced from 50px by 10% */
  border-radius: 50%;
  border: 2px solid rgba(59, 224, 122, 0.4);
  object-fit: cover;
  display: block;
  background: rgba(59, 224, 122, 0.1);
}

.avatar-fallback {
  width: 45px; /* Reduced from 50px by 10% */
  height: 45px; /* Reduced from 50px by 10% */
  border-radius: 50%;
  border: 2px solid rgba(59, 224, 122, 0.4);
  background: linear-gradient(135deg, #3be07a, #27a85a);
  color: #101c16;
  font-weight: bold;
  font-size: 18px; /* Reduced from 20px by 10% */
  display: none;
  align-items: center;
  justify-content: center;
}

.review-card:hover .review-avatar img {
  transform: scale(1.05);
}

.review-content {
  flex: 1;
}

.review-text {
  color: #e0ffe0;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 13px; /* Reduced from 15px by 10% */
  text-align: left;
  font-weight: 400;
}

.review-amount {
  color: #3be07a;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  padding: 7px 11px; /* Reduced from 8px 12px by 10% */
  background: rgba(59, 224, 122, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(59, 224, 122, 0.3);
  display: inline-block;
  position: absolute;
  bottom: 13px; /* Reduced from 15px by 10% */
  right: 13px; /* Reduced from 15px by 10% */
}

/* Navigation Arrows - Hidden */
.reviews-nav {
  display: none;
}

/* Dots Indicator */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  position: absolute;
  bottom: -25px; /* Position dots below the container */
  left: 0;
  right: 0;
  z-index: 2;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59, 224, 122, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot:hover {
  background: rgba(59, 224, 122, 0.6);
  transform: scale(1.2);
}

.review-dot.active {
  background: #3be07a;
  transform: scale(1.3);
}

/* ========================================
   АДАПТИВНОСТЬ ГАЛЕРЕИ ОТЗЫВОВ
   ======================================== */

@media (max-width: 768px) {
  .reviews-section {
    max-width: 100%;
    /* margin-top: 10%; - removed for dynamic positioning */
    padding: 0 15px;
  }
  
  .review-card {
    flex: 0 0 300px;
    margin: 0 10px;
    padding: 13px; /* Reduced from 15px by 10% */
  }
  
  .review-text {
    font-size: 13px;
  }
  
  .review-amount {
    font-size: 14px;
    padding: 5px 9px; /* Reduced from 6px 10px by 10% */
  }
  
  .reviews-nav {
    display: none;
  }
  
  .reviews-dots {
    bottom: -20px; /* Position dots higher on mobile */
  }
}

@media (max-width: 480px) {
  .reviews-section {
    /* margin-top: 10%; - removed for dynamic positioning */
    padding: 0 10px;
  }
  
  .review-card {
    flex: 0 0 280px;
    margin: 0 8px;
    padding: 11px; /* Reduced from 12px by 10% */
  }
  
  .review-text {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .review-amount {
    font-size: 13px;
    padding: 4px 7px; /* Reduced from 5px 8px by 10% */
  }
  
  .reviews-nav {
    display: none;
  }
  
  .reviews-dots {
    bottom: -18px; /* Position dots higher on smaller mobile */
    gap: 6px;
  }
  
  .review-dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 600px) {
  .reviews-section {
    display: none !important; /* Hide gallery on mobile devices */
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
} 

/* ========================================
   НОВАЯ ГАЛЕРЕЯ ОТЗЫВОВ (ПОСЕРЕДИНЕ САЙТА)
   ======================================== */

.new-carousel-section {
  display: none; /* По умолчанию скрыта */
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 1200px;
}

/* Десктопная версия - заголовок и галерея */
@media (min-width: 601px) {
  .desktop-title {
    display: block !important; /* Показываем заголовок на десктопе */
  }
  
  .new-carousel-section {
    display: none !important; /* Скрыта на десктопе */
  }
  
  /* Скрываем мобильный FAQ на десктопе */
  .mobile-faq-section {
    display: none !important;
  }
}

/* Мобильная версия - заголовок скрыт, галерея под формой */
@media (max-width: 600px) {
  .desktop-title {
    display: none !important; /* Скрываем заголовок на мобильных */
  }
  
  main {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-top: 100px !important;
    display: flex !important;
  }
  
  .form-block {
    order: 1; /* Форма первая */
  }
  
  .new-carousel-section {
    display: flex !important; /* Показываем только на мобильных */
    order: 2; /* Галерея после формы */
    padding: 20px 0 !important; /* Убираем горизонтальный padding */
    margin: 10px auto !important;
    /* Позиционируем под формой на мобильных */
    position: relative !important;
    z-index: 10 !important;
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 80vw !important; /* Уменьшили ширину с 90vw до 80vw */
    margin-left: auto !important; /* Центрируем */
    margin-right: auto !important; /* Центрируем */
  }
  
  /* Мобильный FAQ под галереей */
  .mobile-faq-section {
    order: 3 !important; /* FAQ после галереи */
    margin-top: 10px !important;
    padding: 25px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 5 !important;
    display: block !important;
  }
  
  .new-carousel-container {
    max-width: 80vw !important; /* Уменьшили ширину с 90vw до 80vw */
    width: 80vw !important; /* Уменьшили ширину с 90vw до 80vw */
    margin: 0 auto !important; /* Центрируем контейнер */
    padding: 0 !important; /* Убираем padding на мобильных */
  }
  
  .new-carousel-card {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
  }
  
  /* Скрываем десктопный FAQ на мобильных */
  .faq-tailwind-section {
    display: none;
  }
}

@media (max-width: 480px) {
  .new-carousel-section {
    max-width: 82vw !important; /* Уменьшили ширину с 92vw до 82vw */
    margin-left: auto !important; /* Центрируем */
    margin-right: auto !important; /* Центрируем */
    padding: 15px 0 !important; /* Убираем горизонтальный padding */
  }
  
  /* Адаптация мобильного FAQ для маленьких экранов */
  .mobile-faq-container {
    padding: 0 15px;
  }
  
  .mobile-faq-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .mobile-faq-button {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .mobile-faq-steps,
  .mobile-faq-trust,
  .mobile-faq-answer {
    padding: 16px;
  }
  
  .mobile-step-text {
    font-size: 14px;
  }
  
  .mobile-trust-text {
    font-size: 13px;
  }
  
  .mobile-faq-answer p {
    font-size: 14px;
  }
  
  /* Дополнительные стили для мобильного FAQ на маленьких экранах */
  .mobile-faq-section {
    margin-top: -10px !important;
    padding: 20px 0 !important;
  }
  
  .mobile-faq-container {
    padding: 0 12px;
  }
  
  .new-carousel-container {
    max-width: 82vw !important; /* Уменьшили ширину с 92vw до 82vw */
    width: 82vw !important; /* Уменьшили ширину с 92vw до 82vw */
    margin: 0 auto !important; /* Центрируем контейнер */
    padding: 0 !important; /* Убираем padding на мобильных */
  }
  
  .new-carousel-card {
    width: 100% !important;
    max-width: 100% !important;
    /* Исправляем проблему с фоном на мобильных */
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-radius: 12px;
    overflow: hidden;
  }
}

/* Десктопная версия - галерея посередине */
@media (min-width: 601px) {
  .new-carousel-section {
    display: none !important; /* Скрыта на десктопе */
  }
}

.new-carousel-container {
    max-width: 100%;
  overflow: visible; /* Изменили с hidden на visible */
  position: relative;
  margin: 0 auto;
  padding: 0 8px;
  width: 100%;
  box-sizing: border-box;
}

.new-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  /* Добавляем отступы чтобы карточки не обрезались */
  padding: 0 12px;
}

.new-carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 18px;
  background: rgba(27, 77, 62, 0.25); /* Такой же цвет как у старой галереи */
  border-radius: 12px;
  border: 1px solid rgba(59, 224, 122, 0.3);
  box-shadow: 0 4px 20px rgba(27, 77, 62, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding-bottom: 54px;
  box-sizing: border-box;
  width: 100%; /* Полная ширина контейнера */
  flex-shrink: 0; /* Запрещаем сжатие */
  /* Исправляем проблему с фоном на мобильных */
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
}

.new-carousel-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(59, 224, 122, 0.4);
  object-fit: cover;
  display: block;
  background: rgba(59, 224, 122, 0.1);
  margin-bottom: 10px;
}

.new-carousel-avatar + .avatar-fallback {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(59, 224, 122, 0.4);
  background: linear-gradient(135deg, #3be07a, #27a85a);
  color: #101c16;
  font-weight: bold;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.new-carousel-text {
  color: #e0ffe0;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 13px;
  text-align: left;
  font-weight: 400;
}

.new-carousel-amount {
  color: #3be07a;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  padding: 7px 11px;
  background: rgba(59, 224, 122, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(59, 224, 122, 0.3);
  display: inline-block;
  position: absolute;
  bottom: 13px;
  right: 13px;
}

/* Стили для планшетов */
@media (max-width: 900px) and (min-width: 601px) {
  .header-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .header-btn-icon {
    width: 12px;
    height: 12px;
  }
}

/* Мобильный FAQ */
.mobile-faq-section {
  display: block; /* Показываем по умолчанию */
  padding: 20px 0;
  background: transparent;
  margin: 20px auto;
  max-width: 100%;
  position: relative;
  z-index: 5;
}

.mobile-faq-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.mobile-faq-title {
  text-align: center;
  color: #3be07a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(59, 224, 122, 0.3);
}

.mobile-faq-item {
  background: rgba(27, 77, 62, 0.15);
  border: 1px solid rgba(59, 224, 122, 0.2);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-faq-item:hover {
  border-color: rgba(59, 224, 122, 0.4);
  box-shadow: 0 4px 12px rgba(59, 224, 122, 0.15);
}

.mobile-faq-item.active {
  border-color: rgba(59, 224, 122, 0.6);
  box-shadow: 0 6px 20px rgba(59, 224, 122, 0.2);
}

.mobile-faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  color: #e0ffe0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

/* Hover эффект для неактивных элементов */
.mobile-faq-item:not(.active) .mobile-faq-button:hover {
  background: rgba(59, 224, 122, 0.1) !important;
  background-color: rgba(59, 224, 122, 0.1) !important;
}

/* Стиль для активных кнопок */
.mobile-faq-item.active .mobile-faq-button {
  background: rgba(59, 224, 122, 0.1) !important;
  background-color: rgba(59, 224, 122, 0.1) !important;
}

/* Hover эффект для активного элемента */
.mobile-faq-item.active .mobile-faq-button:hover {
  background: rgba(59, 224, 122, 0.15) !important;
  background-color: rgba(59, 224, 122, 0.15) !important;
}

.mobile-faq-button-text {
  flex: 1;
  margin-right: 10px;
}

.mobile-faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-faq-item.active .mobile-faq-arrow {
  transform: rotate(180deg);
}

.mobile-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(27, 77, 62, 0.1);
}

.mobile-faq-item.active .mobile-faq-content {
  max-height: 500px;
}

.mobile-faq-steps,
.mobile-faq-trust,
.mobile-faq-answer {
  padding: 20px;
}

.mobile-faq-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 12px;
}

.mobile-faq-step:last-child {
  margin-bottom: 0;
}

.mobile-step-number {
  background: linear-gradient(135deg, #3be07a, #27a85a);
  color: #101c16;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 224, 122, 0.3);
}

.mobile-step-text {
  color: #e0ffe0;
  font-size: 15px;
  line-height: 1.5;
  padding-top: 2px;
}

.mobile-trust-item {
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(59, 224, 122, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(59, 224, 122, 0.15);
}

.mobile-trust-item:last-child {
  margin-bottom: 0;
}

.mobile-trust-title {
  display: block;
  color: #3be07a;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.mobile-trust-text {
  color: #e0ffe0;
  font-size: 14px;
  line-height: 1.4;
}

.mobile-faq-answer p {
  color: #e0ffe0;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.mobile-faq-answer p:last-child {
  margin-bottom: 0;
}

.mobile-faq-answer strong {
  color: #3be07a;
}

/* Адаптивность для новой галереи */
@media (max-width: 768px) {
  .new-carousel-section {
    padding: 20px 0; /* Убираем горизонтальный padding */
    margin: 10px auto;
  }
  
  .new-carousel-track {
    padding: 0 10px; /* Добавляем отступы для планшетов */
  }
  
  .new-carousel-card {
    padding: 15px;
    min-height: 160px;
    padding-bottom: 50px;
    /* Исправляем проблему с фоном на планшетах */
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-radius: 12px;
  }
  
  .new-carousel-text {
    font-size: 14px;
  }
  
  .new-carousel-amount {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .new-carousel-section {
    padding: 15px 0; /* Убираем горизонтальный padding */
    margin: 5px auto;
  }
  
  .new-carousel-track {
    padding: 0 8px; /* Добавляем отступы для маленьких мобильных */
  }
  
  .new-carousel-card {
    padding: 12px;
    min-height: 150px;
    padding-bottom: 45px;
    /* Исправляем проблему с фоном на мобильных */
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .new-carousel-text {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .new-carousel-amount {
    font-size: 13px;
    padding: 5px 8px;
  }
  
  .new-carousel-avatar {
    width: 40px;
    height: 40px;
  }
} 

/* ========================================
   НОВЫЙ FAQ-АККОРДЕОН С TAILWINDCSS
   ======================================== */

.faq-tailwind-section {
  padding: 20px 20px; /* Уменьшили с 40px до 20px */
  margin: -15px auto 30px auto; /* Уменьшили отступы */
  max-width: 800px;
  width: 100%;
}

.faq-tailwind-container {
  background: rgba(27, 77, 62, 0.15);
  border-radius: 16px;
  padding: 20px; /* Уменьшили с 32px до 20px */
  border: 1px solid rgba(59, 224, 122, 0.2);
  box-shadow: 0 8px 32px rgba(27, 77, 62, 0.1);
}

.faq-tailwind-title {
  font-size: 1.75rem; /* Уменьшили с 2rem до 1.75rem */
  font-weight: 700;
  color: #e0f2f1;
  text-align: center;
  margin-bottom: 20px; /* Уменьшили с 32px до 20px */
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(59, 224, 122, 0.15);
}

.faq-tailwind-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(27, 77, 62, 0.1);
  border: 1px solid rgba(59, 224, 122, 0.2);
  transition: all 0.3s ease;
}

.faq-tailwind-item:hover {
  border-color: rgba(59, 224, 122, 0.4);
  box-shadow: 0 4px 20px rgba(59, 224, 122, 0.1);
}

.faq-tailwind-item.active {
  background: rgba(27, 77, 62, 0.2);
  border-color: rgba(59, 224, 122, 0.6);
  box-shadow: 0 8px 32px rgba(59, 224, 122, 0.15);
}

.faq-tailwind-button {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #e0f2f1;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.faq-tailwind-button:hover {
  background: rgba(59, 224, 122, 0.1);
}

.faq-tailwind-button-text {
  flex: 1;
  margin-right: 16px;
}

.faq-tailwind-arrow {
  width: 20px;
  height: 20px;
  color: #3be07a;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-tailwind-item.active .faq-tailwind-arrow {
  transform: rotate(180deg);
}

.faq-tailwind-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(27, 77, 62, 0.05);
}

.faq-tailwind-item.active .faq-tailwind-content {
  max-height: 500px;
}

.faq-tailwind-steps,
.faq-tailwind-trust,
.faq-tailwind-questions {
  padding: 12px 24px 24px 24px; /* Добавили отступ сверху для большего расстояния от кнопки */
}

.faq-tailwind-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(59, 224, 122, 0.05);
  border-radius: 8px;
  border-left: 3px solid #3be07a;
}

.faq-step-number {
  background: linear-gradient(135deg, #3be07a, #27a85a);
  color: #101c16;
  font-weight: 700;
  font-size: 0.9rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-step-text {
  color: #e0f2f1;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
}

.faq-trust-item {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(59, 224, 122, 0.05);
  border-radius: 8px;
  border-left: 3px solid #3be07a;
}

.faq-trust-title {
  display: block;
  color: #3be07a;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.faq-trust-text {
  color: #b2dfdb;
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-question-item {
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(59, 224, 122, 0.05);
  border-radius: 8px;
  border-left: 3px solid #3be07a;
}

.faq-question {
  display: block;
  color: #3be07a;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-answer {
  color: #b2dfdb;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Адаптивность для FAQ */
@media (max-width: 768px) {
  .faq-tailwind-section {
    padding: 15px 15px; /* Уменьшили с 20px до 15px */
    margin: 60px auto 15px auto; /* Уменьшили отступы */
  }
  
  .faq-tailwind-container {
    padding: 24px;
  }
  
  .faq-tailwind-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }
  
  .faq-tailwind-button {
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .faq-tailwind-steps,
  .faq-tailwind-trust,
  .faq-tailwind-questions {
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .faq-tailwind-section {
    padding: 10px 10px; /* Уменьшили с 15px до 10px */
    margin: 40px auto 10px auto; /* Уменьшили отступы */
  }
  
  .faq-tailwind-container {
    padding: 20px;
  }
  
  .faq-tailwind-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .faq-tailwind-button {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .faq-tailwind-steps,
  .faq-tailwind-trust,
  .faq-tailwind-questions {
    padding: 0 16px 16px 16px;
  }
  
  .faq-step-text,
  .faq-trust-text,
  .faq-answer {
    font-size: 0.9rem;
  }
} 

/* ========================================
   НОВЫЕ КОНТЕЙНЕРЫ
   ======================================== */

/* Main Container - Главная форма */
.main-container {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Уменьшили с 100vh до 60vh */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px; /* Уменьшили с 20px до 15px */
  z-index: 10;
}

/* Восстановление оригинального main для мобильных */
@media (max-width: 600px) {
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    min-height: 100vh;
  }
}



/* FAQ Container - Часто задаваемые вопросы */
.faq-container-section {
  position: relative;
  width: 100%;
  padding: 5px 20px; /* Значительно уменьшили вертикальные отступы */
  z-index: 0;
  left: 0;
}

/* Адаптивность для новых контейнеров */
@media (max-width: 768px) {
  .main-container {
    padding: 10px;
    min-height: 50vh; /* Еще меньше для планшетов */
  }
  
  .faq-container-section {
    padding: 3px 15px; /* Значительно уменьшили вертикальные отступы */
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 8px;
    min-height: 40vh; /* Еще меньше для мобильных */
  }
  
  .faq-container-section {
    padding: 2px 10px; /* Значительно уменьшили вертикальные отступы */
  }
}



/* Скрываем десктопный футер на мобильных устройствах */
@media (max-width: 600px) {
  .faq-footer-container {
    display: none !important; /* Скрываем десктопный футер на мобильных */
  }
} 

/* ========================================
   FAQ AND FOOTER CONTAINER
   ======================================== */

.faq-footer-container {
  position: absolute;
  width: 100%;
  z-index: 0;
  /* Позиционирование через JavaScript */
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  position: relative;
  width: 100%;
  background: rgba(27, 77, 62, 0.1);
  border-top: 1px solid rgba(59, 224, 122, 0.2);
  padding: 20px 0;
  margin-top: -20px; /* Ровно 40px отступа от FAQ */
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-text {
  color: #b2dfdb;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}

/* Адаптивность футера - убираем для единообразия с ПК */
@media (max-width: 768px) {
  .footer {
    padding: 20px 0; /* Такой же как на ПК */
    margin-top: -20px; /* Такой же как на ПК */
  }
  
  .footer-content {
    padding: 0 20px; /* Такой же как на ПК */
  }
  
  .footer-text {
    font-size: 0.9rem; /* Такой же как на ПК */
  }
}

/* ========================================
   MOBILE FOOTER
   ======================================== */

.mobile-footer {
  display: none; /* По умолчанию скрыт */
  position: relative;
  width: 100%;
  background: rgba(27, 77, 62, 0.1);
  border-top: 1px solid rgba(59, 224, 122, 0.2);
  padding: 15px 0;
  margin-top: 20px;
  z-index: 1;
}

.mobile-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.mobile-footer-text {
  color: #b2dfdb;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}

/* Показываем мобильный футер только на мобильных устройствах */
@media (max-width: 600px) {
  .mobile-footer {
    display: block;
  }
}

@media (max-width: 480px) {
  .mobile-footer {
    padding: 12px 0;
    margin-top: 15px;
  }
  
  .mobile-footer-content {
    padding: 0 15px;
  }
  
  .mobile-footer-text {
    font-size: 0.8rem;
  }
}

/* ========================================
   ДОПОЛНИТЕЛЬНЫЕ ПРАВИЛА ДЛЯ КВАДРАТНЫХ ЧЕКБОКСОВ
   ======================================== */

/* Принудительно устанавливаем квадратную форму чекбоксов на всех устройствах */
.checkbox-group input[type="checkbox"] {
  /* Принудительно устанавливаем квадратную форму */
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
}

/* Мобильные устройства - принудительно квадратные */
@media (max-width: 600px) {
  .checkbox-group input[type="checkbox"] {
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* Маленькие мобильные устройства - принудительно квадратные */
@media (max-width: 480px) {
  .checkbox-group input[type="checkbox"] {
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    aspect-ratio: 1 / 1 !important;
  }
}