/* Главный заголовок страницы */
.page-title {
  position: relative;
  margin: 0 0 34px;
  padding-bottom: 26px;

  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;

  color: #151329;
  text-wrap: balance;
}

/* Яркая линия под H1 */
.page-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;

  width: 190px;
  height: 5px;
  border-radius: 20px;

  background: linear-gradient(
    90deg,
    #6c18ff,
    #a531ff,
    #f0bd16,
    #6c18ff
  );
  background-size: 250% 100%;

  box-shadow:
    0 5px 16px rgba(108, 24, 255, 0.22),
    0 2px 8px rgba(240, 189, 22, 0.18);

  animation: heading-gradient 3.5s linear infinite;
}

/* Три движущиеся точки */
.page-title::after {
  content: "";
  position: absolute;
  left: 205px;
  bottom: 5px;

  width: 9px;
  height: 9px;
  border-radius: 50%;

  background: #7924ff;
  box-shadow:
    18px 0 0 rgba(121, 36, 255, 0.58),
    36px 0 0 rgba(121, 36, 255, 0.24);

  animation: heading-dots 1.35s ease-in-out infinite;
}

/* Заголовки разделов */
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;

  margin: 42px 0 26px;
  padding: 15px 20px;

  font-size: clamp(25px, 2.7vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.45px;

  color: #17142c;

  background:
    linear-gradient(
      90deg,
      rgba(115, 31, 255, 0.1),
      rgba(240, 189, 22, 0.07),
      transparent 75%
    );

  border-left: 5px solid #7924ff;
  border-radius: 0 16px 16px 0;
}

/* Светящаяся точка возле H2 */
.section-title::before {
  content: "";
  flex: 0 0 auto;

  width: 11px;
  height: 11px;
  border-radius: 50%;

  background: #f0bd16;
  box-shadow:
    0 0 0 6px rgba(240, 189, 22, 0.13),
    0 0 18px rgba(240, 189, 22, 0.55);

  animation: section-pulse 2s ease-in-out infinite;
}

@keyframes heading-gradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 250% 50%;
  }
}

@keyframes heading-dots {
  0%,
  100% {
    transform: translateY(0) scale(0.82);
    opacity: 0.45;
  }

  50% {
    transform: translateY(-3px) scale(1);
    opacity: 1;
  }
}

@keyframes section-pulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.65;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .page-title {
    margin-bottom: 27px;
    padding-bottom: 23px;

    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -0.7px;
  }

  .page-title::before {
    width: 135px;
  }

  .page-title::after {
    left: 149px;
  }

  .section-title {
    margin: 32px 0 20px;
    padding: 13px 15px;

    font-size: 25px;
    border-left-width: 4px;
  }
}

/* Отключение движения для пользователей,
   которые запретили анимацию в системе */
@media (prefers-reduced-motion: reduce) {
  .page-title::before,
  .page-title::after,
  .section-title::before {
    animation: none;
  }
}
.section-title {
  border-left: none;
}

.section-title::before {
  content: none;
  display: none;
}
/* ============================================================
   TABLES - payment methods + category list
   ============================================================ */

/* Common wrapper (horizontal scroll on mobile) */
.tbl-wrap{
  width:100%;
  overflow-x:auto;
  margin:22px 0 26px;
  -webkit-overflow-scrolling:touch;
}

/* ── Payment methods table ─────────────────────────────────── */
.pay-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:560px;
}

.pay-table thead th{
  text-align:left;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a8896;
  font-weight:700;
  padding:0 16px 12px;
  border-bottom:1px solid #e6e5ec;
  white-space:nowrap;
}

.pay-table tbody td{
  padding:14px 16px;
  border-bottom:1px solid #f2f1f6;
  color:#44424f;
  vertical-align:middle;
}

.pay-table tbody tr:last-child td{ border-bottom:none; }
.pay-table tbody tr:hover td{ background:#faf9fc; }

/* First cell: icon chip + method name */
.pay-method{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-weight:600;
  color:#16142a;
  white-space:nowrap;
}

.pay-ico{
  flex-shrink:0;
  width:32px;
  height:32px;
  border-radius:9px;
  background:#efeafe;
  color:#4b0dae;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.pay-ico svg{ width:17px; height:17px; display:block; }

/* colour accents per method type */
.pay-ico.is-card  { background:#efeafe; color:#4b0dae; }
.pay-ico.is-wallet{ background:#e6f1fb; color:#185fa5; }
.pay-ico.is-bank  { background:#f1efe8; color:#5f5e5a; }
.pay-ico.is-crypto{ background:#e1f5ee; color:#0f6e56; }
.pay-ico.is-voucher{ background:#fbeaf0; color:#993556; }

/* ── Category / bookmaker table ────────────────────────────── */
.cat-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.cat-table thead th{
  text-align:left;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a8896;
  font-weight:700;
  padding:0 16px 12px;
  border-bottom:1px solid #e6e5ec;
}

.cat-table thead th:last-child{ text-align:right; }

.cat-table tbody td{
  padding:13px 16px;
  border-bottom:1px solid #f2f1f6;
  color:#5a5866;
}

.cat-table tbody td:last-child{
  text-align:right;
  font-weight:700;
  color:#4b0dae;
  font-size:15px;
  white-space:nowrap;
}

.cat-table tbody tr:last-child td{ border-bottom:none; }
.cat-table tbody tr:hover td{ background:#faf9fc; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width:600px){
  .pay-table, .cat-table{ font-size:13px; }
  .pay-ico{ width:28px; height:28px; }
  .pay-ico svg{ width:15px; height:15px; }
  .cat-table tbody td:last-child{ font-size:14px; }
}
/* ============================================================
   Quadro normativo - fact badge cards
   ============================================================ */
.norm-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:20px 0 26px;
}

.norm-card{
  text-align:center;
  padding:20px 14px;
  background:#faf9fc;
  border-radius:14px;
  border-top:3px solid #7c31f6;
}

.norm-ico{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#efeafe;
  color:#4b0dae;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}
.norm-ico svg{ width:23px; height:23px; display:block; }

.norm-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#8a8896;
  font-weight:700;
  margin-bottom:6px;
  line-height:1.3;
}

.norm-value{
  font-size:14px;
  font-weight:700;
  color:#16142a;
  line-height:1.35;
}

/* colour accents per card */
.norm-card.c-1{ border-top-color:#7c31f6; }
.norm-card.c-1 .norm-ico{ background:#efeafe; color:#4b0dae; }
.norm-card.c-2{ border-top-color:#1d9e75; }
.norm-card.c-2 .norm-ico{ background:#e1f5ee; color:#0f6e56; }
.norm-card.c-3{ border-top-color:#378add; }
.norm-card.c-3 .norm-ico{ background:#e6f1fb; color:#185fa5; }
.norm-card.c-4{ border-top-color:#5f5e5a; }
.norm-card.c-4 .norm-ico{ background:#f1efe8; color:#5f5e5a; }

@media (max-width:760px){
  .norm-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:420px){
  .norm-grid{ grid-template-columns:1fr; }
}
/* ============================================================
   Author / Editor byline block
   ============================================================ */
.byline{
  display:flex;
  align-items:center;
  gap:18px;
  padding:16px 18px;
  background:#faf9fc;
  border-radius:14px;
  margin:20px 0 30px;
  flex-wrap:wrap;
}

/* stacked overlapping avatars */
.byline-avatars{
  display:flex;
  flex-shrink:0;
}

.byline-avatars img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #fff;
  background:#efeafe;
}

.byline-avatars img + img{ margin-left:-16px; }

/* people rows */
.byline-people{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  flex:1;
  min-width:220px;
}

.byline-person{ line-height:1.35; }

.byline-role{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#8a8896;
  font-weight:700;
  margin-bottom:1px;
}

.byline-name{
  font-size:15px;
  font-weight:700;
  color:#16142a;
}

.byline-sub{
  font-size:12px;
  color:#8a8896;
}

/* date */
.byline-date{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:auto;
  color:#8a8896;
  font-size:12.5px;
  white-space:nowrap;
}
.byline-date svg{ width:14px; height:14px; flex-shrink:0; }

@media (max-width:600px){
  .byline{ gap:14px; }
  .byline-people{ gap:16px; }
  .byline-date{ margin-left:0; width:100%; padding-top:10px; border-top:1px solid #eceaf3; }
}
/* ── Payment methods as icon list ──────────────────────────── */
.pay-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:20px 0 24px;
}

.pay-list-item{
  display:flex;
  align-items:flex-start;
  gap:13px;
  font-size:14px;
  color:#34333f;
  line-height:1.5;
}

.pay-list-item .pay-ico{
  flex-shrink:0;
  margin-top:1px;
}

@media (max-width:600px){
  .pay-list-item{ font-size:13px; gap:11px; }
}