/* Play Picks - soft pastel personal blog */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fdf2f8;
  --surface: #ffffff;
  --text: #3f3344;
  --muted: #7a6d80;
  --accent: #a855f7;
  --accent-hover: #9333ea;
  --border: #f3e8ff;
  --radius-card: 12px;
  --radius-soft: 8px;
  --radius-pill: 999px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: 18px; font-weight: 600; }
h2 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 14px; }
h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 6px; }

p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

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

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Narrower content wrapper for prose-heavy sections */
.section > .container,
.hero > .container {
  max-width: 1500px;
}

/* Keep form container narrow */
#subscribe > .container {
  max-width: 600px;
}

.muted { color: var(--muted); font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  padding: 36px 0 18px;
  text-align: center;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.site-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.site-logo:hover { text-decoration: none; color: var(--accent); }

.site-nav { width: 100%; }
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
  padding: 4px 2px;
  display: inline-block;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-toggle:hover { border-color: #e9d5ff; }
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 24px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
.section {
  padding: 36px 0;
}
.section-title {
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 15px;
}
.prose p { color: var(--text); }
.prose p + p { margin-top: 8px; }

/* ---------- Card base ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}

/* ---------- Games ---------- */
.games-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1100px) {
  .games-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1500px) {
  .games-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.game-card { padding: 22px; }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.game-meta { min-width: 0; }
.game-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.developer {
  font-size: 13px;
  color: var(--muted);
}
.game-desc {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 15px;
}
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.shots img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-soft);
  border: 1px solid var(--border);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
  letter-spacing: 0.01em;
}
.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #ffffff;
}
.btn-block {
  display: block;
  width: 100%;
  padding: 13px 22px;
  font-size: 15px;
}

/* ---------- Checklist (Ako vyberám) ---------- */
.checklist {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: #e9d5ff; }
.faq summary {
  cursor: pointer;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Reviews ---------- */
.reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review { padding: 20px 22px; }
.review blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.review figcaption {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Subscribe form ---------- */
.form-wrap { padding: 26px; }
.form-wrap .section-title { margin-bottom: 6px; }
.form-wrap .section-sub { margin-bottom: 18px; }

.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.field input {
  width: 100%;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fdfaff;
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input::placeholder { color: #b6a8c0; }
.field input:focus {
  border-color: var(--accent);
  background: #ffffff;
}

.consent-field { margin-bottom: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: #6b6b6b; line-height: 1.5; }
.consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: #a855f7; }

.success {
  margin-top: 14px;
  padding: 11px 14px;
  background: #f5e8ff;
  color: var(--accent-hover);
  border-radius: var(--radius-soft);
  font-size: 14px;
  text-align: center;
}
.hidden { display: none; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.08);
}
.cookie.hidden { display: none; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  flex-wrap: wrap;
}
.cookie a { color: var(--accent); }
#cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
#cookie-accept:hover { background: var(--accent-hover); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 48px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-links {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--muted);
  margin: 0 2px;
}
.footer-links a:hover { color: var(--accent); }
.site-footer .muted {
  font-size: 12px;
  margin-bottom: 4px;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-lede { font-size: 1rem; }
  .site-header { padding: 26px 0 14px; }
  .hero { padding: 28px 0 16px; }
  .section { padding: 26px 0; }
  .container { padding: 0 16px; }
  .card, .game-card, .form-wrap { padding: 18px; }
  .nav-links { gap: 4px 12px; font-size: 12px; }
  .shots { gap: 8px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
  .cookie-inner { padding: 12px 14px; }
}

@media (max-width: 380px) {
  .shots { grid-template-columns: 1fr; }
  .game-head { gap: 12px; }
  .game-icon { width: 48px; height: 48px; }
}

/* ---------- Secondary page header (mirrors .site-header / .header-inner) ---------- */
.navbar {
  padding: 36px 0 18px;
  text-align: center;
}
.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

/* ---------- Generic section + footer for secondary pages ---------- */
body > section:not(.section):not(.hero) {
  padding: 36px 0 8px;
}
body > footer:not(.site-footer) {
  padding: 40px 0 48px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
body > footer:not(.site-footer) p { margin-bottom: 8px; }
body > footer:not(.site-footer) a {
  color: var(--muted);
  margin: 0 4px;
}
body > footer:not(.site-footer) a:hover { color: var(--accent); text-decoration: none; }
body > footer:not(.site-footer) .muted { font-size: 12px; margin-bottom: 4px; }

/* ---------- Content page (legal / info pages) ---------- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
}
.container.content-page { padding-left: 20px; padding-right: 20px; }
.content-page h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 22px;
  color: var(--text);
}
.content-page > p:first-of-type {
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}
.content-page p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content-page h2 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 10px;
}
.content-page h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 6px;
}
.content-page ol,
.content-page ul {
  margin: 14px 0 18px;
  padding-left: 22px;
}
.content-page li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--text);
}
.content-page strong { color: var(--text); font-weight: 600; }
.content-page a { color: var(--accent); }
.content-page a:hover { color: var(--accent-hover); }

/* ---------- Knowledge base card grid ---------- */
.kb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 28px auto 0;
}
@media (min-width: 720px) {
  .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .kb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.kb-grid .card { padding: 22px; }
.kb-grid .card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.kb-grid .card .muted {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.kb-grid .card p:last-child {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- Mobile menu ---------- */
@media (max-width: 800px) {
  .site-header,
  .navbar { position: relative; padding: 20px 0 16px; }
  .header-inner,
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(168, 85, 247, 0.10);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    z-index: 40;
  }
  .site-nav.open {
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6px 0 14px;
    font-size: 15px;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 22px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a:hover {
    background: var(--bg);
    color: var(--accent);
  }
}

/* Centered subscribe form — final pass */
#subscribe { display: flex; justify-content: center; }
#subscribe > .container { width: 100%; }
#subscribe > .container > *,
#subscribe .form-wrap,
#subscribe .subscribe-wrap,
#subscribe .subscribe-card,
#subscribe .mailwrap,
#subscribe .card { margin-left: auto !important; margin-right: auto !important; }
#subscribe form, #subscribe form > * { text-align: left; }
#subscribe .section-head, #subscribe h2, #subscribe .form-subtitle, #subscribe .subtitle, #subscribe .sub, #subscribe .kicker { text-align: center; }