/* ============ TENDIE CAT — $TENDIECAT ============ */

:root {
  --lime: #ccff00;
  --black: #111111;
  --white: #ffffff;
  --orange: #ff7a1a;
  --shadow: 6px 6px 0 var(--black);
  --shadow-lg: 10px 10px 0 var(--black);
  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--black); color: var(--lime); }

/* ============ TENDIE RAIN ============ */
.tendie-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.tendie-drop {
  position: absolute;
  top: -10vh;
  font-size: 28px;
  opacity: .5;
  animation: fall linear infinite;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,.15));
}
@keyframes fall {
  0%   { transform: translateY(-10vh) rotate(0deg); }
  100% { transform: translateY(115vh) rotate(360deg); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 12px 22px;
  border: 3px solid var(--black);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  user-select: none;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--black); }
.btn-black { background: var(--black); color: var(--lime); }
.btn-black:hover { box-shadow: 9px 9px 0 var(--orange); }
.btn-white { background: var(--white); color: var(--black); }
.btn-lime { background: var(--lime); color: var(--black); box-shadow: 6px 6px 0 var(--orange); }
.btn-lime:hover { box-shadow: 9px 9px 0 var(--orange); }
.btn-big { font-size: 1.25rem; padding: 16px 30px; }

.shake-hover:hover { animation: shake .4s ease-in-out; }
@keyframes shake {
  0%, 100% { transform: translate(-3px,-3px) rotate(0); }
  25% { transform: translate(-3px,-3px) rotate(-2deg); }
  75% { transform: translate(-3px,-3px) rotate(2deg); }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--lime);
  border-bottom: 4px solid var(--black);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 1px;
}
.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  animation: spin-slow 12s linear infinite;
}
@keyframes spin-slow {
  0%, 88% { transform: rotate(0); }
  94% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-weight: 700;
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--black);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-burger { display: none; background: none; border: 3px solid var(--black); border-radius: 8px; font-size: 1.2rem; padding: 4px 10px; cursor: pointer; }

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  font-weight: 700;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: 4px 4px 0 var(--black);
  margin-bottom: 18px;
}
.wiggle { animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: .85;
  letter-spacing: 2px;
}
.hero-line {
  display: block;
  position: relative;
  color: var(--black);
  animation: slam .6s cubic-bezier(.2, 2.2, .4, 1) both;
}
.hero-line-2 {
  color: var(--orange);
  -webkit-text-stroke: 3px var(--black);
  text-shadow: 8px 8px 0 var(--black);
  animation-delay: .15s;
}
@keyframes slam {
  0% { transform: scale(2.4) rotate(-6deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.hero-cat-wrap { position: relative; margin: 30px 0 10px; }
.hero-burst {
  position: absolute;
  inset: -12%;
  background:
    repeating-conic-gradient(from 0deg, rgba(0,0,0,.08) 0deg 12deg, transparent 12deg 24deg);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
  z-index: -1;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-cat {
  width: min(380px, 72vw);
  filter: drop-shadow(10px 12px 0 rgba(0,0,0,.25));
  animation: float 4s ease-in-out infinite;
  transition: transform .3s ease;
  cursor: pointer;
}
.hero-cat:hover { transform: scale(1.05) rotate(-3deg); }
.float { animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

.sticker {
  position: absolute;
  font-family: var(--font-display);
  font-size: .95rem;
  line-height: 1.1;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 4px 4px 0 var(--black);
  animation: wiggle 2.6s ease-in-out infinite;
}
.sticker-1 { top: 8%; left: -70px; rotate: -8deg; background: var(--orange); color: var(--white); -webkit-text-stroke: 1px var(--black); }
.sticker-2 { bottom: 18%; right: -85px; rotate: 6deg; animation-delay: .4s; }
.sticker-3 { bottom: -8px; left: -40px; rotate: -5deg; background: var(--black); color: var(--lime); animation-delay: .8s; }

.hero-sub {
  max-width: 640px;
  font-size: 1.15rem;
  margin: 22px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.ticker-chip {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--white);
  border: 3px dashed var(--black);
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform .15s ease;
  max-width: min(920px, 92vw);
  flex-wrap: wrap;
  justify-content: center;
}
.ticker-chip:hover { transform: scale(1.04); }
.ticker-value {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  word-break: break-all;
}
.copy-hint { font-size: .8rem; opacity: .6; }

.scroll-cue {
  margin-top: 40px;
  font-size: 1.4rem;
  animation: bob 1.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  position: relative;
  z-index: 1;
}
.marquee-black { background: var(--black); color: var(--lime); }
.marquee-white { background: var(--white); color: var(--black); }
.marquee-track {
  display: inline-flex;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  animation: scroll-x 25s linear infinite;
}
.track-reverse { animation-direction: reverse; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 24px;
  max-width: 1150px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.highlight {
  color: var(--orange);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 var(--black);
}
.highlight-lime {
  color: var(--lime);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 rgba(204,255,0,.25);
}
.section-sub {
  text-align: center;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 48px;
}
.center { text-align: center; margin-top: 48px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, 1.4, .4, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card-paper {
  position: relative;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 34px 26px 26px;
  font-size: 1.05rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-paper:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: var(--shadow-lg); }
.tilt-l { rotate: -2deg; }
.tilt-r { rotate: 2deg; }
.card-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px;
  height: 28px;
  background: var(--lime);
  border: 2px solid var(--black);
  opacity: .9;
}
.card-paper hr { border: none; border-top: 2px dashed var(--black); margin: 16px 0; }
.card-paper .small { font-size: .92rem; }
mark {
  background: var(--lime);
  padding: 0 5px;
  font-weight: 700;
  border-radius: 3px;
}
.card-quote .quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--orange);
  display: block;
}

.banner-frame {
  margin-top: 48px;
  border: 4px solid var(--black);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform .3s ease;
}
.banner-frame:hover { transform: scale(1.015); }

/* ============ TENDIENOMICS ============ */
.nomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.nomic-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.nomic-card:hover {
  transform: translateY(-10px) rotate(-1.5deg);
  box-shadow: var(--shadow-lg);
  background: var(--orange);
  color: var(--white);
}
.nomic-card:hover .nomic-value { color: var(--white); text-shadow: 3px 3px 0 var(--black); }
.nomic-emoji { font-size: 2.6rem; }
.bounce { display: inline-block; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.nomic-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 10px 0 4px;
  color: var(--orange);
  -webkit-text-stroke: 1.5px var(--black);
}
.nomic-label {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: .85rem;
  margin-bottom: 10px;
}
.nomic-card p { font-size: .95rem; }

/* ============ HOW TO BUY (dark) ============ */
.section-dark {
  max-width: none;
  background: var(--black);
  color: var(--white);
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}
.section-dark .section-title { color: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1150px;
  margin: 48px auto 0;
}
.step {
  position: relative;
  background: #1d1d1d;
  border: 3px solid var(--lime);
  border-radius: 18px;
  padding: 34px 22px 26px;
  transition: transform .25s ease, background .25s ease;
}
.step:hover { transform: translateY(-8px); background: #262600; }
.step-num {
  position: absolute;
  top: -22px;
  left: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: var(--lime);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 50%;
  box-shadow: 3px 3px 0 rgba(204,255,0,.3);
}
.step h3 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  color: var(--lime);
  margin-bottom: 10px;
}
.step p { font-size: .98rem; color: #e8e8e8; }

/* ============ COMMUNITY ============ */
.community-box {
  text-align: center;
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 60px 30px;
}
.community-cat {
  width: 160px;
  margin: 0 auto 20px;
  filter: drop-shadow(6px 8px 0 rgba(0,0,0,.2));
}

/* ============ FOOTER ============ */
.footer { position: relative; z-index: 1; }
.footer-inner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 50px 24px 40px;
}
.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--lime);
  margin: 0 auto 14px;
  background: var(--white);
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-disclaimer {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: .82rem;
  color: #aaa;
}
.footer-copy { font-size: .9rem; color: #ccc; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--lime);
    border-bottom: 4px solid var(--black);
    padding: 18px 24px;
    gap: 16px;
  }
  .nav-burger { display: block; }
  .sticker-1 { left: -8px; top: -20px; }
  .sticker-2 { right: -8px; }
  .sticker-3 { left: 4px; }
  .nav-cta { display: none; }
}

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