/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: #2d3748;
  overflow-x: hidden;
  background: url("images/background.png") center center fixed;
  background-size: cover;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8) 0%,
    rgba(118, 75, 162, 0.8) 50%,
    rgba(240, 147, 251, 0.8) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* New Unique Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

/* Energy Orb Container */
.energy-orb-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 40px;
}

/* Main Energy Orb */
.energy-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #ffd700, #ff6b9d, #4ecdc4);
  border-radius: 50%;
  animation: orbPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 107, 157, 0.4), 0 0 90px rgba(78, 205, 196, 0.3);
}

@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 107, 157, 0.4), 0 0 90px rgba(78, 205, 196, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 107, 157, 0.6), 0 0 120px rgba(78, 205, 196, 0.5);
  }
}

/* HAMM Logo inside orb */
.orb-hamm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  animation: hammRotate 3s linear infinite;
  z-index: 2;
}

@keyframes hammRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Energy Rings */
.energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: ringExpand 3s ease-out infinite;
}

.energy-ring:nth-child(1) {
  width: 140px;
  height: 140px;
  border-top-color: #ff6b9d;
  border-right-color: #ff6b9d;
  animation-delay: 0s;
}

.energy-ring:nth-child(2) {
  width: 160px;
  height: 160px;
  border-bottom-color: #4ecdc4;
  border-left-color: #4ecdc4;
  animation-delay: 0.5s;
}

.energy-ring:nth-child(3) {
  width: 180px;
  height: 180px;
  border-top-color: #ffd700;
  border-right-color: #ffd700;
  animation-delay: 1s;
}

@keyframes ringExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2) rotate(360deg);
    opacity: 0;
  }
}

/* Energy Particles */
.energy-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  background: #ff6b9d;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  background: #4ecdc4;
  top: 30%;
  right: 15%;
  animation-delay: 0.8s;
}

.particle:nth-child(3) {
  background: #ffd700;
  bottom: 25%;
  left: 20%;
  animation-delay: 1.6s;
}

.particle:nth-child(4) {
  background: #ff6b9d;
  bottom: 35%;
  right: 25%;
  animation-delay: 2.4s;
}

.particle:nth-child(5) {
  background: #4ecdc4;
  top: 15%;
  left: 50%;
  animation-delay: 3.2s;
}

.particle:nth-child(6) {
  background: #ffd700;
  bottom: 15%;
  right: 10%;
  animation-delay: 1.2s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) scale(1.5);
    opacity: 1;
  }
  50% {
    transform: translateY(-10px) scale(1.2);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-30px) scale(1.8);
    opacity: 1;
  }
}

/* Loading Text */
.loading-text {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.loading-title {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 2s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes textShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.loading-subtitle {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.6;
  }
}

/* Progress System */
.progress-system {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Hexagonal Progress */
.hex-progress {
  position: relative;
  width: 100px;
  height: 100px;
}

.hexagon {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hexRotate 4s linear infinite;
}

.hexagon.fill {
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700);
  border: 3px solid #ffd700;
  animation: hexFill 3s ease-in-out infinite, hexRotate 4s linear infinite;
}

@keyframes hexRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes hexFill {
  0% {
    clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 50%, 50% 50%, 50% 50%);
  }
  16.66% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 25%, 50% 50%, 50% 50%, 50% 50%);
  }
  33.33% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 25%, 100% 75%, 50% 50%, 50% 50%);
  }
  50% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 50% 50%);
  }
  66.66% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
  }
  83.33% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
  100% {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
}

/* Loading Dots */
.loading-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: dotBounce 1.5s ease-in-out infinite;
}

.dot:nth-child(1) {
  background: #ff6b9d;
  animation-delay: 0s;
}

.dot:nth-child(2) {
  background: #4ecdc4;
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  background: #ffd700;
  animation-delay: 0.6s;
}

@keyframes dotBounce {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.2);
  }
}

/* Background Effects */
.preloader-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bg-wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: waveExpand 6s ease-in-out infinite;
}

.bg-wave:nth-child(1) {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.bg-wave:nth-child(2) {
  top: -50%;
  right: -50%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
  animation-delay: 2s;
}

.bg-wave:nth-child(3) {
  bottom: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes waveExpand {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .energy-orb-container {
    width: 150px;
    height: 150px;
  }

  .energy-orb {
    width: 90px;
    height: 90px;
  }

  .orb-hamm {
    width: 60px;
    height: 60px;
  }

  .loading-title {
    font-size: 2rem;
  }

  .loading-subtitle {
    font-size: 0.9rem;
  }

  .hex-progress {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .energy-orb-container {
    width: 120px;
    height: 120px;
  }

  .energy-orb {
    width: 70px;
    height: 70px;
  }

  .orb-hamm {
    width: 45px;
    height: 45px;
  }

  .loading-title {
    font-size: 1.8rem;
  }

  .hex-progress {
    width: 60px;
    height: 60px;
  }
}

/* Animated Background */
.anime-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.floating-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent), radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent), radial-gradient(2px 2px at 160px 30px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-100px);
  }
}

.toy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 3px solid #ff6b9d;
  box-shadow: 0 5px 30px rgba(255, 107, 157, 0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  color: #ff6b9d;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #ff6b9d;
  animation: bounce 2s ease-in-out infinite;
}

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

.nav-container {
  display: flex;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  font-size: 12px;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.social-icon:hover::before {
  width: 100%;
  height: 100%;
}

.social-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.social-text {
  z-index: 1;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 10000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fredoka One", cursive;
  font-size: 2rem;
  color: #fff;
  position: relative;
}

.mobile-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #ffd700;
}

.logo-sparkle {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffd700, transparent);
  border-radius: 50%;
  animation: sparkle-pulse 1s ease-in-out infinite;
}

@keyframes sparkle-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.close-icon {
  font-size: 20px;
  font-weight: bold;
}

.mobile-menu-section {
  margin-bottom: 40px;
}

.mobile-menu-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.mobile-menu-hamm {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.mobile-hamm-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  animation: float 3s ease-in-out infinite;
}

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

.hamm-speech-bubble {
  background: rgba(255, 255, 255, 0.9);
  color: #4a5568;
  padding: 10px 15px;
  border-radius: 20px;
  margin-top: 15px;
  position: relative;
  font-weight: 600;
}

.hamm-speech-bubble::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(255, 255, 255, 0.9);
}

.mobile-menu-buy-button {
  width: 100%;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  color: white;
  border: none;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  transition: all 0.3s ease;
}

.mobile-menu-buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.toy-room-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
}

.floating-hamms {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-hamm {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  animation: hammFloat 8s ease-in-out infinite;
  opacity: 0.7;
}

.hamm-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.hamm-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}
.hamm-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}
.hamm-4 {
  bottom: 10%;
  right: 10%;
  animation-delay: 6s;
}

@keyframes hammFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hamm-character {
  margin-bottom: 40px;
  position: relative;
}

.character-container {
  position: relative;
  display: inline-block;
}

.hamm-hero-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 5px solid #ffd700;
  animation: heroHammFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

@keyframes heroHammFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(2deg) scale(1.05);
  }
  50% {
    transform: translateY(-25px) rotate(0deg) scale(1.1);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg) scale(1.05);
  }
}

.character-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 107, 157, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  animation: auraGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes auraGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.character-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkleMove 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.sparkle:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: 0.5s;
}
.sparkle:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: 1s;
}
.sparkle:nth-child(4) {
  bottom: 10%;
  right: 20%;
  animation-delay: 1.5s;
}

@keyframes sparkleMove {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.5);
    opacity: 0.5;
  }
}

.speech-bubble {
  position: absolute;
  top: -60px;
  right: -100px;
  background: rgba(255, 255, 255, 0.95);
  color: #4a5568;
  padding: 15px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: bubbleFloat 2s ease-in-out infinite;
}

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

.bubble-tail {
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.95);
}

.hero-title {
  font-family: "Fredoka One", cursive;
  font-size: clamp(4rem, 15vw, 10rem);
  margin-bottom: 20px;
  line-height: 0.9;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.title-letter {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700, #ff6b9d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
  animation: rainbowText 3s ease-in-out infinite, letterBounce 2s ease-in-out infinite;
}

.title-letter:nth-child(1) {
  animation-delay: 0s, 0s;
}
.title-letter:nth-child(2) {
  animation-delay: 0.2s, 0.2s;
}
.title-letter:nth-child(3) {
  animation-delay: 0.4s, 0.4s;
}
.title-letter:nth-child(4) {
  animation-delay: 0.6s, 0.6s;
}

@keyframes rainbowText {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes letterBounce {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(2deg);
  }
  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 40px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.subtitle-word {
  display: inline-block;
  animation: wordPop 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.subtitle-word:nth-child(1) {
  animation-delay: 0.1s;
}
.subtitle-word:nth-child(2) {
  animation-delay: 0.2s;
}
.subtitle-word:nth-child(3) {
  animation-delay: 0.3s;
}
.subtitle-word:nth-child(4) {
  animation-delay: 0.4s;
}
.subtitle-word:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes wordPop {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.buy-button {
  position: relative;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  color: white;
  border: none;
  padding: 20px 40px;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.buy-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.6);
}

.button-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.buy-button:hover .button-bg {
  left: 100%;
}

.button-text {
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 20px;
  min-width: 120px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 107, 157, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #ff6b9d;
  margin-bottom: 5px;
  font-family: "Fredoka One", cursive;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.title-bg {
  font-family: "Fredoka One", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowText 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 107, 157, 0.3);
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700, #ff6b9d);
  background-size: 300% 300%;
  animation: rainbowBorder 3s ease-in-out infinite;
  z-index: -1;
  margin: -3px;
  border-radius: 20px;
}

@keyframes rainbowBorder {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #4a5568;
  margin-bottom: 15px;
}

.card-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.powers-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.powers-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a5568;
}

.powers-list li::before {
  content: "⚡";
  font-size: 1.5rem;
}

.about-visual {
  text-align: center;
}

.hamm-showcase {
  position: relative;
  display: inline-block;
}

.showcase-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  border: 5px solid #ffd700;
  animation: showcaseFloat 4s ease-in-out infinite;
}

@keyframes showcaseFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.showcase-effects {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  pointer-events: none;
}

.energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 3px solid #ff6b9d;
  border-radius: 50%;
  animation: energyPulse 2s ease-in-out infinite;
}

@keyframes energyPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* How to Buy Section */
.how-to-buy-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.quest-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.quest-path {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b9d, #4ecdc4, #ffd700, #ff6b9d);
  background-size: 300% 300%;
  animation: rainbowPath 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes rainbowPath {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.quest-step {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: stepAppear 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.quest-step[data-step="1"] {
  animation-delay: 0.1s;
}
.quest-step[data-step="2"] {
  animation-delay: 0.3s;
}
.quest-step[data-step="3"] {
  animation-delay: 0.5s;
}
.quest-step[data-step="4"] {
  animation-delay: 0.7s;
}

@keyframes stepAppear {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.step-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffd700;
  transition: all 0.3s ease;
}

.step-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: #ff6b9d;
  font-family: "Fredoka One", cursive;
}

.icon-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
}

.step-content p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-visual {
  margin-top: 15px;
}

.step-hamm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  animation: stepHammBounce 2s ease-in-out infinite;
}

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

/* Tokenomics Section */
.tokenomics-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.tokenomics-content {
  display: block;
}

.tokenomics-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.treasure-chart {
  text-align: center;
}

.chart-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 40px;
}

.animated-chart {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(#ff6b9d 0% 40%, #4ecdc4 40% 70%, #ffd700 70% 90%, #9b59b6 90% 100%);
  animation: chartRotate 10s linear infinite;
}

@keyframes chartRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffd700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chart-hamm {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: chartHammSpin 3s ease-in-out infinite;
}

@keyframes chartHammSpin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}

.center-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: centerGlow 2s ease-in-out infinite;
}

@keyframes centerGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.chart-legend {
  display: grid;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: #4a5568;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateX(10px);
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-1 {
  background: #ff6b9d;
}
.color-2 {
  background: #4ecdc4;
}
.color-3 {
  background: #ffd700;
}
.color-4 {
  background: #9b59b6;
}

.tokenomics-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700, #ff6b9d);
  background-size: 300% 300%;
  animation: rainbowBorder 3s ease-in-out infinite;
  z-index: -1;
  margin: -3px;
  border-radius: 20px;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.card-icon {
  margin-bottom: 15px;
}

.detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffd700;
}

.detail-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #4a5568;
  margin-bottom: 10px;
}

.detail-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff6b9d;
  font-family: "Fredoka One", cursive;
}

/* Community Section */
.community-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.community-content {
  text-align: center;
}

.community-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.community-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #ffd700;
  animation: communityFloat 3s ease-in-out infinite;
}

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

.community-text {
  flex: 1;
  text-align: left;
}

.community-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: "Fredoka One", cursive;
}

.community-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.9;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.social-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.social-icon-large {
  margin-bottom: 20px;
}

.social-hamm {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  animation: socialHammFloat 3s ease-in-out infinite;
}

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

.social-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: "Fredoka One", cursive;
}

.social-card p {
  font-size: 1rem;
  opacity: 0.9;
}

.card-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-card:hover .card-hover-effect {
  left: 100%;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-hamm {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  animation: footerFloat 3s ease-in-out infinite;
}

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

.footer-hamm p {
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: #ffd700;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b9d;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #ff6b9d;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-container {
    gap: 20px;
  }

  .about-content,
  .tokenomics-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .community-text {
    text-align: center;
  }

  .quest-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }

  .quest-path {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container,
  .social-icons {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .hamm-hero-image {
    width: 250px;
    height: 250px;
  }

  .speech-bubble {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }

  .bubble-tail {
    display: none;
  }

  .section-title .title-bg {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .quest-steps {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .chart-container {
    width: 250px;
    height: 250px;
  }

  .showcase-image {
    max-width: 300px;
  }

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

  .footer-links {
    justify-content: center;
  }

  .floating-hamm {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .buy-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .hamm-hero-image {
    width: 200px;
    height: 200px;
  }

  .mobile-menu-content {
    padding: 15px;
  }

  .mobile-menu-logo {
    font-size: 1.5rem;
  }

  .story-card,
  .detail-card {
    padding: 20px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-number {
    font-size: 1.5rem;
  }

  .social-card {
    padding: 20px;
  }

  .social-hamm {
    width: 60px;
    height: 60px;
  }

  .community-image {
    width: 150px;
    height: 150px;
  }
}

/* Animations and Effects */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading states */
.loading {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #4ecdc4, #ff6b9d);
}

/* Selection color */
::selection {
  background: rgba(255, 107, 157, 0.3);
  color: #2d3748;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
  outline: 3px solid #ff6b9d;
  outline-offset: 2px;
}

/* Falling Coins Effect */
.falling-coins-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.falling-coin {
  position: absolute;
  font-size: 24px;
  color: #ffd700;
  animation: fallDown linear infinite;
  pointer-events: none;
}

@keyframes fallDown {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Mouse Follower Coin */
.mouse-coin {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffd700 30%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transition: transform 0.1s ease-out;
  opacity: 0.8;
  display: none;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Contract Section Styles */
.contract-section {
  text-align: center;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.contract-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffd700, #ff6b9d);
  background-size: 300% 300%;
  animation: rainbowBorder 3s ease-in-out infinite;
  z-index: -1;
  margin: -3px;
  border-radius: 20px;
}

.contract-title {
  font-size: 2rem;
  font-weight: 800;
  color: #4a5568;
  margin-bottom: 30px;
  font-family: "Fredoka One", cursive;
}

.contract-container {
  display: flex;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 20px;
  align-items: center;
}

.contract-input {
  flex: 1;
  padding: 15px 20px;
  border: 3px solid #ff6b9d;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  color: #4a5568;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
}

.contract-input:focus {
  border-color: #4ecdc4;
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.copy-button {
  padding: 15px 25px;
  background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 100px;
}

.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
}

.copy-button:active {
  transform: translateY(0px);
}

.copy-success {
  color: #4ecdc4;
  font-weight: 800;
}

.contract-warning {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 15px;
}

/* Update tokenomics content to single column */
.tokenomics-content {
  display: block;
}

.tokenomics-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Mobile responsiveness for contract section */
@media (max-width: 768px) {
  .contract-container {
    flex-direction: column;
    gap: 15px;
  }

  .contract-input {
    width: 100%;
    font-size: 0.9rem;
  }

  .copy-button {
    width: 100%;
  }

  .mouse-coin {
    display: none !important;
  }

  .tokenomics-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 769px) {
  .mouse-coin {
    display: block;
  }
}
