/* Sutoon99 mockups, round 1: colour tokens, the shared button, the direction switcher. */
:root {
  --wine: #6b1c2e;
  --wine-deep: #3d0f1b;
  --wine-soft: #8f3c4f;
  --mist: #c6d4e0;
  --mist-light: #e8eef3;
  --mist-deep: #8aa0b4;
  --ink: #1e1a21;
  --paper: #f5f7f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.urdu { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; line-height: 1.9; }

/* One button for every page: lift on hover, press in on click, visible focus. */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 15px 26px; border-radius: 999px;
  font-size: clamp(16px, 1.05vw, 17px); font-weight: 600; letter-spacing: 0.01em;
  background: var(--btn-bg, var(--wine)); color: var(--btn-fg, var(--mist-light));
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
}
.btn .arr { transition: transform 160ms ease-out; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(30, 10, 18, 0.55); background: var(--btn-hover, var(--wine-soft)); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn:focus-visible, .focusable:focus-visible { outline: 3px solid var(--focus, var(--mist-deep)); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arr { transition: background-color 160ms; }
  .btn:hover, .btn:active, .btn:hover .arr { transform: none; }
}

/* Switcher used when presenting the round. Hidden with ?clean */
.switcher {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(30, 26, 33, 0.82); backdrop-filter: blur(6px);
  font: 600 14px/1 system-ui, sans-serif;
}
.switcher a { padding: 8px 12px; border-radius: 999px; color: #e8eef3; }
.switcher a:hover { background: rgba(255, 255, 255, 0.14); }
.switcher a[aria-current] { background: #e8eef3; color: #1e1a21; }
.clean .switcher { display: none; }
