/* ===== CALLIE — Warm Robinhood Chain Dog Theme ===== */

:root {
  --bg-deep: #120e0a;
  --bg-warm: #1a1410;
  --bg-card: rgba(42, 32, 24, 0.72);
  --bg-card-hover: rgba(52, 40, 30, 0.88);
  --cream: #f5e6d3;
  --cream-soft: #e8d5bc;
  --tan: #c9a87c;
  --golden: #d4a853;
  --golden-bright: #e8c06a;
  --brown: #5c3d2e;
  --brown-dark: #3d2817;
  --pink-soft: #e8a0a0;
  --hood-green: #00c805;
  --hood-green-dim: rgba(0, 200, 5, 0.15);
  --text: #f5e6d3;
  --text-muted: rgba(245, 230, 211, 0.62);
  --border: rgba(201, 168, 124, 0.22);
  --border-glow: rgba(212, 168, 83, 0.35);
  --font-display: 'Baloo 2', cursive;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 72px;
  --ticker-h: 36px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--ticker-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* ===== Background Layer ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#pawCanvas, #dustCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.warm-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212, 168, 83, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(232, 160, 160, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 200, 5, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #1a1410 0%, #120e0a 50%, #0d0a08 100%);
  animation: gradientShift 18s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(8deg) brightness(1.05); }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}

.glow-orb-1 {
  width: 400px; height: 400px;
  background: rgba(212, 168, 83, 0.18);
  top: -10%; left: -5%;
}

.glow-orb-2 {
  width: 300px; height: 300px;
  background: rgba(232, 160, 160, 0.12);
  bottom: 20%; right: -5%;
  animation-delay: -4s;
}

.glow-orb-3 {
  width: 250px; height: 250px;
  background: rgba(0, 200, 5, 0.08);
  top: 50%; left: 40%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.paw-float {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.06;
  background: var(--cream);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4'/%3E%3Cellipse cx='6' cy='10' rx='2.5' ry='3'/%3E%3Cellipse cx='10' cy='8' rx='2.5' ry='3'/%3E%3Cellipse cx='14' cy='8' rx='2.5' ry='3'/%3E%3Cellipse cx='18' cy='10' rx='2.5' ry='3'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  animation: pawDrift 20s linear infinite;
}

.paw-float-1 { top: 15%; left: 8%; animation-duration: 22s; }
.paw-float-2 { top: 45%; left: 85%; animation-duration: 18s; animation-delay: -5s; transform: rotate(25deg); }
.paw-float-3 { top: 70%; left: 15%; animation-duration: 25s; animation-delay: -10s; transform: rotate(-15deg); }
.paw-float-4 { top: 30%; left: 60%; animation-duration: 20s; animation-delay: -3s; transform: rotate(40deg); }
.paw-float-5 { top: 85%; left: 70%; animation-duration: 24s; animation-delay: -12s; transform: rotate(-30deg); }

@keyframes pawDrift {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
  50% { opacity: 0.08; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0.04; }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ===== Ticker ===== */
.ticker-tape {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ticker-h);
  background: rgba(18, 14, 10, 0.92);
  border-bottom: 1px solid var(--border);
  z-index: 1001;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-item { color: var(--text-muted); }
.ticker-item .gold { color: var(--golden); }
.ticker-item .up { color: var(--hood-green); }
.ticker-item .cream { color: var(--cream); }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(18, 14, 10, 0.88);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow);
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--cream); }

.nav-social {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.nav-social:hover {
  border-color: var(--hood-green);
  background: var(--hood-green-dim);
}

.nav-social-icon { width: 18px; height: 18px; }

.nav-cta {
  background: linear-gradient(135deg, var(--golden) 0%, var(--golden-bright) 100%);
  color: var(--brown-dark) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 700 !important;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-icon { width: 20px; height: 20px; }
.btn-icon-on-primary { filter: brightness(0) saturate(100%); opacity: 0.7; }

.btn-primary {
  background: linear-gradient(135deg, var(--golden) 0%, #c4923f 100%);
  color: var(--brown-dark);
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(212, 168, 83, 0.5);
}

.btn-outline {
  border-color: var(--border-glow);
  color: var(--cream);
  background: rgba(245, 230, 211, 0.04);
}

.btn-outline:hover {
  border-color: var(--golden);
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--ticker-h) + 2rem) 0 4rem;
}

.hero-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--hood-green-dim);
  border: 1px solid rgba(0, 200, 5, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hood-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hood-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.hero-line-outline {
  color: var(--cream);
  text-shadow:
    3px 3px 0 var(--brown),
    -1px -1px 0 var(--brown),
    0 0 40px rgba(212, 168, 83, 0.3);
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 8px rgba(212, 168, 83, 0.2)); }
  100% { filter: drop-shadow(0 0 20px rgba(212, 168, 83, 0.45)); }
}

.hero-ticker {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-ticker strong { color: var(--golden); }

.hero-tagline {
  font-size: 1.15rem;
  color: var(--cream-soft);
  max-width: 480px;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 100%;
  backdrop-filter: blur(8px);
}

.contract-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contract-addr {
  font-size: 0.78rem;
  color: var(--tan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(212, 168, 83, 0.15);
  color: var(--golden);
}

/* Hero Visual */
.logo-orbit {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.orbit-ring-1 {
  border-color: rgba(212, 168, 83, 0.2);
  animation: orbitSpin 20s linear infinite;
}

.orbit-ring-2 {
  inset: 12%;
  border-color: rgba(232, 160, 160, 0.15);
  animation: orbitSpin 15s linear infinite reverse;
}

.orbit-ring-3 {
  inset: 24%;
  border-color: rgba(0, 200, 5, 0.12);
  animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-glow-wrap {
  position: absolute;
  inset: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.35) 0%, transparent 70%);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-logo-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.3);
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-stat {
  position: absolute;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  animation: statFloat 4s ease-in-out infinite;
}

.floating-stat-1 {
  top: 5%;
  right: -5%;
  animation-delay: 0s;
}

.floating-stat-2 {
  bottom: 10%;
  left: -8%;
  animation-delay: -2s;
}

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--golden);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--golden), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--golden);
  margin-bottom: 0.75rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.section-title .accent { color: var(--golden); }

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: end;
}

.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-frame-main { aspect-ratio: 1; }

.about-logo, .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-frame-side {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--golden);
  border-style: solid;
  z-index: 2;
}

.frame-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.frame-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.frame-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.frame-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.frame-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(245, 230, 211, 0.08) 50%, transparent 60%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.about-lead {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-card-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--golden);
}

.narrative-block {
  margin: 4rem auto 4rem;
  max-width: 580px;
  text-align: center;
}

.narrative-header {
  margin-bottom: 1.5rem;
}

.narrative-caption {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.narrative-embed-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.narrative-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 65%);
  pointer-events: none;
  animation: bannerGlow 5s ease-in-out infinite;
}

.narrative-embed-wrap .twitter-tweet {
  margin: 0 auto !important;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(212, 168, 83, 0.12);
  color: var(--golden);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== How to Buy ===== */
.howtobuy {
  background: linear-gradient(180deg, transparent 0%, rgba(42, 32, 24, 0.3) 50%, transparent 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.step-card {
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--golden), var(--pink-soft), var(--hood-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.step-card:hover::before { transform: scaleX(1); }

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(212, 168, 83, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.buy-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.buy-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.buy-link-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.buy-link-primary {
  border-color: rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.08);
}

.buy-link-icon { width: 36px; height: 36px; flex-shrink: 0; }

.buy-link-card strong {
  display: block;
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.buy-link-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Chart ===== */
.chart-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.chart-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(0, 200, 5, 0.1));
  border-radius: var(--radius-lg);
  z-index: 0;
  filter: blur(20px);
  animation: chartGlow 4s ease-in-out infinite alternate;
}

@keyframes chartGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.chart-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  background: rgba(18, 14, 10, 0.9);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.chart-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chart-dot-red { background: #ff5f57; }
.chart-dot-yellow { background: #febc2e; }
.chart-dot-green { background: #28c840; }

.chart-header-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chart-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: #0d0a08;
}

/* ===== Join Us ===== */
.joinus {
  position: relative;
  overflow: hidden;
}

.joinus-bg-effects { position: absolute; inset: 0; pointer-events: none; }

.joinus-streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
  animation: streakMove 6s linear infinite;
}

.joinus-streak-1 { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.joinus-streak-2 { top: 50%; width: 40%; left: -40%; animation-delay: -2s; }
.joinus-streak-3 { top: 75%; width: 50%; left: -50%; animation-delay: -4s; }

@keyframes streakMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(250vw); }
}

.joinus-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.banner-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.25) 0%, transparent 60%);
  animation: bannerGlow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.banner-img {
  width: 100%;
  display: block;
  transition: transform 8s ease;
}

.banner-frame:hover .banner-img { transform: scale(1.03); }

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  animation: bannerShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerShine {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.joinus-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.joinus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-chip:hover {
  border-color: var(--golden);
  color: var(--cream);
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

.social-chip-icon { width: 16px; height: 16px; }

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(18, 14, 10, 0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.footer-links a:hover {
  border-color: var(--golden);
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-3px);
}

.footer-link-icon { width: 20px; height: 20px; }

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 600px;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--cream);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Scroll Reveal ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .joinus-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 0; }

  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .contract-box { justify-content: center; }

  .about-photos { max-width: 400px; margin: 0 auto; }
  .about-text { text-align: left; }

  .feature-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .buy-links { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + var(--ticker-h));
    left: 0;
    right: 0;
    background: rgba(18, 14, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .steps-grid { grid-template-columns: 1fr; }
  .about-photos { grid-template-columns: 1fr; }
  .about-frame-side { transform: none; }

  .chart-frame { height: 400px; }
  .floating-stat { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 3rem; }
  .btn { width: 100%; justify-content: center; }
  .joinus-actions { flex-direction: column; }
  .chart-frame { height: 320px; }
}
