@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&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;
  --yellow: #f3c94d;
  --shadow: 0 18px 46px rgba(86, 53, 116, 0.14);
  --shadow-soft: 0 10px 24px rgba(86, 53, 116, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  direction: rtl;
}

body {
  min-height: 100vh;
  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;
}

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

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

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

.back-link,
.brand-badge {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: 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 {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.container,
.choices,
.both-choices,
.points {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  flex-direction: column;
  gap: 20px;
  background: var(--card-bg);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
}

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

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

h2 {
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
}

.choices {
  gap: 20px;
  width: min(100%, 440px);
  flex-wrap: wrap;
}

.choices img {
  width: 100px;
  height: 100px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}

.choices img:hover {
  transform: translateY(-2px);
}

.choices img:active {
  transform: scale(0.95);
}

.both-choices {
  gap: 20px;
  flex-wrap: wrap;
}

.both-choices h3,
.points h3 {
  font-size: 18px;
  font-weight: 600;
}

.both-choices span,
.points span {
  font-weight: 700;
  color: var(--yellow);
}

.result {
  font-size: 24px;
  color: var(--yellow);
  text-align: center;
  line-height: 1.7;
  min-height: 42px;
}

.points {
  gap: 20px;
  flex-wrap: wrap;
}

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

  .container {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .choices img {
    width: 88px;
    height: 88px;
  }

  .result {
    font-size: 20px;
  }

  .both-choices h3,
  .points h3,
  h2 {
    font-size: 16px;
  }
}