/*
Theme Name: Neon Orbit
Author: Codex
Version: 1.0
*/

:root {
  --bg: #07080d;
  --panel: rgba(255,255,255,.075);
  --text: #f4f7fb;
  --muted: #a7b0c0;
  --cyan: #27f4ff;
  --pink: #ff4fd8;
  --lime: #b8ff5c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(39,244,255,.22), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(255,79,216,.2), transparent 26%),
    linear-gradient(135deg, #07080d, #10121f 52%, #05060a);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: .08em;
}

.brand span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding: 36px 0 80px;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

h1 {
  margin: 18px 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .92;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

.btn {
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  font-weight: 700;
}

.btn.primary {
  color: #051014;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  box-shadow: 0 0 34px rgba(39,244,255,.28);
}

.orbit {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: 0 0 80px rgba(39,244,255,.18);
  overflow: hidden;
}

.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(39,244,255,.5);
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(.42);
}

.orbit:after {
  inset: 20%;
  border-color: rgba(255,79,216,.5);
  transform: rotate(28deg) scaleY(.48);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 72px;
}

.card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.posts {
  padding: 64px 0 90px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.posts h2 {
  font-size: 34px;
  margin: 0 0 24px;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
}

.post-item b { color: var(--text); }

.footer {
  color: var(--muted);
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .orbit {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

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

  .nav-links {
    display: none;
  }
}
