@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

:root {
  --bg-1: #fff8fc;
  --bg-2: #f6f4ff;
  --card-bg: rgba(255, 255, 255, 0.92);
  --text: #2f2440;
  --muted: #786d8a;
  --pink: #ff78b2;
  --pink-dark: #e05597;
  --purple: #9f7dff;
  --shadow: 0 18px 46px rgba(86, 53, 116, 0.14);
  --shadow-soft: 0 10px 24px rgba(86, 53, 116, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 203, 227, 0.55), transparent 28%),
    radial-gradient(circle at bottom left, rgba(215, 223, 255, 0.72), transparent 34%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.game-page {
  min-height: 100vh;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-shell {
  width: min(100%, 860px);
}

.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.back-link,
.brand-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.back-link {
  color: var(--muted);
}

.brand-badge {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
}

.container {
  width: min(100%, 560px);
  padding: 24px;
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.game-kicker {
  margin: 0 0 8px;
  color: var(--pink-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

h1 {
  text-align: center;
  margin: 0 0 6px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
}

h4 {
  text-align: center;
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 500;
}

.question {
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 18px;
}

.options {
  margin-bottom: 20px;
}

.option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7f4ff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.option input {
  margin: 0;
}

.button-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 14px;
  transition: opacity 0.2s ease;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.button:hover {
  opacity: 0.92;
}

.result {
  margin-top: 18px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--text);
}

.result p {
  margin: 0 0 12px;
}

.answer-card {
  background: #f7f4ff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  line-height: 1.9;
}

.hide {
  display: none;
}

@media (max-width: 520px) {
  .game-page {
    padding: 14px 10px;
    align-items: flex-start;
  }

  .container {
    padding: 16px;
    border-radius: 22px;
  }

  .question {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}