:root {
  --bg: #e9edf2;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #1e2d39;
  --text-soft: #667888;
  --border: #d5dde6;
  --gold: #ddb25d;
  --shadow: 0 16px 40px rgba(17, 34, 51, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

* {
  box-sizing: border-box;
}

.hero-header {
  background: radial-gradient(circle at top right, #185a66 0%, #0d4350 42%, #062e39 72%, #051e27 100%);
  color: white;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  padding: 18px 16px 28px;
  box-shadow: 0 10px 30px rgba(5, 30, 39, 0.18);
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 16px;
}

.hero-card {
  border: 1px solid rgba(220, 232, 235, 0.18);
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #18323d;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
}

.hero-text h1 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-text p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: grid;
  gap: 18px;
}

.rule-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}

.rule-number {
  position: absolute;
  top: -12px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--gold);
  color: #18323d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 10px 18px rgba(221, 178, 93, 0.22);
}

.rule-card h2 {
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rule-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.rule-card p:last-child {
  margin-bottom: 0;
}

.rule-strong {
  color: var(--text) !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-header {
    padding: 16px 14px 24px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  .hero-card {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .container {
    padding: 16px 12px 26px;
  }

  .rule-card {
    padding: 24px 18px 18px;
    border-radius: 24px;
  }

  .rule-card h2 {
    font-size: 20px;
  }

  .rule-card p {
    font-size: 15px;
  }
}
.site-footer {
  padding: 10px 16px 26px;
  text-align: center;
}

.footer-link {
  color: #6b7b89;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-link:hover {
  color: #073743;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 6px 12px 22px;
  }

  .footer-link {
    font-size: 13px;
  }
}