body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0f2a2a, #081c1c);
  color: #e5e7eb;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* top bar */
.top-bar {
  position: fixed;
  top: 20px;
  left: 30px;
  right: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.score {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* game container */
#game {
  width: 360px;
  padding: 30px;

  border-radius: 16px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);

  text-align: center;
}

/* node image */
#node-image {
  width: 110px;
  height: 110px;
  margin-bottom: 20px;

  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

/* input */
.guess-wrap {
  position: relative;
  margin-bottom: 12px;
}

#guess {
  width: 100%;
  padding: 12px 14px;

  border-radius: 999px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.08);
  color: white;

  font-size: 14px;
}

#guess::placeholder {
  color: rgba(255,255,255,0.5);
}

/* button */
button {
  width: 100%;
  padding: 12px;

  border-radius: 999px;
  border: none;
  cursor: pointer;

  background: #22c55e;
  color: white;
  font-weight: 600;

  transition: all 0.15s ease;
}

button:hover {
  background: #16a34a;
}

/* result */
#result {
  margin-top: 12px;
  font-size: 14px;
}

/* suggestions */
.suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;

  background: #0b1f1f;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.06);

  display: none;
  z-index: 10;
}

.suggestions.show {
  display: block;
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: rgba(255,255,255,0.08);
}

body {
  font-family: "Manrope", sans-serif;
}