@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --studio: #ff2d7a;
  --studio-hot: #ff5c9a;
  --studio-soft: rgba(255, 45, 122, 0.16);
  --studio-mid: rgba(255, 45, 122, 0.4);
  --music: #8b3dff;
  --music-hot: #a66bff;
  --games: #ff2d7a;
  --games-hot: #ff5c9a;
  --destiny: #337bff;
  --destiny-hot: #5b96ff;
  --blurple: #5865f2;
  --bg: #07060a;
  --ink: #fff7fb;
  --muted: #b9a8b3;
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.035);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, rgba(255, 45, 122, 0.38), transparent 60%),
    radial-gradient(ellipse 40% 35% at 12% 70%, rgba(139, 61, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 35% 30% at 90% 40%, rgba(255, 45, 122, 0.1), transparent 50%),
    linear-gradient(180deg, #160911 0%, var(--bg) 42%, #050407 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 12%, black, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.shell {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
  animation: fade-down 0.55s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.6rem;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(255, 45, 122, 0.35);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.lang-switch button {
  appearance: none;
  border: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--studio);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  border-radius: 0.55rem;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

nav a[aria-current="page"] {
  color: var(--studio-hot);
  background: var(--studio-soft);
}

/* Home */
.landing {
  padding: clamp(1.75rem, 5vh, 3.25rem) 0 3rem;
  animation: rise 0.7s ease 0.04s both;
}

.hero {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 1.75rem 0 2.35rem;
  max-width: 40rem;
}

.hero-glow {
  position: absolute;
  width: 12rem;
  height: 12rem;
  left: -1.75rem;
  top: -0.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 122, 0.35), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulse 4.5s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: min(7.75rem, 34vw);
  height: auto;
  border-radius: 1.25rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 56px rgba(255, 45, 122, 0.38);
  animation: float 5.5s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #fff;
}

.hero .lede {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.bot-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 1.85rem);
}

.bot-card {
  --accent: var(--studio);
  --accent-rgb: 255, 45, 122;
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  min-height: 100%;
  padding: 1.75rem 1.65rem 1.55rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 28px 64px rgba(var(--accent-rgb), 0.18);
}

.bot-card--music {
  --accent: var(--music);
  --accent-rgb: 139, 61, 255;
  animation: rise 0.7s ease 0.12s both;
}

.bot-card--games {
  --accent: var(--games);
  --accent-rgb: 255, 45, 122;
  animation: rise 0.7s ease 0.2s both;
}

.bot-card--destiny {
  --accent: var(--destiny);
  --accent-rgb: 51, 123, 255;
  animation: rise 0.7s ease 0.28s both;
}

.bot-card__logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.4);
}

.bot-card__body {
  display: grid;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}

.bot-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.bot-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 4px 10px rgba(88, 101, 242, 0.35));
}

.verified-badge svg {
  display: block;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 1rem;
  padding: 0.18rem 0.48rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
}

.status-badge--beta {
  background: linear-gradient(135deg, #5b96ff, #337bff);
  box-shadow: 0 4px 12px rgba(51, 123, 255, 0.4);
}

.bot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: auto;
}

.landing-support {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.88rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
}

.btn.primary {
  border-color: transparent;
  color: #fff;
}

.btn.ghost {
  background: transparent;
}

.btn.soft {
  background: rgba(255, 255, 255, 0.03);
}

.bot-card--music .btn.primary {
  background: linear-gradient(135deg, var(--music-hot), var(--music));
  box-shadow: 0 12px 30px rgba(139, 61, 255, 0.35);
}

.bot-card--music .btn.primary:hover {
  box-shadow: 0 16px 38px rgba(139, 61, 255, 0.5);
}

.bot-card--games .btn.primary {
  background: linear-gradient(135deg, var(--games-hot), var(--games));
  box-shadow: 0 12px 30px rgba(255, 45, 122, 0.35);
}

.bot-card--games .btn.primary:hover {
  box-shadow: 0 16px 38px rgba(255, 45, 122, 0.5);
}

.bot-card--destiny .btn.primary {
  background: linear-gradient(135deg, var(--destiny-hot), var(--destiny));
  box-shadow: 0 12px 30px rgba(51, 123, 255, 0.35);
}

.bot-card--destiny .btn.primary:hover {
  box-shadow: 0 16px 38px rgba(51, 123, 255, 0.5);
}

.bot-card--music .btn.ghost:hover {
  border-color: rgba(139, 61, 255, 0.45);
}

.bot-card--games .btn.ghost:hover {
  border-color: rgba(255, 45, 122, 0.45);
}

.bot-card--destiny .btn.ghost:hover {
  border-color: rgba(51, 123, 255, 0.45);
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  margin-top: 2.6rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-strip a {
  color: var(--studio-hot);
  text-decoration: none;
  font-weight: 600;
}

.legal-strip a:hover {
  text-decoration: underline;
}

/* Docs */
.doc {
  padding: 1.5rem 0 4rem;
  animation: rise 0.65s ease both;
}

.doc-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--studio), var(--studio-hot), transparent 80%);
}

.doc h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.doc h2 {
  margin: 1.85rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.doc h2::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  margin-bottom: 0.1rem;
  border-radius: 50%;
  background: var(--studio);
  vertical-align: middle;
}

.doc p,
.doc li {
  color: #d2c4cd;
  font-size: 0.98rem;
}

.doc ul {
  padding-left: 1.15rem;
}

.doc li + li {
  margin-top: 0.35rem;
}

.doc a {
  color: var(--studio-hot);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.doc a:hover {
  border-bottom-color: var(--studio-mid);
}

.site-footer {
  padding: 1.35rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  animation: fade-down 0.55s ease 0.2s both;
}

.site-footer p {
  margin: 0;
}

.site-footer .muted {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--studio-hot);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .bot-picker {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .bot-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo body"
      "cta cta";
    align-items: start;
    gap: 1rem 1.2rem;
  }

  .bot-card__logo {
    grid-area: logo;
    width: 4.75rem;
    height: 4.75rem;
  }

  .bot-card__body {
    grid-area: body;
  }

  .cta {
    grid-area: cta;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta .btn {
    flex: 1 1 auto;
    min-width: 10rem;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(1280px, calc(100% - 1.75rem));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .bot-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "body"
      "cta";
  }

  nav {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
