/* ===========================
   Современная лёгкая палитра
   Тёмный нейтральный фон + коралловый акцент
   Минимум тяжёлых эффектов и градиентов
   =========================== */

/* Переменные (быстро меняйте палитру здесь) */
:root {
  --bg: #0f1724;              /* глубокий тёмный фон (blue-black) */
  --panel-bg: rgba(18,24,35,0.88); /* панели чуть светлее фона */
  --panel-2-bg: rgba(22,30,42,0.92);
  --accent: #ff6b6b;          /* современный коралловый акцент */
  --accent-2: #ff9a76;        /* мягкий дополнительный акцент */
  --muted: #9aa5b1;           /* приглушённый текст/подсказки */
  --text: #e8f0f8;            /* мягкий белый для основного текста */
  --border-thin: 1px solid rgba(255,255,255,0.06);
  --shadow-subtle: 0 6px 18px rgba(2,6,23,0.45); /* легкая, но экономная тень */
  --radius: 8px;
}

/* Сброс и глобальные правила */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-size: 16px;
}

/* Header */
header {
  background: linear-gradient(180deg, rgba(13,20,30,0.92), rgba(10,16,24,0.98));
  border-bottom: var(--border-thin);
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
  filter: none; /* убрали тяжёлые дроп-шадоу */
}

/* Header buttons */
.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease, color 150ms ease;
  backdrop-filter: blur(4px);
}

.header-buttons a.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #081019; /* контрастный текст на акцентной кнопке */
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.header-buttons a:hover {
  transform: translateY(-2px);
}

/* Контейнер обёртка */
.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 28px auto;
  padding: 18px;
  background: var(--panel-bg);
  border: var(--border-thin);
  border-radius: var(--radius);
  box-shadow: none; /* минимизировали тень */
  text-align: center;
}

/* Кнопки */
.m_but, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #081019;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: none;
}

.m_but.alt {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
}

.m_but:hover { transform: translateY(-2px); }

/* Подвал */
footer {
  background: transparent;
  padding: 20px 16px;
  margin-top: 36px;
  border-top: var(--border-thin);
  color: var(--muted);
  text-align: center;
}

/* Секции контента */
.monetizing,
.content-block {
  background: var(--panel-2-bg);
  padding: 16px;
  border: var(--border-thin);
  border-radius: calc(var(--radius) - 2px);
  margin-top: 18px;
  text-align: left;
}

/* Заголовки и тексты */
h1, h2, h3 {
  color: var(--text);
  margin: 0 0 10px 0;
  line-height: 1.18;
  font-weight: 700;
}

p, li {
  color: var(--text);
  margin: 0 0 12px 0;
  font-size: 15px;
}

/* Списки */
ul, ol { padding-left: 20px; }

/* Таблицы */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

table th, table td {
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  text-align: left;
  vertical-align: middle;
}

table th {
  background: rgba(8,12,18,0.6);
  color: var(--text);
  font-weight: 700;
}

table td {
  background: rgba(12,18,26,0.45);
  color: var(--text);
}

/* FAQ */
.faq-item {
  background: rgba(12,18,26,0.5);
  padding: 12px;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: calc(var(--radius) - 2px);
}

.faq-item h3 {
  margin: 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
}

.faq-item p {
  display: none;
  margin-top: 8px;
  color: var(--muted);
}

/* Промо-изображение */
.promo-image img {
  width: 100%;
  max-width: 1220px;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  display: block;
}

/* Блок промо-кода */
.top_exc_st_id_input {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 44px;
  font-size: 22px;
  font-weight: 800;
  color: #081019; /* тёмный текст на белом фоне */
  background: #ffffff;
  border: 1px solid rgba(2,6,23,0.06);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0 8px;
  box-sizing: border-box;
}

.centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.top_exc_st_id_sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: #081019;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* Ссылки выделения */
.highlight-link {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
}

.highlight-link:hover { text-decoration: none; }

/* Формы и инпуты */
input[type="text"], input[type="email"], textarea, select {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
}

/* Фокусные состояния (доступность) */
:focus {
  outline: 3px solid rgba(255,107,107,0.16);
  outline-offset: 2px;
}

/* Мелкие компоненты */
.small { font-size: 12px; color: var(--muted); }
.kicker { font-size: 13px; color: rgba(232,240,248,0.8); }

/* Утилиты */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.clearfix::after { content: ""; display: table; clear: both; }
.hidden { display: none !important; }

/* Responsive: desktop -> tablet -> mobile */
@media (max-width: 1024px) {
  .header-container { padding: 0 14px; }
  .logo img { width: 150px; }
  .wrap { padding: 16px; margin: 20px auto; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  header { padding: 10px 0; flex-direction: column; gap: 8px; align-items: center; }
  .logo img { width: 120px; }
  .header-buttons { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .header-buttons a, .m_but, .top_exc_st_id_sub { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
  .wrap { width: 94%; padding: 12px; border-radius: 10px; }
  .monetizing, .content-block, .faq-item { padding: 12px; }
  table { font-size: 13px; }
  .top_exc_st_id_input { width: 100%; max-width: 320px; font-size: 20px; height: 44px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .logo img { width: 84px; }
  .header-buttons { gap: 8px; }
  .m_but, .header-buttons a, .top_exc_st_id_sub { padding: 8px 10px; font-size: 13px; }
  .wrap { padding: 10px; width: 96%; }
  table { font-size: 12px; }
  .top_exc_st_id_input { max-width: 280px; font-size: 18px; height: 42px; }
}

/* ===========================
   Конец «легкого» современного CSS
   =========================== */
