.rules-intro {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  background:
    linear-gradient(100deg, rgba(6, 8, 13, 0.94) 0%, rgba(10, 14, 22, 0.74) 44%, rgba(12, 15, 21, 0.84) 100%),
    url("/assets/img/hero-home-bg.webp") center top / cover no-repeat;
}

.rules-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 139, 77, 0.24), transparent 24%),
    radial-gradient(circle at 82% 26%, rgba(243, 91, 100, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.rules-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(12, 15, 21, 0), rgba(12, 15, 21, 0.95));
  pointer-events: none;
}

.rules-intro-layout,
.rules-enforcement-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.rules-intro-copy h1 {
  margin-bottom: 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
}

.rules-lead {
  max-width: 760px;
  color: rgba(238, 242, 251, 0.84);
  font-size: 1.05rem;
}

.rules-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rules-chip {
  padding: 10px 14px;
  border: 1px solid rgba(200, 139, 77, 0.18);
  border-radius: 999px;
  background: rgba(14, 18, 28, 0.72);
  color: rgba(238, 242, 251, 0.84);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.rules-intro-panel,
.rules-enforcement-card,
.rules-alert-card,
.rule-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 139, 77, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(11, 15, 23, 0.92));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rules-intro-panel,
.rules-enforcement-card {
  padding: 28px;
}

.rules-intro-panel::before,
.rules-enforcement-card::before,
.rules-alert-card::before,
.rule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 139, 77, 0.84), transparent);
  opacity: 0.8;
}

.rules-summary-list,
.rule-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-soft);
}

.rules-summary-list li,
.rule-list li {
  position: relative;
  padding-left: 18px;
}

.rules-summary-list li::before,
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-strong);
  box-shadow: 0 0 12px rgba(200, 139, 77, 0.42);
}

.rules-zero {
  background: linear-gradient(180deg, rgba(148, 46, 46, 0.12), rgba(148, 46, 46, 0));
}

.rules-zero-grid,
.rules-grid {
  display: grid;
  gap: 24px;
}

.rules-zero-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-alert-card {
  padding: 26px;
}

.rules-alert-card-danger {
  border-color: rgba(243, 91, 100, 0.24);
  background:
    radial-gradient(circle at top, rgba(243, 91, 100, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(24, 19, 26, 0.96), rgba(13, 15, 23, 0.94));
}

.rules-alert-card-danger::before {
  background: linear-gradient(90deg, transparent, rgba(243, 91, 100, 0.82), transparent);
}

.rules-alert-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(243, 91, 100, 0.2);
  border-radius: 999px;
  background: rgba(243, 91, 100, 0.08);
  color: #ffb3b8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-alert-card h3,
.rule-card h3,
.rules-enforcement-card h2 {
  margin-bottom: 12px;
  font-family: "Cinzel", serif;
}

.rules-alert-card p,
.rules-enforcement-card p {
  color: var(--color-text-soft);
}

.rules-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.rules-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-card {
  padding: 26px;
}

.rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 1px solid rgba(200, 139, 77, 0.28);
  border-radius: 50%;
  background: rgba(12, 16, 24, 0.62);
  color: var(--color-primary-strong);
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.rules-enforcement {
  background: linear-gradient(180deg, rgba(200, 139, 77, 0.08), rgba(200, 139, 77, 0));
}

.rules-enforcement-card-note {
  background:
    radial-gradient(circle at top, rgba(200, 139, 77, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(11, 15, 23, 0.92));
}

@media (max-width: 1279px) {
  .rules-intro-layout,
  .rules-enforcement-layout,
  .rules-zero-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .rules-intro {
    padding-top: 48px;
  }

  .rules-chip-row {
    gap: 10px;
  }

  .rules-chip {
    width: 100%;
    text-align: center;
  }

  .rules-intro-panel,
  .rules-enforcement-card,
  .rules-alert-card,
  .rule-card {
    border-radius: 22px;
  }
}
