/* ===== ТЁМНАЯ ТЕМА В СТИЛЕ OLD ===== */
:root {
  --bg-dark: rgb(15, 17, 24);   /* общий фон сайта */
  --bg-darker: rgb(12, 14, 19); /* чуть темнее для шапки/подвала */
  --bg-card: #1f2126;
  --text: #ddd;
  --muted: #9aa0a6;
  --primary: #0d6efd;
}

/* Базовые настройки тёмного тела */
html, body { height: 100%; }

.dark-body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  padding-top: 72px;            /* смещаем контент на высоту фиксированной шапки */
  display: flex;
  flex-direction: column;
  min-height: 100vh;            /* тянем страницу на всю высоту */
}

.main-content { 
  flex: 1 0 auto;               /* основной контент занимает всё оставшееся */
}

.footer-section {
  margin-top: auto;             /* футер уезжает к низу */
}

/* Header */
.main-header {
  background: var(--bg-darker);
  border-bottom: 1px solid #222;
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}
.main-header .navbar-brand svg {
  height: 48px;
  width: auto;
  display: block;
}
.main-header .nav-link {
  color: #fff;
  font-weight: 500;
  margin-left: 15px;
  transition: color .2s;
}
.main-header .nav-link:hover {
  color: var(--primary);
}
.main-header .nav-link.active {
  font-weight: 700;
  color: #0d6efd !important; /* bootstrap primary */
  border-bottom: 2px solid #0d6efd;
}

/* ===================== Hero ===================== */
/* Ужимаем вертикальные отступы блока */
.hero-section{
  padding-block: clamp(24px, 6vh, 56px);
  text-align: center;
  margin-top: 0;
}
/* Узкая обёртка внутри контейнера */
.hero-wrap{
  max-width: 860px;
  margin-inline: auto;
}
/* Крупнее логотип + меньше отступ вниз */
.hero-section .hero-img{
  width: clamp(300px, 42vw, 680px);
  height: auto;
  margin-bottom: 10px;
}
.hero-section h1{
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 6px 0 10px;
  line-height: 1.15;
}
.hero-section .lead{
  color: #ccc;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  margin: 0 0 12px;
}
.hero-section .btn-lg{
  margin-top: 6px;
}

@media (max-width: 575.98px){
  .hero-section{ padding-block: 28px; }
  .hero-wrap{ max-width: 92%; }
}

/* Полосатый фон */
.bg-stripes {
  background: repeating-linear-gradient(
    -45deg,
    rgb(15, 17, 24) 0px,
    rgb(15, 17, 24) 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 24px
  ) !important;
}

/* Карточки тарифов */
.card-plan {
  background: var(--bg-card);
  border: 1px solid #333;
  color: #fff;
  transition: transform 0.2s, border-color 0.2s;
  border-radius: 8px;
}
.card-plan:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}
.card-plan .card-title {
  font-weight: 600;
}
.card-plan .badge.bg-success {
  background-color: #1db954 !important;
}

/* Селект выбора месяцев (тёмная тема, фон немного светлее) */
.duration-select {
  background-color: #2a2d34;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
}
.duration-select:focus {
  background-color: #2a2d34;
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}
.duration-select option {
  background-color: #2a2d34;
  color: #fff;
}

/* Блоки-описания (состав баз) */
.feature-box {
  background: var(--bg-card);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  color: #ccc;
  transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s;
}
.feature-box:hover {
  border-color: rgba(13,110,253,.6);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  background-color: #22252b;
  transform: translateY(-2px);
}

/* Иконки в карточках "Состав баз" */
.feature-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2d34;
  border-radius: 10px;
}
.feature-icon i {
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  opacity: 0.9;
}

/* Кнопки */
.btn-custom {
  background-color: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
}
.btn-custom:hover {
  background-color: #0b5ed7;
  color: #fff;
}

/* Toast */
#liveToast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1055;
  background: #198754;
  color: #fff;
  border-radius: 6px;
}
#liveToast .toast-body {
  color: #fff;
}

/* Footer */
.footer-section {
  background: var(--bg-darker);
  color: #888;
  padding: 30px 0;
}
.footer-section a {
  color: var(--primary);
  text-decoration: none;
}
.footer-section a:hover {
  text-decoration: underline;
}

/* Utility */
.h-14 { height: 56px; }

/* ===== FAQ стили ===== */
#faq .accordion {
  --faq-bg:#0f1115;
  --faq-head:#171a20;
  --faq-body:#12161c;
}
#faq .accordion-item {
  border:0;
  background:transparent;
  margin-bottom:16px;
}
#faq .accordion-button {
  background:var(--faq-head);
  color:#e8edf5;
  border-radius:8px;
  padding:14px 18px;
  box-shadow:none;
}
#faq .accordion-button::after {
  filter: invert(1) opacity(.8);
}
#faq .accordion-button.collapsed { box-shadow:none; }
#faq .accordion-collapse { border:0; }
#faq .accordion-body {
  background:var(--faq-body);
  color:#cfd6e4;
  border-radius:0 0 8px 8px;
  padding:22px 24px;
  border-top:1px solid rgba(255,255,255,.06);
}
#faq .faq-list {
  margin:0;
  padding-left:0;
  list-style:none;
}
#faq .faq-list li {
  position:relative;
  padding-left:28px;
  margin:10px 0;
}
#faq .faq-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  line-height:1.1;
  color:#9ee37d;
  font-weight:700;
}
#faq .faq-note { color:#ffd36e; font-weight:700; }
#faq .accordion-body img { width:100%; height:auto; display:block; }

/* ===== Отзывы ===== */
#reviews { background-color: var(--bg-dark); }
.review-card {
  background: #1a1d23;
  color: #e8edf5;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}
.review-card:hover {
  background: #22262d;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.review-stars {
  color: #FFD700; /* золотой */
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Тёмная тема для вкладок тарифов */
#plansSection .nav-tabs {
  border-bottom: 1px solid #333;
  justify-content: center;
  margin-bottom: 1.5rem;
}
#plansSection .nav-tabs .nav-link {
  background-color: #1f2126;
  color: #ccc;
  border: 1px solid #333;
  margin: 0 6px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 36px;
  transition: all .25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#plansSection .nav-tabs .nav-link:hover {
  color: #fff;
  border-color: var(--primary);
}
#plansSection .nav-tabs .nav-link.active {
  background-color: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
  font-size: 1.25rem;
}

/* Бейдж "online" — зелёный градиентный текст + пульсирующая точка */
.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0;
  background-image: linear-gradient(90deg, #1db954, #4ade80, #1db954);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s linear infinite;
}
.badge-online::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #1db954;
  border-radius: 50%;
  box-shadow: 0 0 6px #1db954, 0 0 12px #1db954;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.6); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes gradientText {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Логотипы программ */
.program-logo {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ===== Вкладки для секции "Состав баз" ===== */
#includes .nav-tabs {
  border-bottom: 1px solid #333;
  justify-content: center;
  margin-bottom: 1.5rem;
}
#includes .nav-tabs .nav-link {
  background-color: #1f2126;
  color: #ccc;
  border: 1px solid #333;
  margin: 0 6px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 36px;
  transition: all .25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#includes .nav-tabs .nav-link:hover {
  color: #fff;
  border-color: var(--primary);
}
#includes .nav-tabs .nav-link.active {
  background-color: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
  font-size: 1.15rem;
}
.includes-note { color:#e8edf5; }

/* Градиентные иконки в блоке преимуществ */
.feature-icon-gradient {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(13,110,253,0.9), rgba(13,110,253,0.3));
  color: #fff;
  font-size: 32px;
  box-shadow: 0 0 12px rgba(13,110,253,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-icon-gradient:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(13,110,253,0.6);
}

/* ===== Cart page (тёмная таблица) ===== */
.table.table-dark {
  --bs-table-bg: #1f2126;
  --bs-table-striped-bg: #1b1d22;
  --bs-table-striped-color: #e2e6ea;
  --bs-table-color: #e2e6ea;
  --bs-table-border-color: #333;
}
.table-dark.table-bordered>:not(caption)>* { border-width: 1px 0; }
.table-dark.table-bordered td,
.table-dark.table-bordered th { border-color: #333; }

/* Карточка формы поверх полосатого фона */
.order-card {
  background: rgba(15,17,24,.82);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Тёмные инпуты только внутри формы заказа */
.order-card .form-control {
  background-color: #2a2d34;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
}
.order-card .form-control:focus {
  background-color: #2a2d34;
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}
.order-card .form-text { color: #9aa0a6; }

/* Контейнер формы */
.form-container { max-width: 720px; margin: 0 auto; }

/* ===== Payment / USDT common ===== */
/* Центрирование блока выбора оплаты между шапкой и футером */
.payment-center {
  min-height: calc(100vh - 220px); /* запас под шапку+футер; padding-top у body уже есть */
  padding: 40px 0;
}
/* Кнопки выбора оплаты */
.btn-payment {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  width: 100%;
}
/* Тёмное модал-окно (если где-то используется) */
.modal-dark {
  background: #1f2126;
  color: #e2e6ea;
  border: 1px solid #333;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.modal-dark .modal-header,
.modal-dark .modal-footer { border-color: #2a2d34; }
.modal-dark .btn-close { filter: invert(1) grayscale(100%); opacity: .8; }
.modal-dark .btn-close:hover { opacity: 1; }

/* USDT page helpers */
.toast-notify {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 220px;
  background-color: #198754;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .25s ease-in-out;
  z-index: 1055;
}
.toast-notify.show { opacity: 1; }
.qr-code { width: 200px; height: 200px; }
.usdt-amount { font-size: 1.6rem; font-weight: 700; }

/* ===== Dropbox Stats (XRumer/GSA) — единая версия без дублей ===== */
#dropbox-info .stats-card{
  background:#1f232a;
  border:1px solid #2d3340;
  border-radius:16px;
  padding:24px 28px;
  box-shadow:0 6px 24px rgba(0,0,0,.25);
}
#dropbox-info .stats-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
#dropbox-info .stats-head h5{
  margin:0;
  font-weight:600;
  color:#e9eef7;
}
#dropbox-info .stats-badge-updated{
  background:#2b3443;
  color:#e2e8f0;
  font-weight:600;
  border-radius:10px;
  padding:6px 10px;
  font-size:.875rem;
}
#dropbox-info .stats-total{
  display:flex;
  align-items:center;
  gap:8px;
  margin:6px 0 16px;
  flex-wrap:wrap;
}
#dropbox-info .stats-badge-total{
  display:inline-block;
  background:#18a957;
  color:#eafff4;
  font-weight:700;
  border-radius:10px;
  padding:6px 10px;
  font-size:.9rem;
}
#dropbox-info .stats-badge-daily{
  display:inline-block;
  background:#34495e;
  color:#e2ffe6;
  font-weight:700;
  border-radius:10px;
  padding:6px 10px;
  font-size:.9rem;
}
#dropbox-info .stats-badge-daily.negative{ background:#5e3a34; color:#ffe2e2; }
#dropbox-info .stats-row{ margin:10px 0 12px; border-radius:8px; }
#dropbox-info .stats-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#cbd5e1;
  line-height:1.2;
  margin-bottom:6px;
}
#dropbox-info .stats-item .name{ color:#e5ebf5; font-weight:500; }
#dropbox-info .stats-item .count{ color:#a9b4c3; font-variant-numeric:tabular-nums; font-weight:700; }
#dropbox-info .delta{ margin-left:.5rem; font-weight:700; }
#dropbox-info .delta.up{ color:#22c55e; }     /* + */
#dropbox-info .delta.down{ color:#f59e0b; }   /* − */
#dropbox-info .delta.zero{ color:#9aa4b3; }   /* 0 */
#dropbox-info .stats-rail{
  height:10px;
  background:#2f3540;
  border-radius:999px;
  overflow:hidden;
}
#dropbox-info .stats-bar{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#3b82f6,#2563eb);
  box-shadow:0 0 0 1px rgba(37,99,235,.25) inset;
  transition:width .6s ease;
}
#dropbox-info .stats-grid{
  display: grid;
  gap: 20px;
}
@media (min-width: 992px){
  #dropbox-info .stats-grid{ grid-template-columns: 1fr 1fr; }
}
#dropbox-info .stats-toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
#dropbox-info .stats-toolbar .btn-group .btn{
  font-size:.85rem;
  padding:.35rem .6rem;
  border-color:#3a4250;
  color:#cdd6e3;
}
#dropbox-info .stats-toolbar .btn-group .btn.active{
  background:#354158;
  color:#fff;
  border-color:#465169;
}
#dropbox-info .btn-copy{
  margin-left:auto;
  font-size:.85rem;
  padding:.35rem .6rem;
}
/* мигающая подсветка прироста/убыли */
@keyframes flashBgUp   { 0% { background-color: rgba(34,197,94,.18);} 100% { background-color: transparent; } }
@keyframes flashBgDown { 0% { background-color: rgba(245,158,11,.18);} 100% { background-color: transparent; } }
#dropbox-info .stats-row.flash-up   { animation: flashBgUp 1.2s ease-out 1; }
#dropbox-info .stats-row.flash-down { animation: flashBgDown 1.2s ease-out 1; }
/* Контент статьи */
.article-content {
  color: #fff;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
/* Полупрозрачная «вуаль» под текстом */
.overlay-box {
  background: rgba(0,0,0,0.35); /* чёрный 45% прозрачности */
  backdrop-filter: blur(2px);   /* лёгкий блюр для читабельности */
}

.article-content strong, .article-content b{
  font-weight:700;
  color:#ffd860;        /* мягкий жёлтый */
}
/* Подсветка жирного жёлтым в превью */
.preview-text strong,
.preview-text b {
  font-weight: 700;
  color: #ffd860;
}

/* Карточка превью статьи */
.article-card {
  transition: all 0.25s ease-in-out;
  border: 1px solid transparent;
}

/* Подсветка при наведении */
.article-card:hover {
  border: 1px solid #ffd860;      /* жёлтая рамка */
  box-shadow: 0 0 15px rgba(255,216,96,0.4); /* мягкое свечение */
  transform: translateY(-3px);    /* лёгкий подъём */
}


/* Coupons (dark) */
.coupon-list { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 10px; }
.coupon-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px 14px; color: #fff; }
.coupon-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.95rem; color: #fff; }


/* Coupons styled to site */
.coupon-item { background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 14px; color: #fff; }
.coupon-code { color: #0d6efd; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1rem; }
.coupon-item .btn.copy-coupon { min-width: 110px; }



/* Coupon countdown styles */
.coupon-countdown { opacity: .8; }
.coupon-expired { opacity: .5; filter: grayscale(0.3); }

