:root {
  --fg: #111;
  --bg: #fff;
  --accent: #ffb6c1;
  --accent-strong: #ff99aa;
  --glass: rgba(255,255,255,0.88);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg) no-repeat center / cover fixed;
  background-image: url("https://png.pngtree.com/background/20230519/original/pngtree-pure-literary-koi-good-luck-beautiful-background-picture-image_2659652.jpg");
}

main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 1.25rem;
  padding: 3.5rem 1rem 2rem;
  backdrop-filter: saturate(1.05);
}

#title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.box {
  width: min(620px, 92vw);
  padding: 1.25rem;
  background: var(--glass);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.box:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #3a003a;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, transform 80ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 14px rgba(255, 182, 193, 0.35);
}

button:hover {
  background: var(--accent-strong);
}

button:active {
  transform: translateY(1px);
}

button.secondary {
  background: #f1f1f1;
  color: #222;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

#lang-switch {
  position: fixed;
  top: 12px;
  right: 12px;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

#next-btn {
  width: min(620px, 92vw);
  justify-self: center;
}

.choice {
  display: block;
  width: 100%;
  margin: 0.4rem 0;
  text-align: left;
}

.q {
  font-weight: 600;
  line-height: 1.5;
  display: block;
}

.meaning {
  font-style: italic;
  color: #3a003a;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .box, button { animation: none !important; }
}

