:root {
  --bg: #04040b;
  --panel: rgba(13, 15, 29, 0.78);
  --panel-strong: rgba(19, 22, 39, 0.92);
  --line: rgba(160, 180, 255, 0.16);
  --text: #f5f7ff;
  --muted: #9ca3b7;
  --accent: #8b5cf6;
  --accent-2: #05d5e8;
  --shadow: rgba(139, 92, 246, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(5, 213, 232, 0.14), transparent 22rem),
    linear-gradient(180deg, #05050c 0%, #020208 100%);
}

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

button,
input {
  font: inherit;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(96vw, 1230px);
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 9, 19, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 34px var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 1.15rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 22px var(--shadow);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.theme-picker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.theme-dot {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--dot);
  box-shadow: 0 0 14px color-mix(in srgb, var(--dot), transparent 45%);
}

.theme-dot.is-active {
  outline: 2px solid white;
  outline-offset: 3px;
}

.icon-button,
.invite-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
}

.icon-button {
  width: 42px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.invite-button,
.primary-button {
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), white 16%));
  color: white;
  box-shadow: 0 0 28px var(--shadow);
}

.secondary-button {
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 8rem 0 5rem;
  text-align: center;
}

.release-pill,
.panel-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.release-pill {
  padding: 0.55rem 1rem;
  margin-bottom: 1.6rem;
}

.panel-kicker {
  padding: 0.45rem 0.8rem;
  margin-bottom: 1rem;
}

.hero-logo {
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 213, 232, 0.16), rgba(139, 92, 246, 0.08) 54%, transparent 70%);
}

.hero-logo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(5, 213, 232, 0.35));
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: 5.35rem;
  line-height: 1.02;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--accent), #a855f7, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.float-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.22);
}

.float-icon svg {
  width: 2rem;
  height: 2rem;
}

.note-one {
  top: 11rem;
  left: 3rem;
}

.star-one {
  right: 1rem;
  bottom: 4rem;
}

.now-playing,
.about,
.support {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.album-art {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(5, 213, 232, 0.1);
}

.album-art img {
  width: 62px;
}

.now-playing span,
.site-footer span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.now-playing strong {
  display: block;
  margin: 0.15rem 0;
  font-size: 1.18rem;
}

.now-playing p,
.about p,
.support p,
.section-heading p,
.mini-card p,
.info-panel p,
.comparison-grid span,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.equalizer {
  display: flex;
  align-items: end;
  gap: 0.3rem;
  height: 42px;
}

.equalizer i {
  width: 8px;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(var(--accent-2), var(--accent));
  animation: bounce 1s infinite ease-in-out;
}

.equalizer i:nth-child(2) {
  animation-delay: 0.15s;
}

.equalizer i:nth-child(3) {
  animation-delay: 0.3s;
}

.equalizer i:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes bounce {
  50% { height: 100%; }
}

.section-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
  padding: 7rem 0 2rem;
}

.info-panel,
.mini-card,
.comparison-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.info-panel,
.mini-card {
  padding: 1.6rem;
}

.info-panel h2,
.about h2,
.section-heading h2,
.support h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.08;
}

.mini-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent-2);
}

.mini-card h3 {
  margin: 1.2rem 0 0.5rem;
}

.about {
  grid-template-columns: 1.1fr 0.9fr;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin: 4rem 0;
}

.logo-orbit {
  min-height: 270px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(5, 213, 232, 0.08)),
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 56%);
}

.logo-orbit img {
  width: min(76%, 280px);
  filter: drop-shadow(0 0 25px var(--shadow));
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.status-strip div {
  display: grid;
  place-items: center;
  min-height: 120px;
  background: rgba(8, 9, 19, 0.86);
}

.status-strip strong {
  font-size: 2rem;
}

.status-strip span {
  color: var(--muted);
  font-weight: 800;
}

.commands-section,
.feature-comparison,
.support {
  padding: 6rem 0 2rem;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading .panel-kicker {
  margin-left: auto;
  margin-right: auto;
}

.search-box {
  width: min(580px, 100%);
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 auto 2rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 15, 0.9);
  box-shadow: 0 0 36px rgba(5, 213, 232, 0.08);
}

.search-box svg {
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-weight: 800;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.category-tabs button {
  min-width: 90px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.category-tabs button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), white 14%));
  box-shadow: 0 0 22px var(--shadow);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.command-card {
  min-height: 168px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.command-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.command-card code {
  color: white;
  font-size: 1rem;
  font-weight: 900;
}

.command-card small {
  flex: 0 0 auto;
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
}

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

.feature-comparison {
  padding-top: 5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.comparison-grid div {
  padding: 1.5rem;
}

.comparison-grid strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.support {
  grid-template-columns: 1fr auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin: 5rem 0 3rem;
}

.support-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  padding: 1.2rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .theme-picker {
    display: none;
  }

  .section-grid,
  .command-grid,
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 4.35rem;
  }

  .hero p {
    font-size: 1.18rem;
  }

  .info-panel h2,
  .about h2,
  .section-heading h2,
  .support h2 {
    font-size: 2.55rem;
  }

  .about,
  .support,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 0.5rem;
    width: calc(100% - 1rem);
  }

  .brand {
    font-size: 1rem;
  }

  .invite-button {
    padding: 0.75rem 0.85rem;
  }

  .icon-button {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-top: 10rem;
  }

  .float-icon {
    display: none;
  }

  .hero-logo {
    width: 130px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .info-panel h2,
  .about h2,
  .section-heading h2,
  .support h2 {
    font-size: 2.1rem;
  }

  .now-playing,
  .section-grid,
  .command-grid,
  .comparison-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .now-playing {
    text-align: left;
  }

  .equalizer {
    display: none;
  }

  .section-grid {
    padding-top: 4rem;
  }

  .status-strip div {
    min-height: 96px;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }
}
