:root {
  --font-display: 'Oswald', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: #000000;
  color: #f1f1f1;
  overflow-x: hidden;
}

/* Display / racing style headings */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -1.5px;
  font-weight: 600;
}

/* Nav brand text — continuous stylish glass shimmer (subtle, always cycling) */
.nav-brand {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.nav-brand::after {
  content: 'Red Hood Pepe';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 42%,
    rgba(248, 113, 113, 0.85) 50%,
    rgba(255, 255, 255, 0.5) 58%,
    transparent 70%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: -60% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nav-brand-shimmer 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes nav-brand-shimmer {
  0%, 100% { background-position: -60% 0; }
  50%      { background-position: 160% 0; }
}

/* Hero image - full vertical visibility (100dvh) with smooth transition below */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: heroZoom 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes heroZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.065);
  }
}

/* Gentle gradient - soft top, very light bottom for smooth transition to black content */
.hero-gradient {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0.48) 65%,
    rgba(0, 0, 0, 0.62) 85%
  );
}

/* Glassmorphism bar on hero */
.glass-bar {
  position: relative;
  background: rgba(10, 10, 10, 0.40);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px -12px rgba(0, 0, 0, 0.78),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 1;
}

/* Running fire/glow slider that travels along the perimeter of the bar */
.glass-bar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #fbbf24 20%,
    #f59e0b 35%,
    #ef4444 50%,
    #f59e0b 65%,
    #fbbf24 80%,
    transparent 100%
  );
  background-size: 300% 300%;
  background-position: 0% 0%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 2px;
  animation: border-run 3.8s linear infinite;
  z-index: -1;
  filter: blur(1.5px) brightness(1.2);
  opacity: 0.9;
}

/* Subtle extra glow trail */
.glass-bar::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 28px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 191, 24, 0.25),
    transparent
  );
  background-size: 200% 200%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 3px;
  animation: border-run 3.8s linear infinite;
  z-index: -2;
  filter: blur(6px);
  opacity: 0.5;
}

@keyframes border-run {
  0%   { background-position:   0%   0%; }
  25%  { background-position: 100%   0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position:   0% 100%; }
  100% { background-position:   0%   0%; }
}

/* Big glass title "Red Hood Pepe" — premium red blood / crimson sweep */
.glass-title {
  position: relative;
  display: inline-block;
}

.glass-title span {
  color: rgba(255, 230, 230, 0.95);
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(239, 68, 68, 0.35),
    0 0 55px rgba(220, 38, 38, 0.2);
  position: relative;
  z-index: 1;
  animation: glass-soft-glow-red 5.2s ease-in-out infinite;
}

/* Elegant red / crimson / amber light refraction sweep */
.glass-title span::after {
  content: 'Red Hood Pepe';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 22%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(248, 113, 113, 0.65) 44%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(251, 191, 24, 0.55) 55%,
    rgba(220, 38, 38, 0.5) 62%,
    transparent 75%,
    transparent 100%
  );
  background-size: 280% 100%;
  background-position: -80% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glass-mega-sweep 6.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes glass-mega-sweep {
  0%, 100% { background-position: -80% 0; }
  50%      { background-position: 180% 0; }
}

@keyframes glass-soft-glow-red {
  0%, 100% {
    text-shadow: 
      0 2px 12px rgba(0, 0, 0, 0.5),
      0 0 28px rgba(239, 68, 68, 0.35),
      0 0 55px rgba(220, 38, 38, 0.2);
  }
  50% {
    text-shadow: 
      0 2px 14px rgba(0, 0, 0, 0.4),
      0 0 40px rgba(248, 113, 113, 0.55),
      0 0 80px rgba(239, 68, 68, 0.35);
  }
}

/* Premium button styles — fully opaque (100%) */
.btn-buy {
  background: #10b981;
  color: #000000;
  font-weight: 700;
  letter-spacing: 1.2px;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 15px -2px rgba(16, 185, 129, 0.4);
  opacity: 1;
}

.btn-buy:hover {
  background: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.5);
}

.btn-buy:active {
  transform: scale(0.985);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.8px;
  opacity: 1;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: scale(0.985);
}

/* Scroll down indicator */
.scroll-indicator {
  animation: scrollFade 2.8s ease-in-out infinite;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* Contract address copy */
.contract-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  transition: all 0.2s ease;
}

.contract-address:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Dexscreener embed */
#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  #dexscreener-embed {
    padding-bottom: 62%;
  }
}

#dexscreener-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
  z-index: 0;
}

/* Chart overlay */
#chart-overlay {
  z-index: 10;
  transition: opacity 0.25s ease, background-color 0.2s ease;
}

#chart-overlay:hover {
  background-color: rgba(0, 0, 0, 0.55);
}

#chart-overlay > div {
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 0.2s ease,
              border-color 0.2s ease;
}

#chart-overlay:hover > div {
  transform: translateY(-1px) scale(1.015);
  background-color: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

/* (old video styles removed — using the new frame styles at the bottom of the file) */

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* Terms Modal */
.modal {
  animation: modalEnter 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.terms-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.terms-content::-webkit-scrollbar {
  width: 6px;
}

.terms-content::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.15);
  border-radius: 20px;
}

/* Subtle modern effects */
.glass {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.section-title {
  letter-spacing: -1px;
  font-weight: 600;
}

/* Audio toggle premium look */
#audio-toggle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#audio-toggle.playing {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

/* Hide scroll indicator on mobile */
@media (max-width: 767px) {
  #scroll-indicator {
    display: none !important;
  }
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero-image {
    object-position: center top;
  }
  
  .glass-bar {
    padding: 10px;
    border-radius: 20px;
  }
  
  .contract-address code {
    font-size: 10.5px;
    letter-spacing: -0.8px;
  }
}

/* ========================================
   LOCKED SUPPLY NOTICE
   ======================================== */
.locked-supply {
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.locked-supply:hover {
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

/* ========================================
   LORE / STORY SECTION — clean and stylish
   ======================================== */
#lore {
  scroll-margin-top: 80px;
}

.lore-content p {
  font-size: inherit;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.90);
}

.lore-emphasis {
  position: relative;
  display: inline-block;
}

.lore-emphasis span {
  position: relative;
  z-index: 1;
  text-shadow: 0 0 22px rgba(239, 68, 68, 0.4);
}

.lore-emphasis::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ef4444, transparent);
  opacity: 0.4;
  z-index: 0;
}

/* ========================================
   ROADMAP — Premium dark timeline with cool effects
   ======================================== */
.roadmap-timeline {
  position: relative;
}

.timeline-line {
  z-index: 0;
  transition: all 0.4s ease;
}

/* Individual phase */
.roadmap-phase {
  scroll-margin-top: 120px;
  transition: all 0.3s ease;
}

/* The glowing dot on timeline */
.phase-dot {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.phase-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16,185,129,0.28) 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.roadmap-phase:hover .phase-dot {
  transform: scale(1.15);
}

.roadmap-phase:hover .phase-dot::after {
  opacity: 1;
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0.3; }
}

/* Roadmap card */
.roadmap-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.roadmap-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #10b981, #34d399, #10b981);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.roadmap-phase:hover .roadmap-card::before {
  opacity: 0.95;
  width: 5px;
}

/* Subtle running fire accent on hover for the left bar (COOL effect) */
.roadmap-phase:hover .roadmap-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: -50%;
  width: 4px;
  height: 200%;
  background: linear-gradient(
    to bottom,
    transparent 15%,
    #fbbf24 32%,
    #f59e0b 48%,
    #ef4444 62%,
    transparent 78%
  );
  background-size: 100% 280%;
  animation: roadmap-fire 1.4s linear infinite;
  opacity: 0.38;
  z-index: 1;
  pointer-events: none;
}

@keyframes roadmap-fire {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 280%; }
}

/* Phase number */
.phase-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

/* Custom list styling */
.roadmap-list li {
  position: relative;
  padding-left: 1.4rem;
  transition: color 0.2s ease;
}

.roadmap-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.roadmap-phase:hover .roadmap-list li::before {
  opacity: 1;
  transform: translateX(1px);
}

/* Milestone area */
.roadmap-card .pt-4 {
  transition: border-color 0.3s ease;
}

.roadmap-phase:hover .roadmap-card .pt-4 {
  border-color: rgba(255,255,255,0.22);
}

/* Disclaimer */
.roadmap-disclaimer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 1px;
}

/* Scroll reveal animation for phases */
.roadmap-phase {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.roadmap-phase.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive roadmap */
@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }
  
  .roadmap-phase {
    gap: 1rem;
  }
  
  .phase-dot {
    width: 14px;
    height: 14px;
    margin-top: 4px;
  }
}

/* ========================================
   LIVE BADGE — cyclic subtle pulse animation
   ======================================== */
.live-badge {
  animation: live-pulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: all 0.3s ease;
}

.live-badge:hover {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 15px -3px rgba(16, 185, 129, 0.3);
}

@keyframes live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0.08);
  }
}

/* Video sound toggle button */
.video-sound-btn {
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-sound-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.video-sound-btn.muted {
  opacity: 0.85;
}

/* ========================================
   LORE CONTENT — slow soft gradient border shimmer (minimalist, no sharp moving strip)
   ======================================== */
.lore-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lore-content::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 26px;
  background: linear-gradient(
    115deg,
    rgba(16, 185, 129, 0.15) 0%,
    #10b981 18%,
    #34d399 32%,
    #fbbf24 48%,
    #34d399 64%,
    #10b981 78%,
    rgba(16, 185, 129, 0.15) 100%
  );
  background-size: 280% 100%;
  background-position: 0% 0;
  z-index: -1;
  opacity: 0.55;
  animation: lore-border-shimmer 16s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lore-border-shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* ========================================
   FOOTER GRADIENT TEXT — smooth slow cyclic gradient on text (red)
   ======================================== */
.footer-gradient-text {
  position: relative;
  display: inline-block;
}

.footer-gradient-text::after {
  content: 'The forest has a new king.';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #e5e7eb 0%,
    #f87171 18%,
    #ef4444 32%,
    #fbbf24 50%,
    #ef4444 68%,
    #f87171 82%,
    #e5e7eb 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-text-run 7s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
}

@keyframes footer-text-run {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Footer brand name — strong red animated shimmer */
.footer-brand {
  position: relative;
  display: inline-block;
  color: #fca5a5;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

.footer-brand::after {
  content: 'Red Hood Pepe';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 28%,
    rgba(255, 255, 255, 0.5) 40%,
    #ef4444 48%,
    #fbbf24 52%,
    #ef4444 56%,
    rgba(255, 255, 255, 0.5) 64%,
    transparent 78%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: -60% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-brand-shimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footer-brand-shimmer {
  0%, 100% { background-position: -60% 0; }
  50%      { background-position: 160% 0; }
}

/* ========================================
   VIDEO FRAME — black bg, vertical offset, running multi-color gradient border
   ======================================== */
.video-container {
  position: relative;
  padding: 14px 0;
  background: #000000;
  border-radius: 28px;
  overflow: hidden;
}

.video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    #10b981 0%,
    #34d399 15%,
    #fbbf24 30%,
    #f59e0b 45%,
    #ef4444 55%,
    #f59e0b 70%,
    #34d399 85%,
    #10b981 100%
  );
  background-size: 300% 300%;
  background-position: 0% 0%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: video-border-run 7s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes video-border-run {
  0%   { background-position:   0%   0%; }
  25%  { background-position: 100%   0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position:   0% 100%; }
  100% { background-position:   0%   0%; }
}

.video-container video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: 1450 / 750;
  border-radius: 22px;
  border: none;
  box-shadow: 0 35px 80px -18px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  background: #000000;
  filter: brightness(0.68);
  transition: filter 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-container:hover video {
  filter: brightness(1);
}

/* ========================================
   VIDEO NAV ARROWS + DOTS
   ======================================== */
.video-nav-btn {
  opacity: 0.7;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-container:hover .video-nav-btn {
  opacity: 1;
}

.video-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-dot:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: scale(1.15);
}

.video-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  width: 9px;
  height: 9px;
}

/* ========================================
   NFT DROP TEASER CARD
   ======================================== */
.nft-drop-card {
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nft-drop-card:hover {
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 25px 60px -18px rgba(16, 185, 129, 0.12);
}

.nft-drop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.25) 0%,
    transparent 40%,
    transparent 60%,
    rgba(251, 191, 24, 0.15) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

/* ========================================
   WL CHECKER BUTTON (animated)
   ======================================== */
.wl-checker-btn {
  position: relative;
  overflow: hidden;
}

.wl-checker-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 45%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: wl-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wl-shimmer {
  0%, 100% { background-position: 200% 0; }
  50%      { background-position: -50% 0; }
}

/* Nav NFT DROP button */
#nav-nft-drop {
  letter-spacing: 1.8px;
}

/* ========================================
   NFT COLLECTION GRID — 2 rows × 5, cool hover + float
   ======================================== */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .nft-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .nft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.nft-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 1 / 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: nft-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
  box-shadow: 0 8px 25px -12px rgba(0, 0, 0, 0.7);
}

.nft-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.0) 0%,
    rgba(239, 68, 68, 0.45) 40%,
    rgba(251, 191, 24, 0.35) 60%,
    rgba(239, 68, 68, 0.0) 100%
  );
  background-size: 200% 200%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
  animation: nft-border-run 4s linear infinite;
}

.nft-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
  filter: brightness(0.88) saturate(1.05);
}

.nft-item:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 
    0 20px 40px -15px rgba(239, 68, 68, 0.35),
    0 0 0 1px rgba(239, 68, 68, 0.2);
  z-index: 5;
}

.nft-item:hover::before {
  opacity: 1;
}

.nft-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.15);
}

@keyframes nft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes nft-border-run {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

/* Make float + hover coexist nicely */
.nft-item:hover {
  animation-play-state: paused;
}

/* ========================================
   EARN + LOCK PEPE + THE DEN (main site)
   ======================================== */
.btn-earn {
  position: relative;
  isolation: isolate;
  background: #7f1d1d;
  color: #fff7f7;
  font-weight: 700;
  letter-spacing: 1.3px;
  overflow: hidden;
  box-shadow: 0 4px 18px -4px rgba(239, 68, 68, 0.55);
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.btn-earn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #fbbf24 18%,
    #ef4444 50%,
    #fbbf24 82%,
    transparent 100%
  );
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: earn-border-run 2.8s linear infinite;
  z-index: -1;
  pointer-events: none;
}

.btn-earn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: earn-shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}

.btn-earn:hover {
  background: #991b1b;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -4px rgba(239, 68, 68, 0.7);
}

.btn-earn:active {
  transform: scale(0.985);
}

@keyframes earn-border-run {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes earn-shimmer {
  0%, 100% { background-position: 200% 0; }
  50%      { background-position: -40% 0; }
}

.btn-lock-pepe {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 42px;
  border-radius: 22px;
  background: #10b981;
  color: #000;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  box-shadow: 0 8px 28px -8px rgba(16, 185, 129, 0.65);
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.btn-lock-pepe::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    #10b981 0%,
    #34d399 16%,
    #fbbf24 38%,
    #ef4444 52%,
    #fbbf24 68%,
    #34d399 86%,
    #10b981 100%
  );
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: lock-border-run 3.6s linear infinite;
  z-index: -1;
  pointer-events: none;
  filter: brightness(1.15);
}

.btn-lock-pepe::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 24, 0.28), transparent);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 4px;
  animation: lock-border-run 3.6s linear infinite;
  z-index: -2;
  pointer-events: none;
  filter: blur(6px);
  opacity: 0.55;
}

.btn-lock-pepe:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(16, 185, 129, 0.75);
}

.btn-lock-pepe:active {
  transform: scale(0.98);
}

@keyframes lock-border-run {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

.den-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.den-stat {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(9, 9, 11, 0.82);
  padding: 18px 16px 16px;
  min-height: 118px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.den-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.0) 0%,
    rgba(16, 185, 129, 0.35) 45%,
    rgba(251, 191, 24, 0.18) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.den-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 16px 36px -18px rgba(16, 185, 129, 0.35);
}

.den-stat:hover::before {
  opacity: 1;
}

.den-stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
}

.den-stat b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1;
  color: #f5f5f5;
}

.den-stat em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.how-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(9, 9, 11, 0.75);
  padding: 22px 22px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.how-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #10b981, #fbbf24, #ef4444);
  opacity: 0.7;
}

.how-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.how-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 8px;
  font-weight: 600;
}

.how-card p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .den-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .den-stat b {
    font-size: 22px;
  }

  .btn-lock-pepe {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}