/* Topic Selection UI */
.wordle-topics-container {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 90px;
  padding: 20px;
}
.wordle-topics-title {
  text-align: center;
  font-size: 24px;
  color: #6366f1;
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
}
.wordle-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.wordle-topic-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wordle-topic-card:hover {
  background: rgba(99,102,241,0.2);
  transform: translateY(-5px);
  border-color: #6366f1;
}
.wordle-topic-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.wordle-topic-name {
  font-weight: bold;
  font-size: 16px;
  color: white;
}
.wordle-topic-card.random {
  background: linear-gradient(135deg, rgba(155,89,182,0.3), rgba(142,68,173,0.5));
  border-color: #9b59b6;
  grid-column: 1 / -1;
}

/* Floating animation for +Xu */
.floating-coin {
  position: absolute;
  color: #f1c40f;
  font-weight: 900;
  font-size: 24px;
  pointer-events: none;
  animation: floatUp 1s ease-out forwards;
  z-index: 9999;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* Game Screen */
.wordle-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}
.streak-counter {
  color: #ff9f43;
  font-weight: 900;
  font-size: 18px;
}
.topic-label {
  color: #00d2d3;
  font-weight: 900;
  font-size: 16px;
}

body {
  overflow-y: auto !important;
}
