/* ============================================
   DOGE CHEETO - Redesigned Styles
   Clean pixel-art aesthetic, sky blue + cheeto orange
   ============================================ */

/* 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: #FF6B00;
}

/* SECTION TITLE on orange 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: #FF6B00;
  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);
}

/* Button variant for use ON orange backgrounds */
.btn-primary-on-orange {
  display: inline-block;
  background-color: #FFF;
  color: #FF6B00;
  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-on-orange: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: #FF6B00;
  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;
}

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

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

.chapter-card {
  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;
}

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

.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: #FF6B00;
}

/* 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;
  }
}

/* CHEETO PHOTO GLOW */
.cheeto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, rgba(255, 107, 0, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   FLOATING CHEETO IMAGES
   ============================================ */
.cheeto-float {
  position: fixed;
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: drift linear infinite;
  z-index: 0;
}

.float-1 {
  width: 60px;
  top: 5%;
  opacity: 0.35;
  animation-duration: 38s;
  animation-delay: 0s;
  transform: rotate(15deg);
}

.float-2 {
  width: 35px;
  top: 15%;
  opacity: 0.25;
  animation-duration: 52s;
  animation-delay: -8s;
  transform: rotate(-30deg);
}

.float-3 {
  width: 75px;
  top: 25%;
  opacity: 0.40;
  animation-duration: 30s;
  animation-delay: -14s;
  transform: rotate(45deg);
}

.float-4 {
  width: 30px;
  top: 35%;
  opacity: 0.28;
  animation-duration: 55s;
  animation-delay: -20s;
  transform: rotate(-60deg);
}

.float-5 {
  width: 50px;
  top: 48%;
  opacity: 0.35;
  animation-duration: 34s;
  animation-delay: -4s;
  transform: rotate(20deg);
}

.float-6 {
  width: 40px;
  top: 58%;
  opacity: 0.30;
  animation-duration: 44s;
  animation-delay: -26s;
  transform: rotate(-45deg);
}

.float-7 {
  width: 70px;
  top: 68%;
  opacity: 0.38;
  animation-duration: 32s;
  animation-delay: -2s;
  transform: rotate(70deg);
}

.float-8 {
  width: 45px;
  top: 78%;
  opacity: 0.30;
  animation-duration: 50s;
  animation-delay: -16s;
  transform: rotate(-15deg);
}

.float-9 {
  width: 55px;
  top: 88%;
  opacity: 0.32;
  animation-duration: 36s;
  animation-delay: -30s;
  transform: rotate(35deg);
}

/* Long cheeto puff (clear_cheeto_2.png)
   - Bigger sizes (60-120px)
   - Uses drift-reverse: right-to-left, spins opposite direction
   - Slower, more floaty movement */
.float-10 {
  width: 110px;
  top: 3%;
  opacity: 0.35;
  animation: drift-reverse 46s linear infinite;
  animation-delay: -5s;
}

.float-11 {
  width: 70px;
  top: 12%;
  opacity: 0.28;
  animation: drift-reverse 58s linear infinite;
  animation-delay: -18s;
}

.float-12 {
  width: 100px;
  top: 22%;
  opacity: 0.38;
  animation: drift-reverse 42s linear infinite;
  animation-delay: -10s;
}

.float-13 {
  width: 60px;
  top: 33%;
  opacity: 0.30;
  animation: drift-reverse 62s linear infinite;
  animation-delay: -28s;
}

.float-14 {
  width: 120px;
  top: 42%;
  opacity: 0.36;
  animation: drift-reverse 38s linear infinite;
  animation-delay: -7s;
}

.float-15 {
  width: 80px;
  top: 55%;
  opacity: 0.32;
  animation: drift-reverse 54s linear infinite;
  animation-delay: -22s;
}

.float-16 {
  width: 115px;
  top: 65%;
  opacity: 0.38;
  animation: drift-reverse 40s linear infinite;
  animation-delay: -3s;
}

.float-17 {
  width: 65px;
  top: 76%;
  opacity: 0.26;
  animation: drift-reverse 60s linear infinite;
  animation-delay: -33s;
}

.float-18 {
  width: 95px;
  top: 90%;
  opacity: 0.34;
  animation: drift-reverse 44s linear infinite;
  animation-delay: -15s;
}

@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: #FF6B00;
  z-index: 60;
  pointer-events: none;
  transition: none;
}

/* ============================================
   AUCTION COUNTDOWN
   ============================================ */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.countdown-box {
  background: #FFF;
  border: 3px solid #111;
  border-radius: 0.5rem;
  padding: 0.75rem 0.25rem;
  text-align: center;
  box-shadow: 3px 3px 0 0 #000;
}

.countdown-num {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.25rem;
  color: #FF6B00;
  display: block;
  margin-bottom: 0.25rem;
}

.countdown-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  opacity: 0.5;
}

@keyframes auction-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.auction-live-pulse {
  animation: auction-pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .countdown-num {
    font-size: 1rem;
  }
  .countdown-grid {
    gap: 0.5rem;
  }
}

/* ============================================
   CHEETO CURSOR TRAIL
   ============================================ */
.cheeto-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: #FF6B00;
  border-radius: 4px;
}

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

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: #FF6B00;
  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;
  }

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