/* Worena web sitesi (https://worena.cloud) — tek sayfa, dış kaynak/betik yok; açık/koyu sistem temasına uyar. */
:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --text: #0f1e3d;
  --muted: #4a5a7a;
  --line: #dbe5f5;
  --brand: #0c6ff5;
  --brand-ink: #0a4fc0;
  --gold: #ffc21a;
  --gold-ink: #3b2a00;
  --sky-glow: #44bbff;
  --sky-mid: #0f78f4;
  --sky-edge: #0748bd;
  --shadow: 0 10px 30px rgba(12, 52, 120, 0.12);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081226;
    --surface: #0f1d3a;
    --text: #e8efff;
    --muted: #a9b8d8;
    --line: #1f3260;
    --brand: #5aa8ff;
    --brand-ink: #8cc4ff;
    --sky-glow: #1767de;
    --sky-mid: #0a3d9e;
    --sky-edge: #04163f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-ink);
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

/* --- gök zemini (kahraman alanı; köşeler koyu → beyaz yazı okunur). Üst şerit ana sayfada zeminin üstünde durur
   (`.top.over`), diğer sayfalarda kendi zemininde (`.top.sky`). */
.sky {
  background: radial-gradient(95% 75% at 50% 38%, var(--sky-glow) 0%, var(--sky-mid) 55%, var(--sky-edge) 100%);
  color: #fff;
}

.top.over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.top nav {
  display: flex;
  gap: 18px;
}

.top nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.92;
}

.top nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* --- kahraman alanı */
.hero {
  text-align: center;
  padding: 64px 0 56px;
  text-shadow: 0 1px 2px rgba(0, 30, 90, 0.35);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner {
  width: min(600px, 100%);
  margin: 8px 0 4px;
  filter: drop-shadow(0 12px 24px rgba(0, 20, 70, 0.25));
}

.lead {
  max-width: 640px;
  margin: 8px 0 24px;
  font-size: 1.15rem;
  line-height: 1.55;
}

.cta {
  margin: 0;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 20px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--gold-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  box-shadow: 0 6px 0 #c98e00, 0 12px 24px rgba(0, 20, 70, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.play small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.play:hover {
  transform: translateY(-1px);
}

.play:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #c98e00, 0 6px 12px rgba(0, 20, 70, 0.3);
}

.fine {
  margin: 18px 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- özellikler */
h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 20px;
}

.features {
  padding-top: 48px;
  padding-bottom: 24px;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.cards h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.cards h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--gold);
  vertical-align: 0.1em;
}

.cards p {
  margin: 0;
  color: var(--muted);
}

/* --- modlar */
.modes {
  padding: 32px 0 24px;
}

.modes h2 {
  text-align: center;
}

.mode-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mode-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  padding: 14px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mode-grid img {
  width: 96px;
}

.note {
  color: var(--muted);
  margin: 16px 0 0;
  text-align: center;
}

/* --- destek */
.support {
  padding-top: 24px;
  padding-bottom: 48px;
}

.support p {
  max-width: 720px;
}

/* --- alt bilgi */
.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

.foot-row {
  padding-top: 24px;
  padding-bottom: 28px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 10px;
}

.foot nav a {
  font-weight: 600;
}

.foot p {
  margin: 0;
}

/* --- 404 */
.lost {
  text-align: center;
  padding: 72px 0;
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .top nav {
    gap: 14px;
  }
  .lead {
    font-size: 1.05rem;
  }
  .hero {
    padding-bottom: 44px;
  }
  .mode-grid li {
    width: 96px;
    padding: 10px 6px;
  }
  .mode-grid img {
    width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .play {
    transition: none;
  }
}
