/* ============================================
   NEVER HATE — Styles
   Warm, cozy memecoin loyalty aesthetic
   ============================================ */

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

/* CUSTOM BORDER WIDTH */
.border-3 {
  border-width: 3px;
}

.border-t-3 {
  border-top-width: 3px;
}

.border-b-3 {
  border-bottom-width: 3px;
}

/* RETRO SHADOWS */
.shadow-retro {
  box-shadow: 4px 4px 0 0 #1a1a1a;
}

.shadow-retro-lg {
  box-shadow: 6px 6px 0 0 #1a1a1a;
}

/* SECTION TITLE TEXT EFFECTS (on cream bg) */
.section-title {
  -webkit-text-stroke: 1.5px #1a1a1a;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #1a1a1a;
  color: #1B9E8C;
}

/* SECTION TITLE on teal bg (cream with dark stroke) */
.section-title-light {
  -webkit-text-stroke: 1.5px #1a1a1a;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #1a1a1a;
  color: #F0EBE0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background-color: #1B9E8C;
  color: #FFF;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 0 #1a1a1a;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 6px 6px 0 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.btn-primary-on-dark {
  display: inline-block;
  background-color: #FFF;
  color: #1B9E8C;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 0 rgba(255,255,255,0.15);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary-on-dark:hover {
  box-shadow: 6px 6px 0 0 rgba(255,255,255,0.2);
  transform: translate(-2px, -2px);
}

.btn-secondary {
  display: inline-block;
  background-color: #F0EBE0;
  color: #1a1a1a;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 0 #1a1a1a;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  box-shadow: 6px 6px 0 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
  text-decoration: none;
  color: #F0EBE0;
}

.nav-link:hover {
  opacity: 0.6;
}

.btn-nav {
  display: inline-block;
  background-color: #1B9E8C;
  color: #FFF;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  border: 3px solid #1a1a1a;
  padding: 0.6rem 1.75rem;
  box-shadow: 4px 4px 0 0 rgba(255,255,255,0.15);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-nav:hover {
  background-color: #168a7a;
  box-shadow: 5px 5px 0 0 rgba(255,255,255,0.2);
  transform: translate(-1px, -1px);
}

/* BADGES */
.badge {
  display: inline-block;
  background-color: #1B9E8C;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  border: 2px solid #1a1a1a;
  margin-bottom: 1rem;
}

/* CARDS */
.chapter-card {
  background-color: #FFF;
  border: 3px solid #1a1a1a;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 4px 4px 0 0 #1a1a1a;
  transition: all 0.2s ease;
}

.chapter-card:hover {
  box-shadow: 6px 6px 0 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.community-card {
  display: block;
  background-color: #FFF;
  border: 3px solid #1a1a1a;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 4px 4px 0 0 #1a1a1a;
  transition: all 0.2s ease;
  text-decoration: none;
}

.community-card:hover {
  box-shadow: 6px 6px 0 0 #1a1a1a;
  transform: translate(-2px, -2px);
}

.footer-link {
  color: rgba(240, 235, 224, 0.6);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #1B9E8C;
}

/* ============================================
   MARKET CAP BANNER
   ============================================ */
.mcap-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: #FFF;
  border: 3px solid #1a1a1a;
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  box-shadow: 4px 4px 0 0 #1a1a1a;
}

.mcap-icon {
  width: 48px;
  height: 48px;
  background-color: #22c55e;
  color: #FFF;
  border: 3px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mcap-pill {
  background-color: #22c55e;
  border: 3px solid #1a1a1a;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  text-align: center;
  box-shadow: 3px 3px 0 0 #1a1a1a;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mcap-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .mcap-banner > div:first-child {
    justify-content: center;
  }
}

/* ============================================
   HERO ARTWORK GLOW
   ============================================ */
.art-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(27, 158, 140, 0.2) 0%, rgba(27, 158, 140, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   FLOATING PUMP PILL IMAGES
   ============================================ */
.pill-float {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  animation: drift linear infinite;
}

.pill-float-reverse {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  animation: drift-reverse linear infinite;
}

/* Forward drifters */
.float-1 {
  width: 55px;
  top: 5%;
  opacity: 0.25;
  animation-duration: 38s;
  animation-delay: 0s;
}

.float-2 {
  width: 35px;
  top: 15%;
  opacity: 0.18;
  animation-duration: 52s;
  animation-delay: -8s;
}

.float-3 {
  width: 65px;
  top: 25%;
  opacity: 0.28;
  animation-duration: 30s;
  animation-delay: -14s;
}

.float-4 {
  width: 28px;
  top: 35%;
  opacity: 0.20;
  animation-duration: 55s;
  animation-delay: -20s;
}

.float-5 {
  width: 45px;
  top: 48%;
  opacity: 0.24;
  animation-duration: 34s;
  animation-delay: -4s;
}

.float-6 {
  width: 38px;
  top: 58%;
  opacity: 0.22;
  animation-duration: 44s;
  animation-delay: -26s;
}

.float-7 {
  width: 60px;
  top: 68%;
  opacity: 0.26;
  animation-duration: 32s;
  animation-delay: -2s;
}

.float-8 {
  width: 32px;
  top: 78%;
  opacity: 0.20;
  animation-duration: 50s;
  animation-delay: -16s;
}

.float-9 {
  width: 48px;
  top: 88%;
  opacity: 0.22;
  animation-duration: 36s;
  animation-delay: -30s;
}

/* Reverse drifters */
.float-r1 {
  width: 70px;
  top: 3%;
  opacity: 0.25;
  animation-duration: 46s;
  animation-delay: -5s;
}

.float-r2 {
  width: 40px;
  top: 18%;
  opacity: 0.18;
  animation-duration: 58s;
  animation-delay: -18s;
}

.float-r3 {
  width: 58px;
  top: 32%;
  opacity: 0.26;
  animation-duration: 42s;
  animation-delay: -10s;
}

.float-r4 {
  width: 30px;
  top: 45%;
  opacity: 0.19;
  animation-duration: 62s;
  animation-delay: -28s;
}

.float-r5 {
  width: 52px;
  top: 55%;
  opacity: 0.24;
  animation-duration: 38s;
  animation-delay: -7s;
}

.float-r6 {
  width: 42px;
  top: 70%;
  opacity: 0.21;
  animation-duration: 54s;
  animation-delay: -22s;
}

.float-r7 {
  width: 62px;
  top: 82%;
  opacity: 0.25;
  animation-duration: 40s;
  animation-delay: -3s;
}

.float-r8 {
  width: 34px;
  top: 92%;
  opacity: 0.17;
  animation-duration: 60s;
  animation-delay: -33s;
}

@keyframes drift {
  0% {
    transform: translateX(-80px) translateY(0px) rotate(0deg);
  }
  20% {
    transform: translateX(20vw) translateY(-18px) rotate(72deg);
  }
  40% {
    transform: translateX(40vw) translateY(12px) rotate(144deg);
  }
  60% {
    transform: translateX(60vw) translateY(-14px) rotate(216deg);
  }
  80% {
    transform: translateX(80vw) translateY(8px) rotate(288deg);
  }
  100% {
    transform: translateX(105vw) translateY(0px) rotate(360deg);
  }
}

@keyframes drift-reverse {
  0% {
    transform: translateX(105vw) translateY(0px) rotate(0deg);
  }
  20% {
    transform: translateX(80vw) translateY(22px) rotate(-65deg);
  }
  40% {
    transform: translateX(55vw) translateY(-16px) rotate(-140deg);
  }
  60% {
    transform: translateX(30vw) translateY(20px) rotate(-220deg);
  }
  80% {
    transform: translateX(10vw) translateY(-10px) rotate(-300deg);
  }
  100% {
    transform: translateX(-100px) translateY(0px) rotate(-360deg);
  }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #1B9E8C;
  z-index: 60;
  pointer-events: none;
  transition: none;
}

/* ============================================
   QUOTE CARD
   ============================================ */
.quote-card {
  position: relative;
  background: linear-gradient(135deg, #1a2e2a 0%, #1a1a1a 100%);
  border: 3px solid #1B9E8C;
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: 6px 6px 0 0 #1a1a1a;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -0.1em;
  left: 0.3em;
  font-size: 6rem;
  color: #1B9E8C;
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

/* ============================================
   CURSOR TRAIL
   ============================================ */
.trail-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F0EBE0;
}

::-webkit-scrollbar-thumb {
  background: #1B9E8C;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #168a7a;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: #1B9E8C;
  color: #FFF;
}

/* ============================================
   WIGGLE ANIMATION
   ============================================ */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.hover-wiggle:hover {
  animation: wiggle 0.4s ease-in-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .section-title {
    -webkit-text-stroke: 1px #1a1a1a;
    text-shadow: 2px 2px 0 #1a1a1a;
  }

  .section-title-light {
    -webkit-text-stroke: 1px #1a1a1a;
    text-shadow: 2px 2px 0 #1a1a1a;
  }

  .chapter-card {
    padding: 1.25rem 1.5rem;
  }

  .quote-card {
    padding: 2rem 1.5rem;
  }
}
