/* ==========================================================================
   Moonvale — styles.css
   Dark fantasy / elegant server aesthetic
   Organised sections: Variables → Reset → Base → Layout → Components → Pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --clr-bg:           #0d0f14;
  --clr-bg-raised:    #13161e;
  --clr-bg-card:      #191d28;
  --clr-bg-card-alt:  #1f2433;
  --clr-border:       #2a2f42;
  --clr-border-glow:  #3a3f58;

  --clr-gold:         #c9a84c;
  --clr-gold-light:   #e0c472;
  --clr-gold-dim:     #7a6030;
  --clr-teal:         #4cc9b0;
  --clr-teal-dim:     #2a6e61;
  --clr-red:          #c94c4c;
  --clr-green:        #4cc96e;

  --clr-text:         #d4d8e8;
  --clr-text-muted:   #7a80a0;
  --clr-text-faint:   #454c66;
  --clr-text-heading: #eeeaf4;

  /* Typography */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w:        1100px;
  --max-w-narrow: 720px;
  --nav-h:        64px;

  /* Radii */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 20px rgba(201, 168, 76, 0.15);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr:      250ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--clr-gold); text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--clr-gold-light); }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--clr-text-heading);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   3. Base Typography
   -------------------------------------------------------------------------- */
h1 { font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl)); }
h3 { font-size: clamp(var(--fs-md), 2vw, var(--fs-lg)); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: var(--clr-bg-card-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.4em;
  color: var(--clr-teal);
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.site-main { flex: 1; }

.section {
  padding: var(--sp-20) var(--sp-6);
}

.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.section-inner--narrow {
  max-width: var(--max-w-narrow);
}

.section-title {
  text-align: center;
  margin-bottom: var(--sp-4);
  color: var(--clr-gold);
}

.section-subtitle {
  text-align: center;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-10);
  font-size: var(--fs-md);
}

.section-title + .card-grid,
.section-title + .section-subtitle + .card-grid {
  margin-top: var(--sp-10);
}

.section-cta {
  text-align: center;
  margin-top: var(--sp-10);
}

/* Card grids */
.card-grid {
  display: grid;
  gap: var(--sp-6);
}

.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  height: var(--nav-h);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-logo:hover { color: var(--clr-gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color var(--tr-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-gold);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--clr-text-muted);
  border-radius: 2px;
  transition: background var(--tr-fast);
}

.nav-toggle:hover span { background: var(--clr-gold); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--clr-bg-raised);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    gap: var(--sp-4);
  }

  .nav-links.open { display: flex; }
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr), box-shadow var(--tr);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-gold);
  color: #0d0f14;
  border-color: var(--clr-gold);
}

.btn-primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
  color: #0d0f14;
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-teal);
  border-color: var(--clr-teal);
}

.btn-secondary:hover {
  background: rgba(76, 201, 176, 0.1);
  color: var(--clr-teal);
  box-shadow: 0 0 14px rgba(76, 201, 176, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--clr-gold);
  border-color: var(--clr-gold-dim);
}

.btn-outline:hover {
  border-color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--clr-gold-light);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-24) var(--sp-6);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 168, 76, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(76, 201, 176, 0.04) 0%, transparent 70%),
    var(--clr-bg);
}

.hero-inner {
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: var(--sp-4);
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--clr-gold);
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}

.hero-tagline {
  font-size: clamp(var(--fs-md), 2.5vw, var(--fs-xl));
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-10);
  font-weight: 300;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.page-hero {
  padding: var(--sp-20) var(--sp-6) var(--sp-12);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 70%),
    var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero-inner { max-width: var(--max-w); margin-inline: auto; }

.page-hero h1 {
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
}

.page-hero p {
  color: var(--clr-text-muted);
  font-size: var(--fs-md);
}

/* --------------------------------------------------------------------------
   8. Status Section
   -------------------------------------------------------------------------- */
.status-section {
  background: var(--clr-bg-raised);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding-block: var(--sp-12);
}

.status-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.status-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.status-value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-text-heading);
}

.status-value--online { color: var(--clr-green); }
.status-value--offline { color: var(--clr-red); }

.status-meta {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.status-inline--online { color: var(--clr-green); }
.status-inline--offline { color: var(--clr-red); }

/* --------------------------------------------------------------------------
   9. Features Section
   -------------------------------------------------------------------------- */
.features-section {
  background: var(--clr-bg);
}

.feature-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: border-color var(--tr), transform var(--tr);
}

.feature-card:hover {
  border-color: var(--clr-border-glow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
  color: var(--clr-gold-dim);
}

.feature-card h3 {
  margin-bottom: var(--sp-3);
  color: var(--clr-gold-light);
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Rank Cards (homepage preview + ranks page)
   -------------------------------------------------------------------------- */
.ranks-preview-section { background: var(--clr-bg-raised); }

.rank-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--rank-color, var(--clr-gold-dim));
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: border-color var(--tr), transform var(--tr);
}

.rank-card:hover { transform: translateY(-3px); }

.rank-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--rank-color, var(--clr-gold));
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
  margin-bottom: var(--sp-4);
  opacity: 0.9;
}

.rank-name {
  font-size: var(--fs-lg);
  color: var(--rank-color, var(--clr-text-heading));
  margin-bottom: var(--sp-3);
}

.rank-description {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.rank-meta {
  color: var(--clr-text-faint);
  font-size: var(--fs-xs);
  margin-top: var(--sp-3);
}

/* Full rank cards (ranks page) */
.ranks-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

.rank-full-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--rank-color, var(--clr-gold-dim));
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
}

.rank-full-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.rank-full-badge {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--rank-color, var(--clr-gold));
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
}

.rank-full-name {
  font-size: var(--fs-xl);
  color: var(--rank-color, var(--clr-text-heading));
}

.rank-full-meta {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.rank-full-description {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
}

.rank-perks-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-faint);
  margin-bottom: var(--sp-3);
}

.rank-perks-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
}

.rank-perks-list li {
  background: var(--clr-bg-card-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--clr-text);
}

.rank-perks-list li::before {
  content: '✦ ';
  color: var(--rank-color, var(--clr-gold-dim));
  font-size: 0.7em;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   11. Join Steps (homepage)
   -------------------------------------------------------------------------- */
.join-section { background: var(--clr-bg); }

.join-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.join-step {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--clr-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-gold);
}

.step-body h3 {
  margin-bottom: var(--sp-2);
  color: var(--clr-text-heading);
}

.step-body p { color: var(--clr-text-muted); font-size: var(--fs-sm); }

.server-address-block {
  display: inline-block;
  margin-top: var(--sp-3);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-glow);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-6);
  font-family: 'Courier New', monospace;
  font-size: var(--fs-md);
  color: var(--clr-teal);
  letter-spacing: 0.04em;
  user-select: all;
}

.server-address-block--inline { display: block; margin-top: var(--sp-2); }

/* --------------------------------------------------------------------------
   12. Info Blocks (inner pages)
   -------------------------------------------------------------------------- */
.info-block {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-card);
}

.info-block h2 {
  font-size: var(--fs-lg);
  color: var(--clr-gold);
  margin-bottom: var(--sp-4);
}

.info-block--highlight {
  border-color: var(--clr-gold-dim);
  background: var(--clr-bg-card-alt);
}

.info-note {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-top: var(--sp-3);
}

/* --------------------------------------------------------------------------
   13. Styled Lists
   -------------------------------------------------------------------------- */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.styled-list li {
  color: var(--clr-text);
  font-size: var(--fs-sm);
  padding-left: var(--sp-4);
  position: relative;
}

.styled-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--clr-gold-dim);
}

.styled-list--ordered {
  counter-reset: rule-counter;
}

.styled-list--ordered li {
  counter-increment: rule-counter;
  padding-left: var(--sp-8);
}

.styled-list--ordered li::before {
  content: counter(rule-counter) '.';
  font-family: var(--font-display);
  color: var(--clr-gold-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   14. Rules Page
   -------------------------------------------------------------------------- */
.rules-preamble { border-left: 3px solid var(--clr-gold-dim); }

.rules-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  counter-reset: rules-counter;
}

.rule-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-8);
  counter-increment: rules-counter;
  position: relative;
  box-shadow: var(--shadow-card);
}

.rule-item::before {
  content: counter(rules-counter, decimal-leading-zero);
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--clr-text-faint);
  line-height: 1;
  pointer-events: none;
}

.rule-title {
  font-size: var(--fs-md);
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-3);
}

.rule-item p { color: var(--clr-text-muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   15. Map Page
   -------------------------------------------------------------------------- */
.map-cta { margin: var(--sp-6) 0 var(--sp-4); }

.dynmap-embed {
  width: 100%;
  height: 600px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  margin-top: var(--sp-6);
}

/* --------------------------------------------------------------------------
   16. Player Cards / Leaderboards
   -------------------------------------------------------------------------- */
.player-card {
  display: block;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--tr), border-color var(--tr);
}

.player-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-border-glow);
}

.player-card h3 {
  margin-bottom: var(--sp-2);
  color: var(--clr-gold-light);
}

.player-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.player-card-status {
  display: inline-block;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--clr-teal);
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
}

.player-card-status--online {
  color: var(--clr-green);
}

.empty-state {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
  color: var(--clr-text-muted);
}

.leaderboard-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  background: var(--clr-bg-card-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
}

.leaderboard-rank {
  color: var(--clr-gold);
  font-family: var(--font-display);
}

.leaderboard-name {
  color: var(--clr-text-heading);
}

.leaderboard-value {
  color: var(--clr-teal);
  font-family: 'Courier New', monospace;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--clr-bg-raised);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-12) var(--sp-6);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--clr-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.footer-nav a:hover { color: var(--clr-gold); }

.footer-note {
  font-size: var(--fs-sm);
  color: var(--clr-text-faint);
  margin-bottom: 0;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--clr-text-faint);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: var(--sp-16) var(--sp-4); }
  .card-grid--3,
  .card-grid--4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .join-step { flex-direction: column; gap: var(--sp-3); }
  .rank-full-card { padding: var(--sp-6); }
  .rule-item::before { display: none; }
}
