/* ============================================
   COMPLETE ENHANCED BONKBOY CSS
   Original features + Enhanced responsive improvements
   ============================================ */

/* ✨ MODERN RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #0a0a0a;
  color: white;
}

/* ✨ MODERN ANIMATED GRADIENT BACKGROUND */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0a0a, #1a0d2e, #16213e, #0f3460);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -3;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile optimization for gradient */
@media (max-width: 768px) {
  .gradient-bg {
    animation-duration: 20s; /* Slower for battery saving */
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-bg {
    animation: none;
    background: linear-gradient(45deg, #0a0a0a, #1a0d2e, #16213e, #0f3460);
  }
}

/* ✨ FLOATING PARTICLES SYSTEM */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  animation: float 20s infinite linear;
  opacity: 0.7;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* Reduce particles on smaller screens for performance */
@media (max-width: 1024px) {
  .particles {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .particles {
    display: none; /* Disable on mobile for performance */
  }
}

/* ✨ ENHANCED BACKGROUND VIDEO STYLES */
.background-video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: 0.3;
  filter: blur(1px);
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    min-height: 100vh;
    width: 100vw;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* ✨ VIDEO DISPLAY */
#bgVideo { 
  display: block !important;
  opacity: 0.3;
  filter: blur(1px);
}
#mobileVideo { 
  display: none !important;
  opacity: 0.3;
  filter: blur(1px);
}

/* Hide background videos on smaller screens for performance */
@media (max-width: 768px) {
  #bgVideo {
    display: none !important;
  }
  
  #mobileVideo {
    display: block !important;
    opacity: 0.2; /* Reduce opacity on mobile */
  }
}

/* ✨ MODERN OVERLAY */
#overlay {
  pointer-events: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: 10;
  opacity: 1;
  transition: opacity 1.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem;
  overflow: hidden;
}

#overlay > * {
  pointer-events: auto !important;
}

#overlay.fade-in { opacity: 1; }

/* Responsive overlay padding */
@media (max-width: 1200px) {
  #overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  #overlay {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  #overlay {
    padding: 0.5rem;
  }
}

/* ============================================
   MODERN NEON COUNTDOWN TIMER STYLES
   ============================================ */

/* Base Countdown Container - Modern Popup Style */
.countdown-container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10000 !important;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid #fbbf24;
  border-radius: 20px;
  padding: 25px 35px;
  box-shadow: 
    0 20px 40px rgba(251, 191, 36, 0.3),
    0 0 60px rgba(251, 191, 36, 0.2),
    inset 0 0 30px rgba(251, 191, 36, 0.05);
  font-family: 'Inter', 'Orbitron', 'Courier New', monospace;
  text-align: center;
  pointer-events: auto;
  user-select: none;
  animation: modernCountdownGlow 3s ease-in-out infinite alternate, popupSlideIn 0.5s ease-out;
  transition: all 0.3s ease;
  max-width: 90vw;
  max-height: 90vh;
  min-width: 320px;
  width: auto !important;
  height: auto !important;
}

/* Override any old positioning classes */
.countdown-container.mobile-position,
.countdown-container.desktop-position,
.countdown-container.minimized-position {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
  max-width: 90vw !important;
  min-width: 320px !important;
  padding: 25px 35px !important;
  border-radius: 20px !important;
  border: 2px solid #fbbf24 !important;
  z-index: 10000 !important;
}

/* Responsive countdown sizing */
@media (max-width: 1024px) {
  .countdown-container,
  .countdown-container.mobile-position,
  .countdown-container.desktop-position,
  .countdown-container.minimized-position {
    padding: 20px 30px !important;
    min-width: 280px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 768px) {
  .countdown-container,
  .countdown-container.mobile-position,
  .countdown-container.desktop-position,
  .countdown-container.minimized-position {
    padding: 18px 25px !important;
    min-width: 260px !important;
    max-width: 85vw !important;
    border-radius: 15px !important;
  }
}

@media (max-width: 480px) {
  .countdown-container,
  .countdown-container.mobile-position,
  .countdown-container.desktop-position,
  .countdown-container.minimized-position {
    padding: 15px 20px !important;
    min-width: 240px !important;
    max-width: 90vw !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 320px) {
  .countdown-container,
  .countdown-container.mobile-position,
  .countdown-container.desktop-position,
  .countdown-container.minimized-position {
    padding: 12px 16px !important;
    min-width: 220px !important;
    max-width: 95vw !important;
  }
}

/* Popup backdrop */
.countdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: backdropFadeIn 0.3s ease-out forwards;
}

/* Close button */
.countdown-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fbbf24;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px #fbbf24;
  line-height: 1;
  min-height: 44px; /* Touch target */
  min-width: 44px;
}

@media (max-width: 768px) {
  .countdown-close {
    top: 8px;
    right: 12px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .countdown-close {
    top: 6px;
    right: 10px;
    font-size: 18px;
  }
}

.countdown-close:hover {
  background: rgba(251, 191, 36, 0.2);
  transform: scale(1.1);
  text-shadow: 0 0 15px #fbbf24;
}

.countdown-close:active {
  transform: scale(0.95);
}

/* Countdown Title */
.countdown-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #fbbf24;
  text-shadow: 0 0 10px #fbbf24;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .countdown-title {
    font-size: 0.8rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .countdown-title {
    font-size: 0.7rem;
    margin-bottom: 5px;
  }
}

/* Countdown Display Grid */
.countdown-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap; /* Allow wrapping on very small screens */
}

@media (max-width: 480px) {
  .countdown-display {
    gap: 6px;
  }
}

@media (max-width: 320px) {
  .countdown-display {
    gap: 4px;
  }
}

/* Individual Countdown Segments */
.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px;
}

@media (max-width: 480px) {
  .countdown-segment {
    min-width: 35px;
  }
}

@media (max-width: 320px) {
  .countdown-segment {
    min-width: 30px;
  }
}

/* Countdown Numbers */
.countdown-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 
    0 0 10px #fbbf24,
    0 0 20px #fbbf24,
    0 0 30px #fbbf24;
  line-height: 1;
  font-family: 'Inter', 'Orbitron', 'Courier New', monospace;
  background: linear-gradient(45deg, #ffffff, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: modernNumberGlow 2s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .countdown-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .countdown-number {
    font-size: 1.3rem;
  }
}

@media (max-width: 320px) {
  .countdown-number {
    font-size: 1.1rem;
  }
}

/* Countdown Labels */
.countdown-label {
  font-size: 0.6rem;
  color: #fbbf24;
  text-shadow: 0 0 5px #fbbf24;
  margin-top: 2px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .countdown-label {
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .countdown-label {
    font-size: 0.5rem;
    letter-spacing: 0.5px;
  }
}

/* Countdown Separators */
.countdown-separator {
  font-size: 1.5rem;
  color: #fbbf24;
  text-shadow: 0 0 10px #fbbf24;
  font-weight: bold;
  margin: 0 2px;
  animation: separatorPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .countdown-separator {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .countdown-separator {
    font-size: 1.1rem;
    margin: 0 1px;
  }
}

/* Countdown Date */
.countdown-date {
  font-size: 0.7rem;
  color: #fbbf24;
  text-shadow: 0 0 8px #fbbf24;
  letter-spacing: 1px;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 768px) {
  .countdown-date {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .countdown-date {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }
}

/* Pulse Animation for Seconds */
.countdown-number.pulse {
  animation: numberPulse 0.5s ease-in-out;
}

/* Finished State */
.countdown-container.finished {
  background: linear-gradient(45deg, rgba(16, 185, 129, 0.9), rgba(34, 197, 94, 0.9));
  border-color: #10b981;
  box-shadow: 
    0 0 30px rgba(16, 185, 129, 0.6),
    0 0 60px rgba(16, 185, 129, 0.3);
  animation: finishedCelebration 2s ease-in-out infinite;
}

.countdown-finished .countdown-title {
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 0 0 15px #10b981;
  margin-bottom: 8px;
  animation: celebrationPulse 1s ease-in-out infinite;
}

.countdown-finished .countdown-subtitle {
  font-size: 0.8rem;
  color: #ffffff;
  text-shadow: 0 0 10px #10b981;
  font-weight: 500;
}

/* ============================================
   POPUP ANIMATIONS
   ============================================ */

/* Popup slide in animation */
@keyframes popupSlideIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Popup slide out animation */
@keyframes popupSlideOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Backdrop fade in */
@keyframes backdropFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Backdrop fade out */
@keyframes backdropFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Hidden state */
.countdown-container.hidden {
  animation: popupSlideOut 0.3s ease-in forwards;
}

.countdown-backdrop.hidden {
  animation: backdropFadeOut 0.3s ease-in forwards;
}

/* ============================================
   MODERN COUNTDOWN ANIMATIONS
   ============================================ */

/* Main Container Glow */
@keyframes modernCountdownGlow {
  0% {
    box-shadow: 
      0 20px 40px rgba(251, 191, 36, 0.2),
      0 0 60px rgba(251, 191, 36, 0.1),
      inset 0 0 30px rgba(251, 191, 36, 0.05);
  }
  100% {
    box-shadow: 
      0 20px 40px rgba(251, 191, 36, 0.3),
      0 0 60px rgba(251, 191, 36, 0.2),
      inset 0 0 30px rgba(251, 191, 36, 0.1);
  }
}

/* Number Glow Animation */
@keyframes modernNumberGlow {
  0% {
    text-shadow: 
      0 0 10px #fbbf24,
      0 0 20px #fbbf24,
      0 0 30px #fbbf24;
  }
  100% {
    text-shadow: 
      0 0 15px #fbbf24,
      0 0 30px #fbbf24,
      0 0 45px #fbbf24,
      0 0 60px rgba(251, 191, 36, 0.5);
  }
}

/* Number Pulse (for seconds) */
@keyframes numberPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    text-shadow: 
      0 0 20px #fbbf24,
      0 0 40px #fbbf24;
  }
  100% {
    transform: scale(1);
  }
}

/* Separator Pulse */
@keyframes separatorPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 
      0 0 15px #fbbf24,
      0 0 25px #fbbf24;
  }
}

/* Finished Celebration - Updated for popup */
@keyframes finishedCelebration {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 
      0 0 30px rgba(16, 185, 129, 0.6),
      0 0 60px rgba(16, 185, 129, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
      0 0 40px rgba(16, 185, 129, 0.8),
      0 0 80px rgba(16, 185, 129, 0.4),
      0 0 120px rgba(16, 185, 129, 0.2);
  }
}

/* Celebration Pulse */
@keyframes celebrationPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 15px #10b981;
  }
  50% {
    transform: scale(1.1);
    text-shadow: 
      0 0 25px #10b981,
      0 0 35px #10b981;
  }
}

/* Landscape mobile optimization for countdown */
@media (max-height: 500px) and (orientation: landscape) {
  .countdown-container,
  .countdown-container.mobile-position,
  .countdown-container.desktop-position {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 15px 25px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    width: auto !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 10000 !important;
  }
}

/* ✨ MODERN UI BUTTONS */
.ui-buttons {
  position: fixed;
  top: 6vh;
  left: 81vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2vh;
  z-index: 20;
  pointer-events: auto !important;
  max-width: 320px;
  width: auto;
}

/* Responsive UI button positioning */
@media (max-width: 1400px) {
  .ui-buttons {
    left: 78vw;
    max-width: 280px;
  }
}

@media (max-width: 1200px) {
  .ui-buttons {
    left: 75vw;
    max-width: 260px;
    gap: 1.5vh;
  }
}

@media (max-width: 1024px) {
  .ui-buttons {
    left: 70vw;
    max-width: 240px;
    gap: 1vh;
    top: 4vh;
  }
}

@media (max-width: 768px) {
  .ui-buttons {
    display: none !important; /* Hide on mobile - use mobile menu instead */
  }
}

.neon-button {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  padding: 14px 24px;
  min-width: 300px;
  max-width: 80vw;
  text-align: center;
  color: #fbbf24 !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  text-shadow: 0 0 8px #fbbf24;
  box-shadow: 
    0 4px 15px rgba(251, 191, 36, 0.2),
    inset 0 0 20px rgba(251, 191, 36, 0.05);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
  z-index: 20;
  font-weight: 600;
  letter-spacing: 0.5px;
  min-height: 48px; /* Touch target */
}

/* Responsive neon button sizing */
@media (max-width: 1200px) {
  .neon-button {
    min-width: 240px;
    padding: 12px 20px;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
  }
}

@media (max-width: 1024px) {
  .neon-button {
    min-width: 200px;
    padding: 10px 16px;
    font-size: clamp(0.8rem, 2vw, 1rem);
  }
}

.neon-button:hover {
  background: rgba(251, 191, 36, 0.1) !important;
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.3),
    0 0 40px rgba(251, 191, 36, 0.2),
    inset 0 0 30px rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  transform: translateY(-2px);
  border-color: #f59e0b;
}

/* ✨ MODERN WALLET STYLES */
.wallet-status,
.wallet-balance {
  font-size: 1.2rem;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  width: 200px;
  max-width: 80vw;
  background: rgba(0, 0, 0, 0.6);
  word-wrap: break-word;
  z-index: 20;
  color: #fbbf24;
  text-shadow: 0 0 5px #fbbf24;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1200px) {
  .wallet-status,
  .wallet-balance {
    font-size: 1.1rem;
    width: 180px;
  }
}

@media (max-width: 1024px) {
  .wallet-status,
  .wallet-balance {
    font-size: 1rem;
    width: 160px;
    padding: 5px 10px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-content .wallet-status,
  .mobile-menu-content .wallet-balance {
    margin-left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
  }
}

.wallet-balance {
  box-shadow: 0 0 10px #030303;
}

.retry-button {
  font-size: 1.2rem;
  padding: 12px 20px;
  width: 90vw;
  max-width: 300px;
  margin-left: 9px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 3px solid #ff4d4d;
  border-radius: 12px;
  text-shadow: 0 0 10px #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d inset;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 20;
  min-height: 48px; /* Touch target */
}

@media (max-width: 1024px) {
  .retry-button {
    font-size: 1.1rem;
    padding: 10px 18px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-content .retry-button {
    width: 100%;
    margin-left: 0;
    font-size: 1rem;
  }
}

.retry-button:hover {
  background-color: rgba(255, 77, 77, 0.15);
  box-shadow: 0 0 20px #ff4d4d;
  color: #ffffff;
}

.wallet-balance.update {
  animation: pop-fade 0.6s ease-in-out;
}

@keyframes pop-fade {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   MODERN BUY BUTTON STYLES - ENHANCED
   ============================================ */

/* ✨ DESKTOP BUY BUTTONS - MODERN STYLING */
.buy-buttons-container {
  position: fixed;
  top: 53.5vh;
  left: 3vw;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* Responsive buy button positioning */
@media (max-width: 1400px) {
  .buy-buttons-container {
    left: 2vw;
    gap: 1.5vh;
  }
}

@media (max-width: 1200px) {
  .buy-buttons-container {
    left: 1vw;
    gap: 1vh;
    top: 50vh;
  }
}

@media (max-width: 1024px) {
  .buy-buttons-container {
    top: 45vh;
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .buy-buttons-container {
    display: none !important; /* Hide on mobile */
  }
}

.buy-link {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 1rem !important;
  padding: 16px 32px !important;
  height: auto !important;
  min-width: 160px !important;
  max-width: none;
  box-sizing: border-box;
  white-space: nowrap;
  text-decoration: none !important;
  color: #fbbf24 !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  text-shadow: 0 0 8px #fbbf24;
  box-shadow: 
    0 4px 15px rgba(251, 191, 36, 0.2),
    inset 0 0 20px rgba(251, 191, 36, 0.05);
  cursor: pointer !important;
  transition: all 0.3s ease-in-out;
  pointer-events: auto !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  min-height: 56px; /* Touch target */
}

/* Responsive buy link sizing */
@media (max-width: 1200px) {
  .buy-link {
    font-size: 0.9rem !important;
    padding: 14px 28px !important;
    min-width: 140px !important;
  }
}

@media (max-width: 1024px) {
  .buy-link {
    font-size: 0.85rem !important;
    padding: 12px 24px !important;
    min-width: 120px !important;
  }
}

.buy-link:hover {
  background: rgba(251, 191, 36, 0.1) !important;
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.3),
    0 0 40px rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24 !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  border-color: #f59e0b;
}

/* Remove individual positioning classes */
.phantom-link,
.jupiter-link {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
}

/* ✨ MOBILE BUY BUTTONS - ENHANCED */
.mobile-buy-row {
  position: fixed;
  top: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: none;
  flex-direction: row;
  gap: 15px !important;
  z-index: 9999 !important;
  justify-content: center;
  align-items: center;
  pointer-events: auto !important;
  max-width: 90vw;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .mobile-buy-row {
    display: flex !important;
    top: 10px !important;
    margin-bottom: 50px !important; /* ADD THIS LINE */
  }
}

@media (max-width: 480px) {
  .mobile-buy-row {
    gap: 10px !important;
    top: 8px !important;
  }
}

@media (max-width: 320px) {
  .mobile-buy-row {
    gap: 8px !important;
    flex-direction: column;
    top: 5px !important;
  }
}

.mobile-buy-row .buy-link {
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem !important;
  padding: 10px 18px !important;
  min-width: 120px !important;
  max-width: 150px;
  height: auto !important;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none !important;
  text-align: center;
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  cursor: pointer !important;
  pointer-events: auto !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  font-weight: 600;
  min-height: 44px; /* Touch target */
  flex: 1;
}

@media (max-width: 480px) {
  .mobile-buy-row .buy-link {
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    min-width: 100px !important;
  }
}

@media (max-width: 320px) {
  .mobile-buy-row .buy-link {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
    min-width: 90px !important;
    width: 100%;
    max-width: none;
  }
}

.mobile-buy-row .buy-link:hover {
  background: rgba(251, 191, 36, 0.1) !important;
  box-shadow: 
    0 6px 20px rgba(251, 191, 36, 0.3),
    0 0 30px rgba(251, 191, 36, 0.2) !important;
  transform: translateY(-1px) !important;
}

/* ✨ MODERN SOCIAL LINKS */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  z-index: 999;
  justify-content: flex-end;
  margin-bottom: 2vh;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .social-links {
    gap: 0.8rem;
    margin-bottom: 1.5vh;
  }
}

@media (max-width: 1024px) {
  .social-links {
    gap: 0.6rem;
    margin-bottom: 1vh;
  }
}

.social-links.centered {
  justify-content: center;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  box-shadow: 
    0 4px 15px rgba(251, 191, 36, 0.2),
    inset 0 0 20px rgba(251, 191, 36, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 44px; /* Touch target */
  min-width: 44px;
}

@media (max-width: 1200px) {
  .social-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1024px) {
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .social-icon {
    width: 44px; /* Restore size for touch */
    height: 44px;
  }
}

.social-icon i {
  font-size: 1.4rem;
  color: #fbbf24;
  text-shadow: 0 0 8px #fbbf24;
}

@media (max-width: 1024px) {
  .social-icon i {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .social-icon i {
    font-size: 1.3rem; /* Restore for visibility */
  }
}

.social-icon:hover {
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.3),
    0 0 40px rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
  border-color: #f59e0b;
}

.social-icon:hover i {
  color: #f59e0b;
  text-shadow: 0 0 12px #f59e0b;
}

/* ✨ MODERN MOBILE MENU STYLES */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2001;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid #fbbf24;
  color: #fbbf24;
  padding: 10px 15px;
  border-radius: 10px;
  font-family: 'Inter', 'Orbitron', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  text-shadow: 0 0 8px #fbbf24;
  box-shadow: 
    0 4px 15px rgba(251, 191, 36, 0.2),
    inset 0 0 20px rgba(251, 191, 36, 0.05);
  transition: all 0.3s ease;
  font-weight: 600;
  min-height: 44px; /* Touch target */
  min-width: 44px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    top: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  .menu-toggle {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

.menu-toggle.hidden {
  display: none !important;
}

.menu-toggle:hover {
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.3),
    0 0 40px rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  border-left: 2px solid #fbbf24;
  z-index: 2000;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(251, 191, 36, 0.1);
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 85%;
    max-width: 280px;
  }
}

@media (max-width: 320px) {
  .mobile-menu {
    width: 90%;
    max-width: 250px;
  }
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
  min-height: 70px;
}

@media (max-width: 480px) {
  .mobile-menu-header {
    padding: 15px;
    min-height: 60px;
  }
}

.close-button {
  background: none;
  border: none;
  color: #fbbf24;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  text-shadow: 0 0 8px #fbbf24;
  transition: all 0.3s ease;
  border-radius: 50%;
  min-height: 44px; /* Touch target */
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .close-button {
    font-size: 20px;
  }
}

.close-button:hover {
  transform: scale(1.1);
  text-shadow: 0 0 15px #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.mobile-menu-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 480px) {
  .mobile-menu-content {
    padding: 15px;
    gap: 12px;
  }
}

.mobile-menu-content .neon-button {
  width: 100%;
  margin: 0;
  padding: 12px 20px;
  font-size: 1.1rem;
  min-width: auto;
  min-height: 48px; /* Touch target */
}

@media (max-width: 480px) {
  .mobile-menu-content .neon-button {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

.mobile-menu-content .wallet-status,
.mobile-menu-content .wallet-balance {
  margin-left: 0;
  width: 100%;
  text-align: center;
}

/* ✨ MODERN FEATURE VIDEO CONTAINER STYLES */
.feature-video-layer {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  width: 90%;
  max-width: 980px;
  height: 65vh;
  pointer-events: auto;
}

@media (max-width: 1200px) {
  .feature-video-layer {
    width: 85%;
    height: 60vh;
    top: 58%;
  }
}

@media (max-width: 1024px) {
  .feature-video-layer {
    width: 90%;
    height: 55vh;
    top: 55%;
  }
}

@media (max-width: 768px) {
  .feature-video-layer {
    width: 95%;
    height: 45vh;
    top: 50%;
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .feature-video-layer {
    width: 98%;
    height: 40vh;
    top: 45%;
    max-height: 300px;
  }
}

@media (max-width: 320px) {
  .feature-video-layer {
    width: 100%;
    height: 35vh;
    max-height: 250px;
  }
}

.homepage-feature-video {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(251, 191, 36, 0.2),
    0 0 60px rgba(251, 191, 36, 0.1);
  border: 2px solid rgba(251, 191, 36, 0.3);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
  .homepage-feature-video {
    border-radius: 16px;
    border-width: 1px;
  }
}

@media (max-width: 480px) {
  .homepage-feature-video {
    border-radius: 12px;
  }
}

#homepageVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0a;
  border-radius: 18px;
}

@media (max-width: 768px) {
  #homepageVideo {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  #homepageVideo {
    border-radius: 10px;
  }
}

.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 25px rgba(251, 191, 36, 0.4),
    0 0 40px rgba(251, 191, 36, 0.2);
  z-index: 100;
  min-height: 44px; /* Touch target */
  min-width: 44px;
}

@media (max-width: 768px) {
  .custom-play-button {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .custom-play-button {
    width: 50px;
    height: 50px;
  }
}

.custom-play-button:hover {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 12px 35px rgba(251, 191, 36, 0.6),
    0 0 60px rgba(251, 191, 36, 0.3);
}

.custom-play-button svg {
  fill: #000;
  margin-left: 4px;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .custom-play-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .custom-play-button svg {
    width: 18px;
    height: 18px;
  }
}

/* ✨ MODERN RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  /* Hide desktop buy buttons completely on mobile */
  .buy-buttons-container {
    display: none !important;
  }
  
  /* Show mobile buy buttons */
  .mobile-buy-row {
    display: flex !important;
  }
  
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  #bgVideo { display: none !important; }
  #mobileVideo { 
    display: block !important;
    opacity: 0.3;
    filter: blur(1px);
  }
  
  .ui-buttons,
  .phantom-link:not(.mobile-buy-row .phantom-link),
  .jupiter-link:not(.mobile-buy-row .jupiter-link) {
    display: none !important;
  }
  
  .menu-toggle {
    display: block !important;
    z-index: 2001 !important;
  }
  
  .menu-toggle.hidden {
    display: none !important;
  }
  
  .menu-backdrop {
    z-index: 1999 !important;
  }
  
  .mobile-menu {
    z-index: 2000 !important;
  }
  
  .wallet-status,
  .wallet-balance,
  .neon-button,
  .retry-button {
    font-size: 1.1rem;
    padding: 10px 16px;
    max-width: 90vw;
    width: 100%;
  }
  
  .social-links {
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2vh;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon i {
    font-size: 1.2rem;
  }
  
  /* ============================================
     COMPREHENSIVE MOBILE PAGE-SPECIFIC ADJUSTMENTS
     ============================================ */
  
  /* DEFAULT - All content containers */
  .feature-video-layer {
    width: 95% !important;
    max-width: 800px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 50 !important;
    height: 350px !important;
    aspect-ratio: unset !important;
  }
  
  .homepage-feature-video {
    border-radius: 15px !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* ROADMAP PAGE - Very short container */
  html[data-page="roadmap"] body .feature-video-layer,
  body[data-page="roadmap"] .feature-video-layer {
    height: 250px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="roadmap"] body .homepage-feature-video,
  body[data-page="roadmap"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* MERCH PAGE - Very short container */
  html[data-page="merch"] body .feature-video-layer,
  body[data-page="merch"] .feature-video-layer {
    height: 320px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="merch"] body .homepage-feature-video,
  body[data-page="merch"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* COMPETITIONS PAGE - Very short container */
  html[data-page="competitions"] body .feature-video-layer,
  body[data-page="competitions"] .feature-video-layer {
    height: 320px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="competitions"] body .homepage-feature-video,
  body[data-page="competitions"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* WHITEPAPER PAGE - Very short container */
  html[data-page="whitepaper"] body .feature-video-layer,
  body[data-page="whitepaper"] .feature-video-layer {
    height: 320px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="whitepaper"] body .homepage-feature-video,
  body[data-page="whitepaper"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* MEDIA PAGE - Very short container */
  html[data-page="media"] body .feature-video-layer,
  body[data-page="media"] .feature-video-layer {
    height: 280px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="media"] body .homepage-feature-video,
  body[data-page="media"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* MemeOnDEX PAGE - Very short container */
  html[data-page="memeondex"] body .feature-video-layer,
  body[data-page="memeondex"] .feature-video-layer {
    height: 280px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  
  html[data-page="memeondex"] body .homepage-feature-video,
  body[data-page="memeondex"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* HOLDERBOARD PAGE - Taller for data display */
  html[data-page="holderboard"] body .feature-video-layer,
  body[data-page="holderboard"] .feature-video-layer {
    height: 320px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }

  html[data-page="holderboard"] body .homepage-feature-video,
  body[data-page="holderboard"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }

  /* HOME PAGE - Standard size */
  html[data-page="home"] body .feature-video-layer,
  body[data-page="home"] .feature-video-layer {
    height: 280px !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }

  html[data-page="home"] body .homepage-feature-video,
  body[data-page="home"] .homepage-feature-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }
  
  .custom-play-button {
    width: 60px !important;
    height: 60px !important;
  }
  
  .custom-play-button svg {
    width: 30px !important;
    height: 30px !important;
  }

  #mobileVideo {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: -1 !important;
    display: block !important;
    opacity: 0.3;
    filter: blur(1px);
  }
}

@media (min-width: 769px) {
  /* Hide mobile buy buttons on desktop */
  .mobile-buy-row {
    display: none !important;
  }
  
  /* Show desktop buy buttons */
  .buy-buttons-container {
    display: flex !important;
  }
  
  #mobileMenu,
  #menuBackdrop,
  .mobile-buy-buttons {
    display: none !important;
  }
}

/* ✨ VERY SMALL SCREENS */
@media (max-width: 480px) {
  .mobile-buy-row {
    gap: 10px !important;
    top: 10px !important;
  }
  
  .mobile-buy-row .buy-link {
    font-size: 0.8rem !important;
    padding: 7px 14px !important;
    min-width: 90px !important;
  }
}

/* ✨ LARGE SCREENS */
@media (min-width: 1400px) {
  .buy-link {
    font-size: 1.1rem !important;
    padding: 18px 36px !important;
    min-width: 180px !important;
  }
}

/* ✨ MINIMIZED WINDOWS */
body.minimized .buy-buttons-container {
  transform: scale(0.8) !important;
  transform-origin: top left !important;
}

body.minimized .mobile-buy-row {
  transform: translateX(-50%) scale(0.9) !important;
}

/* ✨ MODERN WHITEPAPER TEXT CONTAINER STYLES */
.bonkboy-headlines-container {
  width: 100%;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
}

.bonkboy-headlines-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #e5e7eb;
  text-align: center;
  font-family: 'Inter', Arial, sans-serif;
}

.bonkboy-headlines-content h2 {
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 0 0 15px #fbbf24;
  font-weight: 800;
  background: linear-gradient(45deg, #fbbf24, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonkboy-headlines-content h3 {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
  color: #fbbf24;
  text-shadow: 0 0 10px #fbbf24;
  font-weight: 700;
}

.bonkboy-headlines-content p {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bonkboy-headlines-content p strong {
  color: #fbbf24;
  text-shadow: 0 0 8px #fbbf24;
  font-weight: 700;
}

.bonkboy-headlines-content ul {
  margin-bottom: 30px;
  padding-left: 0;
  list-style: none;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bonkboy-headlines-content li {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.7;
  padding: 12px 20px;
  background: rgba(251, 191, 36, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.1);
  transition: all 0.3s ease;
}

.bonkboy-headlines-content li:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
}

.bonkboy-headlines-content li::before {
  content: "★";
  color: #fbbf24;
  font-weight: bold;
  margin-right: 10px;
  text-shadow: 0 0 8px #fbbf24;
}

.bonkboy-headlines-content ol {
  margin-bottom: 25px;
  padding-left: 0;
  list-style: none;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bonkboy-headlines-content ol li {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.bonkboy-headlines-content ol li::before {
  content: "★";
  color: #fbbf24;
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #fbbf24;
}

.strategic-tech-section {
  margin: 40px 0;
  text-align: center;
}

.centered-list {
  text-align: center;
}

.list-item-content {
  margin-bottom: 20px;
  text-align: center;
}

.list-item-content strong {
  display: block;
  margin-bottom: 12px;
  color: #fbbf24;
  font-size: 1.2rem;
  text-shadow: 0 0 8px #fbbf24;
  font-weight: bold;
}

.list-item-content ul {
  text-align: center;
  margin-top: 10px;
}

.list-item-content ul li {
  color: #d0d0d0;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.list-item-content ul li::before {
  content: "🔹";
  margin-right: 8px;
}

/* Mobile adjustments for whitepaper text */
@media (max-width: 768px) {
  .bonkboy-headlines-container {
    padding: 15px;
    height: 100%;
    aspect-ratio: inherit;
  }
  
  .bonkboy-headlines-content {
    padding: 15px;
    font-size: 14px;
    height: 100%;
    overflow-y: auto;
    text-align: center;
  }
  
  .bonkboy-headlines-content h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  .bonkboy-headlines-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }
  
  .bonkboy-headlines-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .bonkboy-headlines-content ul,
  .bonkboy-headlines-content ol {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .bonkboy-headlines-content li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .list-item-content strong {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}

/* ============================================
   ENHANCED MODERN HOLDER BOARD STYLES
   ============================================ */

.holder-board-container {
  padding: 30px;
  color: white;
  font-family: 'Inter', monospace;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  height: 100%;
  min-height: 450px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.holder-board-header {
  text-align: center;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.holder-board-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.token-info-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(251, 191, 36, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: all 0.3s ease;
}

.token-info-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.1);
}

.token-info-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.token-info-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin: 0;
}

.token-info-section p {
  margin: 0;
  color: #fbbf24;
  font-size: 1.1rem;
  font-weight: 600;
}

.token-info-section i {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-right: 10px;
}

.token-info-section span {
  color: #fbbf24;
  font-size: 1.1rem;
  font-weight: 600;
}

#tokenPrice {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #10b981 !important;
  text-shadow: 0 0 10px #10b981;
}

#tokenChange {
  color: #10b981 !important;
  font-size: 1rem !important;
  font-weight: 600;
}

/* Loading Styles */
.loading-container {
  text-align: center;
  padding: 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(251, 191, 36, 0.3);
  border-top: 4px solid #fbbf24;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-container h2 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
}

.loading-container p {
  color: #9ca3af;
  font-size: 1rem;
}

/* Holders List */
.holders-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  flex: 1;
  overflow-y: auto;
}

.holder-item {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(251, 191, 36, 0.1);
  border-radius: 16px;
  padding: 6px;
  transition: all 0.3s ease;
  animation: modernSlideIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  flex-shrink: 0;
}

.holder-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.3);
}

.holder-item.rank-1 { 
  background: linear-gradient(45deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2)); 
  border-color: #fbbf24;
  animation-delay: 0.1s;
}
.holder-item.rank-2 { 
  background: linear-gradient(45deg, rgba(209, 213, 219, 0.2), rgba(156, 163, 175, 0.2)); 
  animation-delay: 0.2s;
}
.holder-item.rank-3 { 
  background: linear-gradient(45deg, rgba(251, 146, 60, 0.2), rgba(234, 88, 12, 0.2)); 
  animation-delay: 0.3s;
}
.holder-item.rank-4, .holder-item.rank-5 { 
  background: linear-gradient(45deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.2)); 
  animation-delay: 0.4s;
}
.holder-item.rank-6, .holder-item.rank-7, .holder-item.rank-8, .holder-item.rank-9, .holder-item.rank-10 { 
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2)); 
  animation-delay: 0.5s;
}
.holder-item.rank-other { 
  background: linear-gradient(45deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2)); 
  animation-delay: 0.6s;
}

/* Enhanced styling for special holders */
.holder-item.diamond-special {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
  animation: modernDiamondGlow 3s ease-in-out infinite alternate;
}

.holder-item.verified-special {
  border: 2px solid #10b981 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

@keyframes modernDiamondGlow {
  0% { 
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
  }
  100% { 
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.6), 0 0 50px rgba(251, 191, 36, 0.3);
  }
}

@keyframes modernSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.holder-content {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
}

.holder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 20px;
}

.holder-rank-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

/* Enhanced rank badge for diamond holders */
.rank-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  background: inherit;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rank-badge.diamond-holder {
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #ffffff) !important;
  animation: modernDiamondSpin 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.diamond-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.8rem;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes modernDiamondSpin {
  0% { 
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
  }
  100% { 
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    transform: scale(1);
  }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
  }
  50% { 
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

.address-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

/* Enhanced address display with names - WIDER BOXES */
.address-code {
  color: #fbbf24;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  transition: all 0.3s ease;
}

.address-code:hover {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(0, 0, 0, 0.8);
}

.address-code.known-address {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981 !important;
  font-weight: 600;
  text-shadow: 0 0 8px #10b981;
  animation: modernVerifiedGlow 3s ease-in-out infinite;
  min-width: 260px;
  max-width: 420px;
}

.holder-name {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 5px #fbbf24;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes modernVerifiedGlow {
  0%, 100% { 
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
  }
  50% { 
    border-color: #34d399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  }
}

/* Verification and Diamond Badges */
.known-name-badge {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.diamond-hands-badge {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #000;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.4);
  animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes diamondPulse {
  0%, 100% { 
    opacity: 0.9;
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.4);
  }
  50% { 
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 4px 8px rgba(251, 191, 36, 0.7);
  }
}

.copy-btn, .external-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 1rem;
  min-height: 44px; /* Touch target */
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover, .external-btn:hover {
  color: #fbbf24;
}

.holder-stats {
  text-align: right;
}

.holder-percentage {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.holder-value {
  color: #10b981;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 0 8px #10b981;
}

/* Diamond Status in Stats */
.diamond-status {
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: bold;
  text-shadow: 0 0 5px #fbbf24;
  margin-top: 3px;
  animation: diamondGlow 2s ease-in-out infinite alternate;
}

@keyframes diamondGlow {
  0% { 
    text-shadow: 0 0 5px #fbbf24;
  }
  100% { 
    text-shadow: 0 0 10px #fbbf24, 0 0 15px #fbbf24;
  }
}

.holder-balance {
  margin-bottom: 10px;
}

.balance-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  flex-wrap: wrap;
  gap: 10px;
}

.balance-amount {
  color: #d1d5db;
  font-size: 0.9rem;
}

.balance-percentage {
  color: #a855f7;
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(55, 65, 81, 0.8);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 15px;
}

.progress-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 1.5s ease-out;
  animation: modernProgressFill 1.5s ease-out;
}

/* Enhanced Progress Bar for Diamond Hands */
.progress-fill.diamond-progress {
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #ffffff, #fbbf24) !important;
  background-size: 200% 100%;
  animation: modernDiamondProgress 3s ease-in-out infinite;
}

@keyframes modernDiamondProgress {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes modernProgressFill {
  from { width: 0; }
}

/* Holder Badges Section */
.holder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verified-badge {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.diamond-badge-full {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #000;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.4);
  animation: diamondBadgeShine 3s ease-in-out infinite;
}

@keyframes diamondBadgeShine {
  0%, 100% { 
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.4);
  }
  50% { 
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.7), 0 0 20px rgba(251, 191, 36, 0.3);
  }
}

/* Footer */
.holder-board-footer {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 15px;
  margin-top: auto;
  flex-shrink: 0;
}

.holder-board-footer p {
  margin: 5px 0;
  color: #d1d5db;
}

.footer-subtitle {
  color: #fbbf24 !important;
  font-size: 0.9rem !important;
}

/* Your Holder Rank specific styles */
.your-rank-section {
  background: linear-gradient(45deg, #fbbf24, #f59e0b) !important;
  border: 2px solid #fbbf24 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  animation: glow 2s ease-in-out infinite alternate;
}

.your-rank-section i {
  color: #000 !important;
  text-shadow: none !important;
}

.your-rank-section span {
  color: #000 !important;
  font-weight: bold !important;
  text-shadow: none !important;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #fbbf24; }
  to { box-shadow: 0 0 20px #fbbf24, 0 0 30px #fbbf24; }
}

/* Mobile responsive adjustments for holder board */
@media (max-width: 768px) {
  /* Mobile adjustments */
  .address-code {
    min-width: 150px;
    max-width: 250px;
    font-size: 0.8rem;
  }
  
  .address-code.known-address {
    min-width: 180px;
    max-width: 280px;
  }
  
  .holder-name {
    font-size: 0.75rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  
  /* Default holder board styles */
  .holder-board-container {
    padding: 15px;
    height: 100%;
    min-height: auto;
    overflow-y: auto;
    aspect-ratio: inherit;
  }
  
  /* Specific adjustments for holder board page */
  body[data-page="holderboard"] .holder-board-container {
    padding: 12px;
    min-height: auto;
    max-height: none;
    display: block;
    overflow-y: auto;
  }
  
  body[data-page="holderboard"] .address-code {
    min-width: 120px;
    max-width: 200px;
    font-size: 0.7rem;
  }
  
  body[data-page="holderboard"] .holder-name {
    font-size: 0.65rem;
  }
  
  body[data-page="holderboard"] .holder-board-header {
    margin-bottom: 8px;
    flex-shrink: unset;
  }
  
  body[data-page="holderboard"] .holder-board-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  
  body[data-page="holderboard"] .token-info-section h2 {
    font-size: 1.2rem;
  }
  
  body[data-page="holderboard"] .token-info-section p,
  body[data-page="holderboard"] .token-info-section span {
    font-size: 0.9rem;
  }
  
  body[data-page="holderboard"] .holders-list {
    gap: 6px;
    margin-bottom: 8px;
    flex: unset;
    overflow-y: visible;
    display: block;
  }
  
  body[data-page="holderboard"] .holder-content {
    padding: 8px;
  }
  
  body[data-page="holderboard"] .holder-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
  }
  
  body[data-page="holderboard"] .rank-badge {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  body[data-page="holderboard"] .holder-percentage {
    font-size: 1rem;
  }
  
  body[data-page="holderboard"] .holder-value {
    font-size: 0.8rem;
  }
  
  body[data-page="holderboard"] .balance-amount,
  body[data-page="holderboard"] .balance-percentage {
    font-size: 0.8rem;
  }
  
  body[data-page="holderboard"] .progress-bar {
    height: 8px;
  }
  
  body[data-page="holderboard"] .holder-board-footer {
    padding: 8px;
    margin-top: 8px;
    flex-shrink: unset;
  }
  
  body[data-page="holderboard"] .holder-board-footer p {
    margin: 2px 0;
    font-size: 0.8rem;
  }
  
  body[data-page="holderboard"] .loading-container {
    padding: 20px 15px;
    flex: unset;
    display: block;
    text-align: center;
  }
  
  /* Hide some badges on mobile holderboard to save space */
  body[data-page="holderboard"] .known-name-badge,
  body[data-page="holderboard"] .diamond-hands-badge {
    display: none;
  }
  
  body[data-page="holderboard"] .holder-badges {
    display: none;
  }
  
  body[data-page="holderboard"] .diamond-badge {
    font-size: 0.6rem;
  }
  
  body[data-page="holderboard"] .diamond-status {
    font-size: 0.6rem;
  }
  
  body[data-page="holderboard"] .your-rank-section {
    padding: 10px 12px !important;
  }
  
  /* Non-holder board pages keep normal mobile styling */
  .holder-board-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .token-info-card {
    padding: 12px;
    margin-bottom: 12px;
    flex-direction: column;
    gap: 15px;
  }
  
  .holders-list {
    gap: 10px;
    margin-bottom: 15px;
    flex: 1;
    overflow-y: auto;
  }
  
  .holder-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .holder-rank-info {
    width: 100%;
  }
  
  .holder-stats {
    text-align: left;
    width: 100%;
  }
  
  .address-info {
    width: 100%;
  }
  
  .address-code {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
  }
  
  .balance-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .holder-content {
    padding: 12px;
  }
  
  .holder-board-footer {
    padding: 12px;
    flex-shrink: 0;
  }
  
  .loading-container {
    padding: 30px 15px;
    flex: 1;
  }
  
  .known-name-badge,
  .diamond-hands-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
    margin-left: 4px;
  }
  
  .diamond-badge {
    font-size: 0.7rem;
    top: -3px;
    right: -3px;
  }
  
  .holder-badges {
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  
  .diamond-status {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .holder-board-title {
    font-size: 1.3rem;
  }
  
  .holder-content {
    padding: 12px;
  }
  
  .rank-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .holder-percentage {
    font-size: 1.1rem;
  }
  
  .address-code {
    max-width: 150px;
  }
}

/* ============================================
   ENHANCED HOME PAGE SPECIFIC STYLES - RESPONSIVE
   ============================================ */

.hero-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  padding-top: 8vh;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .hero-container {
    padding-top: 6vh;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding-top: 120px !important; /* Increased from 80px */
    height: calc(100vh - 120px) !important;
    position: relative;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding-top: 70px;
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  pointer-events: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-content {
    max-width: 800px;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0.5rem;
  }
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-logo {
    margin-bottom: 1.5rem;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    margin-bottom: 1rem;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.1;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  color: #e5e7eb;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-subtitle {
    margin-bottom: 1rem;
  }
}

.hero-description {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 2.5rem;
  color: #9ca3af;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-description {
    margin-bottom: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-description {
    margin-bottom: 1.5rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    padding: 1rem;
    max-width: 400px;
    margin-bottom: 1.5rem;
  }
  
  .stat-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .stat-card:first-child {
    grid-column: auto;
  }
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .stat-card {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 0.5rem;
  }
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.3);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .stat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
}

.stat-number {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.25rem;
  font-family: 'Orbitron', monospace;
  transition: all 0.3s ease;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  color: #9ca3af;
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    gap: 0.5rem;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  min-height: 48px; /* Touch target */
  justify-content: center;
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    max-width: 250px;
  }
}

.btn-primary {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #000;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #fbbf24;
  border: 2px solid #fbbf24;
}

.btn-secondary:hover {
  background: rgba(251, 191, 36, 0.1);
  transform: translateY(-2px);
}

.features-showcase {
  position: fixed;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  z-index: 6;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .features-showcase {
    bottom: 2rem;
    width: 95%;
  }
}

@media (max-width: 768px) {
  .features-showcase {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
  }
}

.features-content {
  text-align: center;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Orbitron', monospace;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 1rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-item {
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .feature-item {
    padding: 1rem;
    border-radius: 12px;
  }
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

@media (max-width: 768px) {
  .feature-item h3 {
    font-size: 1rem;
  }
}

.feature-item p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .feature-item p {
    font-size: 0.85rem;
  }
}

/* ============================================
   ENHANCED RESPONSIVE CSS SYSTEM
   ============================================ */

/* Responsive utilities */
:root {
  --vh: 1vh;
  --vw: 1vw;
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus states for better accessibility */
button:focus,
a:focus,
.buy-link:focus,
.neon-button:focus,
.mobile-nav-button:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .countdown-container,
  .neon-button,
  .buy-link {
    border-width: 3px;
    box-shadow: none;
  }
  
  .gradient-bg {
    background: #000;
  }
  
  .particles {
    display: none;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }
  
  .countdown-container,
  .countdown-number,
  .countdown-separator {
    animation: none !important;
  }
  
  .particle {
    animation: none !important;
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* GPU acceleration for smooth animations */
.countdown-container,
.particle,
.buy-link,
.neon-button,
.feature-item,
.stat-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Optimize for touch devices */
@media (hover: none) and (pointer: coarse) {
  .buy-link:hover,
  .neon-button:hover,
  .social-icon:hover {
    transform: none; /* Disable hover transforms on touch devices */
  }
}

/* ============================================
   LANDSCAPE MOBILE OPTIMIZATION
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .hero-container {
    padding-top: 40px;
    height: auto;
    min-height: 100vh;
  }
  
  .countdown-container {
    max-height: 80vh;
    padding: 12px 20px;
  }
  
  .countdown-title {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }
  
  .countdown-number {
    font-size: 1.2rem;
  }
  
  .countdown-label {
    font-size: 0.5rem;
  }
  
  .countdown-date {
    font-size: 0.6rem;
  }
  
  .features-showcase {
    position: relative;
    margin-top: 1rem;
    padding: 0.5rem;
  }
  
  .mobile-buy-row {
    top: 5px;
  }
  
  .menu-toggle {
    top: 5px;
    right: 10px;
  }
}

/* ============================================
   VERY SMALL SCREENS (< 320px)
   ============================================ */

@media (max-width: 320px) {
  .hero-content {
    padding: 0.25rem;
  }
  
  .stats-grid {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .cta-buttons {
    gap: 0.25rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.625rem 0.75rem;
    font-size: 0.8rem;
    max-width: 200px;
  }
  
  .feature-item {
    padding: 0.75rem;
  }
  
  .mobile-buy-row {
    gap: 6px;
    padding: 0 5px;
  }
  
  .mobile-buy-row .buy-link {
    font-size: 0.7rem !important;
    padding: 6px 10px !important;
    min-width: 80px !important;
  }
}

/* ============================================
   FINAL RESPONSIVE POLISH
   ============================================ */

/* Ensure no horizontal scroll on any element */
* {
  max-width: 100%;
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Optimize font loading */
body {
  font-display: swap;
}

/* Touch action optimizations */
.mobile-buy-row,
.mobile-menu,
.countdown-container {
  touch-action: manipulation;
}

/* Safe area insets for modern mobile devices */
@supports (padding: max(0px)) {
  .mobile-header {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-top: env(safe-area-inset-top);
  }
  
  .mobile-buy-row {
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  .mobile-menu {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Modern scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

/* Loading animations */
.loading {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile-specific loading states */
@media (max-width: 768px) {
  .stat-number.loading {
    opacity: 0.7;
    animation: pulse 1.5s infinite;
  }
  
  .stat-number.error {
    color: #ef4444 !important;
    font-size: 14px;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
}

/* Enhanced glassmorphism effects */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

/* Modern card hover effects */
.modern-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
  transition: left 0.5s ease;
}

.modern-card:hover::before {
  left: 100%;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

/* Pulse animation utility */
.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* Modern gradient text utility */
.gradient-text {
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 4s ease infinite;
}

@keyframes textGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced modern button styles */
.modern-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: 12px;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Utilities for responsive design */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
}

/* Modern spacing utilities */
.spacing-xs { margin: 0.25rem; }
.spacing-sm { margin: 0.5rem; }
.spacing-md { margin: 1rem; }
.spacing-lg { margin: 1.5rem; }
.spacing-xl { margin: 2rem; }

.padding-xs { padding: 0.25rem; }
.padding-sm { padding: 0.5rem; }
.padding-md { padding: 1rem; }
.padding-lg { padding: 1.5rem; }
.padding-xl { padding: 2rem; }

/* Modern text utilities */
.text-glow {
  text-shadow: 0 0 10px #fbbf24;
}

.text-glow-strong {
  text-shadow: 0 0 15px #fbbf24, 0 0 25px #fbbf24;
}

/* Modern border utilities */
.border-glow {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.border-glow-strong {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
}

/* Final mobile polish */
@media (max-width: 480px) and (orientation: portrait) {
  .countdown-container {
    padding: 15px 20px !important;
    border-radius: 12px !important;
  }
  
  .feature-video-layer {
    width: 98% !important;
    height: 40vh !important;
  }
}

/* Ensure all transitions are smooth */
* {
  transition-property: transform, opacity, box-shadow, border-color, background, color;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BONKBOY LOGO CONTAINER STYLES
   ============================================ */

.bonkboy-logo-container {
  position: fixed;
  top: 25px;
  left: 25px;
  z-index: 1000;
  pointer-events: auto;
}

.bonkboy-logo-link {
  display: block;
  position: relative;
  width: 120px; /* ✨ Much larger default */
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 4px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
  cursor: pointer;
}

.bonkboy-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.logo-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: rotateBorder 3s linear infinite;
}

/* Enhanced Hover Effects */
.bonkboy-logo-link:hover {
  transform: scale(1.1);
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 15px 60px rgba(251, 191, 36, 0.5);
}

.bonkboy-logo-link:hover .logo-glow {
  opacity: 1;
}

.bonkboy-logo-link:hover .bonkboy-logo {
  transform: scale(1.05);
}

/* Rotating border animation */
@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🔧 RESPONSIVE BREAKPOINTS - PROMINENT SIZES */

/* ✨ EXTRA LARGE DESKTOP (1920px+) */
@media (min-width: 1600px) {
  .bonkboy-logo-container {
    top: 40px;
    left: 40px;
  }
  .bonkboy-logo-link {
    width: 200px !important;
    height: 200px !important;
    border-width: 5px;
  }
}

/* ✨ LARGE DESKTOP (1200-1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .bonkboy-logo-container {
    top: 35px;
    left: 35px;
  }
  .bonkboy-logo-link {
    width: 170px !important;
    height: 170px !important;
    border-width: 5px;
  }
}

/* ✨ MEDIUM DESKTOP (992-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .bonkboy-logo-container {
    top: 30px;
    left: 30px;
  }
  .bonkboy-logo-link {
    width: 150px !important;
    height: 150px !important;
    border-width: 4px;
  }
}

/* ✨ TABLET LANDSCAPE (768-991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .bonkboy-logo-container {
    top: 25px;
    left: 25px;
  }
  .bonkboy-logo-link {
    width: 130px;
    height: 130px;
    border-width: 4px;
  }
  .demo-nav-right {
    top: 15px;
    right: 15px;
  }
  .demo-nav-right button {
    min-width: 140px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ✨ TABLET PORTRAIT & LARGE MOBILE (576-767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .bonkboy-logo-container {
    top: 20px;
    left: 20px;
  }
  .bonkboy-logo-link {
    width: 110px;
    height: 110px;
    border-width: 3px;
  }
  .demo-nav-right {
    top: 20px;
    right: 15px;
  }
  .demo-nav-right button {
    min-width: 120px;
    padding: 8px 14px;
    font-size: 12px;
  }
  .main-title {
    font-size: 2.5rem;
  }
}

/* ✨ STANDARD MOBILE (375-575px) */
@media (min-width: 375px) and (max-width: 575px) {
  .bonkboy-logo-container {
    top: 15px;
    left: 15px;
  }
  .bonkboy-logo-link {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  .demo-nav-right {
    top: 15px;
    right: 10px;
    gap: 8px;
  }
  .demo-nav-right button {
    min-width: 100px;
    padding: 8px 12px;
    font-size: 11px;
  }
  .demo-nav-left {
    top: 140px;
    left: 10px;
  }
  .demo-nav-left button {
    min-width: 140px;
    padding: 10px 16px;
    font-size: 12px;
  }
  .main-title {
    font-size: 2rem;
  }
}

/* ✨ SMALL MOBILE (320-374px) */
@media (max-width: 374px) {
  .bonkboy-logo-container {
    top: 12px;
    left: 12px;
  }
  .bonkboy-logo-link {
    width: 90px;
    height: 90px;
    border-width: 3px;
  }
  .demo-nav-right {
    top: 12px;
    right: 8px;
    gap: 6px;
  }
  .demo-nav-right button {
    min-width: 80px;
    padding: 6px 10px;
    font-size: 10px;
  }
  .demo-nav-left {
    top: 120px;
    left: 8px;
  }
  .demo-nav-left button {
    min-width: 120px;
    padding: 8px 14px;
    font-size: 11px;
  }
  .main-title {
    font-size: 1.8rem;
  }
}

/* 🔧 PULSE ANIMATION */
.bonkboy-logo-link.pulse {
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.6);
  }
}