:root {
  --bg-1: #090511;
  --bg-2: #12091f;
  --bg-3: #211036;
  --text: #f6efff;
  --muted: rgba(246, 239, 255, 0.76);
  --line: rgba(255, 255, 255, 0.09);
  --pink: #ff8fd8;
  --violet: #b786ff;
  --gold: #f1d08d;
  --glass: rgba(18, 10, 31, 0.68);
  --orbit-size: 620px;
  --item-count: 8;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 50% 10%, rgba(183, 134, 255, 0.16), transparent 22%),
    radial-gradient(circle at 20% 30%, rgba(255, 143, 216, 0.12), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(241, 208, 141, 0.10), transparent 20%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

.intro-page {
  min-height: 100vh;
}

.energy-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  overflow: hidden;
}

.cosmic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 143, 216, 0.10), transparent 24%),
    radial-gradient(circle at 82% 28%, rgba(183, 134, 255, 0.12), transparent 22%),
    radial-gradient(circle at 55% 84%, rgba(241, 208, 141, 0.07), transparent 21%);
}

.cosmic-bg::before,
.cosmic-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,255,255,0.34) 1px, transparent 1.4px);
  background-size: 140px 140px, 210px 210px;
  background-position: 0 0, 50px 80px;
  opacity: 0.16;
  animation: twinkleDrift 16s linear infinite;
}

.cosmic-bg::after {
  opacity: 0.08;
  animation-duration: 24s;
  animation-direction: reverse;
}

.orbit-scene {
  position: relative;
  width: min(92vw, 920px);
  height: min(92vw, 920px);
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.orbit-ring-outer {
  width: var(--orbit-size);
  height: var(--orbit-size);
  box-shadow: 0 0 90px rgba(183, 134, 255, 0.06);
}

.orbit-ring-inner {
  width: 390px;
  height: 390px;
  opacity: 0.55;
}

.energy-orbit {
  position: absolute;
  width: var(--orbit-size);
  height: var(--orbit-size);
  border-radius: 50%;
  animation: spinOrbit 34s linear infinite;
}

.energy-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  margin: -33px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(183,134,255,0.12);
  transform:
    rotate(calc((360deg / var(--item-count)) * var(--i)))
    translateY(calc(var(--orbit-size) / -2))
    rotate(calc((360deg / var(--item-count)) * var(--i) * -1));
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.energy-item:hover,
.energy-item:focus {
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 28px rgba(255, 143, 216, 0.20);
  outline: none;
}

.hero-core {
  position: relative;
  z-index: 3;
  width: min(88vw, 470px);
  display: grid;
  place-items: center;
}

.core-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,134,255,0.24) 0%, rgba(255,143,216,0.14) 34%, rgba(241,208,141,0.06) 50%, transparent 72%);
  filter: blur(18px);
  animation: pulseGlow 5s ease-in-out infinite;
}

.core-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.24);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.core-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  font-weight: 500;
}

.subtext {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  min-width: 176px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #140a23;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(183,134,255,0.26);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.active-energy {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: rgba(241, 208, 141, 0.95);
}

.how-it-works {
  padding: 64px 20px 80px;
}

.how-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.how-head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.how-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.how-head p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.how-card {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.how-step {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.how-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
}

.how-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@keyframes spinOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.97); opacity: 0.76; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes twinkleDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  :root { --orbit-size: 420px; }
  .energy-item {
    width: 56px;
    height: 56px;
    margin: -28px;
    font-size: 1.05rem;
  }
  .how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --orbit-size: 320px; }
  .orbit-ring-inner {
    width: 280px;
    height: 280px;
  }
  .energy-item {
    width: 46px;
    height: 46px;
    margin: -23px;
    font-size: 0.9rem;
  }
  .core-card { padding: 28px 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; min-width: 0; }
}
