html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(36,39,62,0.65), rgba(88,101,242,0.25)), url('images/spaces.gif') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.container {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 60%, #e0e7ff 100%);
  padding: 3rem 2.7rem 2.3rem 2.7rem;
  border-radius: 1.7rem;
  box-shadow: 0 6px 32px rgba(88,101,242,0.10), 0 1.5px 4px rgba(0,0,0,0.04);
  border: 1.5px solid #e0e7ef;
  text-align: center;
  width: 100%;
  max-width: 450px;
  transition: box-shadow 0.2s, transform 0.2s;
  animation: fadeInContainer 0.8s cubic-bezier(0.4,0,0.2,1);
}

@keyframes fadeInContainer {
  0% { opacity: 0; transform: scale(0.97) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.container:hover {
  box-shadow: 0 12px 40px rgba(88,101,242,0.13), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px) scale(1.012);
}

#animation-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

h1 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #222;
  letter-spacing: 0.5px;
}

#walletInput {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.9rem;
  font-size: 1.08rem;
  margin-bottom: 1.3rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #f8fafc;
  box-shadow: 0 1px 4px rgba(88,101,242,0.04) inset;
}
#walletInput:focus {
  border-color: #4f8cff;
  box-shadow: 0 0 0 2px #b5d0ff55;
}

button {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(90deg, #4f8cff 60%, #5865f2 100%);
  color: #fff;
  border: none;
  border-radius: 0.9rem;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 4px rgba(88,101,242,0.08) inset;
}
button:hover {
  background: linear-gradient(90deg, #2563eb 60%, #5865f2 100%);
  box-shadow: 0 2px 8px rgba(88,101,242,0.10);
}
button:active {
  transform: scale(0.96);
}

#result {
  min-height: 1.5em;
  font-size: 1.18rem;
  font-weight: 600;
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s, opacity 0.3s;
  opacity: 1;
  letter-spacing: 0.2px;
}

#result.animated {
  animation: fadeScaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes button-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

button.pop {
  animation: button-pop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove or comment out #bg-video styles */
/*
#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.75;
  pointer-events: none;
  background: #000;
  filter: brightness(0.95);
}
*/

.bg-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #23294655 0%, #5865f255 100%);
  z-index: 0;
  pointer-events: none;
}

.sad-face {
  font-size: 3rem;
  animation: shake 0.5s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

.sad-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sad-fall 1.5s forwards;
  position: relative;
  z-index: 2;
}

.sad-anim .rain-cloud {
  font-size: 2.2rem;
  animation: cloud-bounce 1.2s infinite;
}

.sad-anim .sad-face {
  font-size: 3rem;
  margin-top: -0.5rem;
  animation: sad-fade-fall 1.5s forwards;
}

@keyframes sad-fall {
  0% { opacity: 0; transform: translateY(-30px);}
  20% { opacity: 1; transform: translateY(0);}
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(60px);}
}

@keyframes sad-fade-fall {
  0% { opacity: 0; transform: translateY(-10px);}
  20% { opacity: 1; transform: translateY(0);}
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(40px);}
}

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

.axolotl-cry {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: axolotl-float 1.5s;
}

.axolotl-face {
  font-size: 3.5rem;
  z-index: 2;
  position: relative;
}

.axolotl-tear {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.85;
  z-index: 3;
  animation: axolotl-tear-drop 1.2s;
}

.left-tear {
  left: 38%;
  top: 60%;
}

.right-tear {
  right: 38%;
  top: 60%;
}

@keyframes axolotl-tear-drop {
  0% { opacity: 0; transform: translateY(-10px) scaleY(0.7);}
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(30px) scaleY(1.2);}
}

@keyframes axolotl-float {
  0% { transform: scale(0.8);}
  20% { transform: scale(1.1);}
  100% { transform: scale(1);}
}

.sad-axolotl-anim {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: axolotl-sad-float 1.5s;
}

.sad-axolotl-anim img {
  width: 120px;
  height: auto;
  filter: grayscale(0.15) brightness(0.95);
  animation: axolotl-sad-fade 1.5s, axolotl-sad-shake 0.5s 0.7s;
}

@keyframes axolotl-sad-fade {
  0% { opacity: 0; transform: translateY(-20px) scale(0.9);}
  30% { opacity: 1; transform: translateY(0) scale(1.05);}
  80% { opacity: 1; }
  100% { opacity: 0.7; transform: translateY(10px) scale(1);}
}

@keyframes axolotl-sad-float {
  0% { transform: scale(0.8);}
  20% { transform: scale(1.1);}
  100% { transform: scale(1);}
}

@keyframes axolotl-sad-shake {
  0% { transform: translateX(0);}
  20% { transform: translateX(-6px);}
  40% { transform: translateX(6px);}
  60% { transform: translateX(-4px);}
  80% { transform: translateX(4px);}
  100% { transform: translateX(0);}
}

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

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f4f6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}
.social-icon:hover {
  background: #e0e7ff;
  box-shadow: 0 2px 8px rgba(88,101,242,0.10);
  transform: scale(1.08);
}
.social-icon.discord svg {
  display: block;
}
.social-icon.twitter svg {
  display: block;
}

@media (max-width: 500px) {
  .container {
    padding: 1.2rem 0.5rem;
    max-width: 95vw;
  }
  h1 {
    font-size: 1.2rem;
  }
  button, #walletInput {
    font-size: 1rem;
    padding: 0.6rem 0.7rem;
  }
  .social-links {
    gap: 0.7rem;
  }
}