/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  overflow: hidden;
}

.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 避免影响点击 */
}

.content {
  text-align: center;
  color: white;
  z-index: 1;
  animation: fadeIn 2s ease-in-out;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

button {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.surprise-content {
  display: none;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 15px;
  animation: surpriseEffect 2s ease-out forwards;
}

.surprise-content h2 {
  font-size: 3rem;
  color: #ffeb3b;
  margin-bottom: 1rem;
}

.surprise-content p {
  font-size: 1.5rem;
}

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