/* General Styles */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #FFD700, #FF007F);
  color: #000;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 1.2rem;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"%3E%3Ccircle cx="100" cy="100" r="2" fill="%23fff"/%3E%3Ccircle cx="200" cy="200" r="3" fill="%23fff"/%3E%3Ccircle cx="300" cy="50" r="2" fill="%23fff"/%3E%3Ccircle cx="400" cy="300" r="4" fill="%23fff"/%3E%3Ccircle cx="600" cy="150" r="3" fill="%23fff"/%3E%3Ccircle cx="700" cy="400" r="2" fill="%23fff"/%3E%3C/svg%3E') repeat;
  animation: twinkle 2s infinite;
}

.earth {
  font-size: 4rem;
  color: #00FF00;
  position: absolute;
  bottom: 5%;
  text-shadow: 0 0 10px #00FF00;
  animation: pulseEarth 1.5s ease-in-out infinite;
}

.moon {
  font-size: 4rem;
  color: #FFD700;
  position: absolute;
  top: 10%;
  opacity: 0;
  animation: fadeInMoon 1s ease-in 0.5s forwards;
  text-shadow: 0 0 10px #FFD700;
}

.rocket {
  font-size: 3rem;
  position: absolute;
  bottom: 15%;
  animation: launchRocket 1.5s ease-out forwards;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #FFD700;
}

.note {
  font-size: 1.5rem;
  color: #00FFFF;
  position: absolute;
  top: 10%;
  opacity: 0;
  animation: fallNote 1.5s ease-in var(--note-delay) forwards;
  text-shadow: 0 0 5px #FF007F;
  transform: translateX(var(--note-offset));
}

.loading-text {
  font-size: 1.3rem;
  color: #00FFFF;
  text-shadow: 0 0 5px #FF007F;
  animation: pulseText 1s ease-in-out infinite;
  margin-top: 20px;
}

/* Preloader Animations */
@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

@keyframes pulseEarth {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes fadeInMoon {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes launchRocket {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-40vh) rotate(5deg); }
  100% { transform: translateY(-80vh) rotate(-5deg); opacity: 0; }
}

@keyframes fallNote {
  0% { opacity: 0; transform: translateY(0) translateX(var(--note-offset)); }
  10% { opacity: 1; }
  100% { opacity: 0.5; transform: translateY(80vh) translateX(calc(var(--note-offset) + 20px)) rotate(360deg); }
}

@keyframes pulseText {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Main Content Styles */
#main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#main-content.visible {
  opacity: 1;
  visibility: visible;
}

/* Blood Drip Effect for "Revenge of the Degens" */
.hero-content h2 {
  position: relative;
  display: inline-block;
  font-size: 3.5rem;
  margin: 0;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #FF007F;
}

.hero-content h2 span {
  position: relative;
  display: inline-block;
  color: #FF0000;
  text-shadow: 0 0 5px #FF0000;
}

.hero-content h2 span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 4px;
  height: 20px;
  background: #FF0000;
  border-radius: 2px;
  animation: dripBlood 2s ease-in-out infinite;
  animation-delay: calc(var(--char-index) * 0.1s);
}

@keyframes dripBlood {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(30px); opacity: 0.7; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* Falling Blood Drops */
.hero-content h2 span:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: #FF0000;
  border-radius: 50%;
  animation: fallDrop 3s linear infinite;
  animation-delay: calc(var(--char-index) * 0.15s);
}

@keyframes fallDrop {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(150px); opacity: 0; }
}

/* Shiba Inu Animation */
.shiba-inu {
  display: inline-block;
  width: 50px;
  height: 40px;
  position: relative;
  margin-left: 5px;
  animation: walkShiba 6s linear infinite;
}

.shiba-inu svg {
  width: 100%;
  height: 100%;
}

@keyframes walkShiba {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(100vw); }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social-icons {
  display: flex;
  gap: 10px;
}

.header-social-icons i {
  font-size: 1.5rem;
  color: #000;
  transition: transform 0.2s, color 0.2s;
  text-shadow: 0 0 5px #00FFFF;
}

.header-social-icons i:hover, .header-social-icons i:focus {
  transform: scale(1.2);
  color: #00FFFF;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #FF007F;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a.nav-link {
  text-decoration: none;
  color: #00FFFF;
  font-weight: bold;
  transition: color 0.2s, text-shadow 0.2s, background 0.2s;
  text-shadow: 0 0 5px #00FFFF;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 127, 0.2));
  border-radius: 5px;
  font-size: 1.2rem;
}

nav a.nav-link:hover, nav a.nav-link:focus, nav a[aria-current="page"] {
  color: #FF007F;
  text-shadow: 0 0 8px #FF007F, 0 0 12px #FFD700;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.4), rgba(255, 215, 0, 0.4));
}

.cta-button {
  background-color: #FF4500;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.6rem;
  transition: transform 0.2s;
  display: inline-block;
}

.cta-button:hover, .cta-button:focus {
  transform: scale(1.05);
  outline: 2px solid #FF4500;
  outline-offset: 2px;
}

.glowing {
  box-shadow: 0 0 8px #FF4500, 0 0 15px #FFD700;
  animation: glow-orange 1.5s ease-in-out infinite alternate;
}

@keyframes glow-orange {
  0% { box-shadow: 0 0 8px #FF4500, 0 0 15px #FFD700; }
  100% { box-shadow: 0 0 15px #FF4500, 0 0 25px #FFD700; }
}

/* Degen Points Tracker */
.degen-points {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 5px;
  color: #00FFFF;
  text-shadow: 0 0 3px #FF007F;
  z-index: 1001;
  font-size: 0.9rem;
  min-width: 80px;
  white-space: nowrap;
}

#points-counter {
  font-weight: bold;
}

/* Parallax Hero Section with Starry Background */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  text-align: center;
  position: relative;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23FFD700" fill-opacity="0.3" d="M0,64L1440,256L1440,0L0,0Z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
  background-size: cover;
  min-height: 600px;
  overflow: hidden;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
}

.starry-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"%3E%3Ccircle cx="100" cy="100" r="2" fill="%23fff"/%3E%3Ccircle cx="200" cy="200" r="3" fill="%23fff"/%3E%3Ccircle cx="300" cy="50" r="2" fill="%23fff"/%3E%3Ccircle cx="400" cy="300" r="4" fill="%23fff"/%3E%3Ccircle cx="600" cy="150" r="3" fill="%23fff"/%3E%3Ccircle cx="700" cy="400" r="2" fill="%23fff"/%3E%3C/svg%3E') repeat;
  animation: twinkle 5s infinite;
  z-index: -1;
}

.hero-content p {
  font-size: 1.6rem;
  margin: 10px 0;
  text-shadow: 0 0 5px #FF007F;
}

/* $REVGE Clock Styling */
.revge-clock {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
}

.clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 5px solid ##FF69B4;
  border-radius: 50%;
  box-shadow: 0 0 20px #00FFFF, 0 0 40px #FF007F;
}

.clock-brand {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  text-shadow: 0 0 5px #FFD700;
  letter-spacing: 2px;
  z-index: 10;
}

.meme-word {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 0 8px #FF007F, 0 0 12px #FF00FF;
  opacity: 0;
  animation: fadeInOut 3s infinite;
  z-index: 10;
  white-space: nowrap;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) scale(0.8); }
  20% { opacity: 1; transform: translateX(-50%) scale(1); }
  80% { opacity: 1; transform: translateX(-50%) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.8); }
}

.digital-time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 0 0 5px #39FF14;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 10;
  white-space: nowrap;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom;
  border-radius: 2px;
}

.hour-hand {
  width: 6px;
  height: 80px;
  background: #00B7EB;
  box-shadow: 0 0 10px #FFD700;
}

.minute-hand {
  width: 4px;
  height: 100px;
  background: #00FFFF;
  box-shadow: 0 0 10px #00FFFF;
}

.second-hand {
  width: 2px;
  height: 120px;
  background: #FF007F;
  box-shadow: 0 0 10px #FF007F;
}

.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #FFD700;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #FFD700;
}

section {
  padding: 50px;
  text-align: center;
  position: relative;
}

/* About Section Image Styling */
.animation img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 2px solid #00FFFF;
  border-radius: 8px;
  box-shadow: 0 0 10px #00FFFF;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.animation img:hover {
  transform: scale(1.05);
}

/* Meme Story Section */
.comic-slideshow {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.comic-image {
  width: 100%;
  max-width: 400px;
  min-width: 300px;
  height: auto;
  object-fit: contain;
  border: 2px solid #00FFFF;
  border-radius: 8px;
  box-shadow: 0 0 10px #00FFFF;
  transition: transform 0.3s ease;
}

.comic-image:hover {
  transform: scale(1.05);
}

/* X Video Carousel */
#x-videos {
  background: linear-gradient(135deg, #FFD700, #FF007F);
  padding: 50px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.x-video-carousel {
  position: relative;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
}

.x-carousel-container {
  position: relative;
}

.x-carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.x-carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.x-carousel-slide:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px #00FFFF, 0 0 25px #FF007F;
}

.x-carousel-slide blockquote.twitter-tweet {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  border: 2px solid #00FFFF;
  border-radius: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.x-carousel-prev, .x-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
}

.x-carousel-prev:hover, .x-carousel-next:hover {
  background-color: #00FFFF;
  color: #000;
}

.x-carousel-prev {
  left: 10px;
}

.x-carousel-next {
  right: 10px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000;
  text-shadow: 0 0 5px #00FFFF;
}

footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 0, 127, 0.8));
  color: #fff;
  position: relative;
  z-index: 900;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
  font-size: 1.2rem;
}

footer a:hover, footer a:focus {
  color: #00FFFF;
  text-shadow: 0 0 5px #00FFFF;
}

.social-icons i {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 15px;
  transition: transform 0.2s, color 0.2s;
  text-shadow: 0 0 5px #00FFFF;
}

.social-icons i:hover, .social-icons i:focus {
  transform: scale(1.2);
  color: #00FFFF;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #FF007F;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Section Transitions */
.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HODL Meter */
#hodl-meter {
  background: linear-gradient(135deg, #FFD700, #FF007F);
  padding: 30px;
  border-radius: 10px;
}

.progress-bar {
  width: 100%;
  max-width: 600px;
  height: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px auto;
  border: 2px solid #00FFFF;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00FFFF, #FF007F);
  transition: width 2s ease-in-out;
}

#hodl-status {
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 0 5px #FF007F;
}

/* Contract Address Box */
.contract-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.contract-box input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 255px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: #000;
  font-size: 1.2rem;
}

.contract-box button {
  padding: 10px 15px;
  background-color: #FFFF00;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 0 10px #FFFF00, 0 0 10px #FF007F;
  font-size: 1.2rem;
}

.contract-box button:hover, .contract-box button:focus {
  transform: scale(1.05);
  outline: 2px solid #FFFF00;
  box-shadow: 0 0 20px #FFFF00, 0 0 20px #FF007F;
}

/* Marketing Promotion Section */
#promotion {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 10px;
}

.promotion-tips {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
}

.tip {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  transition: transform 0.2s;
}

.tip:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #00FFFF;
}

.tip h3 {
  margin: 0 0 10px 0;
  color: #000;
  font-size: 1.5rem;
}

.tip p {
  margin: 0;
  font-size: 1.2rem;
}

/* FAQ Section */
#faq {
  background: linear-gradient(135deg, #FFD700, #FF007F);
  padding: 50px;
  border-radius: 10px;
}

.faq-item {
  margin: 20px 0;
  border-bottom: 1px solid #fff;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  color: #000;
}

.question h3 {
  margin: 0;
  color: #000;
  font-size: 1.5rem;
}

.question span {
  font-size: 1.5rem;
  color: #000;
}

.answer {
  display: none;
  padding: 10px 0;
  color: #000;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.answer.active {
  display: block;
}

.answer p {
  font-size: 1.2rem;
}

.answer a {
  color: #00FFFF;
  text-decoration: none;
  font-size: 1.2rem;
}

.answer a:hover, .answer a:focus {
  text-decoration: underline;
}

/* Meme Carousel */
.meme-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-container {
  position: relative;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-slide img {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: #00FFFF;
  color: #000;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Buy $REVGE Section */
#buy {
  background: linear-gradient(135deg, #FFD700, #FF007F);
  padding: 50px;
  border-radius: 10px;
}

.buy-steps {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
  list-style-position: inside;
  color: #000;
  text-shadow: 0 0 5px #00FFFF;
}

.buy-steps li {
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.buy-steps li:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #00FFFF, 0 0 15px #FF007F;
}

/* Rocket Container */
#rocket-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* Rocket Animation */
.rocket {
  position: absolute;
  bottom: -50px;
  font-size: 2rem;
  animation: fly linear infinite;
  transform-origin: center;
  color: #00FFFF;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #FFD700;
}

@keyframes fly {
  0% { transform: translateY(0) rotate(-45deg) scale(0.8); opacity: 1; }
  50% { transform: translateY(-50%) translateX(20px) rotate(-30deg) scale(1.2); opacity: 0.8; }
  100% { transform: translateY(-2000px) translateX(-20px) rotate(-45deg) scale(0.8); opacity: 0; }
}

/* Randomize Rocket Positions and Durations */
.rocket:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; font-size: 1.5rem; }
.rocket:nth-child(2) { left: 30%; animation-duration: 9s; animation-delay: 2s; font-size: 2rem; }
.rocket:nth-child(3) { left: 50%; animation-duration: 11s; animation-delay: 4s; font-size: 1.8rem; }
.rocket:nth-child(4) { left: 70%; animation-duration: 8s; animation-delay: 1s; font-size: 2.2rem; }
.rocket:nth-child(5) { left: 90%; animation-duration: 12s; animation-delay: 3s; font-size: 1.7rem; }

/* Financial Disclaimer */
#disclaimer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 0, 127, 0.8));
  color: #fff;
  position: relative;
  z-index: 900;
}

#disclaimer p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.8;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
  height: 24px;
  justify-content: center;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #00FFFF;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .header-right {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
  }

  .header-social-icons {
    gap: 8px;
  }

  .header-social-icons i {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px; /* Reduced to minimize top space */
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #FFD700, #FF4500);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
  }

  nav.active {
    height: auto; /* Fit content */
    max-height: 400px; /* Limit max height */
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0; /* Minimal top padding */
    margin: 0;
    justify-content: flex-start; /* Align items at top */
    gap: 0;
  }

  nav ul li {
    margin-bottom: 2px; /* Subtle spacing */
    padding: 0;
    width: 90%; /* Slightly narrower for aesthetics */
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2); /* Segmented look */
  }

  nav a.nav-link {
    color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
    font-size: 1rem;
    display: block;
    padding: 6px 12px; /* Balanced padding */
    line-height: 1.2; /* Prevent text gaps */
    margin: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 127, 0.2));
    border-radius: 4px;
    transition: color 0.2s, text-shadow 0.2s, background 0.2s, box-shadow 0.2s;
  }

  nav a.nav-link:hover, nav a.nav-link:focus, nav a[aria-current="page"] {
    color: #FF007F;
    text-shadow: 0 0 8px #FF007F, 0 0 12px #FFD700;
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.6), rgba(255, 215, 0, 0.6));
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.5); /* Hover glow */
  }

  .cta-button {
    font-size: 0.9rem; /* Match nav-link */
    padding: 6px 12px; /* Match nav-link */
    line-height: 1.2; /* Consistent */
    margin: 0;
    background-color: #FF4500;
    color: #000;
    border: 2px solid #FFD700; /* Distinct CTA border */
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 0 8px #FF4500; /* Subtle glow */
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .cta-button:hover, .cta-button:focus {
    transform: scale(1.05);
    box-shadow: 0 0 12px #FFD700; /* Enhanced hover glow */
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #FF007F;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #FF007F;
  }

  .hero {
    flex-direction: column;
    padding: 20px;
    min-height: 300px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content h2 span {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }

  .revge-clock {
    width: 200px;
    height: 200px;
  }

  .clock-brand {
    font-size: 1.3rem;
    top: 85%;
  }

  .meme-word {
    font-size: 1.2rem;
    top: 15%;
  }

  .digital-time {
    font-size: 1rem;
    padding: 4px 8px;
  }

  .hour-hand {
    height: 60px;
  }

  .minute-hand {
    height: 80px;
  }

  .second-hand {
    height: 80px;
  }

  .center-dot {
    width: 8px;
    height: 8px;
  }

  .shiba-inu {
    width: 40px;
    height: 30px;
  }

  .earth {
    font-size: 3rem;
  }

  .moon {
    font-size: 3rem;
  }

  .rocket {
    font-size: 2.5rem;
  }

  .note {
    font-size: 1.3rem;
  }

  .loading-text {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .contract-box input {
    width: 200px;
    font-size: 1.1rem;
  }

  .contract-box button {
    font-size: 1.1rem;
  }

  .promotion-tips {
    flex-direction: column;
  }

  .tip {
    margin-bottom: 20px;
  }

  .tip p {
    font-size: 1.1rem;
  }

  .question h3 {
    font-size: 1.5rem;
  }

  .answer p {
    font-size: 1.1rem;
  }

  .answer a {
    font-size: 1.1rem;
  }

  .social-icons i {
    font-size: 1.3rem;
  }

  .meme-carousel {
    max-width: 100%;
  }

  .x-video-carousel {
    max-width: 100%;
  }

  .x-carousel-slide blockquote.twitter-tweet {
    max-width: 90%;
  }

  .degen-points {
    bottom: 8px;
    left: 8px;
    font-size: 0.8rem;
    padding: 3px 6px;
    min-width: 70px;
  }

  .comic-image {
    max-width: 90vw;
    min-width: 250px;
    max-height: 300px;
  }

  .carousel-slide img {
    max-width: 100%;
  }

  .buy-steps li {
    font-size: 1.1rem;
  }

  #hodl-status {
    font-size: 1.2rem;
  }

  footer a {
    font-size: 1.1rem;
  }

  #disclaimer p {
    font-size: 1rem;
  }

  .animation img {
    max-width: 200px;
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  nav {
    top: 60px; /* Further reduced for smaller screens */
  }

  nav.active {
    height: auto;
    max-height: 350px;
  }

  nav ul {
    padding: 8px 0; /* Slightly less padding */
    gap: 0;
  }

  nav ul li {
    margin-bottom: 2px;
    width: 95%; /* Slightly wider */
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  }

  nav a.nav-link {
    font-size: 0.9rem;
    padding: 6px 12px;
    line-height: 1.2;
    margin: 0;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 6px 12px;
    line-height: 1.2;
    margin: 0;
    border: 2px solid #FFD700;
    box-shadow: 0 0 8px #FF4500;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content h2 span {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .revge-clock {
    width: 150px;
    height: 150px;
  }

  .clock-brand {
    font-size: 1rem;
    top: 85%;
  }

  .meme-word {
    font-size: 1rem;
    top: 15%;
  }

  .digital-time {
    font-size: 0.8rem;
    padding: 3px 6px;
  }

  .hour-hand {
    height: 50px;
  }

  .minute-hand {
    height: 70px;
  }

  .second-hand {
    height: 80px;
  }

  .center-dot {
    width: 6px;
    height: 6px;
  }

  .shiba-inu {
    width: 30px;
    height: 20px;
  }

  .earth {
    font-size: 2.5rem;
  }

  .moon {
    font-size: 2.5rem;
  }

  .rocket {
    font-size: 2rem;
  }

  .note {
    font-size: 1.2rem;
  }

  .loading-text {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .contract-box input {
    width: 150px;
    font-size: 1rem;
  }

  .contract-box button {
    font-size: 1rem;
  }

  .header-social-icons i {
    font-size: 1.2rem;
  }

  .social-icons i {
    font-size: 1.2rem;
  }

  .degen-points {
    bottom: 6px;
    left: 6px;
    font-size: 0.7rem;
    padding: 2px 5px;
    min-width: 60px;
  }

  .tip p {
    font-size: 1rem;
  }

  .answer p {
    font-size: 1rem;
  }

  .answer a {
    font-size: 1rem;
  }

  .comic-image {
    max-width: 80vw;
    min-width: 200px;
    max-height: 250px;
  }

  .carousel-slide img {
    max-width: 100%;
  }

  .buy-steps li {
    font-size: 1rem;
  }

  .x-carousel-slide blockquote.twitter-tweet {
    max-width: 100%;
  }

  #hodl-status {
    font-size: 1.1rem;
  }

  footer a {
    font-size: 1rem;
  }

  #disclaimer p {
    font-size: 0.9rem;
  }

  .animation img {
    max-width: 150px;
    max-height: 150px;
  }
}

/* Override to ensure no gaps in mobile menu */
@media (max-width: 768px) {
  nav#nav-menu ul {
    padding: 10px 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  nav#nav-menu ul li {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
  }
  nav#nav-menu a.nav-link, nav#nav-menu .cta-button {
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}
@media (max-width: 480px) {
  nav#nav-menu ul {
    padding: 8px 0 !important;
    gap: 0 !important;
  }
  nav#nav-menu ul li {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
  }
  nav#nav-menu a.nav-link, nav#nav-menu .cta-button {
    padding: 6px 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
  }
}