/* $MYRO — Robinhood founder dog (clone + polish) */
:root {
  --bg: #07060c;
  --bg-2: #0e0b16;
  --card: rgba(20, 16, 32, 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f7f4ff;
  --muted: rgba(247, 244, 255, 0.62);
  --purple: #9945ff;
  --purple-2: #c084fc;
  --green: #00c805;
  --green-soft: rgba(0, 200, 5, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font: "Nunito", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(153, 69, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(0, 200, 5, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 40%, #05040a);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.orb-a {
  width: 340px; height: 340px;
  top: 8%; left: -80px;
  background: rgba(153, 69, 255, 0.35);
}
.orb-b {
  width: 280px; height: 280px;
  top: 40%; right: -60px;
  background: rgba(0, 200, 5, 0.18);
  animation-delay: -4s;
}
.orb-c {
  width: 220px; height: 220px;
  bottom: 10%; left: 30%;
  background: rgba(192, 132, 252, 0.18);
  animation-delay: -8s;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -40px) scale(1.12); }
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Glass */
.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), #7c3aed 40%, var(--green));
  color: #fff;
  box-shadow: 0 10px 30px rgba(153, 69, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(153, 69, 255, 0.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-soft {
  background: rgba(255, 255, 255, 0.92);
  color: #120b1f;
}
.btn-soft:disabled {
  background: #2a2438;
  color: rgba(255, 255, 255, 0.45);
  cursor: not-allowed;
}
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* Nav */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1100px, calc(100% - 20px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(10, 8, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(153, 69, 255, 0.28);
}
.nav-logo { height: 28px; width: auto; }
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  transition: 0.2s ease;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.ca-btn {
  max-width: 220px;
  gap: 8px;
  padding-inline: 12px;
}
.ca-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5);
  animation: pulse 1.6s infinite;
}
.ca-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green);
}
.ca-val {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: soon-glow 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 200, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0); }
}
@keyframes soon-glow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .ca-btn .ca-label { display: none; }
  .ca-btn { max-width: 140px; }
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 0;
  z-index: 2;
  overflow: hidden;
  min-height: 100dvh;
}
/* Full-bleed loop video like original myrothedog.com */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 6, 12, 0.28) 0%, rgba(7, 6, 12, 0.42) 45%, rgba(7, 6, 12, 0.92) 100%),
    rgba(153, 69, 255, 0.1);
}
.hero-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 420px;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 160px);
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-bottom: 20px;
  }
  .hero-copy { align-items: center; }
  .hero-title, .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats, .hero-ca { margin-inline: auto; }
  .hero-sub { max-width: 34rem !important; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-2);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-title {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title .line {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
}
.hero-logo {
  width: min(430px, 78vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(153, 69, 255, 0.45));
  animation: logo-bob 4s ease-in-out infinite;
}
@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  max-width: 390px;
  font-weight: 600;
}
.hero-sub strong { color: var(--green); font-weight: 800; }

.hero-ca {
  width: min(100%, 420px);
  padding: 14px;
  margin-bottom: 18px;
}
.hero-ca-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.badge-ico { width: 22px; height: 22px; }
.hero-ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px 8px 8px 14px;
}
.hero-ca-addr {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hero-ca-addr.soon {
  color: var(--green);
  text-transform: uppercase;
  animation: soon-glow 2.2s ease-in-out infinite;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.paw-ico { width: 22px; height: 22px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stat {
  min-width: 100px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat b {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.stat span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hero-dog {
  width: min(460px, 88vw);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(153, 69, 255, 0.35));
}
.float-dog { animation: float-dog 5s ease-in-out infinite; }
@keyframes float-dog {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.hero-ring {
  position: absolute;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(153, 69, 255, 0.28);
  box-shadow: 0 0 60px rgba(153, 69, 255, 0.15), inset 0 0 40px rgba(0, 200, 5, 0.06);
  animation: ring-spin 18s linear infinite;
}
.hero-ring.r2 {
  width: min(500px, 90vw);
  border-color: rgba(0, 200, 5, 0.15);
  animation-direction: reverse;
  animation-duration: 26s;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
.hero-float {
  position: absolute;
  z-index: 3;
  width: 54px;
  animation: float-bits 4.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.4));
}
.hero-float img { width: 100%; height: auto; }
.hero-float.f1 { top: 12%; left: 8%; animation-delay: 0s; }
.hero-float.f2 { bottom: 18%; right: 6%; animation-delay: -1.5s; width: 42px; }
.hero-float.f3 { top: 20%; right: 10%; animation-delay: -2.5s; width: 48px; }
@keyframes float-bits {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: mq 22s linear infinite;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}
.marquee-track i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 10px var(--green);
}
@keyframes mq {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.05), transparent);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-head h2,
.story-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lede {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  max-width: 560px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .cards-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; }
}
.card {
  padding: 22px;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(153, 69, 255, 0.35);
  box-shadow: 0 24px 50px rgba(153, 69, 255, 0.18);
}
.card-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}
.card-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-icon img { transform: scale(1.08); }
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  min-width: 160px;
}
.pill span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill b { font-size: 18px; font-weight: 900; }
.soon-text {
  color: var(--green) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: soon-glow 2.2s ease-in-out infinite;
}

/* Story — large banner image on top, copy below */
.story-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1180px;
}
.story-art {
  position: relative;
  width: 100%;
}
.story-frame {
  overflow: hidden;
  padding: 12px;
  width: 100%;
}
.story-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  max-height: none;
  min-height: clamp(220px, 38vw, 480px);
  object-position: center center;
}
.story-copy {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.story-copy h2 {
  margin-bottom: 18px;
}
.story-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  text-align: left;
}
@media (max-width: 720px) {
  .story-copy-grid { grid-template-columns: 1fr; }
  .story-copy { text-align: left; }
  .story-copy .eyebrow { justify-content: flex-start; }
}
.story-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 200, 5, 0.3);
}
.step-n {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

.cta-banner {
  margin-top: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background:
    linear-gradient(120deg, rgba(153, 69, 255, 0.18), rgba(0, 200, 5, 0.1)),
    var(--card);
}
.cta-banner h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
}
.cta-banner p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.cta-banner-ca {
  display: flex;
  align-items: center;
  gap: 12px;
}
.soon-chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(0, 200, 5, 0.35);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  animation: soon-glow 2.2s ease-in-out infinite;
}

/* Gallery */
.gallery {
  overflow: hidden;
  padding: 10px 0 30px;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gallery 36s linear infinite;
}
.gallery-track img {
  height: 140px;
  width: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
@keyframes gallery {
  to { transform: translateX(-50%); }
}

/* Links */
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 800px) {
  .links-grid { grid-template-columns: 1fr 1fr; }
}
.link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  padding: 18px;
  transition: transform 0.3s var(--ease), border-color 0.25s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 69, 255, 0.4);
}
.link-k {
  grid-column: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.link-card b {
  grid-column: 1;
  font-size: 18px;
  font-weight: 900;
}
.link-card span:last-child {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--green);
  font-weight: 900;
  font-size: 20px;
  transition: transform 0.25s var(--ease);
}
.link-card:hover span:last-child { transform: translateX(5px); }

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0 28px;
  background: rgba(0, 0, 0, 0.28);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer-logo { height: 28px; width: auto; margin-bottom: 10px; }
.footer p {
  margin: 0;
  color: var(--muted);
  max-width: 320px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(18, 14, 28, 0.95);
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
