/* Global Styles */
:root {
  --primary-color: #ff9500;
  --secondary-color: #7b3f00;
  --dark-color: #221400;
  --light-color: #fff5e6;
  --accent-color: #ff4d00;
  --gradient-start: #ff9500;
  --gradient-end: #ff4d00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.highlight {
  color: var(--primary-color);
}

/* Header and Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
}

.contract-address-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--light-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  max-width: 400px;
  overflow: hidden;
}

.contract-label {
  font-weight: 700;
  color: var(--secondary-color);
  white-space: nowrap;
}

.contract-address-nav code {
  font-family: monospace;
  color: var(--dark-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.copy-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.7rem;
  white-space: nowrap;
}

.copy-button:hover {
  background-color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.buy-button {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: transform 0.3s;
}

.buy-button:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5% 5% 0;
  min-height: 80vh;
  background: url("images/bg-pattern.png") repeat;
  background-size: 200px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 500px;
  animation: hero-float 12s ease-in-out infinite;
}

@keyframes hero-float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  20% {
    transform: translateY(-30px) rotate(3deg);
  }
  40% {
    transform: translateY(15px) rotate(-2deg);
  }
  60% {
    transform: translateY(-20px) rotate(1deg);
  }
  80% {
    transform: translateY(10px) rotate(-1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.3s;
  display: inline-block;
}

.primary-button {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
}

.secondary-button {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.primary-button:hover,
.secondary-button:hover {
  transform: scale(1.05);
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  animation: about-float 11s ease-in-out infinite;
}

@keyframes about-float {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(2deg) scale(1.03);
  }
  50% {
    transform: translateY(10px) rotate(-1deg) scale(0.98);
  }
  75% {
    transform: translateY(-5px) rotate(1deg) scale(1.01);
  }
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
}

/* Tokenomics Section */
.tokenomics {
  background-color: var(--light-color);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tokenomics-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.tokenomics-card:hover {
  transform: translateY(-5px);
}

.tokenomics-card p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.distribution {
  text-align: center;
  margin-top: 3rem;
}

.distribution-chart {
  display: flex;
  height: 40px;
  width: 80%;
  margin: 2rem auto;
  border-radius: 50px;
  overflow: hidden;
}

.chart-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.liquidity {
  background-color: var(--primary-color);
  width: 95%;
}

.team {
  background-color: var(--secondary-color);
  width: 5%;
}

.distribution-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.liquidity-color {
  background-color: var(--primary-color);
}

.team-color {
  background-color: var(--secondary-color);
}

/* Roadmap Section */
.roadmap {
  background-color: white;
}

.roadmap-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-timeline {
  margin-top: 3rem;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.roadmap-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--primary-color);
}

.roadmap-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 2;
}

.roadmap-text {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Community Section */
.community {
  background-color: var(--light-color);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 150px;
}

.social-link i {
  font-size: 2rem;
  color: var(--primary-color);
}

.social-link:hover {
  transform: translateY(-5px);
}

/* Buy Section */
.buy {
  background-color: white;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  position: relative;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.contract-address {
  margin: 3rem 0;
}

.address-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: var(--light-color);
  padding: 1rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 1rem auto;
  overflow: hidden;
}

.address-box code {
  font-family: monospace;
  color: var(--dark-color);
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uniswap-button {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s;
  margin-top: 1rem;
}

.uniswap-button:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.2rem;
}

.footer-logo img {
  height: 30px;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.8;
  max-width: 600px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  transition: transform 0.3s, background-color 0.3s;
}

.twitter-icon {
  background-color: #1da1f2; /* Twitter blue color */
}

.twitter-icon:hover {
  transform: translateY(-3px);
  background-color: #0c85d0; /* Darker Twitter blue on hover */
}

.social-icon i {
  font-size: 1.5rem;
}

/* Image Gallery Section */
.image-gallery {
  background-color: var(--light-color);
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background-color: white;
  padding: 1rem;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Floating Characters */
.floating-character {
  position: relative;
  z-index: 5;
  max-width: 200px;
  margin: 0 auto;
  pointer-events: none;
}

.floating-character img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.floating-right {
  position: absolute;
  top: 15%;
  right: 5%;
  animation: float-right 8s ease-in-out infinite;
}

.floating-left {
  position: absolute;
  top: 40%;
  left: 5%;
  animation: float-left 7s ease-in-out infinite;
}

.floating-center {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-center 10s ease-in-out infinite;
}

.floating-bottom-right {
  position: absolute;
  bottom: 10%;
  right: 10%;
  animation: float-bottom 9s ease-in-out infinite;
}

@keyframes float-right {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  30% {
    transform: translateY(-25px) rotate(5deg);
  }
  60% {
    transform: translateY(15px) rotate(-3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-left {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  40% {
    transform: translateY(20px) rotate(-5deg);
  }
  70% {
    transform: translateY(-15px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-center {
  0% {
    transform: translateX(-50%) translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateX(-60%) translateY(-20px) rotate(-3deg);
  }
  50% {
    transform: translateX(-50%) translateY(10px) rotate(0deg);
  }
  75% {
    transform: translateX(-40%) translateY(-10px) rotate(3deg);
  }
  100% {
    transform: translateX(-50%) translateY(0px) rotate(0deg);
  }
}

@keyframes float-bottom {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-15px) rotate(3deg) scale(1.05);
  }
  66% {
    transform: translateY(10px) rotate(-3deg) scale(0.95);
  }
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 960px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

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

  .floating-character {
    max-width: 150px;
  }

  .floating-right {
    right: 2%;
  }

  .floating-left {
    left: 2%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  /* Show all nav links on mobile */
  .nav-links li {
    display: inline-block;
  }

  .contract-address-nav {
    margin-top: 0.5rem;
  }

  .contract-address-nav code {
    max-width: 120px;
  }

  .distribution-chart {
    width: 100%;
  }

  .distribution-legend {
    flex-direction: column;
    gap: 0.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .address-box {
    flex-direction: column;
  }

  .address-box code {
    max-width: 100%;
    overflow: scroll;
    white-space: nowrap;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .floating-character {
    max-width: 100px;
  }

  .floating-right {
    top: 10%;
    right: 2%;
  }

  .floating-left {
    top: 30%;
    left: 2%;
  }

  .floating-center {
    top: 50%;
  }

  .floating-bottom-right {
    bottom: 15%;
    right: 5%;
  }
}

@media (max-width: 1024px) {
  nav {
    justify-content: center;
    gap: 1rem;
  }

  .contract-address-nav {
    order: 3;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  .contract-address-nav code {
    max-width: 200px;
  }

  .nav-links {
    margin-top: 0.5rem;
  }
}
