/*
 * The static pages for search engines and links (/sq/, /en/ and the rules):
 * plain HTML and CSS that load without the game, in the game's Kafe colours.
 * No inline styles: the CSP forbids them.
 */
:root {
  --bg: #140d08;
  --bg-2: #2a1810;
  --text: #f3e7d3;
  --muted: #cbb89c;
  --gold: #c9a24a;
  --gold-2: #e0bd6a;
  --line: rgb(201 162 74 / 0.25);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgb(201 162 74 / 0.14), transparent 75%),
    radial-gradient(ellipse at 50% 30%, var(--bg-2), var(--bg) 70%) no-repeat;
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: var(--gold-2);
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

nav.lang a {
  margin-left: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

nav.lang a[aria-current='true'] {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding: 36px 0 28px;
  text-align: center;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.15;
}

h2 {
  margin: 40px 0 12px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--gold-2);
}

h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.lead {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 19px;
}

.play {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1d120b;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgb(201 162 74 / 0.3);
}

.play:hover,
.play:focus-visible {
  filter: brightness(1.08);
}

.suits {
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: 10px;
  font-size: 22px;
}

.red {
  color: #d9584a;
}

ul.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

ul.features li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.03);
}

ul.features strong {
  display: block;
  color: var(--text);
}

table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 16px;
}

th,
td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-2);
}

.ranks {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.cta {
  margin: 40px 0;
  text-align: center;
}

footer {
  margin-top: 48px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer a {
  margin-right: 14px;
}
