.root-index-page {
  --root-bg1: #0b0f1a;
  --root-bg2: #0f253d;
  --root-accent: #ffce6f;
  --root-accent2: #5ce1e6;
  --root-text: #e9edf5;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(92, 225, 230, 0.1), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255, 206, 111, 0.12), transparent 40%),
    linear-gradient(135deg, var(--root-bg1), var(--root-bg2));
  color: var(--root-text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

.root-index-page .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.root-index-page .wrap {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.root-index-page .badge {
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--root-accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.root-index-page h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 16px 0 12px;
  line-height: 1.1;
}

.root-index-page .lead {
  font-size: 18px;
  line-height: 1.6;
  color: #cbd3e3;
  max-width: 800px;
}

.root-index-page .grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 28px;
}

.root-index-page .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.root-index-page .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.root-index-page .card h3,
.root-index-page .card p {
  margin: 0;
}

.root-index-page .card h3 {
  color: var(--root-accent);
}

.root-index-page .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.root-index-page .tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(92, 225, 230, 0.14);
  color: var(--root-accent2);
  font-weight: 600;
  font-size: 14px;
}

.root-index-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.root-index-page .btn-primary {
  background: linear-gradient(135deg, var(--root-accent), var(--root-accent2));
  color: #0b0f1a;
  box-shadow: 0 10px 30px rgba(255, 206, 111, 0.2);
}

.root-index-page .btn-ghost {
  color: var(--root-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.root-index-page .footer-copy {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 24px;
  color: #a8b4c8;
  text-align: center;
  font-size: 14px;
}

@media (min-width: 1100px) {
  .root-index-page .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
