/* ========================================
   LongBoi — Meme Token Landing Page
   Color Palette from Character
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* ====== CSS Variables ====== */
:root {
  --forest-green: #506D2D;
  --grass-green: #7DBD3E;
  --feather-red: #D9442E;
  --sky-blue: #4EA7F6;
  --light: #FFF8EC;
  --brown: #8A5B33;
  --about-bg: #DFF5C5;
  --white: #FFFFFF;

  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito Sans', sans-serif;
}

/* ====== Reset & Base ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--forest-green);
  overflow-x: hidden;
  background: var(--sky-blue);
}

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

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

/* ====== Utility ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Cloud Animations ====== */
@keyframes cloudDrift {
  from { transform: translateX(-100%); }
  to   { transform: translateX(calc(100vw + 100%)); }
}

@keyframes cloudDriftReverse {
  from { transform: translateX(calc(100vw + 100%)); }
  to   { transform: translateX(-100%); }
}

.cloud {
  position: absolute;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.cloud svg {
  fill: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 2px 8px rgba(78, 167, 246, 0.15));
}

.cloud--1 {
  top: 8%;
  animation: cloudDrift 65s linear infinite;
}

.cloud--2 {
  top: 18%;
  animation: cloudDriftReverse 80s linear infinite;
  opacity: 0.35;
}

.cloud--3 {
  top: 30%;
  animation: cloudDrift 95s linear infinite;
  opacity: 0.45;
}

.cloud--4 {
  top: 12%;
  animation: cloudDriftReverse 70s linear infinite;
  opacity: 0.3;
}

/* ====== Grass Animation ====== */
@keyframes grassSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

.grass-row {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.grass-blade {
  position: absolute;
  bottom: 0;
  width: 8px;
  background: var(--grass-green);
  border-radius: 50% 50% 0 0;
  transform-origin: bottom center;
  animation: grassSway 3s ease-in-out infinite;
}

.grass-blade:nth-child(odd) {
  background: #6aab30;
  animation-delay: -0.5s;
}

.grass-blade:nth-child(3n) {
  animation-duration: 3.5s;
  animation-delay: -1s;
}

/* ====== Feather Wiggle ====== */
@keyframes featherWiggle {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(3deg); }
  75%      { transform: rotate(-3deg); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--sky-blue);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.hero__left {
  flex: 1;
  max-width: 560px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 
    3px 3px 0 var(--forest-green),
    6px 6px 0 rgba(80, 109, 45, 0.3);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--light);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Contract Box */
.contract-box {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 480px;
}

.contract-box__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.contract-box__address {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.contract-box__copy {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.contract-box__copy:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.contract-box__copy.copied {
  background: var(--grass-green);
  border-color: var(--grass-green);
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: scale(1.04);
}

.btn--primary {
  background: var(--grass-green);
  color: var(--white);
  box-shadow: 
    0 4px 15px rgba(125, 189, 62, 0.4),
    0 0 0 3px rgba(125, 189, 62, 0.15);
}

.btn--primary:hover {
  background: #6aab30;
  box-shadow: 
    0 6px 25px rgba(125, 189, 62, 0.5),
    0 0 0 4px rgba(125, 189, 62, 0.2);
  transform: scale(1.05);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Image */
.hero__right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.hero__image {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
  animation: featherWiggle 4s ease-in-out infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--about-bg);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--sky-blue), var(--about-bg));
  z-index: 1;
}

.about__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.about__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--forest-green);
  text-shadow: 2px 2px 0 rgba(125, 189, 62, 0.2);
}

.about__content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.about__image-wrapper {
  flex: 1;
  max-width: 420px;
}

.about__image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(80, 109, 45, 0.15),
    0 0 0 4px rgba(125, 189, 62, 0.2);
}

.about__bio {
  flex: 1;
}

.about__bio-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--grass-green);
  margin-bottom: 16px;
}

.about__bio p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--forest-green);
  margin-bottom: 14px;
  opacity: 0.9;
}

.about__bio p:last-child {
  margin-bottom: 0;
}

.about__bio p em {
  font-style: italic;
  opacity: 0.8;
}

.about__quote {
  text-align: center;
  margin-top: 70px;
  position: relative;
  z-index: 2;
}

.about__quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--forest-green);
  font-style: italic;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.about__quote blockquote::before,
.about__quote blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--grass-green);
  opacity: 0.4;
  position: absolute;
  font-family: Georgia, serif;
}

.about__quote blockquote::before {
  left: 0;
  top: -10px;
}

.about__quote blockquote::after {
  content: '"';
  right: 0;
  bottom: -30px;
}

/* ========================================
   BUY SECTION
   ======================================== */
.buy {
  background: var(--sky-blue);
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.buy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--about-bg), var(--sky-blue));
  z-index: 1;
}

.buy__inner {
  position: relative;
  z-index: 5;
}

.buy__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  text-shadow: 
    2px 2px 0 var(--forest-green),
    4px 4px 0 rgba(80, 109, 45, 0.2);
}

.buy__image {
  max-width: 380px;
  margin: 0 auto 40px;
  border-radius: 24px;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

/* Contract box buy section */
.buy .contract-box {
  margin: 0 auto 30px;
  max-width: 520px;
  justify-content: center;
}

.buy .btn-group {
  justify-content: center;
  margin-bottom: 36px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--forest-green);
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--grass-green);
  margin-bottom: 16px;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--light);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer__divider {
  width: 60px;
  height: 3px;
  background: var(--grass-green);
  border-radius: 2px;
  margin: 30px auto;
  opacity: 0.5;
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--light);
  opacity: 0.55;
  margin-bottom: 4px;
}

.footer__disclaimer {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--light);
  opacity: 0.4;
}

/* ========================================
   COPY TOAST NOTIFICATION
   ======================================== */
.copy-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--forest-green);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
    padding: 120px 24px 80px;
  }

  .hero__left {
    max-width: 100%;
  }

  .hero__right {
    max-width: 350px;
  }

  .contract-box {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-group {
    justify-content: center;
  }

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

  .about__image-wrapper {
    max-width: 320px;
  }

  .about__bio {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 3rem;
  }

  .contract-box {
    flex-direction: column;
    text-align: center;
  }

  .contract-box__address {
    font-size: 0.7rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .about {
    padding: 80px 0 90px;
  }

  .buy {
    padding: 80px 0 90px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}
