:root {
    --accent: #14a9ff;
    --bg: #0b0f14;
    --glass: rgba(255, 255, 255, .06);
    --glass2: rgba(255, 255, 255, .10);
    --border: rgba(255, 255, 255, .14);

    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .72);

    --navPadX: 42px;
    --navH: 78px;
    --container: 1100px;

    --red: rgba(255, 59, 59, .85);
    --yellow: rgba(255, 199, 64, .85);
    --green: rgba(46, 204, 113, .85);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ===== container ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   NAVBAR (same as your site)
   ========================= */
.nav {
  height: var(--navH);
  display: flex;
  align-items: center;
  padding: 0 var(--navPadX);
  gap: 18px;

  background: rgba(0, 0, 0, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand {
  width: 240px;
  display: flex;
  align-items: center;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .55));
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;

  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
}

.nav-links a {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  padding: 10px 4px;
  position: relative;
  transition: color .12s ease, opacity .12s ease;
}

.nav-links a:hover { color: #fff; }

.nav-links a.is-active { color: #fff; }

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  opacity: .9;
}

.nav-right {
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Online chip */
.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .70);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32ff6a;
  box-shadow: 0 0 0 3px rgba(50, 255, 106, .14);
}

/* Buttons (needed by nav + team hero) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: #061018;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(20, 169, 255, .18);
  transition: transform .12s ease, filter .12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  border-radius: 10px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: var(--glass2);
  border-color: rgba(255, 255, 255, .22);
}

/* =========================
   RULES HERO
   ========================= */
.rules-hero {
    padding: 54px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(60% 55% at 50% 30%,
            rgba(0, 0, 0, .25) 0%,
            rgba(0, 0, 0, .55) 45%,
            rgba(0, 0, 0, .88) 100%);
}

.kicker {
    color: rgba(20, 169, 255, .78);
    text-transform: uppercase;
    letter-spacing: .30em;
    font-size: 11px;
    margin-bottom: 12px;
}

.title {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 52px);
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.02;
}

.title span {
    color: var(--accent);
}

.subtitle {
    margin: 14px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.ruleline {
    width: 56px;
    height: 2px;
    background: rgba(20, 169, 255, .32);
    margin: 18px 0 22px;
}

/* Controls */
.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .25);
    color: rgba(255, 255, 255, .75);
    padding: 10px 14px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.tab:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
}

.tab.is-active {
    background: var(--accent);
    border-color: rgba(0, 0, 0, .20);
    color: #061018;
}

/* Search */
.search {
    position: relative;
    min-width: min(380px, 92vw);
}

.search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .6;
    font-size: 14px;
}

.search input {
    width: 100%;
    padding: 12px 14px 12px 34px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .25);
    color: rgba(255, 255, 255, .92);
    outline: none;
}

.search input:focus {
    border-color: rgba(20, 169, 255, .55);
    box-shadow: 0 0 0 3px rgba(20, 169, 255, .10);
}

/* =========================
   RULE LIST
   ========================= */
.rules-body {
    padding: 26px 0 70px;
}

.rules-section {
    margin-top: 22px;
}

/* section header */
.sectionhead {
    margin: 28px 0 10px;
}

.priority {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: 11px;
    color: rgba(255, 255, 255, .68);
}

.priority__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .25);
}

.priority--high .priority__dot {
    border-color: var(--red);
}

.priority--medium .priority__dot {
    border-color: var(--yellow);
}

.priority--low .priority__dot {
    border-color: var(--green);
}

.rules-list {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Rule row */
.ruleitem {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ruleitem__left {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 840px;
}

.ruleitem__bullet {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .25);
    margin-top: 6px;
    flex: 0 0 auto;
}

.ruleitem__title {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 14px;
}

.ruleitem__text {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1.65;
}

.ruleitem__tag {
    color: rgba(255, 255, 255, .35);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 10px;
    padding-top: 6px;
    white-space: nowrap;
}

/* =========================
   Clean Footer (Drop-in)
========================= */
.site-footer {
  margin-top: 80px;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(0, 170, 255, 0.10), transparent 60%),
              radial-gradient(900px 400px at 70% 20%, rgba(0, 120, 255, 0.08), transparent 55%),
              linear-gradient(to bottom, rgba(6, 10, 14, 0.96), rgba(3, 6, 9, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 18px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 200px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer__logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.site-footer__logo span {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__about {
  margin: 0 0 18px;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 55ch;
}

.site-footer__server {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__server-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__server-ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
}

.site-footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.site-footer__links a,
.site-footer__socials a,
.site-footer__legal a {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  padding: 6px 0;
}

.site-footer__links a:hover,
.site-footer__socials a:hover,
.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(0, 160, 255, 0.90);
  color: #081018;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.site-footer__cta:hover {
  filter: brightness(1.05);
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.20);
}

.site-footer__bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.site-footer__legal {
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.site-footer__disclaimer {
  color: rgba(255, 255, 255, 0.40);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__links a {
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .2s ease;
}

.site-footer__links a:hover {
  color: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__legal {
    margin-left: 0;
  }
}


/* Bullet colors by priority section */
.rules-high .ruleitem__bullet {
    border-color: var(--red);
}

.rules-medium .ruleitem__bullet {
    border-color: var(--yellow);
}

.rules-low .ruleitem__bullet {
    border-color: var(--green);
}

/* Responsive */
@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .ruleitem {
        flex-direction: column;
    }

    .ruleitem__tag {
        padding-top: 0;
    }
}