/* ============================================
   LASTHEART — Modern Minecraft Server Website
   Design: 2026, dark glassmorphism + red accent
   ============================================ */

:root {
  --bg: #06080f;
  --bg-soft: #0d1220;
  --surface: rgba(18, 24, 40, 0.6);
  --surface-strong: rgba(22, 30, 50, 0.85);
  --surface-solid: #12182a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f4f8;
  --muted: #8b93a7;
  --muted-strong: #b4bccf;
  --heart: #ff3355;
  --heart-glow: rgba(255, 51, 85, 0.4);
  --heart-soft: rgba(255, 51, 85, 0.12);
  --gold: #ffc857;
  --gold-soft: rgba(255, 200, 87, 0.12);
  --green: #3ddc97;
  --green-soft: rgba(61, 220, 151, 0.14);
  --blue: #4d8eff;
  --blue-soft: rgba(77, 142, 255, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --wrap: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Background effects === */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--heart);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
  opacity: 0.25;
}

.bg-orb-3 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: 0.12;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* === Layout === */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* === Navigation === */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
}

.topbar.scrolled {
  background: rgba(6, 8, 15, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity 0.2s;
}

.brand:hover { opacity: 0.85; }

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--heart-glow));
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  color: var(--text);
  background: var(--heart-soft);
}

.nav-cta {
  background: var(--heart) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 20px var(--heart-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--heart-glow) !important;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  position: relative;
}

.status-pill[data-state="online"] .dot {
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-soft);
  animation: pulse-green 2s ease-in-out infinite;
}

.status-pill[data-state="online"] {
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.06);
}

.status-pill[data-state="offline"] .dot {
  background: var(--heart);
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(61, 220, 151, 0); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 51, 85, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 51, 85, 0); }
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--heart-soft);
  border: 1px solid rgba(255, 51, 85, 0.25);
  color: var(--heart);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--heart);
  animation: pulse-red 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff 50%, var(--heart) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted-strong);
  font-weight: 400;
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--heart);
  border-color: var(--heart);
  color: #fff;
  box-shadow: 0 4px 24px var(--heart-glow);
}

.btn-primary:hover {
  background: #ff1a44;
  border-color: #ff1a44;
  box-shadow: 0 8px 32px var(--heart-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
}

/* Server IP card */
.server-ip-card {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.server-ip-card .ip-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.server-ip-card .ip-block:hover {
  background: rgba(255, 255, 255, 0.04);
}

.server-ip-card .ip-block + .ip-block {
  border-left: 1px solid var(--line);
}

.server-ip-card .ip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.server-ip-card .ip-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.server-ip-card .ip-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* === Sections === */
section.block {
  padding: 100px 0;
  position: relative;
}

.block-head {
  margin-bottom: 48px;
}

.block-head .eyebrow {
  display: inline-block;
  color: var(--heart);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.block-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.block-head p {
  color: var(--muted-strong);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.6;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-card.accent {
  background: linear-gradient(160deg, rgba(255, 51, 85, 0.1) 0%, var(--surface) 70%);
  border-color: rgba(255, 51, 85, 0.2);
}

.feature-card.accent:hover {
  border-color: rgba(255, 51, 85, 0.4);
  box-shadow: 0 20px 60px rgba(255, 51, 85, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.feature-card.accent .feature-icon {
  background: var(--heart-soft);
  border-color: rgba(255, 51, 85, 0.25);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--heart);
  margin-bottom: 12px;
}

/* === Stats Dashboard === */
.stats-dashboard {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.stats-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}

.stat-card:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.stat-card .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-card .label .icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.stat-card .value {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-card .value.green { color: var(--green); }
.stat-card .value.gold { color: var(--gold); }
.stat-card .value.heart { color: var(--heart); }

.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.chart-card .chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted-strong);
}

.chart-card .chart-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.chart-card .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chart-card .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.chart-container {
  flex: 1;
  position: relative;
}

.chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.chart svg text {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--font);
}

/* === How to join === */
.join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.join-step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.3s var(--ease);
}

.join-step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.join-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--heart);
  opacity: 0.6;
}

.join-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.join-step p {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.join-step code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gold);
}

/* === Live status card in hero === */
.hero-status {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  animation: fadeInRight 0.8s var(--ease) 0.5s both;
}

.hero-status .status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-status .status-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-strong);
}

.hero-status .status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.hero-status .status-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-status .status-indicator.online .dot {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero-status .status-indicator.online { color: var(--green); }
.hero-status .status-indicator.offline { color: var(--heart); }
.hero-status .status-indicator.offline .dot { background: var(--heart); }

.hero-status .players-display {
  text-align: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.hero-status .players-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, var(--heart));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-status .players-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

.hero-status .status-rows {
  list-style: none;
}

.hero-status .status-rows li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-status .status-rows li:last-child { border-bottom: none; }

.hero-status .status-rows span:first-child { color: var(--muted); }
.hero-status .status-rows span:last-child { font-weight: 600; color: var(--muted-strong); }

/* === Footer === */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* === Rules page === */
.rules-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.rules-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.rules-hero p {
  color: var(--muted-strong);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.rules-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.rule-section {
  margin-bottom: 48px;
}

.rule-section h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule-section h2 .section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--heart-soft);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.rule-section ul {
  list-style: none;
  padding: 0;
}

.rule-section ul li {
  padding: 12px 0 12px 24px;
  position: relative;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
}

.rule-section ul li:last-child { border-bottom: none; }

.rule-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--heart);
}

.rule-section ul li strong {
  color: var(--text);
  font-weight: 600;
}

.rule-section code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gold);
}

.rule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

.rule-table th,
.rule-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.rule-table th {
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rule-table td {
  color: var(--muted-strong);
}

.rule-table tr:last-child td { border-bottom: none; }

.rule-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.rule-note {
  background: var(--heart-soft);
  border: 1px solid rgba(255, 51, 85, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 32px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.rule-note strong {
  color: var(--heart);
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate(40px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-status {
    position: relative;
    transform: none;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 400px;
    margin-top: 40px;
    animation: fadeInUp 0.8s var(--ease) 0.5s both;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .stats-dashboard {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .join-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .server-ip-card {
    flex-direction: column;
    width: 100%;
  }

  .server-ip-card .ip-block + .ip-block {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .status-pill span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
