:root {
  --primary-color: #f72585;
  --secondary-color: #7209b7;
  --accent-color: #4cc9f0;
  --bg-color: #000;
  --text-color: #fff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  touch-action: none;
}

#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

#welcome-card {
  pointer-events: auto;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  max-width: 500px;
  animation: fadeIn 1s ease-out;
  transition: opacity 0.5s ease-in-out;
}

#welcome-card h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#welcome-card p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

#start-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

#start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(247, 37, 133, 0.5);
}

#start-btn:active {
  transform: scale(0.95);
}

#fullscreen-tip {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 1s ease-out;
}

#emoji-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.emoji {
  position: absolute;
  font-size: 5rem;
  pointer-events: none;
  animation: floatEmoji 3s ease-out forwards;
  will-change: transform, opacity;
}

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

@keyframes floatEmoji {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
  }
  100% {
    transform: translate(
      calc(-50% + var(--random-x, 0px)), 
      calc(-50% + var(--random-y, -200px))
    ) scale(1) rotate(var(--random-rot, 20deg));
    opacity: 0;
  }
}

.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
