/* Главная страница */

.welcome h1 {
  font-size: 2rem;
  color: var(--accent);
}

/* IP блок */
.server-box {
  margin: 30px auto;
  max-width: 400px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.copy-ip {
  margin-top: 8px;
  background: var(--bg-color);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  user-select: all;
  transition: background 0.3s, transform 0.1s;
}
.copy-ip:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.02);
}
.copy-tip {
  font-size: 0.8rem;
  color: #999;
}
.server-version {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 4px;
  text-align: center;
}

.server-version strong {
  color: var(--accent);
  font-weight: 600;
}
/* Покупка монет */
.shop {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px 35px; /* красивые внутренние отступы */
  margin-top: 40px;
  margin-bottom: 80px;
  max-width: 440px; /* подогнано под твой макет */
  margin-inline: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch; /* ключевая правка — растягивает элементы по ширине */
  box-sizing: border-box; /* чтобы padding учитывался в размере */
  overflow: hidden; /* предотвращает выход контента наружу */
}

.shop label {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 10px;
  font-weight: 500;
}

.shop input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: var(--bg-color);
  color: var(--text-color);
  box-sizing: border-box;
}

.calc-output {
  font-weight: 600;
  color: var(--accent);
  margin: 15px 0;
}

.buy-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.buy-btn:hover {
  transform: scale(1.05);
  background: #9d4edd;
}
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-dot.online {
  background: #2ecc71; /* зелёный */
}
.status-dot.offline {
  background: #e74c3c; /* красный */
}
/* === Описание доната === */
.donate-info-section {
  margin: 40px auto;
  max-width: 700px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  line-height: 1.6;
}

.donate-info h2 {
  text-align: center;
  margin-bottom: 15px;
  color: var(--accent);
}

.donate-info p {
  margin-bottom: 12px;
}

.donate-info strong {
  color: var(--accent);
}

.donate-note {
  margin-top: 10px;
  font-style: italic;
  color: #ff5555;
}
.agreement-block {
  margin: 18px 0 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agreement-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-color);
  white-space: normal; /* теперь можно переносить при нехватке места */
  word-break: break-word; /* безопасный перенос длинных строк */
}

.agreement-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  margin-right: 8px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.agreement-item input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.agreement-item input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 3px;
  font-size: 12px;
  color: #fff;
}

.agreement-item a {
  color: var(--accent);
  text-decoration: none;
}

.agreement-item a:hover {
  text-decoration: underline;
}

/* Адаптив под телефоны */
@media (max-width: 400px) {
  .agreement-item {
    font-size: 13.5px;
    line-height: 1.4;
  }
  .agreement-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}