@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

/* Basic Reset & Modern Theme */
body {
  margin: 0;
  font-family: "Poppins", sans-serif; /* Modern font */
  background-color: #121212; /* Slightly darker background */
  color: #e0e0e0; /* Slightly softer white */
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
  color: #64b5f6; /* Brighter blue links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #bbdefb; /* Lighter blue on hover */
  text-decoration: none; /* Remove underline on hover for cleaner look */
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}

h1,
h2,
h3 {
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-weight: 600; /* Slightly bolder */
}

h2 {
  font-size: 2.5rem;
  color: #f5d061; /* Use accent for section titles */
}

h3 {
  font-size: 1.4rem;
}

button {
  padding: 12px 25px; /* Slightly larger padding */
  background-image: linear-gradient(
    to right,
    #f0ad4e 0%,
    #ec971f 51%,
    #f0ad4e 100%
  );
  background-size: 200% auto; /* For gradient animation */
  color: #1a1a1a;
  border: none;
  border-radius: 8px; /* Slightly more rounded */
  cursor: pointer;
  font-weight: 600; /* Bolder text */
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 0.5px;
  transition: all 0.4s ease; /* Smoother transition */
  box-shadow: 0 4px 15px 0 rgba(240, 173, 78, 0.4); /* Subtle shadow */
}

button:hover {
  background-position: right center; /* change the direction of the change here */
  color: #000; /* Darker text on hover */
  box-shadow: 0 6px 20px 0 rgba(240, 173, 78, 0.6); /* Larger shadow on hover */
}

/* Header & Navigation */
header {
  background-color: rgba(28, 28, 28, 0.9); /* Semi-transparent dark */
  padding: 1rem 0;
  border-bottom: 1px solid #333;
  position: sticky; /* Sticky header */
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px); /* Blur effect for supported browsers */
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo {
  font-size: 1.8rem; /* Larger logo */
  font-weight: 700; /* Boldest */
  color: #f5d061; /* Brighter accent */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle text shadow */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #f0f0f0;
  font-weight: 500; /* Slightly bolder nav links */
  transition: color 0.3s ease;
  position: relative; /* For underline effect */
  padding-bottom: 5px; /* Space for underline */
}

/* Underline effect on hover */
nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #f5d061;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #f5d061; /* Highlight color on hover */
  text-decoration: none;
}

.buy-now-header {
  margin-left: 1.5rem; /* Space from nav items */
}

/* Main Content Sections */
main {
  max-width: 1100px; /* Slightly wider */
  margin: 3rem auto; /* More space top/bottom */
  padding: 0 1.5rem;
}

/* Add fade-in animation to sections */
section {
  padding: 4rem 1rem; /* More padding */
  border-bottom: 1px solid #333; /* Solid separator */
  text-align: center;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly lower */
  animation: fadeInSection 0.8s ease-out forwards;
  margin-bottom: 2rem; /* Space between sections */
}

/* Keyframe animation for fade-in */
@keyframes fadeInSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger the animation for each section */
section:nth-child(1) {
  animation-delay: 0.1s;
}
section:nth-child(2) {
  animation-delay: 0.2s;
}
section:nth-child(3) {
  animation-delay: 0.3s;
}
section:nth-child(4) {
  animation-delay: 0.4s;
}
section:nth-child(5) {
  animation-delay: 0.5s;
}

section:last-of-type {
  border-bottom: none;
}

/* Hero Section */
#hero {
  padding-top: 5rem; /* Extra padding because of sticky header */
  padding-bottom: 5rem;
  border-bottom: none; /* No border for hero */
  margin-bottom: 0; /* No margin for hero */
  /* Optional: Add a subtle background pattern or image */
  /* background-image: url('images/hero-bg.png'); */
  /* background-size: cover; */
}

#hero h1 {
  font-size: 4rem; /* Even bigger title */
  margin-bottom: 1rem;
  color: #f5d061; /* Brighter accent */
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px; /* Limit width of intro text */
  margin-left: auto;
  margin-right: auto;
  color: #ccc; /* Slightly lighter than body text */
}

.hero-image {
  max-width: 350px; /* Slightly larger image */
  margin: 2rem auto;
  border-radius: 15px; /* More rounded */
  border: 5px solid #f5d061; /* Thicker border */
  box-shadow: 0 0 25px rgba(245, 208, 97, 0.5); /* Glow effect */
}

.hero-buttons button {
  margin: 0.75rem;
  padding: 15px 30px; /* Bigger buttons */
  font-size: 1.2rem;
}

.chart-link {
  background-color: #5bc0de; /* Different color for chart link */
  color: #1a1a1a;
}

.chart-link:hover {
  background-color: #31b0d5;
}

.contract-address {
  margin-top: 3rem; /* More space above */
  font-size: 1rem; /* Slightly larger */
  color: #bbb;
  word-wrap: break-word;
  padding: 15px 20px; /* More padding */
  background-color: #222; /* Darker background */
  border-radius: 8px;
  display: inline-block;
  border: 1px solid #444; /* Subtle border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.contract-address span {
  font-family: "Courier New", Courier, monospace;
  color: #f5d061; /* Accent color for address */
  margin: 0 5px;
}

#copyBtn {
  padding: 5px 10px; /* Slightly larger */
  font-size: 0.9rem;
  margin-left: 15px;
  background-color: #555;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#copyBtn:hover {
  background-color: #777;
}

/* About Section */
#about p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  color: #ddd;
}
/* Suggest adding another image here via HTML */
/* .about-image { margin-top: 2rem; border-radius: 10px; max-width: 400px; } */

/* Tokenomics Section */
#tokenomics {
  background-color: rgba(0, 0, 0, 0.1); /* Subtle background distinction */
  border-radius: 15px;
  padding: 4rem 2rem;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  ); /* Slightly wider min */
  gap: 2rem; /* More gap */
  margin-top: 3rem;
  text-align: center; /* Center text in items */
}

.token-item {
  background-color: #1f1f1f; /* Slightly lighter card background */
  padding: 2rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #333; /* Add subtle border */
  border-top: 5px solid #f5d061; /* Top border accent */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Remove left border */
  border-left: none;
}

.token-item:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.token-item h3 {
  margin-top: 0;
  margin-bottom: 1rem; /* More space below heading */
  color: #f5d061; /* Accent color */
  font-size: 1.5rem;
  /* Optional: Add icon before text using ::before */
}

.token-item p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff; /* White text for value */
}

/* How to Buy Section */
#buy ol {
  text-align: left;
  max-width: 700px; /* Wider list */
  margin: 2.5rem auto;
  padding-left: 1.5rem; /* Less default indent */
  list-style: none; /* Remove default numbers */
  counter-reset: buy-counter; /* Initiate counter */
}

#buy li {
  margin-bottom: 1.5rem; /* More space between steps */
  position: relative;
  padding-left: 45px; /* Space for custom number */
  font-size: 1.1rem;
}

/* Style custom numbers */
#buy li::before {
  counter-increment: buy-counter; /* Increment counter */
  content: counter(buy-counter); /* Display counter */
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  background-color: #f5d061;
  color: #1a1a1a;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  font-size: 1rem;
}

#buy .buy-now-how-to {
  margin-top: 2.5rem;
  padding: 15px 30px; /* Match hero buttons */
  font-size: 1.2rem;
}

#buy span#contractAddr2 {
  /* Style the inline address */
  font-family: "Courier New", Courier, monospace;
  color: #f5d061;
  background-color: #2a2a2a;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 1rem;
}

/* Socials Section */
#socials h2 {
  margin-bottom: 1rem;
}
#socials p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.social-links a {
  display: inline-block;
  margin: 0 1.5rem; /* More space */
  font-size: 1.8rem; /* Larger links/icons */
  color: #aaa; /* Neutral color */
  transition: transform 0.3s ease, color 0.3s ease;
  /* Replace text with actual icons (FontAwesome, etc.) later if desired */
}

.social-links a:hover {
  color: #f5d061; /* Accent color on hover */
  transform: scale(1.2); /* Grow effect */
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 3rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #888; /* Lighter grey */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  nav {
    flex-direction: column;
    align-items: center; /* Center items */
  }

  .logo {
    margin-bottom: 1rem; /* Space below logo */
  }

  nav ul {
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    margin-left: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 90%; /* Slightly less than full width */
    margin-left: auto; /* Center the items */
    margin-right: auto; /* Center the items */
    background: #2a2a2a; /* Darker background for mobile nav items */
    padding: 8px 0; /* Adjust padding */
    border-radius: 5px;
  }

  nav ul li a::after {
    /* Remove underline effect on mobile */
    display: none;
  }

  .buy-now-header {
    margin-top: 1rem;
    width: 90%; /* Match nav items */
    text-align: center;
    margin-left: auto; /* Center */
    margin-right: auto; /* Center */
  }

  #hero {
    padding-top: 6rem; /* Adjust for potentially taller mobile header */
    padding-bottom: 3rem;
  }

  #hero h1 {
    font-size: 2.8rem; /* Adjust hero title */
  }
  #hero p {
    font-size: 1.1rem;
  }

  .hero-buttons button {
    padding: 12px 20px;
    font-size: 1rem;
    display: block; /* Stack buttons */
    width: 80%;
    margin: 0.75rem auto; /* Center stacked buttons */
  }

  .tokenomics-grid {
    grid-template-columns: 1fr; /* Stack items */
    gap: 1.5rem;
  }

  #buy ol {
    max-width: 90%;
  }

  #buy li {
    font-size: 1rem;
    padding-left: 40px; /* Adjust padding */
  }
  #buy li::before {
    width: 25px; /* Smaller number circle */
    height: 25px;
    line-height: 25px;
    font-size: 0.9rem;
  }

  .social-links a {
    margin: 0 1rem; /* Less space on mobile */
    font-size: 1.5rem; /* Slightly smaller icons */
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 2.2rem;
  }
  #hero p {
    font-size: 1rem;
  }
  .hero-image {
    max-width: 250px;
    border-width: 3px;
  }
  .contract-address {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
  #copyBtn {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  #buy li {
    font-size: 0.95rem;
  }
}

/* Audio Controls - Modified for static positioning */
#audio-controls {
  /* Removed position: fixed, bottom, left, transform, z-index */
  display: flex; /* Keep flex for internal alignment */
  justify-content: center; /* Center the button and slider */
  align-items: center;
  gap: 15px;
  background-color: rgba(30, 30, 30, 0.9);
  padding: 10px 15px; /* Slightly reduced padding */
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Adjusted shadow */
  border: 1px solid rgba(245, 208, 97, 0.5);
  /* transition: transform 0.3s ease; <-- Removed */
  margin-top: 1.5rem; /* Space below the GIF */
  margin-bottom: 1.5rem; /* Space above hero buttons */
  max-width: 200px; /* Limit width */
  margin-left: auto; /* Center the control block */
  margin-right: auto; /* Center the control block */
}

#playPauseBtn {
  background: none;
  border: none;
  color: #f5d061; /* Accent color */
  font-size: 2.2rem; /* Larger icon */
  padding: 0 5px 0 0; /* Adjust padding slightly */
  margin: 0;
  line-height: 1; /* Align icon better */
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease; /* Add color transition */
  /* Reset other button styles */
  background-image: none;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}

#playPauseBtn:hover {
  transform: scale(1.1);
  background-position: initial; /* Prevent gradient animation */
  color: #fff; /* White on hover */
  box-shadow: none;
}

#volumeSlider {
  cursor: pointer;
  appearance: none; /* Override default */
  width: 110px; /* Slightly wider */
  height: 10px; /* Slightly thicker */
  background: #777; /* Lighter track */
  border-radius: 5px;
  outline: none;
  transition: opacity 0.2s;
}

/* Thumb styles for Webkit browsers (Chrome, Safari) */
#volumeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 20px; /* Larger thumb */
  height: 20px; /* Larger thumb */
  background: #f5d061; /* Accent color */
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #333; /* Add small border to thumb */
}

/* Thumb styles for Firefox */
#volumeSlider::-moz-range-thumb {
  width: 20px; /* Larger thumb */
  height: 20px; /* Larger thumb */
  background: #f5d061; /* Accent color */
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #333; /* Add small border to thumb */
}
