* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  background: #00dd73;
}

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

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00dd73 0%, #00c766 30%, #e84142 70%, #00b359 100%);
}

.bg-radial-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 50%);
}

.bg-radial-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(0, 221, 115, 0.3), transparent 50%);
}

.bg-radial-3 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 65, 66, 0.2), transparent 60%);
}

/* Floating Cheese */
.cheese {
  position: absolute;
  font-size: 1.5rem;
  color: #fbbf24;
  pointer-events: none;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-100px) translateX(30px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-50px) translateX(-30px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-150px) translateX(20px) rotate(270deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-200px) translateX(0) rotate(360deg);
    opacity: 0.3;
  }
}

/* Cursor Tail */
.cursor-tail {
  position: fixed;
  width: 32px;
  height: 64px;
  background: linear-gradient(to bottom, #00dd73, #e84142, #00b359);
  border-radius: 50px;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 0 25px rgba(0, 221, 115, 0.6), 0 0 15px rgba(232, 65, 66, 0.4);
  animation: wiggle 2s infinite ease-in-out;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor-tail.visible {
  opacity: 1;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg) scaleY(1);
  }
  25% {
    transform: rotate(15deg) scaleY(1.3);
  }
  75% {
    transform: rotate(-15deg) scaleY(0.7);
  }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 16px;
  position: relative;
}

.bg-eyes {
  position: absolute;
  top: 80px;
  left: 40px;
  opacity: 0.2;
  animation: eyeFloat 8s infinite ease-in-out;
}

.eyes-img {
  width: 128px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
}

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

.hero-mouse-sleepy {
  position: absolute;
  top: 128px;
  right: 80px;
  z-index: 0;
  opacity: 0.6;
  animation: sleepyFloat 4s infinite ease-in-out;
}

.sleepy-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@keyframes sleepyFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Title */
.title-container {
  text-align: center;
  margin-bottom: 64px;
  z-index: 10;
  animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-title {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px rgba(232, 65, 66, 0.3);
  animation: titleGlow 3s infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px rgba(232, 65, 66, 0.3);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 20px rgba(232, 65, 66, 0.6);
  }
}

.title-mouse {
  color: #fbbf24;
  display: block;
  animation: mouseScale 2s infinite;
}

@keyframes mouseScale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (min-width: 768px) {
  .title-mouse {
    display: inline;
  }
}

.subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  max-width: 512px;
  margin: 0 auto;
  line-height: 1.5;
}

.avax-highlight {
  color: #e84142;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(232, 65, 66, 0.5);
  animation: avaxPulse 2s infinite;
}

@keyframes avaxPulse {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(232, 65, 66, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(232, 65, 66, 0.8);
  }
}

.red-highlight {
  color: #e84142;
  text-shadow: 0 0 10px rgba(232, 65, 66, 0.5);
}

/* Main Mouse */
.main-mouse {
  margin-bottom: 64px;
  cursor: pointer;
  position: relative;
  animation: mainMouseAppear 0.8s 0.8s both;
}

@keyframes mainMouseAppear {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.grumpy-img {
  width: clamp(192px, 20vw, 256px);
  height: clamp(192px, 20vw, 256px);
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
  animation: grumpyFloat 5s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.main-mouse:hover .grumpy-img {
  transform: scale(1.1);
  animation: grumpyWiggle 0.5s ease-in-out;
}

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

@keyframes grumpyWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

.mouse-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.3), rgba(232, 65, 66, 0.2), transparent 70%);
  border-radius: 50%;
  blur: 60px;
  animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 64px;
  animation: buttonsSlideUp 0.8s 1.2s both;
}

@keyframes buttonsSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  width: 24px;
  height: 24px;
}

.btn-twitter {
  background: #1d9bf0;
  color: white;
}

.btn-twitter:hover {
  background: #1a8cd8;
  box-shadow: 0 15px 40px rgba(29, 155, 240, 0.4);
}

.btn-telegram {
  background: #0088cc;
  color: white;
}

.btn-telegram:hover {
  background: #006ba6;
  box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
}

.btn-dex {
  background: #e84142;
  color: white;
}

.btn-dex:hover {
  background: #d73435;
  box-shadow: 0 15px 40px rgba(232, 65, 66, 0.4);
}

.btn-game {
  background: #eab308;
  color: black;
  animation: gameButtonAppear 1s 2s both;
}

.btn-game:hover {
  background: #ca8a04;
  box-shadow: 0 15px 40px rgba(234, 179, 8, 0.4);
}

@keyframes gameButtonAppear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Coming Soon Box */
.coming-soon-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: comingSoonAppear 0.8s 1.5s both;
  transition: transform 0.3s ease;
}

.coming-soon-box:hover {
  transform: scale(1.02);
}

@keyframes comingSoonAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.coming-soon-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.coming-soon-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.sparkle-icon {
  width: 24px;
  height: 24px;
  color: #fbbf24;
}

.typewriter-container {
  font-family: "Courier New", monospace;
  font-size: 24px;
  color: white;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cursor-blink {
  color: #fbbf24;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.avax-badge {
  background: linear-gradient(45deg, #e84142, #ff6b6c);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  animation: avaxBadgePulse 2s infinite;
  margin-top: 16px;
}

.avax-text {
  color: white;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

@keyframes avaxBadgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(232, 65, 66, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(232, 65, 66, 0.6);
  }
}

/* Scroll Mice */
.scroll-mice {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.floating-mouse-1 {
  position: absolute;
  top: 25%;
  left: -100px;
  animation: scrollFloat1 20s infinite linear;
}

.floating-mouse-2 {
  position: absolute;
  top: 75%;
  right: -100px;
  animation: scrollFloat2 25s infinite linear;
}

.floating-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.6;
}

@keyframes scrollFloat1 {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  100% {
    transform: translateX(calc(100vw + 200px)) rotate(360deg);
  }
}

@keyframes scrollFloat2 {
  0% {
    transform: translateX(0) rotate(360deg);
  }
  100% {
    transform: translateX(calc(-100vw - 200px)) rotate(0deg);
  }
}

.center-eyes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.center-eyes-img {
  width: 160px;
  height: 80px;
  object-fit: cover;
  border-radius: 24px;
  animation: centerEyesFloat 5s infinite ease-in-out;
}

@keyframes centerEyesFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.pattern-section,
.simple-section {
  padding: 128px 16px;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 48px;
}

.pattern-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.pattern-container:hover {
  transform: scale(1.02);
}

.pattern-img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 221, 115, 0.8), rgba(232, 65, 66, 0.3), transparent);
}

.pattern-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}

.pattern-text p {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

/* Simple Section */
.simple-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .simple-content {
    flex-direction: row;
  }
}

.simple-image {
  flex: 1;
  transition: transform 0.3s ease;
}

.simple-image:hover {
  transform: scale(1.05);
}

.simple-img {
  width: 192px;
  height: 192px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.simple-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .simple-text {
    text-align: left;
  }
}

.simple-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
}

.simple-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Game */
.game-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.game-header {
  text-align: center;
  margin-bottom: 16px;
}

.game-header h3 {
  color: white;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.game-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 600;
}

.game-instructions {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
}

#game-canvas {
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, #00dd73, #e84142, #00b359);
}

/* Easter Egg */
.easter-egg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  animation: easterEggAppear 0.6s ease-out;
}

.easter-egg-content {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  color: white;
  padding: 24px 32px;
  border-radius: 24px;
  border: 2px solid #e84142;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(232, 65, 66, 0.3);
  max-width: 320px;
}

.easter-egg-content p {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  animation: easterEggPulse 0.5s ease-in-out 3;
}

@keyframes easterEggAppear {
  from {
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes easterEggPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 16px;
  }

  .bg-eyes,
  .hero-mouse-sleepy {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .game-container {
    bottom: 8px;
    right: 8px;
    left: 8px;
    padding: 16px;
  }

  #game-canvas {
    width: 100%;
    height: auto;
  }
}
