* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* Background */
body {
  min-height: 100vh;
  font-family: "Arial Rounded MT", sans-serif;

  background:
    linear-gradient(
      rgba(60, 40, 20, 0.65),
      rgba(60, 40, 20, 0.85)
    ),
    url("img/bg.png") center center / cover no-repeat fixed;
}

.leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.leaf {
  position: absolute;
  top: -10%;
  opacity: 0.85;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(80px) translateY(120vh) rotate(360deg);
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;

  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 40px;
  padding: 20px;
  text-align: center;
}

/* Title */
.title {
  font-family: "Bungee", cursive;
  font-size: clamp(3rem, 8vw, 7rem);
  color: #c37a36;
  letter-spacing: 6px;
  cursor: pointer;
  user-select: none;
}

.title span {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Hover trigger */
.title:hover span {
  animation: hoverPop 0.6s ease forwards;
}

/* stagger effect */
.title:hover span:nth-child(1) { animation-delay: 0s; }
.title:hover span:nth-child(2) { animation-delay: 0.05s; }
.title:hover span:nth-child(3) { animation-delay: 0.1s; }
.title:hover span:nth-child(4) { animation-delay: 0.15s; }
.title:hover span:nth-child(5) { animation-delay: 0.2s; }

@keyframes hoverPop {
  0% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.2) translateY(-10px) rotate(-2deg);
  }
  60% {
    transform: scale(0.95) translateY(4px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

/* Character */
.character img {
  width: 280px;
  max-width: 60vw;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.buttons a {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 20px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  color: #8a4f1d;

  background:
    linear-gradient(135deg, #fff1e3, #f2c9a5, #c37a36);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.5),
    0 6px 14px rgba(0,0,0,0.15);

  transition: 0.3s;
}

.buttons a:hover {
  transform: translateY(-4px) scale(1.05);
}

.buttons img {
  width: 20px;
  height: 20px;
}

/* Mobile */
@media (max-width: 600px) {
  .buttons a {
    width: 140px;
    justify-content: center;
  }
}


.meme-section {
  padding: 100px 60px;
}

/* Meme Grid */
.meme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Meme Card */
.meme-card {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .meme-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .meme-section {
    padding: 60px 20px;
  }

  .meme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}


.pump-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.pump-link .ca {
  font-size: 12px;
  color: #fff;          /* force white */
  opacity: 1;           /* remove fade */
  word-break: break-all;
  max-width: 180px;
}

.ca-box {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(135deg, #f3c8a0, #e8b58a);
  color: #fff;          /* text white */

  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ca-box span {
  flex: 1;
  color: #fff;          /* ensure white */
  word-break: break-all;
  user-select: text;
}

.ca-btn {
  all: unset;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #fff;          /* icon white (SVG/font icons) */
  opacity: 1;           /* no fade */
}

.ca-btn:hover {
  opacity: 1;
}

