body {
  background-color: #ffcce6;
  font-family: "Courier New", monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.container {
  text-align: center;
  position: relative;
  width: 100%;
}

h1 {
  color: #ff1493;
  text-shadow: 2px 2px 0 #fff;
  font-size: 2.5em;
  margin-bottom: 30px;
}

button {
  background-color: #ff69b4;
  border: 3px solid #fff;
  color: white;
  padding: 15px 30px;
  font-size: 1.2em;
  cursor: pointer;
  font-family: "Courier New", monospace;
  box-shadow: 3px 3px 0 #ff1493;
  transition: all 0.2s;
}

button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #ff1493;
}

.pixel-panda {
  font-size: 5em;
  margin-top: 30px;
}

.hidden {
  display: none;
}

@keyframes dance {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px) rotate(10deg);
  }
  50% {
    transform: translateY(0) rotate(-10deg);
  }
  75% {
    transform: translateY(-10px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.dance .pixel-panda {
  animation: dance 1s infinite;
  display: inline-block;
}

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

.confetti-piece {
  position: absolute;
  animation: confettiFall 3s linear infinite;
  color: #ff1493;
  font-size: 1.5em;
}

.confetti-piece:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.confetti-piece:nth-child(2) {
  left: 20%;
  animation-delay: -0.5s;
}
.confetti-piece:nth-child(3) {
  left: 30%;
  animation-delay: -1s;
}
.confetti-piece:nth-child(4) {
  left: 40%;
  animation-delay: -1.5s;
}
.confetti-piece:nth-child(5) {
  left: 50%;
  animation-delay: -2s;
}
.confetti-piece:nth-child(6) {
  left: 60%;
  animation-delay: -2.5s;
}
.confetti-piece:nth-child(7) {
  left: 70%;
  animation-delay: -3s;
}
.confetti-piece:nth-child(8) {
  left: 80%;
  animation-delay: -3.5s;
}

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

.dont-click {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff69b4;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

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

.birthday-message {
  color: #ff1493;
  font-size: 1.2em;
  margin-top: 20px;
  animation: fadeIn 1s forwards;
}

.signature {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-size: 0.9em;
}

.adventure-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #ff69b4;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.story-container {
  background-color: rgba(255, 243, 205, 0.95);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(142, 86, 255, 0.3);
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid #8e56ff;
  position: relative;
  min-height: 300px;
}

.story-section {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.story-section.hidden {
  display: none;
}

.story-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #4a154b;
  line-height: 1.6;
  font-family: "Courier New", monospace;
}

.choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.choice-buttons button {
  width: 100%;
  background-color: #8e56ff;
  border: 2px solid #4a154b;
  color: #fff5d6;
  padding: 20px 30px;
  font-size: 1.1em;
  cursor: pointer;
  font-family: "Courier New", monospace;
  box-shadow: 0 4px 8px rgba(74, 21, 75, 0.2);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.choice-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(142, 86, 255, 0.4);
  background-color: #9f70ff;
}

.story-container + h1 {
  color: #4a154b;
  text-shadow: 2px 2px 4px rgba(142, 86, 255, 0.3);
  font-size: 2.5em;
  margin-bottom: 40px;
}

.restart-button {
  margin-top: 20px;
  background-color: #4a154b;
  border-color: #8e56ff;
}

.restart-button:hover {
  background-color: #6a356b;
}

.story-container {
  animation: none;
}

.back-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #8e56ff;
  border: 2px solid #4a154b;
  color: #fff5d6;
  padding: 10px 20px;
  font-size: 0.9em;
  cursor: pointer;
  font-family: "Courier New", monospace;
  box-shadow: 0 4px 8px rgba(74, 21, 75, 0.2);
  transition: all 0.3s ease;
  border-radius: 8px;
  text-decoration: none;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(142, 86, 255, 0.4);
  background-color: #9f70ff;
}
