:root {
  --primary: #ffcf1d;
  --primary-dark: #ffcf1d;
  --bg-1: #ffcf1d;
  --bg-2: #ffcf1d;
  --white: #ffffff;
  --black: #111;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Neue", sans-serif;
  overflow-x: hidden;
  background: var(--primary);
  color: var(--white);
}

/* Navbar */
.nav {
  position: absolute;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-family: "Luckiest Guy", cursive;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  letter-spacing: 1px;
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding-top: 120px;
  background: radial-gradient(circle at center, #ffcf1d, #ffcf1d);
}

/* TEXT BLOCK */
.hero-content {
  position: relative;
  z-index: 5; /* Always above character */
  max-width: 900px;
}
.hero-character {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(240px, 50vw, 450px);
  height: auto;
  z-index: 1;
  pointer-events: none;
}



/* Ticker always above bottom */
.ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #4a3fe0;
  overflow: hidden;
  border-top: 3px solid #111;
  z-index: 3;
}

/* Title */
.title {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: 2px;
  text-shadow: 4px 4px 0 var(--black);
}

.subtitle {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 22px);
  opacity: 0.9;
}

/* Buttons */
.btn {
  font-family: "Luckiest Guy", cursive;
  border: 3px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 14px 32px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--black);
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  margin-top: 30px;
  font-size: 20px;
}

/* Character */
.character {
  margin-top: 60px;
  position: relative;
  width: 180px;
  height: 200px;
}

.face {
  width: 180px;
  height: 160px;
  background: #fff;
  border: 4px solid var(--black);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
}

.hat {
  width: 200px;
  height: 60px;
  background: #111;
  border-radius: 50px 50px 0 0;
  position: absolute;
  top: 0;
  left: -10px;
}

.eye {
  width: 20px;
  height: 20px;
  background: var(--black);
  border-radius: 50%;
  position: absolute;
  top: 50px;
}

.eye.left { left: 50px; }
.eye.right { right: 50px; }

.smile {
  width: 60px;
  height: 30px;
  border-bottom: 4px solid var(--black);
  border-radius: 0 0 50px 50px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

/* Ticker */
.ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--primary-dark);
  overflow: hidden;
  border-top: 3px solid var(--black);
}

.ticker-track {
  white-space: nowrap;
  padding: 12px 0;
  font-family: "Luckiest Guy", cursive;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 15px 20px;
  }

  .character {
    transform: scale(0.8);
  }
}


.contract-section {
  padding: 60px 20px 120px;
    font-family: "Luckiest Guy", cursive;
background: radial-gradient(circle at center, #f1c40f, #fdcb6e);
color: #fff;
 border-top: 3px solid #111; 

}

.contract-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contract-header {
  margin-bottom: 40px;
}

.label {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.6;
}

.contract-header h2 {
  font-size: clamp(32px, 4vw, 52px);
}

/* IMPORTANT WRAPPER */
.contract-card-wrapper {
  position: relative;
  margin-top: 80px;
}

.contract-character {
  position: absolute;
  right: 60px;
  bottom: 100%;      
  transform: translateY(40px);
  width: clamp(200px, 20vw, 300px);
  z-index: 3;
  pointer-events: none;
}

/* CARD */
.contract-box {
  background: #080808;
  padding: 30px 35px;
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  word-break: break-all;
  position: relative;
  z-index: 1;
}

.copy-btn {
  background: #ffffff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.copy-btn i {
  font-size: 22px;
  color: #2b1848;
}

.copy-btn:hover {
  transform: translateY(-3px);
}


@media (max-width: 768px) {

  .hero-character {
    width: clamp(360px, 85vw, 400px); 
    bottom: 40px;                     
  }

}


@media (max-width: 768px) {

  .contract-header {
    margin-bottom: 80px;
  }

  .contract-card-wrapper {
    margin-top: 140px;
  }

  .contract-character {
    right: 50%;
    bottom: 100%;
    transform: translate(50%, 40px); 
    width: 220px;
  }

}

@media (max-width: 768px) {

  .contract-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  #contractAddress {
    font-size: 13px;
    flex: 1;
    margin-right: 12px;
  }

}


.official-links {
  text-align: center;
  margin-bottom: 70px;
}

.official-links p {
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.8;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.icons a {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.icons a:hover {
  transform: translateY(-6px);
}

.icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.about-section {
  background: #f2f2f2;
  padding: 120px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* Image */
.about-image img {
  width: clamp(260px, 30vw, 420px);
  height: auto;
}

/* Content */
.about-content {
  max-width: 550px;
}

.about-content h2 {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(36px, 5vw, 70px);
  color: #000;
  text-shadow: 4px 4px 0 #cfcfcf;
  margin-bottom: 25px;
}

.about-content p {
  font-family: "Comic Neue", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #222;
  margin-bottom: 30px;
}

@media (max-width: 900px) {

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .about-content {
    max-width: 100%;
  }

}




.meme-section {
  padding: 120px 20px;
  background: radial-gradient(circle at top, #f1c40f, #ffffff);
  color: #fff;
}

.meme-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.meme-text h2 {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 15px;
}

.meme-text p {
  font-family: "Comic Neue", sans-serif;
  font-size: 20px;
  max-width: 600px;
  line-height: 1.6;
}

.meme-cta {
  background: #f1c40f;
  border: 2px solid #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.meme-cta:hover {
  transform: translateY(-4px);
}

/* GRID */
.meme-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.meme-grid img {
  width: 100%;
  border-radius: 20px;
  transition: 0.3s ease;
  display: block;
}

.meme-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .meme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .meme-header {
    flex-direction: column;
    text-align: center;
  }

  .meme-grid {
    grid-template-columns: 1fr;
  }

}




.site-footer {
  background: #f1c40f; /* sama kaya hero */
  color: #fff;
  text-align: center;
  position: relative;
  padding-bottom: 80px;
}

/* Ticker */
.footer-ticker {
  background: #f1c40f;
  border-bottom: 3px solid #111;
  overflow: hidden;
}

.footer-ticker-track {
  white-space: nowrap;
  padding: 12px 0;
  font-family: "Luckiest Guy", cursive;
  animation: scroll 20s linear infinite;
}

/* Content */
.footer-content {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 20px;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-logo h3 {
  font-family: "Luckiest Guy", cursive;
  font-size: 42px;
  text-shadow: 3px 3px 0 #111;
}

/* Text */
.footer-text {
  font-family: "Comic Neue", sans-serif;
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Icons */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-icons a {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 #111;
  transition: 0.2s ease;
}

.footer-icons a:hover {
  transform: translateY(-4px);
}

.footer-icons img {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {

  .footer-logo h3 {
    font-size: 32px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-icons a {
    width: 50px;
    height: 50px;
  }

}



.chart-section {
  padding: 120px 20px;
  background: #ffcf1d;
}

.chart-container {
  max-width: 1200px;
  margin: 0 auto;
}

