/* Standalone styling for the MISKO pages.
   These are static files rather than routes in the main SPA: a store-review
   privacy policy has to render with no JavaScript at all. Tokens mirror
   moods.com.tr; a system font stack keeps the page free of third-party
   requests, which matters most on a privacy page. */

:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --fg: #0b0b0f;
  --muted: #55555f;
  --faint: #8a8a94;
  --line: #e5e5ea;
  --line-strong: #d2d2d9;
  --accent: #2faf16;
  --btn-bg: #0b0b0f;
  --btn-fg: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08080a;
    --bg-subtle: #101014;
    --fg: #ffffff;
    --muted: rgba(255, 255, 255, 0.66);
    --faint: rgba(255, 255, 255, 0.42);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.24);
    --accent: #6fe82b;
    --btn-bg: #ffffff;
    --btn-fg: #0b0b0f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 32px; width: auto; }
/* The supplied lockup has a white wordmark, so each theme needs its own file. */
.brand .on-light { display: block; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand .on-light { display: none; }
  .brand .on-dark { display: block; }
}
.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-header nav a:hover { color: var(--fg); }

/* Content ----------------------------------------------------------------- */

main { padding: 3rem 0 4rem; }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

h1 {
  margin: 0.75rem 0 0;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h2 {
  margin: 2.75rem 0 0;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}
h3 {
  margin: 1.75rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
p { margin: 1rem 0 0; color: var(--muted); }
h1 + p.lead { font-size: 1.1875rem; margin-top: 1.25rem; }
ul { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--muted); }
li { margin-top: 0.5rem; }
li::marker { color: var(--faint); }
strong { color: var(--fg); font-weight: 600; }
a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
.updated {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 0; }

/* Blocks ------------------------------------------------------------------ */

.card {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--bg);
}
.card h3:first-child, .card h2:first-child { margin-top: 0; }

.chips { margin: 2rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; }
.chips span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.facts { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
}
.facts div:first-child { border-top: 0; }
.facts dt {
  flex: 0 0 11rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.facts dd { margin: 0; }

/* SSS: .facts ile ayni kart dili, ama soru ustte cevap altta okunur. */
.faq { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.faq div { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.faq div:first-child { border-top: 0; }
.faq dt { font-weight: 600; margin-bottom: 0.35rem; }
.faq dd { margin: 0; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.btn.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

.badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  padding: 2.5rem 0;
  font-size: 0.9375rem;
}
.site-footer p { margin: 0.4rem 0 0; color: var(--muted); }
.site-footer .legal { font-size: 0.8125rem; color: var(--faint); }
.site-footer a { color: var(--fg); }

/* Game page ---------------------------------------------------------------- */

.app-icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 24px rgba(11, 11, 15, 0.14);
}

.play-badge { display: inline-block; text-decoration: none; }
.play-badge img { display: block; height: 60px; width: auto; }
.play-badge:hover { opacity: 0.85; }

.feature {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

/* Phone captures are tall. They wrap into a grid rather than running off the
   side: a horizontal scrollbar inside a vertical page is easy to miss, and half
   the screens were never seen. Two columns on a phone, four in the full column
   — the thumbnails stay the size they were in the old strip. Tap one to open it
   full size. */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.875rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.shots a {
  display: block;
  border-radius: 0.75rem;
  cursor: zoom-in;
}
.shots a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-subtle);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
@media (hover: hover) {
  .shots a:hover img {
    transform: translateY(-2px);
    border-color: var(--line-strong);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shots img { transition: none; }
  .shots a:hover img { transform: none; }
}

/* Full-size viewer. Deliberately dark in both themes: it is a media surface,
   not page chrome, and a light ground would glare around a phone capture. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 4.5rem;
  background: rgba(0, 0, 0, 0.93);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
}
.lightbox button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
/* Previous/next sit under the picture rather than over its edges: at phone
   width a side-mounted arrow covers part of the screenshot it is there to show. */
.lb-nav {
  position: absolute;
  bottom: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.lb-count {
  min-width: 4.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Field-by-field tables in the privacy policy. */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--bg-subtle);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.data-table td { color: var(--muted); }
.data-table td:first-child { color: var(--fg); font-weight: 500; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }

code {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.05em 0.4em;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .facts dt { flex-basis: 100%; }
  .site-header nav { display: none; }
  /* Stack the tables instead of letting them squeeze into unreadable columns. */
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { border-bottom: 0; padding: 0.25rem 0; }
  .data-table td:first-child { white-space: normal; }
}
