@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

:root {
  --neon-blue: #00f3ff;
  --neon-pink: #ff00ff;
  --cartoon-yellow: #ffea00;
  --cartoon-green: #00ff66;
  --cartoon-orange: #ff7700;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Fredoka One', cursive;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  background: url('photo_2025-02-24_23-20-30.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.container {
  text-align: center;
  padding: 15px;
  max-width: 460px;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 25px;
  border: 8px solid black;
  box-shadow: 0 0 0 4px white, 0 8px 15px rgba(0,0,0,0.5);
  margin: 15px;
  animation: bounce 5s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.logo {
  font-size: 42px;
  font-weight: normal;
  color: #4169e1;
  text-shadow: 
    3px 3px 0 white,
    6px 6px 0 black;
  margin-bottom: 5px;
  line-height: 1.2;
  font-family: 'Fredoka One', cursive;
  letter-spacing: 1px;
  transform: rotate(-1deg);
}

.subtitle {
  font-size: 38px;
  color: #4169e1;
  margin-bottom: 10px;
  font-weight: normal;
  font-family: 'Fredoka One', cursive;
  letter-spacing: 2px;
  text-shadow: 
    3px 3px 0 white,
    5px 5px 0 black;
}

.slogan {
  font-size: 24px;
  color: white;
  margin: 15px auto 25px;
  font-family: 'Fredoka One', cursive;
  line-height: 1.4;
  max-width: 90%;
  font-weight: normal;
  letter-spacing: 1px;
  text-shadow: 
    2px 2px 0 #00796b,
    4px 4px 0 black;
  transform: rotate(-1deg);
  padding: 18px;
  background: linear-gradient(135deg, #4CAF50, #009688);
  border: 4px solid black;
  border-radius: 25px;
  box-shadow: 
    0 6px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.2),
    inset 4px 4px 0 rgba(255,255,255,0.3);
  position: relative;
  animation: wobbleSlogan 3s ease-in-out infinite;
}

@keyframes wobbleSlogan {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-5px); }
}

.links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 15px 0;
  flex-wrap: wrap;
  padding: 0 8px;
}

.link-button {
  background: var(--cartoon-yellow);
  border: 3px solid black;
  border-radius: 25px;
  width: 135px;
  height: 42px;
  font-size: 15px;
  font-weight: normal;
  font-family: 'Fredoka One', cursive;
  letter-spacing: 1px;
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 
    0 6px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.3),
    inset 4px 4px 0 rgba(255,255,255,0.5);
  margin: 4px;
}

.link-button:nth-child(1) {
  background: #FFD700; /* Pump.fun yellow */
}

.link-button:nth-child(2) {
  background: #1c1c1c; /* DexScreener dark */
  color: white;
}

.link-button:nth-child(3) {
  background: #229ED9; /* Telegram blue */
  color: white;
}

.link-button:nth-child(4) {
  background: black; /* X black */
  color: white;
}

.link-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 12px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.3),
    inset 4px 4px 0 rgba(255,255,255,0.5);
}

.link-button:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.3),
    inset 4px 4px 0 rgba(255,255,255,0.5);
}

.social-icon {
  font-size: 24px;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.5));
  width: 24px;
  height: 24px;
}

.custom-icon {
  object-fit: contain;
}

.x-icon {
  width: 20px;
  height: 20px;
}

.meme-character {
  width: 170px;
  height: 170px;
  margin: -10px auto 5px;
  border: 8px solid black;
  border-radius: 50%;
  background: white;
  padding: 6px;
  box-shadow: 0 8px 0 #000;
  animation: shake 3s infinite;
  object-fit: cover;
}

@keyframes shake {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.contract-address {
  background: white;
  border: 3px solid black;
  border-radius: 25px;
  padding: 12px;
  margin: 15px 0;
  word-break: break-all;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: black;
  position: relative;
  box-shadow: 
    0 6px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.1),
    inset 4px 4px 0 rgba(255,255,255,0.5);
}

.contract-address-label {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  color: #663399;
  font-family: 'Fredoka One', cursive;
  font-weight: normal;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.copy-button {
  background: #cccccc;
  color: #888888;
  border: 2px solid #999999;
  border-radius: 8px;
  padding: 6px 15px;
  margin: 5px auto 0;
  cursor: not-allowed;
  font-family: 'Fredoka One', cursive;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 
    0 2px 0 #999999,
    inset -3px -3px 0 rgba(0,0,0,0.1),
    inset 3px 3px 0 rgba(255,255,255,0.5);
  opacity: 0.7;
}

.copy-button:hover {
  transform: none;
  box-shadow: 
    0 2px 0 #999999,
    inset -3px -3px 0 rgba(0,0,0,0.1),
    inset 3px 3px 0 rgba(255,255,255,0.5);
  background: #cccccc;
}

.copy-button:active {
  transform: none;
  box-shadow: 
    0 2px 0 #999999,
    inset -3px -3px 0 rgba(0,0,0,0.1),
    inset 3px 3px 0 rgba(255,255,255,0.5);
  background: #cccccc;
}

.bubble {
  position: absolute;
  width: 65px;
  height: 65px;
  cursor: pointer;
  pointer-events: all;
  z-index: 100;
  animation: fallDown 8s linear;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.bubble:hover {
  transform: scale(1.2) rotate(10deg);
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

.bubble:active {
  transform: scale(0.9);
}

@keyframes fallDown {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(calc(100vh + 100px));
  }
}

.dex-icon {
  filter: brightness(0) invert(1);
  opacity: 1;
  width: 28px;
  height: 28px;
}

.cursor-follow {
  width: 64px;
  height: 64px;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -100%);
  top: 0;
  left: 0;
}

/* Popup Modal */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: white;
  padding: 22px;
  border-radius: 25px;
  border: 6px solid black;
  text-align: center;
  width: 260px;
  box-shadow: 
    0 8px 0 #000,
    inset -4px -4px 0 rgba(0,0,0,0.1),
    inset 4px 4px 0 rgba(255,255,255,0.5);
  animation: popIn 0.3s ease-out;
  position: relative;
  margin: 20px;
  z-index: 100000;
}

@keyframes popIn {
  0% { 
    transform: scale(0.5);
    opacity: 0;
  }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

.popup-text {
  font-size: 22px;
  color: #4169e1;
  font-family: 'Fredoka One', cursive;
  margin: 10px 0;
  text-shadow: 
    2px 2px 0 white,
    4px 4px 0 black;
  line-height: 1.4;
}

.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid black;
  background: #ff3366;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #000;
  transition: all 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.1);
}

.popup-close:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #000;
}

/* Sound Control Button */
.sound-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #4169e1;
  border: 4px solid black;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.2s ease;
  box-shadow: 
    0 4px 0 #000,
    inset -3px -3px 0 rgba(0,0,0,0.3),
    inset 3px 3px 0 rgba(255,255,255,0.5);
}

.sound-button:hover {
  transform: scale(1.1);
}

.sound-button:active {
  transform: translateY(4px);
  box-shadow: 
    0 0 0 #000,
    inset -3px -3px 0 rgba(0,0,0,0.3),
    inset 3px 3px 0 rgba(255,255,255,0.5);
}

.sound-button i {
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.3));
}

.coin-pile {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  padding: 15px 25px;
  border-radius: 30px;
  color: #FFD700;
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
  z-index: 1000;
  border: 4px solid #FFD700;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.3),
    inset 0 0 15px rgba(255, 215, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translateZ(0);
}

.coin-pile i {
  color: #FFD700;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.coin-pile #coin-count {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.coin-pile .disclaimer {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.coin-front {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #000;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  box-shadow: 
    inset -3px -3px 8px rgba(0,0,0,0.3),
    inset 3px 3px 8px rgba(255,255,255,0.8),
    0 0 15px rgba(255, 215, 0, 0.4),
    0 0 25px rgba(255, 215, 0, 0.3);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.coin-front:before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  border: 3px solid #32CD32;
  box-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
  animation: glowPulse 2s infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.coin-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.collect-text {
  position: fixed;
  pointer-events: none;
  color: #FFD700;
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
  text-shadow: 
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 0 20px rgba(255, 215, 0, 0.5);
  animation: floatUp 1s ease-out forwards;
  z-index: 1001;
  font-weight: bold;
  white-space: nowrap;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-40px) scale(1.3);
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) scale(1);
    opacity: 0;
  }
}

/* Remove unnecessary styles */
.coin-pile-bottom, .coin-back, @keyframes stackUp {
  display: none;
}

#bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 900;
}

.instruction-text {
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  text-shadow: 
    2px 2px 0 #00796b,
    3px 3px 0 black;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4CAF50, #009688);
  border: 3px solid black;
  border-radius: 15px;
  box-shadow: 
    0 4px 0 #000,
    inset -2px -2px 0 rgba(0,0,0,0.2),
    inset 2px 2px 0 rgba(255,255,255,0.3);
  text-align: center;
  white-space: nowrap;
  width: auto;
  margin: 15px auto;
  display: inline-block;
  transform: rotate(-2deg);
  position: relative;
  animation: shake 3s infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}