/* ===========================================================
   LAYOOO — design tokens
   Charcoal jungle base, banana-gold accent, bamboo green support.
   =========================================================== */
:root {
  --ink:        #131109;   /* near-black warm charcoal, page bg */
  --ink-2:      #1B1A12;   /* raised dark surface */
  --canopy:     #37502B;   /* deep jungle green */
  --canopy-2:   #4C6B3B;   /* lighter foliage green */
  --sage:       #9FB48A;   /* pale leaf, used sparingly */
  --gold:       #E8B23D;   /* banana / corn accent, primary CTA */
  --gold-2:     #F4CE72;   /* hover state */
  --bone:       #EFE8D8;   /* warm off-white, light bg + dark text */
  --bone-dim:   #D9D0BA;
  --stone:      #7E7666;   /* muted secondary text on light */
  --stone-dark: #A79E8C;   /* muted secondary text on dark */
  --line:       rgba(239,232,216,0.12);
  --line-dark:  rgba(19,17,9,0.12);

  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* subtle film grain overlay for texture, cheap + no extra image */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===========================================================
   Buttons + shared bits
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.btn-primary {
  background: var(--gold);
  color: #1B1400;
}
.btn-primary:hover { background: var(--gold-2); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--bone);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--canopy); background: var(--canopy); color: var(--bone); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--dark { color: var(--canopy-2); }

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--bone);
  text-shadow: 0 6px 0 rgba(0,0,0,0.25);
}

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink);
  max-width: 16ch;
}
.h2--light { color: var(--bone); }

.lede {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 56ch;
  margin: 0 0 40px;
}
.lede--light { color: var(--stone-dark); }

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19,17,9,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(19,17,9,0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  border: 2px solid var(--gold);
}
.brand-word {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--stone-dark);
}
.nav-links a:hover { color: var(--bone); }

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

.ca-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--bone-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.ca-chip:hover { border-color: var(--gold); }
.ca-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--canopy-2); flex-shrink: 0; }
.ca-copied { display: none; color: var(--gold); }
.ca-chip.copied .ca-text-short { display: none; }
.ca-chip.copied .ca-copied { display: inline; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  padding: 64px 24px 40px;
  position: relative;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { min-width: 0; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--stone-dark);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  max-width: 100%;
  margin-bottom: 28px;
}
.ca-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--canopy-2);
  flex-shrink: 0;
}
.ca-box { min-width: 0; }
.ca-full {
  font-size: 0.82rem;
  color: var(--bone-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}
.ca-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--canopy);
  color: var(--bone);
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.ca-copy-btn:hover { background: var(--canopy-2); }
.ca-copy-btn--small { padding: 6px; }
.ca-copy-btn--small.copied { background: var(--gold); color: #1B1400; }

.social-row { display: flex; gap: 12px; }
.icon-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.15s ease;
}
.icon-link img { width: 100%; height: 100%; object-fit: contain; }
.icon-link:hover { transform: translateY(-3px); }
.icon-link--dark { background: var(--gold); padding: 11px; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  border: 3px solid var(--canopy-2);
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.thump-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.thump-rings span {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: thump 2.8s ease-out infinite;
}
.thump-rings span:nth-child(2) { animation-delay: 0.9s; }
.thump-rings span:nth-child(3) { animation-delay: 1.8s; }
@keyframes thump {
  0%   { transform: scale(0.75); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero-badge {
  position: absolute;
  bottom: -14px;
  right: 4%;
  z-index: 3;
  background: var(--gold);
  color: #1B1400;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transform: rotate(-4deg);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5);
}

/* ===========================================================
   Marquee band
   =========================================================== */
.marquee-band {
  background: var(--canopy);
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 26s linear infinite;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--bone);
}
.marquee-track .dot { color: var(--gold); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   Sections
   =========================================================== */
.section {
  background: var(--bone);
  padding: 96px 24px;
}
.section--dark {
  background: var(--ink);
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.in-view { opacity: 1; transform: translateY(0); }
.feature-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--canopy);
}
.feature-card h3 {
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--ink);
}
.feature-card p {
  color: var(--stone);
  font-size: 0.96rem;
  margin: 0;
}

/* dance section */
.banner-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--canopy);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.banner-frame.in-view { opacity: 1; transform: translateY(0); }
.banner-img { width: 100%; }

/* live section */
.live-wrap {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.live-wrap.in-view { opacity: 1; transform: translateY(0); }
.tiktok-embed-holder {
  display: flex;
  justify-content: center;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 400px;
}
.live-side h3 {
  font-family: var(--body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.live-side p {
  color: var(--stone);
  margin: 0 0 24px;
}

/* links section */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.link-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.6s ease, translate 0.6s ease;
  opacity: 0;
  transform: translateY(16px);
}
.link-card.in-view { opacity: 1; transform: translateY(0); }
.link-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.link-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bone);
  padding: 10px;
  margin-bottom: 18px;
}
.link-icon--light { background: var(--gold); }
.link-card h3 {
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bone);
  margin: 0 0 8px;
}
.link-card p {
  color: var(--stone-dark);
  font-size: 0.92rem;
  margin: 0 0 18px;
}
.link-arrow {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold);
}

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 40px 24px 28px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.1rem;
}
.footer-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  border: 2px solid var(--gold);
}
.footer-ca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--stone-dark);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--stone-dark);
}
.footer-links a:hover { color: var(--gold); }

.disclaimer {
  max-width: var(--container);
  margin: 28px auto 0;
  font-size: 0.78rem;
  color: var(--stone-dark);
  opacity: 0.7;
  line-height: 1.6;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .live-wrap { grid-template-columns: 1fr; }
  .live-side { order: 2; }
}

@media (max-width: 760px) {
  .nav-links { 
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    background: rgba(19,17,9,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-actions .nav-buy { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }

  .section { padding: 64px 20px; }
  .hero { padding: 40px 20px 32px; }
}

@media (max-width: 520px) {
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .social-row { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-ca { max-width: 100%; }
  .footer-ca code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
