:root {
  --bg: #f7f6ff;
  --bg-deep: #ece8ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(44, 56, 96, 0.12);
  --text: #1d2140;
  --muted: #66708a;
  --brand: #d65d2e;
  --brand-deep: #a7441b;
  --accent: #1f7a7a;
  --accent-soft: rgba(31, 122, 122, 0.12);
  --shadow-lg: 0 24px 60px rgba(34, 40, 74, 0.14);
  --shadow-md: 0 14px 32px rgba(34, 40, 74, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable Display", "Aptos", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 93, 46, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 122, 122, 0.16), transparent 32%),
    linear-gradient(180deg, #fcfbff 0%, var(--bg) 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.bg-glow {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.42;
  pointer-events: none;
}

.bg-glow-one {
  top: -6rem;
  right: -4rem;
  background: rgba(214, 93, 46, 0.22);
}

.bg-glow-two {
  left: -5rem;
  bottom: -4rem;
  background: rgba(31, 122, 122, 0.18);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1.25rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.screen {
  display: none;
}

.screen-active {
  display: block;
}

.hero {
  padding: 2rem 0 1.2rem;
}

.kicker,
.section-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.section-label {
  color: var(--muted);
}

h1 {
  margin: 0.7rem 0 0;
  max-width: 11ch;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.intro {
  margin: 0.9rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.65;
}

.panel,
.taboo-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.panel {
  padding: 1.25rem;
}

.stack-lg > * + * {
  margin-top: 1.5rem;
}

.stack-sm > * + * {
  margin-top: 0.8rem;
}

.choice-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.choice-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.choice-option input:checked + span {
  border-color: rgba(214, 93, 46, 0.36);
  box-shadow: 0 18px 28px rgba(214, 93, 46, 0.12);
  background: linear-gradient(180deg, rgba(214, 93, 46, 0.12), rgba(255, 255, 255, 0.88));
  transform: translateY(-1px);
}

.button {
  border: 0;
  border-radius: 999px;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 30px rgba(167, 68, 27, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.topbar,
.card-head,
.forbidden-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar {
  margin-bottom: 1rem;
}

.meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.meta-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.taboo-card {
  padding: 1rem;
}

.prompt-card,
.forbidden-item {
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 26%),
    linear-gradient(180deg, var(--surface-strong), rgba(245, 247, 255, 0.94));
  border: 1px solid var(--line);
}

.prompt-card {
  margin-top: 1rem;
  padding: 1.4rem;
}

.prompt-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-text {
  margin: 0.5rem 0 0;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.prompt-translation {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.forbidden-block {
  margin-top: 1.2rem;
}

.forbidden-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.forbidden-item {
  padding: 1rem 1.1rem;
}

.forbidden-word {
  margin: 0;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  font-weight: 800;
}

.forbidden-translation {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.forbidden-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(214, 93, 46, 0.12);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .shell {
    padding: 1rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .card-head,
  .forbidden-item {
    flex-direction: column;
    align-items: stretch;
  }

  .meta-group {
    justify-content: flex-start;
  }

  .button,
  .button-primary,
  .button-secondary {
    width: 100%;
  }
}
