/* franta.cz – společné styly */
:root {
  --bg: #f7f8fa;
  --bg-card: #ffffff;
  --text: #1c1e21;
  --text-muted: #5b6470;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e3e6ea;
  --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .05);
  --radius: 14px;
  --max-width: 900px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-card: #181b21;
    --text: #e8eaed;
    --text-muted: #9aa3af;
    --accent: #60a5fa;
    --accent-hover: #93c5fd;
    --border: #2a2f38;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hlavička */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo span { color: var(--accent); }

nav.site-nav a {
  margin-left: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}
nav.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -.03em;
  margin: 0 0 .75rem;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Sekce a karty */
main { padding-bottom: 3rem; }

section { margin: 2.5rem 0; }

h2 {
  font-size: 1.6rem;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.app-promo ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.app-promo ul li {
  padding: .3rem 0;
}

.badge-coming-soon {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  margin-top: .5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  padding: .65rem 1.3rem;
  border-radius: 10px;
  margin-top: .5rem;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: rgba(37, 99, 235, .08); }

/* Přepínač jazyků na stránce hry */
.lang-switch {
  display: flex;
  gap: .5rem;
  margin: 1.5rem 0;
}
.lang-switch button {
  font: inherit;
  font-weight: 600;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.lang-block[hidden] { display: none; }

/* Text stránky (privacy apod.) */
.prose h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.02em; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text); }
.prose .updated { color: var(--text-muted); font-size: .9rem; }

/* Patička */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: .9rem;
}
footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}
footer.site-footer a { color: var(--text-muted); }
footer.site-footer a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .card { padding: 1.4rem; }
  header.site-header .container { flex-direction: column; gap: .5rem; }
  nav.site-nav a { margin: 0 .6rem; }
}
