/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body, html {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: #000
}

a {
  color: #4abdd2;
}

hr {
  width: 100%;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
}

/* Terms Section Styling */
.terms-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #000; /* Black background to match main site */
  color: #fff; /* Ensure text is white */
  font-family: 'Poppins', sans-serif;
  height: max-content;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-content h1 {
  font-size: 75px;
  font-weight: 700;
  color: #fff; /* Explicitly white */
  margin-bottom: 20px;
}

.terms-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: #fff; /* Explicitly white */
  margin: 20px 0 10px;
}

.terms-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff; /* Explicitly white */
  margin: 10px 0;
}

.terms-content p a {
  color: #1e90ff; /* Match link color from main site */
  text-decoration: none;
}

.terms-content p a:hover {
  text-decoration: underline;
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 30px;
  width: auto;
  vertical-align: middle;
}

/* Logo hover effect */
.navbar .logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.1); /* Slight pop */
  filter: drop-shadow(0 0 5px #4abdd2); /* Neon glow */
}

/* Loading prompt overlay */
#loading-prompt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  transition: opacity 0.5s ease;
}

#loading-prompt p {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #4abdd2;
  text-shadow: 0 0 5px rgba(74, 189, 210, 0.5);
}

/* Audio prompt overlay */
#audio-prompt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.5s ease; /* Fade out effect */
}

#audio-prompt.hidden {
  opacity: 0;
  pointer-events: none; /* Disable clicks when hidden */
}

/* Image carousel */
.image-carousel {
  display: inline-block;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
  padding-top: 3em;
}

.carousel-track {
  display: flex;
  width: var(--track-width, auto); /* Set by JavaScript */
  height: auto;
  animation: carousel-scroll 20s linear infinite; /* Increased duration for smoothness */
}

.carousel-img {
  flex: 0 0 auto;
  height: 320px;
  width: auto;
  object-fit: cover; /* Ensure images scale properly */
  margin-right: 36px;
  border-radius: 10px;
}

.carousel-text {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: 12;
  font-weight: 50;
  justify-content: center;
  align-items: center;
  width: 75%;
  z-index: 3000;
}

.nfts-section {
  display: inline-block;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
  padding-top: 4em;
  padding-bottom: 2em;
}

.nfts-text {
  display: flex;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 75px;
  font-weight: bolder;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nfts-gif {
  height: 420px;
  border-radius: 10px;
  border: 3px solid #4abdd2;
  box-shadow: 0 0 15px 15px #4abed27a;
  
}

.footer {
  display: inline-block;
  width: 100%;
  height: max-content;
  overflow: hidden;
  background: #000000;
  padding-top: 0em;
  padding-bottom: 0em;
}

.footer-text {
  display: flex;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: light;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 0.5em;
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--translate-width)); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nfts-text {
    display: flex;
    color: white;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    justify-content: center; /* Center horizontally */
    align-items: center;
    font-size: 65px;
    font-weight: bold;
  }

  .nfts-gif {
    height: 375px;
    border-radius: 7px;
    justify-content: center; /* Center horizontally */
    align-items: center;
    border: 3px solid #4abdd2;
    box-shadow: 0 0 15px 15px #4abed27a;
  }
  
}

@media (max-width: 480px) {
  .nfts-text {
    display: inline-flex;
    color: white;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    justify-content: center; /* Center horizontally */
    align-items: center;
    font-size: 55px;
    font-weight: bold;
  }
  .nfts-gif {
    height: 322px;
    border-radius: 7px;
    justify-content: center; /* Center horizontally */
    align-items: center;
    border: 3px solid #4abdd2;
    box-shadow: 0 0 15px 15px #4abed27a;
  }
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .image-carousel {
    height: 140px; /* Matches smaller images */
    padding: 2em 0 0;
  }

  .carousel-img {
    height: 130px;
    width: auto; /* Let images scale naturally */
    margin-right: 20px; /* Matches JavaScript margin */
    object-fit: cover;
    border-radius: 8px; /* Slightly smaller radius for mobile */
  }

  .carousel-track {
    animation: carousel-scroll 20s linear infinite; /* Shorter duration for mobile */
  }
}

@media (max-width: 480px) {
  .image-carousel {
    height: auto; /* Matches smaller screens */
    padding: 2em 0 0;
  }

  .carousel-img {
    height: 115px;
    width: auto;
    margin-right: 15px; /* Matches JavaScript margin */
    object-fit: cover;
    border-radius: 6px; /* Even smaller radius */
  }

  .carousel-track {
    animation: carousel-scroll 22s linear infinite; /* Faster for smaller screens */
  }
}

.carousel-text {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .carousel-text {
    font-size: 1rem;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .carousel-text {
    font-size: 0.9rem;
    padding: 10px;
  }
}


/* Switch container */
.switch-container {
  text-align: center;
  color: #fff;
}

.switch-container label {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
  display: block;
}

/* GIF switch */
.switch-gif {
  width: 480px; /* Adjust based on your GIF size */
  height: auto;
  opacity: 85%;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.switch-gif:hover {
  opacity: 100%;
}

/* Navbar audio toggle (unchanged, just ensuring visibility) */
.audio-toggle {
  display: none; /* Still hidden until switch is flipped */
  align-items: center;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.3s ease, filter 0.3s ease; /* Match logo transition */
}

.audio-toggle:hover {
  transform: scale(1.3); /* Slight pop, same as logo */
  filter: drop-shadow(0 0 5px #4abdd2); /* Neon glow, same as logo */
}

#audio-icon {
  font-size: 20px;
  transition: color 0.3s ease; /* Existing color transition for mute/unmute */
}

#audio-icon.muted {
  color: #888;
}

/* Ensure the hero section works with the gallery */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Ticker container */
.ticker {
  display: none; /* Hidden until audio starts, like .audio-toggle */
  overflow: hidden; /* Hide overflow for scrolling */
  white-space: nowrap; /* Keep text in one line */
  max-width: 200px; /* Limit width, adjust as needed */
  height: 20px; /* Match audio icon height */
  margin-left: 10px; /* Space from audio icon */
  align-items: center;
}

/* Ticker text */
.ticker-text {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000000;
  animation: ticker-scroll 10s linear infinite; /* Smooth scroll */
}


/* Scroll animation */
@keyframes ticker-scroll {
  0% {
    transform: translateX(100%); /* Start off-screen right */
  }
  100% {
    transform: translateX(-100%); /* Move off-screen left */
  }
}

/* Show ticker when audio is active */
.audio-toggle[style*="display: flex"] + .ticker {
  display: flex; /* Show when audio-toggle is visible */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .ticker {
    max-width: 250px; /* Smaller on mobile */
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .ticker {
    max-width: 150px; /* Even smaller on tiny screens */
    font-size: 10px;
  }
}

/* Menu toggle */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Nav links */
.navbar .nav-links {
  display: flex;
  list-style: none;
  align-items: center; /* Center items vertically on desktop */
}

.navbar .nav-links li {
  margin: 0 20px;
}

.navbar .nav-links a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.navbar .nav-links a:hover {
  color: #4abdd2;
}

/* Social buttons container */
.social-buttons {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  width: 100%; /* Ensure it spans the full width */
  margin: 20px 0; /* Add some vertical spacing */
}

/* General nav button styling */
.nav-btn {
  background-color: #4abdd2;
  color: #000000;
  padding: 5px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  text-decoration: none;
  border: 1px;
  border-color: #4abdd2;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
  border: 3px;
  border-color: #4abdd2;
  background-color: #fff;
  color: #4abdd2;
}

/* Specific X button styling */
.x-btn {
  display: flex;
  align-items: center;
  gap: 9px; /* Space between text and logo */
}

.x-logo {
  height: 18px;
  width: auto;
}

/* Specific TG button styling */
.telegram-btn {
  display: flex;
  align-items: center;
  gap: 9px; /* Space between text and logo */
}

.tg-logo {
  height: 24px;
  width: auto;
}

/* Section styling */
section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 60px;
}

/* Background */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Video background */
.bg-video {
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Image background */
.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Content */
.content {
  position: absolute;
  bottom: 0px;
  color: #fff;
  text-align: center;
  z-index: 1;
}

.inline-content {
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0px;
}

.custom-btn {
  background-color: #4abdd2;
  color: #000000;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.custom-btn:hover {
  background-color: #ffffff;
  color: #000;
}

/* Specific to #home */
#home {
  border-bottom: 4px solid #fff; /* 4px thick white line */
}

#home .content {
  bottom: 0; /* Align to bottom */
  padding: 0; /* Remove any padding */
  margin: 0; /* Remove any margin */
}

#home .inline-content {
  width: 100%;
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
}

#home .inline-content h1 {
  font-size: 3rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(74, 189, 210, 0.5);
  margin: 0; /* No margin */
  padding: 0; /* No padding */
  line-height: 0.69; /* Remove extra height from text */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #home .inline-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  #home .inline-content h1 {
    font-size: 1.5rem;
  }
}


/* Image button */
.image-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.image-button .hover {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.image-button:hover .normal {
  display: none;
}

.image-button:hover .hover {
  display: block;
}

/* Headings */
h1, h2 {
  font-size: 3rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .navbar {
    height: 50px;
    padding: 10px 20px;
    justify-content: space-between;
    z-index: 1000;
  }

  .menu-toggle {
    display: block;
    line-height: 50px;
  }

  .navbar .logo img {
    height: 25px;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: calc(100vh - 50px);
    position: fixed;
    top: 50px;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    margin: 0;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .navbar .nav-links li {
    margin: 20px 0;
  }

  /* Adjust social buttons in dropdown */
  .navbar .nav-links .social-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically in dropdown */
    gap: 15px; /* More space for mobile */
    margin: 20px 0; /* Consistent spacing */
  }

  #memes .social-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically in dropdown */
    gap: 5px; /* More space for mobile */
  }

  .navbar .nav-links a {
    font-size: 20px;
  }

  .nav-btn {
    font-size: 16px; /* Slightly larger for mobile readability */
    padding: 8px 15px; /* Slightly larger padding */
  }

  .inline-content {
    flex-direction: column;
    gap: 10px;
  }

  .custom-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  h1, h2 {
    font-size: 2rem;
  }

  section {
    padding-top: 80px;
    height: auto;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .navbar .logo img {
    height: 20px;
  }

  .navbar .nav-links a {
    font-size: 18px;
  }

  .nav-btn {
    font-size: 14px;
    padding: 6px 12px;
  }

  .custom-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  .content {
    bottom: 10px;
  }

  .inline-content {
    gap: 8px;
  }

  #memes .social-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically in dropdown */
    gap: 5px; /* More space for mobile */
  }
  
}