body {
  background-color: #ffcce6;
  font-family: "Comic Sans MS", cursive;
  text-align: center;
  background-image: url('/api/placeholder/50/50');
  margin: 0;
  padding: 20px;
  cursor: url('../cursors/stellaris.png'), auto;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.header {
  color: #ff1a75;
  text-shadow: 2px 2px #ffffff;
  animation: rainbow 3s infinite;
}

.love-calculator {
  background-color: white;
  border: 3px dashed #ff66b2;
  padding: 20px;
  margin: 20px auto;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.marquee {
  background-color: #ff66b2;
  color: white;
  padding: 10px;
  margin: 20px 0;
}

input {
  font-family: "Comic Sans MS", cursive;
  padding: 5px;
  margin: 5px;
  border: 2px solid #ff66b2;
}

button {
  background-color: #ff1a75;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  font-family: "Comic Sans MS", cursive;
}

.result {
  font-size: 24px;
  margin: 20px;
  padding: 10px;
  background-color: #ffe6f2;
  border-radius: 5px;
}

.sparkle {
  pointer-events: none;
  position: fixed;
  width: 20px;
  height: 20px;
  font-size: 20px;
  transform: translate(-50%, -50%);
  animation: sparkle-fade 1s forwards;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
  }
}

@keyframes rainbow {
  0% {
    color: #ff1a75;
  }

  33% {
    color: #ff66b2;
  }

  66% {
    color: #ff99cc;
  }

  100% {
    color: #ff1a75;
  }
}

@keyframes sparkle {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.counter {
  font-size: 24px;
  color: #ff66b2;
  margin-top: 20px;
  font-weight: bold;
}

.guestbook {
  background-color: white;
  border: 3px dashed #ff66b2;
  padding: 20px;
  margin: 20px auto;
  width: 80%;
  max-width: 500px;
  text-align: left;
  height: 300px;
  overflow-y: auto;
}

.guestbook-entry {
  margin: 10px 0;
  padding: 10px;
  background-color: #ffe6f2;
  border-radius: 5px;
  animation: slideIn 0.5s ease-out;
}

.guestbook-date {
  font-size: 0.8em;
  color: #ff66b2;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.ascii-container {
  font-family: monospace;
  white-space: pre;
  background-color: black;
  color: pink;
  padding: 20px;
  border-radius: 10px;
  width: fit-content;
  margin: 20px auto;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.haiku-generator {
  background-color: white;
  border: 3px dashed #ff66b2;
  padding: 20px;
  margin: 20px auto;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.haiku-result {
  font-family: "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 20px;
  padding: 20px;
  background-color: #ffe6f2;
  border-radius: 5px;
  white-space: pre-line;
}

.web-awards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.web-badge {
  background: linear-gradient(45deg, #ff66b2, #ff99cc);
  border: 2px solid #ff1a75;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  color: white;
  text-shadow: 1px 1px #000;
  animation: shine 2s infinite;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@keyframes shine {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.2);
  }

  100% {
    filter: brightness(1);
  }
}

.flex-container {
  display: flex;
  align-items: flex-start;
}

.ensemble-lovelab {
  flex: 1;
  margin-right: 20px;
}

.main-content {
  flex: 1;
}

.tab-container {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-button {
  background-color: #ff99cc;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Comic Sans MS", cursive;
  color: white;
  transition: background-color 0.3s;
}

.tab-button.active {
  background-color: #ff1a75;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Game Styles */
#game-area {
  width: 100%;
  height: 400px;
  background: #ffe6f2;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.game-item {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s;
  user-select: none;
}

.game-item:hover {
  transform: scale(1.2);
}

.heart {
  color: #ff1a75;
  font-size: 30px;
}

.zap {
  color: #ffd700;
  font-size: 30px;
}

.score-display {
  font-size: 24px;
  margin: 10px;
  color: #ff1a75;
}

.leaderboard {
  background: white;
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
}

.leaderboard-entry {
  padding: 5px;
  margin: 5px 0;
  display: flex;
  justify-content: space-between;
}

.player-score {
  background: #ffe6f2;
  font-weight: bold;
}

.sign-up-section {
  text-align: center;
  margin: 20px;
  padding: 15px;
  border: 4px solid #ff69b4;
  background-color: #fff0f5;
}

.sign-up-section h2 {
  color: #ff1493;
  font-size: 24px;
  margin-bottom: 15px;
}

.construction-notice {
  margin: 15px 0;
}

.construction-notice img {
  max-width: 200px;
}

.coming-soon {
  color: red;
  font-weight: bold;
  animation: blink 1s infinite;
}

.signup-button {
  background-color: #ff69b4;
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: not-allowed;
  opacity: 0.7;
}

.beta-notice {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.chat-box {
  margin: 20px;
  border: 2px solid #0000ff;
  background-color: black;
  padding: 10px;
}

.chat-header {
  background-color: #000080;
  color: white;
  padding: 5px;
  text-align: center;
  margin-bottom: 10px;
}

#chat-content {
  background-color: black;
  color: #00ff00;
  font-family: "Courier New", monospace;
  padding: 15px;
  height: 200px;
  overflow: auto;
  text-align: left;
  width: 95%;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}