/* ruletka.vip marketing homepage — metallic dark, glass, cinematic */

:root {
  --bg: #07080c;
  --bg-elev: #0e1118;
  --text: #eef2f7;
  --muted: #8b9bb0;
  --accent: #7eb6ff;
  --good: #3dd68c;
  --danger: #ff2d55;
  --coral: #ff4d6a;
  --metal: #c8d0dc;
  --panel: rgba(16, 20, 30, 0.72);
  --panel-solid: #121722;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glow-blue: rgba(91, 157, 255, 0.35);
  --glow-red: rgba(255, 45, 85, 0.28);
  --sans: "Inter", "Noto Sans", system-ui, "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

.home-body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

/* —— Background —— */
.home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
.home-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}
.home-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.home-bg-orb-a {
  width: 520px;
  height: 520px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(91, 157, 255, 0.28), transparent 70%);
}
.home-bg-orb-b {
  width: 420px;
  height: 420px;
  top: 8%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.18), transparent 70%);
  animation-delay: -6s;
}
.home-bg-orb-c {
  width: 380px;
  height: 380px;
  bottom: 5%;
  left: 30%;
  background: radial-gradient(circle, rgba(61, 214, 140, 0.1), transparent 70%);
  animation-delay: -12s;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, 18px) scale(1.06); }
}

.home-nav,
.home-main,
.home-foot {
  position: relative;
  z-index: 1;
}

/* —— Nav —— */
.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(1.2);
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.88) 0%, rgba(7, 8, 12, 0.55) 100%);
  border-bottom: 1px solid transparent;
}
.home-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.home-brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.4);
}
.home-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-share-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d6dae8;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-share-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-live-link {
  display: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff2d55, #ff6b35);
  box-shadow: 0 4px 16px rgba(255, 45, 85, 0.3);
  transition: transform 0.12s, filter 0.12s;
}
.nav-live-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
@media (min-width: 640px) {
  .nav-live-link { display: inline-flex; }
}

.home-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.45rem 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #2a3548;
  background: #141a22;
  font-size: 0.85rem;
  color: #9aa8bc;
  transition: border-color 0.15s, background 0.15s;
}
.home-lang:hover {
  border-color: #3a4a62;
  background: #1a222e;
}
/* Match live page language control — solid dark surface (not transparent) */
.home-lang select {
  border: none;
  background: #141a22;
  color: #e8eef7;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  padding: 0.1rem 0.2rem;
  /* Prefer native dark dropdown chrome where supported */
  color-scheme: dark;
}
.home-lang select option,
.home-lang select optgroup {
  background-color: #141a22;
  color: #e8eef7;
}

/* —— Main layout —— */
.home-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
}

/* —— Hero —— */
.hero-stage {
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: center;
  padding: 0.5rem 0 2.25rem;
}
@media (min-width: 860px) {
  .hero-stage {
    grid-template-columns: minmax(260px, 0.95fr) 1.15fr;
    gap: 2.5rem 3rem;
    min-height: min(62vh, 560px);
    padding: 1.25rem 0 2.75rem;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.hero-logo-ring {
  position: absolute;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(200, 210, 220, 0.06) 48%, transparent 62%),
    conic-gradient(from 200deg, transparent, rgba(255, 45, 85, 0.25), transparent 40%, rgba(91, 157, 255, 0.2), transparent 75%);
  filter: blur(2px);
  animation: ring-spin 28s linear infinite;
  opacity: 0.9;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
.home-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(91, 157, 255, 0.08);
}
.home-logo {
  width: min(300px, 70vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.2rem;
  display: block;
  background: #050608;
}
.home-hero-video {
  object-fit: cover;
  /* GPU-friendly; avoid layout jump when video ready */
  max-height: min(300px, 70vw);
}
@media (min-width: 860px) {
  .home-logo { width: min(340px, 100%); }
  .home-hero-video { max-height: min(340px, 100%); }
}
.home-hero-fallback[hidden],
.home-hero-video[hidden] {
  display: none !important;
}
/* Respect reduced motion: static logo only */
@media (prefers-reduced-motion: reduce) {
  .home-hero-video {
    display: none !important;
  }
  .home-hero-fallback {
    display: block !important;
  }
  .hero-logo-ring {
    animation: none !important;
  }
}

.hero-copy {
  text-align: center;
}
@media (min-width: 860px) {
  .hero-copy { text-align: left; }
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c5ecd6;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.28);
}
.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 20%, #b8c4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Fallback if clip unsupported */
@supports not (background-clip: text) {
  .hero-copy h1 { color: var(--text); background: none; }
}

.home-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
}
@media (min-width: 860px) {
  .home-lead { margin-left: 0; margin-right: auto; }
}
@media (max-width: 859px) {
  .home-lead { margin-left: auto; margin-right: auto; }
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 860px) {
  .home-cta-row { justify-content: flex-start; }
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #ff2d55 0%, #ff5c3a 55%, #ff7a3b 100%);
  box-shadow:
    0 12px 40px rgba(255, 45, 85, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(255, 45, 85, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.home-cta:active { transform: scale(0.98); }
.cta-arrow {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.15s;
}
.home-cta:hover .cta-arrow { transform: translateX(3px); }

.home-secondary {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.15s, border-color 0.15s;
}
.home-secondary:hover {
  color: var(--accent);
  border-bottom-color: rgba(126, 182, 255, 0.5);
}

/* Live stats */
.home-live-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}
@media (min-width: 860px) {
  .home-live-stats { justify-content: flex-start; }
}
.home-live-stats[hidden] {
  display: none !important;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.stat-pill.muted {
  opacity: 0.95;
}
.stat-pill strong {
  color: #f0f4fa;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 0.75em;
}
.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.5);
  animation: pulse-dot 1.8s ease-out infinite;
}

/* —— Feature points —— */
.home-points {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .home-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 960px) {
  .home-points {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-points li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(12, 16, 24, 0.55) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.home-points li:hover {
  border-color: rgba(126, 182, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.pt-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  line-height: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.pt-svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  color: currentColor;
}
/* Per-card accent so icons feel intentional, not emoji leftovers */
.pt-ico-match {
  color: #ffb04a;
  background: linear-gradient(145deg, rgba(255, 176, 74, 0.18) 0%, rgba(255, 45, 85, 0.1) 100%);
  border-color: rgba(255, 176, 74, 0.35);
}
.pt-ico-p2p {
  color: #7eb6ff;
  background: linear-gradient(145deg, rgba(126, 182, 255, 0.2) 0%, rgba(91, 157, 255, 0.08) 100%);
  border-color: rgba(126, 182, 255, 0.35);
}
.pt-ico-friends {
  color: #6ee7b7;
  background: linear-gradient(145deg, rgba(61, 214, 140, 0.18) 0%, rgba(61, 214, 140, 0.06) 100%);
  border-color: rgba(61, 214, 140, 0.35);
}
.pt-ico-safety {
  color: #ff8fab;
  background: linear-gradient(145deg, rgba(255, 45, 85, 0.16) 0%, rgba(255, 107, 53, 0.08) 100%);
  border-color: rgba(255, 107, 53, 0.35);
}
.home-points li:hover .pt-ico {
  transform: scale(1.06);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.home-points li:hover .pt-ico-match {
  border-color: rgba(255, 176, 74, 0.55);
}
.home-points li:hover .pt-ico-p2p {
  border-color: rgba(126, 182, 255, 0.55);
}
.home-points li:hover .pt-ico-friends {
  border-color: rgba(110, 231, 183, 0.5);
}
.home-points li:hover .pt-ico-safety {
  border-color: rgba(255, 143, 171, 0.5);
}

.home-points strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.015em;
}

.home-points li > div > span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-lang-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0.95;
  line-height: 0;
}
.home-lang-ico svg {
  display: block;
}

/* —— Story sections —— */
.home-diff {
  margin-top: 1.5rem;
  padding: 1.4rem 1.35rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(91, 157, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(91, 157, 255, 0.1) 0%, rgba(14, 18, 28, 0.75) 48%, rgba(20, 26, 36, 0.6) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}
.home-diff::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 182, 255, 0.55), transparent);
}
.home-diff-open {
  border-color: rgba(61, 214, 140, 0.18);
  background:
    linear-gradient(145deg, rgba(61, 214, 140, 0.07) 0%, rgba(14, 18, 28, 0.75) 50%);
}
.home-diff-open::before {
  background: linear-gradient(90deg, transparent, rgba(61, 214, 140, 0.45), transparent);
}

.home-diff h2,
.home-seed h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #e8eef8;
}

.home-diff-body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}
.home-diff-body strong {
  color: var(--text);
  font-weight: 650;
}

.home-open-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.home-open-ops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0.65rem 0 0;
}
.home-open-ops-lbl {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.15rem;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.chip-link:hover {
  border-color: rgba(255, 107, 53, 0.45);
  background: rgba(255, 45, 85, 0.1);
  color: #ffd8de;
}
.chip-link-primary {
  border-color: rgba(255, 45, 85, 0.28);
  background: rgba(255, 45, 85, 0.1);
  color: #ffd0d8;
}
.chip-link-muted {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.06);
}
.chip-link-muted:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.home-live-stats.is-offline .stat-pill:not(.stat-offline) {
  opacity: 0.65;
}

/* Focus rings for keyboard users */
.home-body :is(a, button, select, input):focus {
  outline: none;
}
.home-body :is(a, button, select, input):focus-visible {
  outline: 2px solid rgba(255, 107, 53, 0.85);
  outline-offset: 2px;
}

/* —— Bottom CTA band —— */
.home-final-cta {
  margin-top: 2.75rem;
  padding: 0.15rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.45), rgba(91, 157, 255, 0.35), rgba(61, 214, 140, 0.2));
  box-shadow: 0 20px 50px rgba(255, 45, 85, 0.12);
}
.final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 1.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(18, 14, 22, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
}
.final-cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #fff;
}
.final-cta-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.45;
}

/* —— Seed / contribute —— */
.home-seed {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.seed-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 42rem;
}
.seed-lead strong { color: var(--text); }

.seed-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.seed-card {
  padding: 1.3rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(10, 14, 22, 0.7) 100%);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s, transform 0.15s;
}
.seed-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.seed-card-accent {
  border-color: rgba(91, 157, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(91, 157, 255, 0.06),
    0 16px 40px rgba(59, 130, 246, 0.1);
}
.seed-card-num {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--metal);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.seed-card-accent .seed-card-num {
  background: rgba(91, 157, 255, 0.15);
  color: #c5dbff;
  border-color: rgba(91, 157, 255, 0.3);
}
.seed-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.seed-card p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.seed-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.12s, border-color 0.12s, transform 0.12s;
}
.seed-card-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.seed-card-btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff2d55, #ff6b35);
  box-shadow: 0 10px 28px rgba(255, 45, 85, 0.32);
}
.seed-card-btn.primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.seed-advanced {
  margin-top: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}
.seed-advanced summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  user-select: none;
  list-style: none;
}
.seed-advanced summary::-webkit-details-marker { display: none; }
.seed-advanced summary::before {
  content: "▸ ";
  color: var(--accent);
  font-size: 0.8em;
}
.seed-advanced[open] summary::before { content: "▾ "; }
.seed-advanced[open] summary {
  color: var(--text);
  margin-bottom: 0.85rem;
}
.seed-adv-lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.seed-code-wrap {
  position: relative;
  margin-bottom: 0.85rem;
}
.seed-code {
  margin: 0;
  padding: 1rem 1rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0d14;
  font-family: ui-monospace, "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #c5d4e8;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.seed-copy {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(30, 40, 55, 0.95);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.seed-copy:hover {
  border-color: rgba(91, 157, 255, 0.5);
  background: rgba(40, 55, 80, 0.95);
}

.seed-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 40rem;
}
.seed-note a {
  color: var(--accent);
  text-decoration: none;
}
.seed-note a:hover { text-decoration: underline; }

/* —— Footer —— */
.home-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 1.15rem 1.25rem max(1.15rem, env(safe-area-inset-bottom));
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.foot-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.foot-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s;
}
.foot-link:hover { color: var(--accent); }

/* Legacy / unused hooks kept safe */
.home-hero { /* old class — content moved to .home-main */ }
.dot-sep { opacity: 0.4; margin: 0 0.15rem; }

@media (max-width: 560px) {
  .home-main {
    padding-top: 0.75rem;
  }
  .home-cta {
    width: 100%;
    justify-content: center;
  }
  .home-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .home-secondary {
    text-align: center;
  }
  .hero-logo-ring {
    width: min(280px, 82vw);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home-bg-orb,
  .hero-logo-ring,
  .live-dot,
  .eyebrow-dot {
    animation: none !important;
  }
  .home-points li,
  .seed-card,
  .home-cta {
    transition: none;
  }
}

/* PWA install banner (shared with live via same class names) */
#pwa-install-banner {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 12000;
  width: min(440px, calc(100vw - 1.5rem));
  pointer-events: auto;
}
.pwa-install-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem 0.7rem 0.85rem;
  border-radius: 16px;
  background: rgba(14, 16, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}
.pwa-install-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}
.pwa-install-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #b8becf;
}
.pwa-install-copy strong {
  color: #f2f3f7;
  font-size: 0.88rem;
  font-weight: 650;
}
.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.pwa-install-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ff7a6a, #e84d3d);
}
.pwa-install-x {
  border: 0;
  background: transparent;
  color: #9aa0b4;
  font-size: 1.25rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
}
.pwa-install-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
