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

:root {
  --discord-blue: #5865f2;
  --discord-blue-dark: #4752c4;
  --discord-green: #57f287;
  --discord-yellow: #fee75c;
  --discord-red: #ed4245;
  --discord-white: #ffffff;
  --discord-black: #23272a;
  --discord-dark: #2c2f33;
  --discord-darker: #1e2124;
  --discord-gray: #99aab5;
  --discord-light-gray: #f6f6f6;

  --gradient-primary: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  --gradient-secondary: linear-gradient(135deg, #57f287 0%, #43b581 100%);
  --gradient-accent: linear-gradient(135deg, #fee75c 0%, #f1c40f 100%);
  --gradient-dark: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-discord: 0 8px 32px rgba(88, 101, 242, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #202225;
  line-height: 1.6;
  color: var(--discord-white);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  height: 100vh;
  scroll-snap-type: y mandatory;
}

.landing-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: -10;
  background: linear-gradient(135deg, #1e2124 0%, #2c2f33 50%, #23272a 100%);
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.landing-background::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(
      circle at 25% 40%,
      rgba(88, 101, 242, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 20%,
      rgba(87, 242, 135, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(254, 231, 92, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundFloat 15s ease-in-out infinite alternate;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.landing-background::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(
      circle at 80% 60%,
      rgba(88, 101, 242, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(87, 242, 135, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 60% 90%,
      rgba(237, 66, 69, 0.05) 0%,
      transparent 30%
    );
  animation: backgroundShift 20s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #18191C;
  z-index: 0;
  scroll-snap-align: start;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 80vh;
}

.hero-title-section {
  text-align: center;
  grid-row: 1;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  grid-row: 2;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-actions a:first-child {
  background: linear-gradient(135deg, var(--discord-blue) 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.hero-actions a:first-child:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.hero-actions a:last-child {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-actions a:last-child:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .nebula-1 {
    width: 150px;
    height: 150px;
  }
  
  .nebula-2 {
    width: 200px;
    height: 200px;
  }
  
  .nebula-3 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions a {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
  }
  
  .hero-section {
    padding: 1rem;
    min-height: 100vh;
  }
  
  .scroll-down-indicator {
    bottom: 20px;
  }
  
  .scroll-down-indicator .arrow {
    width: 25px;
    height: 25px;
  }
  
  
  .star {
    animation: none !important;
  }
  
  .star.large {
    animation: twinkle-simple 4s infinite alternate;
  }
  
  .nebula {
    animation: none !important;
    opacity: 0.1;
  }
  
  
  .scramble-text .char.floating {
    animation: none !important;
  }
  
  .scramble-text .char.revealed {
    animation: simple-reveal 0.5s ease-out;
  }
  
  
  @media (prefers-reduced-motion: reduce) {
    .star, .nebula, .scramble-text .char {
      animation: none !important;
    }
    
    .scroll-down-indicator {
      animation: none !important;
    }
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 0.5rem;
  }
  
  .star.large {
    width: 2px;
    height: 2px;
  }
  
  .star.medium {
    width: 1.5px;
    height: 1.5px;
  }
  
  .nebula-1, .nebula-2, .nebula-3 {
    width: 80px;
    height: 80px;
  }
  
  .scroll-down-indicator {
    bottom: 15px;
  }
  
  .scroll-down-indicator .arrow {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 2.2rem;
    padding: 0 0.5rem;
    word-wrap: break-word;
  }
  
  .hero-section {
    padding: 0.5rem 0.25rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .scroll-down-indicator {
    bottom: 10px;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
  position: relative;
  z-index: 2;
}

.hero-description {
  font-size: 1.4rem;
  color: var(--discord-gray);
  margin-bottom: 0;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scramble-text {
  position: relative;
  display: inline-block !important;
  overflow: visible;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.scramble-text.initialized {
  opacity: 1 !important;
  visibility: visible !important;
}

.scramble-text .char {
  display: inline-block !important;
  position: relative;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, color, opacity, text-shadow;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: bottom center;
  font-weight: 800;
}

.scramble-text .char.space {
  color: transparent !important;
  opacity: 1 !important;
  min-width: 0.3em;
}

.scramble-text .char.revealed {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.hero-title.scramble-text {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: white !important;
  position: relative;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.2;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  perspective: 1000px;
}

@keyframes charFloat1 {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  20% {
    transform: translateY(-4px) scale(1.03) rotate(1deg);
    text-shadow: 0 0 12px rgba(88, 101, 242, 0.5),
      0 0 20px rgba(88, 101, 242, 0.2);
  }
  40% {
    transform: translateY(-2px) scale(1.01) rotate(-0.5deg);
    text-shadow: 0 0 8px rgba(88, 101, 242, 0.3),
      0 0 15px rgba(88, 101, 242, 0.1);
  }
  60% {
    transform: translateY(-5px) scale(1.04) rotate(0deg);
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.6),
      0 0 30px rgba(88, 101, 242, 0.3);
  }
  80% {
    transform: translateY(-1px) scale(1) rotate(0.5deg);
    text-shadow: 0 0 10px rgba(87, 242, 135, 0.4),
      0 0 20px rgba(87, 242, 135, 0.1);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
}

@keyframes charFloat2 {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  25% {
    transform: translateY(-3px) scale(1.02) rotate(-1deg);
    text-shadow: 0 0 12px rgba(255, 102, 196, 0.5),
      0 0 20px rgba(255, 102, 196, 0.2);
  }
  50% {
    transform: translateY(-5px) scale(1.03) rotate(0.5deg);
    text-shadow: 0 0 15px rgba(254, 231, 92, 0.6),
      0 0 30px rgba(254, 231, 92, 0.3);
  }
  75% {
    transform: translateY(-2px) scale(1.01) rotate(-0.5deg);
    text-shadow: 0 0 10px rgba(87, 242, 135, 0.5),
      0 0 20px rgba(87, 242, 135, 0.2);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
}

@keyframes charFloat3 {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  30% {
    transform: translateY(-4px) scale(1.03) rotate(0.8deg);
    text-shadow: 0 0 15px rgba(138, 101, 242, 0.5),
      0 0 30px rgba(138, 101, 242, 0.2);
  }
  50% {
    transform: translateY(-2px) scale(1.01) rotate(-0.3deg);
    text-shadow: 0 0 8px rgba(138, 101, 242, 0.3),
      0 0 16px rgba(138, 101, 242, 0.15);
  }
  70% {
    transform: translateY(-3.5px) scale(1.02) rotate(0.5deg);
    text-shadow: 0 0 12px rgba(242, 87, 87, 0.6),
      0 0 25px rgba(242, 87, 87, 0.3);
  }
  85% {
    transform: translateY(-1px) scale(1) rotate(-0.2deg);
    text-shadow: 0 0 10px rgba(87, 212, 242, 0.5),
      0 0 20px rgba(87, 212, 242, 0.2);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
}

@keyframes charFloat4 {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  20%,
  80% {
    transform: translateY(-2px) scale(1.01) rotate(0.4deg);
    text-shadow: 0 0 8px rgba(88, 101, 242, 0.4);
  }
  35% {
    transform: translateY(-6px) scale(1.05) rotate(-0.5deg);
    text-shadow: 0 0 15px rgba(235, 69, 158, 0.6),
      0 0 30px rgba(235, 69, 158, 0.3);
  }
  65% {
    transform: translateY(-4px) scale(1.03) rotate(0.8deg);
    text-shadow: 0 0 12px rgba(254, 231, 92, 0.5),
      0 0 24px rgba(254, 231, 92, 0.25);
  }
}

@keyframes charFloat5 {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  10% {
    transform: translateY(-1px) scale(1) rotate(0.2deg);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  }
  30% {
    transform: translateY(-3px) scale(1.02) rotate(-0.6deg);
    text-shadow: 0 0 10px rgba(87, 242, 135, 0.5),
      0 0 20px rgba(87, 242, 135, 0.2);
  }
  50% {
    transform: translateY(-5px) scale(1.04) rotate(0.3deg);
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.6),
      0 0 30px rgba(88, 101, 242, 0.3);
  }
  70% {
    transform: translateY(-3px) scale(1.02) rotate(-0.4deg);
    text-shadow: 0 0 10px rgba(235, 69, 158, 0.5),
      0 0 20px rgba(235, 69, 158, 0.2);
  }
  90% {
    transform: translateY(-1px) scale(1) rotate(0.2deg);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  }
}

.scramble-text .char.floating:nth-child(5n) {
  animation: charFloat1 5s ease-in-out infinite;
}

.scramble-text .char.floating:nth-child(5n + 1) {
  animation: charFloat2 5.5s ease-in-out infinite;
  animation-delay: 0.2s;
}

.scramble-text .char.floating:nth-child(5n + 2) {
  animation: charFloat3 6s ease-in-out infinite;
  animation-delay: 0.4s;
}

.scramble-text .char.floating:nth-child(5n + 3) {
  animation: charFloat4 5.8s ease-in-out infinite;
  animation-delay: 0.6s;
}

.scramble-text .char.floating:nth-child(5n + 4) {
  animation: charFloat5 6.2s ease-in-out infinite;
  animation-delay: 0.8s;
}

.scramble-text .char.floating:first-child,
.scramble-text .char.floating:last-child {
  animation: charFloat1 4s ease-in-out infinite;
  animation-delay: 0.1s;
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8),
      0 0 10px rgba(88, 101, 242, 0.4);
  }
  10% {
    transform: translate(-2px, -2px);
    text-shadow: 0 0 4px rgba(255, 55, 55, 0.8), 0 0 10px rgba(255, 55, 55, 0.4);
  }
  20% {
    transform: translate(2px, 2px);
    text-shadow: 0 0 4px rgba(55, 55, 255, 0.8), 0 0 10px rgba(55, 55, 255, 0.4);
  }
  30% {
    transform: translate(-2px, 2px);
    text-shadow: 0 0 4px rgba(255, 255, 155, 0.8),
      0 0 10px rgba(255, 255, 155, 0.4);
  }
  40% {
    transform: translate(2px, -2px);
    text-shadow: 0 0 4px rgba(155, 255, 55, 0.8),
      0 0 10px rgba(155, 255, 55, 0.4);
  }
  50% {
    transform: translate(-1.5px, -2.5px);
    text-shadow: 0 0 4px rgba(255, 55, 255, 0.8),
      0 0 10px rgba(255, 55, 255, 0.4);
  }
  60% {
    transform: translate(1.5px, 1.5px);
    text-shadow: 0 0 4px rgba(55, 255, 255, 0.8),
      0 0 10px rgba(55, 255, 255, 0.4);
  }
  70% {
    transform: translate(-0.5px, 2px);
    text-shadow: 0 0 4px rgba(255, 155, 55, 0.8),
      0 0 10px rgba(255, 155, 55, 0.4);
  }
  80% {
    transform: translate(0.5px, -1px);
    text-shadow: 0 0 4px rgba(155, 55, 255, 0.8),
      0 0 10px rgba(155, 55, 255, 0.4);
  }
  90% {
    transform: translate(-2px, 1px);
    text-shadow: 0 0 4px rgba(55, 255, 155, 0.8),
      0 0 10px rgba(55, 255, 155, 0.4);
  }
}

.scramble-text .char[data-is-glitching="true"] {
  animation: glitch 0.3s infinite !important;
  position: relative;
  z-index: 5;
}

.scramble-text .char.user-hover {
  animation: charHoverPulse 0.8s ease-in-out infinite !important;
  color: var(--discord-blue) !important;
  position: relative;
  z-index: 10;
}

@keyframes charHoverPulse {
  0% {
    transform: translateY(-8px) scale(1.4) rotate(-2deg);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.8),
      0 0 20px rgba(88, 101, 242, 0.4), 0 0 30px rgba(88, 101, 242, 0.2);
  }
  50% {
    transform: translateY(-12px) scale(1.6) rotate(2deg);
    text-shadow: 0 0 15px rgba(88, 101, 242, 1),
      0 0 30px rgba(88, 101, 242, 0.6), 0 0 50px rgba(88, 101, 242, 0.3),
      0 0 70px rgba(88, 101, 242, 0.2);
  }
  100% {
    transform: translateY(-8px) scale(1.4) rotate(-2deg);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.8),
      0 0 20px rgba(88, 101, 242, 0.4), 0 0 30px rgba(88, 101, 242, 0.2);
  }
}

@keyframes spark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0.8;
  }
  40% {
    transform: scale(2.5) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

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

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #18191C 0%, #202225 50%, #18191C 100%);
}

.stars-layer {
  z-index: 1;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: white;
}

.star.small {
  width: 1px;
  height: 1px;
  animation: twinkle 4s infinite alternate;
}

.star.medium {
  width: 2px;
  height: 2px;
  animation: twinkle 6s infinite alternate;
}

.star.large {
  width: 3px;
  height: 3px;
  animation: twinkle-bright 8s infinite alternate;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
  z-index: 0;
}

.nebula-1 {
  width: 200px;
  height: 200px;
  background-color: rgba(88, 101, 242, 0.4);
  top: 20%;
  right: 20%;
  animation: float 20s infinite alternate ease-in-out;
}

.nebula-2 {
  width: 300px;
  height: 300px;
  background-color: rgba(235, 69, 158, 0.3);
  bottom: 10%;
  left: 10%;
  animation: float 25s infinite alternate-reverse ease-in-out;
}

.nebula-3 {
  width: 150px;
  height: 150px;
  background-color: rgba(87, 242, 135, 0.2);
  top: 30%;
  left: 25%;
  animation: float 15s infinite alternate ease-in-out;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    box-shadow: none;
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
  }
}

@keyframes twinkle-bright {
  0%, 100% {
    opacity: 0.5;
    box-shadow: none;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 8px rgba(88, 101, 242, 0.6);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
  100% {
    transform: translate(-10px, 25px);
  }
}

.glass-hero {
  background: rgba(24, 25, 28, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.scroll-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

.scroll-down-indicator .arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  margin: 0 auto;
}

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

@keyframes simple-reveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twinkle-simple {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes assetSparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

.assets-layer-1, .assets-layer-2, .assets-layer-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.08s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-asset {
    position: absolute;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 1s ease-out, transform 0.08s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.assets-layer-1 {
    transform: translateZ(0);
}

.assets-layer-2 {
    transform: translateZ(10px);
}

.assets-layer-3 {
    transform: translateZ(20px);
}

.floating-asset.robot {
    width: 80px;
    height: 80px;
    animation: robotFloat 4s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.trophy {
    width: 70px;
    height: 70px;
    animation: trophyGlow 3s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.wumpus {
    width: 90px;
    height: 90px;
    animation: wumpusBounce 2.5s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.flying-cat {
    width: 100px;
    height: 100px;
    animation: catFly 3.5s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.box {
    width: 60px;
    height: 60px;
    animation: boxTilt 4s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.green-egg {
    width: 50px;
    height: 50px;
    animation: eggSpin 5s linear infinite;
    transform-origin: center center;
}

.floating-asset.leaf {
    width: 40px;
    height: 40px;
    animation: leafSway 3s ease-in-out infinite;
    transform-origin: center center;
}

.floating-asset.pan {
    width: 65px;
    height: 65px;
    animation: panRotate 4.5s ease-in-out infinite;
    transform-origin: center center;
}

.parallax-layer[data-depth="0.15"] {
    transition: transform 0.08s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-layer[data-depth="0.15"] .floating-asset {
    transition: transform 0.08s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-layer[data-depth="0.25"] {
    transition: transform 0.06s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-layer[data-depth="0.25"] .floating-asset {
    transition: transform 0.06s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-layer[data-depth="0.35"] {
    transition: transform 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-layer[data-depth="0.35"] .floating-asset {
    transition: transform 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nebulas-layer {
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}