/* ============================================
   MEMECON - Redesigned Styles
   Clean pixel-art aesthetic, sky blue + gold
   ============================================ */

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

/* CUSTOM BORDER WIDTH (Tailwind doesn't have border-3 by default) */
.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 #000;
}

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

/* SECTION TITLE TEXT EFFECTS (on sky blue bg) */
.section-title {
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000;
  color: #E8B800;
}

/* SECTION TITLE on gold bg (cream with dark stroke) */
.section-title-light {
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000;
  color: #FFF5E6;
}

/* REUSABLE COMPONENT CLASSES */
.btn-primary {
  display: inline-block;
  background-color: #E8B800;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 0 #000;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

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

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

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

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

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

/* Kabuto-style dark pill CTA button */
.btn-nav {
  display: inline-block;
  background-color: #1a1a2e;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  border: 3px solid #111;
  padding: 0.6rem 1.75rem;
  box-shadow: 4px 4px 0 0 #FFF;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-nav:hover {
  background-color: #111;
  box-shadow: 5px 5px 0 0 #FFF;
  transform: translate(-1px, -1px);
}

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

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

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

.footer-link {
  color: rgba(255, 245, 230, 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: #E8B800;
}

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

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

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

.mcap-chart-icon {
  font-family: 'Press Start 2P', cursive;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  margin-right: 0.25rem;
}

@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;
  }
}

/* LOGO GLOW */
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(232, 184, 0, 0.35) 0%, rgba(232, 184, 0, 0.12) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

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

/* Left-to-right drifters */
.float-1 {
  width: 60px;
  top: 4%;
  opacity: 0.22;
  animation-duration: 40s;
  animation-delay: 0s;
}

.float-2 {
  width: 40px;
  top: 16%;
  opacity: 0.18;
  animation-duration: 55s;
  animation-delay: -8s;
}

.float-3 {
  width: 75px;
  top: 28%;
  opacity: 0.25;
  animation-duration: 32s;
  animation-delay: -14s;
}

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

.float-5 {
  width: 55px;
  top: 52%;
  opacity: 0.22;
  animation-duration: 36s;
  animation-delay: -4s;
}

.float-6 {
  width: 45px;
  top: 64%;
  opacity: 0.18;
  animation-duration: 48s;
  animation-delay: -26s;
}

/* Right-to-left drifters (reverse) */
.float-7 {
  width: 70px;
  top: 8%;
  opacity: 0.24;
  animation: drift-reverse 44s linear infinite;
  animation-delay: -3s;
}

.float-8 {
  width: 50px;
  top: 22%;
  opacity: 0.20;
  animation: drift-reverse 52s linear infinite;
  animation-delay: -18s;
}

.float-9 {
  width: 80px;
  top: 36%;
  opacity: 0.26;
  animation: drift-reverse 38s linear infinite;
  animation-delay: -10s;
}

.float-10 {
  width: 42px;
  top: 54%;
  opacity: 0.18;
  animation: drift-reverse 60s linear infinite;
  animation-delay: -28s;
}

.float-11 {
  width: 65px;
  top: 72%;
  opacity: 0.22;
  animation: drift-reverse 42s linear infinite;
  animation-delay: -7s;
}

.float-12 {
  width: 48px;
  top: 86%;
  opacity: 0.20;
  animation: drift-reverse 50s linear infinite;
  animation-delay: -22s;
}

@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) scaleX(-1);
  }
  20% {
    transform: translateX(80vw) translateY(22px) rotate(-65deg) scaleX(-1);
  }
  40% {
    transform: translateX(55vw) translateY(-16px) rotate(-140deg) scaleX(-1);
  }
  60% {
    transform: translateX(30vw) translateY(20px) rotate(-220deg) scaleX(-1);
  }
  80% {
    transform: translateX(10vw) translateY(-10px) rotate(-300deg) scaleX(-1);
  }
  100% {
    transform: translateX(-100px) translateY(0px) rotate(-360deg) scaleX(-1);
  }
}

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

/* ============================================
   CURSOR TRAIL
   ============================================ */
.cursor-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: #D6EEFF;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #c89e00;
}

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

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

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