:root {
  --orange: #ff4500;
  --orange-deep: #e03d00;
  --orange-soft: rgba(255, 69, 0, 0.14);
  --orange-glow: rgba(255, 69, 0, 0.45);
  --cream: #fff7f2;
  --cream-2: #ffe8dc;
  --ink: #1a120f;
  --muted: rgba(26, 18, 15, 0.68);
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 69, 0, 0.18);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 74px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(255, 69, 0, 0.22), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(255, 140, 80, 0.18), transparent 55%),
    linear-gradient(180deg, #fffaf7 0%, #ffe9de 45%, #fff5ef 100%);
}

#floatCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite;
}
.orb-a { width: 280px; height: 280px; background: rgba(255, 69, 0, 0.28); top: 18%; left: -60px; }
.orb-b { width: 360px; height: 360px; background: rgba(255, 170, 110, 0.3); bottom: 10%; right: -80px; animation-delay: -4s; }
.orb-c { width: 200px; height: 200px; background: rgba(255, 69, 0, 0.18); top: 55%; left: 40%; animation-delay: -8s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.08); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  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");
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  background: var(--orange);
  color: var(--white);
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticker-track span { position: relative; padding-right: 2.5rem; }
.ticker-track span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  transform: translateY(-50%);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav {
  position: sticky;
  top: 34px;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(255, 247, 242, 0.82);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(255, 69, 0, 0.12); }
.nav-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  animation: bob 3.2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(255,69,0,0.15);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover { background: var(--orange-soft); color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(255, 69, 0, 0.28);
}
.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 34px - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 3rem 1rem 4rem;
  position: relative;
}
.hero-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-visual { display: grid; place-items: center; }
.logo-orbit {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 69, 0, 0.35);
  animation: spin 22s linear infinite;
}
.orbit-ring.delay {
  inset: 0;
  border-style: solid;
  border-color: rgba(255, 69, 0, 0.12);
  animation-direction: reverse;
  animation-duration: 30s;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo {
  width: 72%;
  border-radius: 50%;
  animation: floaty 4.5s ease-in-out infinite;
  filter: drop-shadow(0 25px 40px rgba(255, 69, 0, 0.28));
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 69, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero h1 span {
  color: var(--orange);
  text-shadow: 3px 4px 0 rgba(255, 69, 0, 0.18);
}
.symbol-pill {
  display: inline-block;
  margin: 0.9rem 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(255, 69, 0, 0.28);
  animation: pop 2.8s ease-in-out infinite;
}
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 69, 0, 0.32);
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost {
  background: var(--white);
  border: 2px solid rgba(255, 69, 0, 0.25);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-ico { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }
.btn-ghost .btn-ico { filter: none; } /* keep theme orange fills */

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.ca-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.ca-box code {
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--ink);
}
.ca-copy {
  margin-left: auto;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.82rem;
  transition: background 0.2s;
}
.ca-copy:hover { background: rgba(255, 69, 0, 0.22); }

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 69, 0, 0.35);
  border-radius: 999px;
}
.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 999px;
  background: var(--orange);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

.section { padding: 5.5rem 0; position: relative; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}
.section-head h2 em {
  font-style: normal;
  color: var(--orange);
}
.section-head p { color: var(--muted); max-width: 48ch; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 69, 0, 0.14);
}
.about-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #ffe4d6);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--orange);
  overflow: hidden;
}
.about-ico img { width: 100%; height: 100%; object-fit: cover; }
.about-ico svg { width: 28px; height: 28px; }
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}
.about-card p { color: var(--muted); font-size: 0.98rem; }

.howtobuy {
  background: linear-gradient(180deg, transparent, rgba(255, 69, 0, 0.06), transparent);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); }
.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--orange-soft);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-family: var(--font-display); margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; position: relative; }

.buy-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.buy-card, .social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.buy-card:hover, .social:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 69, 0, 0.4);
  box-shadow: 0 14px 28px rgba(255, 69, 0, 0.12);
}
.buy-card img, .social img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.buy-card strong, .social strong { display: block; font-family: var(--font-display); }
.buy-card span, .social span { color: var(--muted); font-size: 0.88rem; }

.chart-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 69, 0, 0.2);
  box-shadow: 0 24px 50px rgba(255, 69, 0, 0.14);
  background: var(--white);
  min-height: 560px;
}
.chart-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(120deg, transparent, rgba(255, 69, 0, 0.35), transparent);
  z-index: -1;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  0% { transform: translateX(-30%); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translateX(30%); opacity: 0.4; }
}
.chart-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}
.chart-actions { display: flex; justify-content: center; margin-top: 1.3rem; }

.joinus { padding-bottom: 6rem; }
.join-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.6rem;
  align-items: center;
}
.join-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 69, 0, 0.22);
  box-shadow: 0 28px 60px rgba(255, 69, 0, 0.18);
}
.join-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  background-size: 200% 100%;
  animation: sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.banner-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease);
}
.join-banner:hover .banner-img { transform: scale(1.06); }
.join-copy .tag { margin-bottom: 0.7rem; }
.join-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}
.join-copy h2 em { font-style: normal; color: var(--orange); }
.join-copy > p { color: var(--muted); margin-bottom: 1.2rem; }
.socials { display: grid; gap: 0.75rem; }

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(255, 255, 255, 0.55);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
.footer p { color: var(--muted); font-size: 0.92rem; }
.footer .copy { margin-top: 0.5rem; font-size: 0.85rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  z-index: 100;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid, .join-grid, .about-grid, .steps, .buy-row {
    grid-template-columns: 1fr;
  }
  .hero-grid { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .ca-box { justify-content: center; }
  .ca-copy { margin-left: 0; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    top: calc(34px + var(--nav-h));
    left: 1rem;
    right: 1rem;
    background: rgba(255, 247, 242, 0.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s var(--ease);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.15);
  }
  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a { text-align: center; }
  .chart-frame, .chart-frame iframe { min-height: 420px; height: 420px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.8rem; }
  .ca-box code { font-size: 0.72rem; }
}
