:root {
  --bg: #0b0b14;
  --card: #141422;
  --muted: #9aa3b2;
  --text: #e9ecf1;
  --brand: #6c5ce7; /* primary */
  --brand-2: #a66bff; /* accent */
  --accent: #ffd64d; /* egg yellow */
  --success: #10b981;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Reset and global styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(166, 107, 255, 0.3), transparent 50%), radial-gradient(800px 600px at -10% 20%, rgba(108, 92, 231, 0.25), transparent 40%), var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(11, 11, 20, 0.8), rgba(11, 11, 20, 0.3));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand span {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav a.btn {
  padding: 10px 16px;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav a.btn:hover {
  transform: translateY(-1px);
  transition: 0.2s ease;
}

/* Hero */
.hero {
  padding: 64px 0 24px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 12px 0;
  font-weight: 900;
  color: #ffffff;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
  max-width: 62ch;
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-btn svg {
  width: 22px;
  height: 22px;
}

.ghost {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
}

.phone-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.phone-card .icon {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f1d;
}

.phone-card .egg {
  position: absolute;
  right: -16px;
  top: -16px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, var(--accent), #ffb703 40%, rgba(255, 255, 255, 0) 60%);
  filter: blur(2px);
  border: 2px dashed rgba(0, 0, 0, 0.15);
  transform: rotate(-12deg);
}

/* Section */
section {
  padding: 56px 0;
}

.section-title {
  font-size: 28px;
  margin: 0 0 6px;
  color: #ffffff;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 26px;
}

/* Feature grid */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffffff;
}

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

.iconbox {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.muted {
  color: var(--muted);
}

/* How to play */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  background: var(--brand);
}

/* FAQ */
details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
}

details p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Footer */
footer {
  padding: 28px 0 60px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
