:root {
  --bg: #070a0f;
  --bg-soft: #0d1118;
  --panel: rgba(19, 25, 35, 0.72);
  --panel-border: rgba(190, 210, 230, 0.14);
  --text: #e8eef5;
  --muted: #93a4b8;
  --platinum: #d9e2ec;
  --platinum-bright: #f5f9ff;
  --steel: #8fa6bd;
  --accent: #9fd4ff;
  --accent-dim: rgba(159, 212, 255, 0.14);
  --green: #57e39b;
  --red: #ff6b6b;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, code { font-family: inherit; }

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.ambient-one {
  width: 620px; height: 620px;
  top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(143, 166, 189, 0.55), transparent 68%);
}
.ambient-two {
  width: 560px; height: 560px;
  top: 520px; left: -240px;
  background: radial-gradient(circle, rgba(68, 118, 158, 0.35), transparent 70%);
}
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 10, 15, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.16em; font-size: 15px; }
.brand b { color: var(--accent); font-weight: 700; }
.brand-diamond {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  color: #0a0d12;
  background: linear-gradient(145deg, var(--platinum-bright), var(--steel));
  box-shadow: 0 0 24px rgba(159, 212, 255, 0.35);
  font-size: 16px;
}
.nav { display: flex; gap: 30px; color: var(--muted); font-size: 14px; }
.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--platinum-bright); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-2px); }
.button-small { padding: 10px 18px; font-size: 13px; }
.button-primary {
  color: #070a0f;
  background: linear-gradient(135deg, var(--platinum-bright), var(--steel));
  box-shadow: 0 12px 32px rgba(190, 215, 240, 0.22);
}
.button-primary:hover { box-shadow: 0 16px 40px rgba(190, 215, 240, 0.34); }
.button-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--panel-border);
}
.button-ghost:hover { background: rgba(255,255,255,0.08); }
.button-outline {
  color: var(--platinum);
  border-color: var(--panel-border);
  background: transparent;
}
.button-outline:hover { border-color: rgba(190,210,230,0.4); }
.arrow { font-size: 18px; }

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  min-height: calc(100vh - 74px);
  padding: 80px clamp(20px, 6vw, 96px) 100px;
}
.hero-content { max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(87, 227, 155, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(87, 227, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 227, 155, 0); }
}

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--platinum-bright);
}
h1 span {
  display: block;
  background: linear-gradient(120deg, var(--platinum), var(--accent), var(--platinum));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 26px 0 32px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.ip-card {
  max-width: 520px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
}
.ip-card-label { color: var(--muted); font-size: 11px; letter-spacing: 0.18em; margin-bottom: 8px; }
.ip-card-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ip-card code {
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 600;
  color: var(--platinum-bright);
  letter-spacing: 0.02em;
  word-break: break-all;
}
.copy-button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.copy-button:hover { background: rgba(255,255,255,0.1); border-color: rgba(190,210,230,0.4); }
.copy-icon { color: var(--accent); font-size: 16px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.status-panel {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 620px;
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(10, 14, 20, 0.6);
}
.status-item { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.status-label { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }
.status-value { font-size: 15px; font-weight: 600; color: var(--platinum-bright); display: flex; align-items: center; gap: 8px; }
.status-divider { width: 1px; background: rgba(255,255,255,0.08); margin: 0 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-loading { background: var(--steel); animation: blink 1s infinite alternate; }
.dot-online { background: var(--green); box-shadow: 0 0 12px rgba(87,227,155,0.7); }
.dot-offline { background: var(--red); box-shadow: 0 0 12px rgba(255,107,107,0.6); }
@keyframes blink { to { opacity: 0.25; } }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.diamond-shell { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
.diamond {
  position: absolute;
  transform: rotate(45deg);
  border-radius: 26px;
}
.diamond-outer {
  inset: 0;
  background: linear-gradient(145deg, rgba(217,226,236,0.22), rgba(143,166,189,0.04));
  border: 1px solid rgba(217,226,236,0.35);
  box-shadow: 0 0 80px rgba(159,212,255,0.15), inset 0 0 60px rgba(255,255,255,0.05);
  animation: float 6s ease-in-out infinite;
}
.diamond-inner {
  inset: 46px;
  background: linear-gradient(145deg, rgba(245,249,255,0.16), rgba(143,166,189,0.02));
  border: 1px solid rgba(245,249,255,0.22);
  animation: float 6s ease-in-out infinite reverse;
}
.diamond-core {
  position: relative;
  z-index: 2;
  width: 104px; height: 104px;
  display: grid; place-items: center;
  border-radius: 24px;
  font-size: 52px;
  font-weight: 800;
  color: #070a0f;
  background: linear-gradient(145deg, var(--platinum-bright), var(--steel));
  box-shadow: 0 0 60px rgba(190,215,240,0.45);
  transform: rotate(-45deg);
}
.diamond-core::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@keyframes float { 50% { transform: rotate(45deg) translateY(-14px); } }
.orbit {
  position: absolute;
  border: 1px solid rgba(159,212,255,0.14);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 520px; height: 520px; animation-duration: 34s; animation-direction: reverse; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
.spark { position: absolute; color: var(--accent); opacity: 0.7; }
.spark-one { top: 12%; left: 18%; font-size: 22px; }
.spark-two { bottom: 18%; right: 12%; font-size: 16px; }
.spark-three { top: 44%; right: 4%; font-size: 12px; }

.section { position: relative; z-index: 1; padding: 100px clamp(20px, 6vw, 96px); }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)); }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--accent); font-size: 12px; letter-spacing: 0.24em; font-weight: 700; }
.section-heading h2, .cta h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--platinum-bright);
}
.section-subtitle { color: var(--muted); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(159,212,255,0.35); background: rgba(24,32,44,0.8); }
.feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #0a0d12;
  background: linear-gradient(145deg, var(--platinum-bright), var(--steel));
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-card h3, .rule-card h3, .news-card h3 { margin: 0 0 10px; font-size: 19px; color: var(--platinum-bright); }
.feature-card p, .rule-card p, .news-card p { margin: 0; color: var(--muted); font-size: 14px; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.rule-card {
  display: flex; gap: 20px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}
.rule-num { color: var(--accent); font-weight: 800; font-size: 20px; opacity: 0.7; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.news-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(159,212,255,0.3); }
.news-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(159,212,255,0.12), rgba(255,255,255,0.02));
  border-color: rgba(159,212,255,0.28);
}
.news-tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); font-size: 10px; letter-spacing: 0.14em; font-weight: 700; }
.news-date { margin-top: auto; color: var(--steel); font-size: 12px; }

.cta { position: relative; z-index: 1; padding: 90px 20px; text-align: center; }
.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 30px;
  border-radius: 28px;
  border: 1px solid rgba(190,210,230,0.2);
  background: radial-gradient(circle at 50% 0%, rgba(159,212,255,0.14), rgba(255,255,255,0.015) 65%);
  box-shadow: var(--shadow);
}
.cta p:not(.kicker) { color: var(--muted); margin: 0 0 28px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.footer {
  position: relative; z-index: 1;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { color: var(--platinum-bright); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 10px; }
.footer b { color: var(--accent); }
.footer code { color: var(--platinum); }
.footer p { margin: 4px 0; }

.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(20,28,38,0.96);
  border: 1px solid rgba(159,212,255,0.3);
  color: var(--platinum-bright);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 360px; order: -1; }
  .diamond-shell { width: 230px; height: 230px; }
  .diamond-inner { inset: 36px; }
  .diamond-core { width: 80px; height: 80px; font-size: 40px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 390px; height: 390px; }
  .news-featured { grid-column: span 1; }
  .status-panel { flex-direction: column; gap: 14px; }
  .status-divider { width: 100%; height: 1px; margin: 0; }
}

@media (max-width: 560px) {
  .header { padding: 14px 18px; }
  .brand-text { font-size: 12px; }
  .button-small { padding: 9px 12px; font-size: 12px; }
  .hero { padding: 50px 18px 70px; }
  .ip-card-row { flex-direction: column; align-items: flex-start; }
  .copy-button { width: 100%; justify-content: center; }
  .section { padding: 70px 18px; }
}
