.rules-page-hero {
  position: relative;
  padding: 28px 0 14px;
}

.rules-page-hero__wrap {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 32px;
  background:
      linear-gradient(135deg, rgba(8, 13, 25, 0.96), rgba(11, 17, 30, 0.94)),
      rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
      0 24px 70px rgba(0,0,0,0.34),
      inset 0 1px 0 rgba(255,255,255,0.04);
}

.rules-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.rules-page-hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

.rules-page-hero__glow--one {
  top: -80px;
  right: -20px;
  width: 240px;
  height: 240px;
  background: rgba(37, 99, 235, 0.34);
}

.rules-page-hero__glow--two {
  bottom: -60px;
  left: 0;
  width: 220px;
  height: 220px;
  background: rgba(168, 85, 247, 0.28);
}

.rules-page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-page-hero__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.8);
}

.rules-page-hero__title {
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.rules-page-hero__title span {
  display: block;
  margin-top: 10px;
  background: linear-gradient(90deg, #ffffff 0%, #93c5fd 35%, #60a5fa 70%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rules-page-hero__text {
  max-width: 840px;
  margin: 22px 0 0;
  color: #cbd9ea;
  font-size: 18px;
  line-height: 1.9;
}

.rules-page-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 820px;
}

.rules-page-stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
}

.rules-page-stat__label {
  display: block;
  color: #8ea6c3;
  font-size: 13px;
  margin-bottom: 8px;
}

.rules-page-stat__value {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.rules-page-section {
  padding: 12px 0 8px;
}

.rules-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.rules-modern-list {
  display: grid;
  gap: 18px;
}

.rule-modern-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border-radius: 28px;
  background:
      linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rule-modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,0.24);
  box-shadow: 0 24px 55px rgba(0,0,0,0.24);
}

.rule-modern-card__number-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rule-modern-card__number {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
      linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(168, 85, 247, 0.18));
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  box-shadow:
      0 16px 30px rgba(37, 99, 235, 0.16),
      inset 0 1px 0 rgba(255,255,255,0.05);
}

.rule-modern-card__line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(96,165,250,0.7), rgba(192,132,252,0.15));
}

.rule-modern-card__content {
  min-width: 0;
}

.rule-modern-card__head {
  margin-bottom: 14px;
}

.rule-modern-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule-modern-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.rule-modern-card__text {
  color: #d7e2ef;
  font-size: 17px;
  line-height: 1.95;
}

.rules-bottom-note {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border-radius: 26px;
  background:
      linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.rules-bottom-note__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
  font-size: 28px;
}

.rules-bottom-note__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
}

.rules-bottom-note__text {
  margin: 0;
  color: #d7e2ef;
  line-height: 1.85;
}

.rules-empty-state {
  padding: 38px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.rules-empty-state__icon {
  margin-bottom: 14px;
  font-size: 34px;
  color: #93c5fd;
}

@media (max-width: 1100px) {
  .rules-intro {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rules-page-hero__wrap {
      padding: 24px;
      border-radius: 24px;
  }

  .rules-page-hero__title {
      font-size: 42px;
  }

  .rules-page-hero__text {
      font-size: 16px;
  }

  .rules-page-hero__stats {
      grid-template-columns: 1fr;
  }

  .rule-modern-card {
      grid-template-columns: 1fr;
      padding: 18px;
      border-radius: 24px;
  }

  .rule-modern-card__number-wrap {
      flex-direction: row;
      align-items: center;
  }

  .rule-modern-card__line {
      width: auto;
      height: 2px;
      min-height: 2px;
      min-width: 40px;
      flex: 1;
      background: linear-gradient(90deg, rgba(96,165,250,0.7), rgba(192,132,252,0.15));
  }

  .rule-modern-card__title {
      font-size: 24px;
  }

  .rule-modern-card__text {
      font-size: 16px;
      line-height: 1.85;
  }

  .rules-bottom-note {
      grid-template-columns: 1fr;
      padding: 18px;
      border-radius: 22px;
  }
}
