@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #0d0617;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f0ff;
  --muted: #c7b6e8;
  --primary: #8f5bff;
  --primary-2: #bb8cff;
  --accent: #fdf4ff;
  --shadow: rgba(9, 4, 18, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(160, 112, 255, 0.2), transparent 60%),
    linear-gradient(120deg, #1b0c2a 0%, #0d0617 40%, #1e1037 100%);
  color: var(--text);
  padding: 36px 8vw 64px;
  overflow-x: hidden;
}

.img {
  display: block;
  max-width: 6%;
  border-radius: 15px;
  box-shadow: 10px 10px 20px rgba(143, 91, 255, 0.4);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.45;
  z-index: -1;
}

.orb-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #b58cff, transparent 70%);
  top: -120px;
  left: -120px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #ffffff, transparent 70%);
  bottom: -180px;
  right: -120px;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #7a40ff, transparent 70%);
  bottom: 140px;
  left: 8%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #f2e7ff);
  color: #1a082d;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 1px;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: var(--primary-2);
}

.hero-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #150b24;
  box-shadow: 0 18px 30px rgba(103, 69, 222, 0.4);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn:hover,
.social-btn:hover {
  transform: translateY(-2px);
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--panel);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.social-btn .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.social-btn .icon svg {
  width: 18px;
  height: 18px;
}

.social-btn.discord {
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.35), rgba(255, 255, 255, 0.08));
}

.social-btn.x {
  background: rgba(255, 255, 255, 0.08);
}

.social-btn.github {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(143, 91, 255, 0.2));
}

.hero-card {
  background: var(--panel-strong);
  border-radius: 24px;
  box-shadow: 0 30px 60px var(--shadow);
  overflow: hidden;
}

.card-header {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.card-body {
  padding: 24px;
  display: grid;
  gap: 22px;
}

.metric-title {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.metric p {
  color: var(--muted);
  line-height: 1.5;
}

.features {
  margin-bottom: 80px;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-grid article {
  background: var(--panel);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-grid h3 {
  margin-bottom: 8px;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.split-card {
  background: var(--panel);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.split-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 14px;
}

.split-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 22px;
  position: relative;
}

.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 6px;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
}

.stat:last-child {
  margin-bottom: 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(143, 91, 255, 0.4), rgba(255, 255, 255, 0.12));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 70px;
}

.cta p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.container {
  position: relative;
  width: 350px;
  height: 450px;
}

.flip-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  margin: auto;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.flip-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.flip-card-front img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 8px;
}

.flip-card-back {
  background: #222;
  color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 8px;
}

#prev {
  left: -70px;
}

#next {
  right: -70px;
}

button:hover {
  background: #555;
}

ul {
  padding-left: 20px;
  margin: 10px 0 0 0;
}