/* ════════════════════════════════════════════════════════════
   game-rules.css — Section règles partagée — multiplayergameshub.com
════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Inter:wght@400;500;600&display=swap');

/* ── Section wrapper ─────────────────────────────────────── */
.game-rules-section {
  background: #080814;
  padding: 64px 20px 48px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: 'Inter', sans-serif;
  color: #e8e8ff;
}
.grs-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Header ──────────────────────────────────────────────── */
.grs-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.grs-icon {
  font-size: 40px;
  line-height: 1;
  flex-shrink: 0;
}
.grs-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
}
.grs-type {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grs-accent, #4CC9F0);
  opacity: .8;
  margin: 0;
}

/* ── Intro ───────────────────────────────────────────────── */
.grs-intro {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
  border-left: 3px solid var(--grs-accent, #4CC9F0);
  padding-left: 16px;
  margin: 0;
}

/* ── Two-column layout ───────────────────────────────────── */
.grs-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) {
  .grs-columns { grid-template-columns: 1fr; }
}

/* ── Rules card ──────────────────────────────────────────── */
.grs-rules, .grs-sidebar {
  background: rgba(10,10,22,.97);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 20px 22px;
}
.grs-rules h3, .grs-sidebar h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grs-accent, #4CC9F0);
  margin: 0 0 14px;
}
.grs-sidebar h3 + h3 { margin-top: 20px; }

.grs-rules ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.grs-rules li {
  font-size: 13px;
  line-height: 1.55;
  color: #ccc;
}

/* ── Controls table ──────────────────────────────────────── */
.grs-controls-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grs-controls-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #bbb;
}
.grs-controls-list kbd {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 3px 9px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #e8e8ff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Tip ─────────────────────────────────────────────────── */
.grs-tip {
  font-size: 12px;
  line-height: 1.6;
  color: #888;
  background: rgba(255,255,255,.025);
  border-radius: 8px;
  padding: 10px 13px;
  margin-top: 10px;
}
.grs-tip strong {
  color: var(--grs-accent, #4CC9F0);
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ── Ad slot ─────────────────────────────────────────────── */
.grs-ad {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
}

/* ── Game footer ─────────────────────────────────────────── */
.game-footer {
  background: #080814;
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 20px 20px 28px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.game-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 10px;
}
.game-footer nav a {
  font-size: 11px;
  color: #444;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .15s;
}
.game-footer nav a:hover { color: #888; }
.game-footer p {
  font-size: 11px;
  color: #2a2a3a;
}
