/* ==============================================
   LAYOUT — boobies.in
   Ticker, Nav, Hero, Sections, Footer.
============================================== */

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink); color: var(--white); }
img, svg { display: block; max-width: 100%; }

/* ── Ticker Bar ───────────────────────────── */
.ticker-wrapper {
  background: var(--black);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
  border-bottom: 3px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--yellow);
  padding: 0 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-sep {
  color: var(--pink);
  font-size: 1rem;
  padding: 0 4px;
}

/* ── Navbar ───────────────────────────────── */
.navbar {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  position: relative;
  z-index: 999;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
}

.nav-logo .logo-dot {
  color: var(--pink);
  transition: color 0.2s;
}

.nav-logo:hover .logo-dot { color: var(--black); }
.nav-logo:hover { color: var(--pink); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--pink);
  transition: width 0.25s var(--ease-snappy);
}

.nav-links a:hover { color: var(--pink); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: all var(--dur-mid);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────── */
.hero {
  min-height: calc(100svh - 108px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px 60px;
  border-bottom: 3px solid var(--black);
  position: relative;
  overflow: hidden;
  gap: 40px;
}

/* Geometric shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
}

.shape-ring-lg {
  width: 440px; height: 440px;
  border: 3px solid rgba(10, 10, 10, 0.12);
  border-radius: 50%;
  top: -100px; right: -80px;
  animation: spin-slow 30s linear infinite;
}

.shape-ring-sm {
  width: 200px; height: 200px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  bottom: 80px; right: 200px;
  opacity: 0.3;
  animation: spin-slow-reverse 18s linear infinite;
}

.shape-blob {
  width: 220px; height: 220px;
  background: var(--pink);
  border-radius: 50%;
  bottom: 40px; right: 80px;
  opacity: 0.7;
  animation: float-y 7s ease-in-out infinite;
}

.shape-square {
  width: 90px; height: 90px;
  background: var(--black);
  top: 100px; right: 70px;
  animation: spin-slow 12s linear infinite;
  opacity: 0.9;
}

.shape-plus {
  font-size: 6rem;
  color: var(--black);
  top: 50%;
  right: 42%;
  opacity: 0.06;
  transform: translateY(-50%);
  animation: float-y-reverse 9s ease-in-out infinite;
  font-weight: 100;
}

.shape-dots {
  right: 90px;
  bottom: 160px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  opacity: 0.15;
}
.shape-dots span {
  width: 5px; height: 5px;
  background: var(--black);
  border-radius: 50%;
  display: block;
}

/* Hero content */
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border: 2px solid var(--black);
  margin-bottom: 32px;
  animation: pulse-pink 2.5s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  color: var(--black);
}

.hero h1 .h1-line {
  display: block;
  overflow: hidden;
}

.hero h1 .h1-line span {
  display: block;
  animation: word-in 0.9s var(--ease-snappy) forwards;
  opacity: 0;
}

.hero h1 .h1-line:nth-child(1) span { animation-delay: 0.1s; }
.hero h1 .h1-line:nth-child(2) span { animation-delay: 0.22s; }
.hero h1 .h1-line:nth-child(3) span { animation-delay: 0.34s; }
.hero h1 .h1-line:nth-child(4) span { animation-delay: 0.46s; }
.hero h1 .h1-line:nth-child(5) span { animation-delay: 0.58s; }

.hero h1 .highlight {
  color: var(--pink);
}

.hero h1 .stroke-text {
  -webkit-text-stroke: 3px var(--black);
  color: transparent;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  color: var(--black);
  max-width: 440px;
  margin-top: 28px;
  line-height: 1.75;
  opacity: 0.7;
  animation: word-in 0.9s var(--ease-snappy) 0.7s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: word-in 0.9s var(--ease-snappy) 0.85s forwards;
  opacity: 0;
}

.hero-ctas .btn { font-size: 0.9rem; padding: 15px 30px; }

/* Hero side panel (big number) */
.hero-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  border-left: 3px solid var(--black);
}

.hero-stat-block {
  padding: 28px 0;
  border-bottom: 2px solid rgba(10, 10, 10, 0.12);
  animation: reveal-left 0.8s var(--ease-snappy) forwards;
  opacity: 0;
}

.hero-stat-block:nth-child(1) { animation-delay: 0.5s; }
.hero-stat-block:nth-child(2) { animation-delay: 0.65s; }
.hero-stat-block:nth-child(3) { animation-delay: 0.8s; }
.hero-stat-block:last-child   { border-bottom: none; }

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--black);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  opacity: 0.45;
  margin-top: 4px;
}

/* ── Section wrapper ──────────────────────── */
.section {
  padding: var(--space-3xl) 48px;
  border-bottom: var(--border-thick);
  position: relative;
  overflow: hidden;
}

/* ── How it works ─────────────────────────── */
.section-how {
  background: var(--black);
  color: var(--yellow);
}

.section-how .section-eyebrow { color: rgba(255, 229, 0, 0.4); }
.section-how .section-title   { color: var(--yellow); }

.section-how::before {
  content: 'HOW';
  font-family: var(--font-display);
  font-size: 26vw;
  color: rgba(255, 229, 0, 0.03);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

/* ── Live Feed ────────────────────────────── */
.section-feed {
  background: var(--yellow);
}

.feed-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.take-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Why Boobies ──────────────────────────── */
.section-why {
  background: var(--pink);
  border-color: var(--black);
}

.section-why .section-eyebrow { color: rgba(10,10,10,0.5); }
.section-why .section-title   { color: var(--black); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

/* ── Leaderboard ──────────────────────────── */
.section-lb {
  background: var(--yellow);
}

.lb-inner {
  max-width: 820px;
  margin: 0 auto;
}

.lb-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-fomo {
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
  opacity: 0.55;
  line-height: 1.6;
}

.lb-fomo strong { color: var(--pink); opacity: 1; }

/* ── CTA Section ──────────────────────────── */
.section-cta {
  background: var(--black);
  color: var(--yellow);
  text-align: center;
  border-bottom: 3px solid var(--pink);
}

.section-cta::before {
  content: '🤡';
  font-size: 24vw;
  position: absolute;
  left: -6vw; top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
}

.section-cta::after {
  content: '🧠';
  font-size: 24vw;
  position: absolute;
  right: -6vw; top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: 0.92;
  color: var(--yellow);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.cta-inner h2 .pink { color: var(--pink); }
.cta-inner h2 .outline {
  -webkit-text-stroke: 2px var(--yellow);
  color: transparent;
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 229, 0, 0.55);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 48px;
}

.cta-taglines {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.cta-tagline-pill {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border: 1px solid rgba(255, 229, 0, 0.2);
  color: rgba(255, 229, 0, 0.5);
  transition: all var(--dur-fast);
}

.cta-tagline-pill:hover {
  border-color: var(--pink);
  color: var(--pink);
  cursor: default;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--yellow);
  border-top: 3px solid var(--black);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-transform: lowercase;
  color: var(--black);
  opacity: 0.45;
  margin-top: 4px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover { opacity: 1; color: var(--pink); }

.footer-right {
  text-align: right;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--black);
  opacity: 0.35;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 60px 32px 50px; }
  .hero-side { display: none; }
  .steps-grid  { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--yellow);
    flex-direction: column;
    gap: 0;
    border-bottom: 3px solid var(--black);
    z-index: 998;
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
  }

  .hamburger { display: flex; }

  .hero { padding: 52px 20px 44px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5rem); }

  .section { padding: 70px 20px; }

  .take-grid { grid-template-columns: 1fr; }

  .footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
  }

  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .lb-item { padding: 18px 14px; gap: 12px; }
  .lb-rank { font-size: 2rem; width: 40px; }
}
