/* One More Pet — renkler yalnız kullanıcının palet kartından (bkz. :root). Aydınlık zemin; sıcak turuncu, altın,
   şeftali ve fuşya ile serin lavanta ve lila birlikte; kontur derin mor. */
:root {
  color-scheme: light;
  /* Kullanıcının "One More Pet — Renk Paleti" kartındaki 16 renk ("Dreamy sunset palette extracted from the
     artwork", 27 Eylül 2026). Sitedeki bütün renkler bunlardan ya da bunların kırık beyazla karışımından gelir. */
  --lavender: #7F70B0;    /* Lavender / ortam gölgesi */
  --orange: #E38E1C;      /* Sıcak turuncu / koltuk-gün batımı */
  --light: #FDD881;       /* Krem sarı ışık */
  --rust: #934433;        /* Koyu kızıl kahve / saç-gölge */
  --peach: #F49369;       /* Şeftali / cilt ve sıcak ışık */
  --fuchsia: #BE4279;     /* Fuşya-pembe */
  --pink: #ECB2C4;        /* Soft pastel pembe */
  --bordo: #632524;       /* Çok koyu bordo-kahve */
  --mauve: #C08997;       /* Dusty mauve */
  --offwhite: #FAE8E7;    /* Sıcak kırık beyaz */
  --plum: #30135D;        /* Derin mor / kontur-gölge */
  --terracotta: #C1653E;  /* Terracotta */
  --muted: #76536B;       /* Muted plum */
  --gold: #FCC72F;        /* Parlak altın sarısı */
  --violet: #5A30D2;      /* Canlı elektrik moru */
  --lilac: #AB83EB;       /* Açık lila */

  /* Açık zeminler: kart renklerinin kırık beyazla karışımı */
  --bg: color-mix(in srgb, var(--pink) 18%, var(--offwhite));
  --tint-light: color-mix(in srgb, var(--light) 40%, var(--offwhite));
  --tint-lilac: color-mix(in srgb, var(--lilac) 26%, var(--offwhite));
  --tint-peach: color-mix(in srgb, var(--peach) 28%, var(--offwhite));
  --tint-pink: color-mix(in srgb, var(--pink) 45%, var(--offwhite));
  --tint-lavender: color-mix(in srgb, var(--lavender) 24%, var(--offwhite));

  --display: "Tilt Warp", "Trebuchet MS", system-ui, sans-serif;
  --body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 6px 0 var(--plum);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--plum);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; position: relative; }
.wrap-narrow { max-width: 780px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }

.eyebrow {
  display: inline-block;
  font: 700 13px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fuchsia);
}
.section-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 19px; }
.hl { padding-inline: 8px; border-radius: 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-gold { background: var(--gold); }
.hl-pink { background: var(--pink); }
.hl-light { background: var(--light); }
.hl-lilac { background: var(--lilac); color: var(--offwhite); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 17px/1 var(--body);
  text-decoration: none; cursor: pointer;
  color: var(--plum); background: var(--gold);
  border: 3px solid var(--plum); border-radius: 16px; padding: 14px 22px;
  box-shadow: 0 5px 0 var(--plum);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--plum); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--plum); }
.btn-soft { background: var(--offwhite); }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid color-mix(in srgb, var(--plum) 10%, transparent);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font: 400 24px/1 var(--display); text-decoration: none; color: var(--plum); white-space: nowrap; }
.brand span { color: var(--fuchsia); }
.nav { display: flex; gap: 6px; background: var(--offwhite); border: 2px solid var(--plum); border-radius: 999px; padding: 4px; }
.nav a {
  font: 700 16px/1 var(--body); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; color: var(--plum);
  transition: background 0.15s ease;
}
.nav a:hover { background: var(--tint-light); }
.nav a[aria-current="page"] { background: var(--fuchsia); color: var(--offwhite); }

/* ---------- Kahraman ---------- */
.hero {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--light) 70%, transparent) 0 120px, transparent 260px),
    radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--pink) 70%, transparent) 0 90px, transparent 280px),
    linear-gradient(180deg, var(--tint-peach), var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.status {
  font: 700 13px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--light); color: var(--plum);
  border: 2px solid var(--plum); border-radius: 999px; padding: 8px 14px;
}
.logo {
  font-family: var(--display);
  font-size: clamp(56px, 8.4vw, 104px);
  line-height: 0.95;
  color: var(--gold);
  -webkit-text-stroke: 10px var(--plum);
  paint-order: stroke fill;
  text-shadow: 0 7px 0 var(--plum);
  letter-spacing: 0.01em;
}
.logo em { font-style: normal; color: var(--offwhite); display: inline-block; }
.pitch { font-size: clamp(21px, 2.3vw, 26px); font-weight: 700; line-height: 1.35; max-width: 30ch; }
/* Oyunun türünü gösteren etiketler (Steam etiket adlarıyla). */
.tags { display: grid; gap: 8px; }
.tags-label { font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font: 700 15px/1 var(--body); color: var(--plum);
  background: var(--tint-lilac); border: 2px solid var(--plum); border-radius: 10px;
  padding: 7px 11px;
}

.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%;
  border: 4px solid var(--plum);
  border-radius: 28px;
  box-shadow: 10px 12px 0 var(--fuchsia);
  transform: rotate(1.2deg);
}
/* Görselin köşelerindeki etiketler: sol altta mırlama, sağ üstte pati. */
.sticker {
  position: absolute;
  font: 400 20px/1 var(--display);
  padding: 10px 16px; border-radius: 16px;
  border: 3px solid var(--plum);
  box-shadow: 0 4px 0 var(--plum);
}
.sticker-a { left: -18px; bottom: 18%; background: var(--light); color: var(--plum); transform: rotate(-8deg); }
.sticker-b { right: -10px; top: -16px; background: var(--fuchsia); color: var(--offwhite); transform: rotate(7deg); padding: 9px; line-height: 0; }
.sticker-b svg { display: block; width: 36px; height: 36px; fill: currentColor; }

/* ---------- Tanıtım yazısı ---------- */
.about { padding: 56px 0 96px; background: var(--bg); }
.about .prose { font-size: 21px; gap: 22px; }

/* ---------- Devlog listesi ---------- */
.log-head {
  padding: 64px 0 40px;
  background:
    radial-gradient(circle at 92% 20%, color-mix(in srgb, var(--lilac) 45%, transparent) 0 90px, transparent 240px),
    linear-gradient(180deg, var(--tint-light), var(--bg));
}
.log-head .wrap { display: grid; gap: 14px; }
.page-title {
  font-family: var(--display); font-size: clamp(56px, 9vw, 96px); line-height: 0.95;
  color: var(--lilac); -webkit-text-stroke: 8px var(--plum); paint-order: stroke fill; text-shadow: 0 6px 0 var(--plum);
}
.lede { font-size: 20px; color: var(--muted); max-width: 58ch; }
.log-list { padding: 24px 0 88px; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.log-item a {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 22px; align-items: center;
  text-decoration: none;
  background: var(--offwhite);
  border: 3px solid var(--plum); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--tone);
  padding: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.log-item a:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--tone); }
.tone-1 { --tone: var(--fuchsia); --tint: var(--tint-pink); }
.tone-2 { --tone: var(--orange); --tint: var(--tint-peach); }
.tone-3 { --tone: var(--lavender); --tint: var(--tint-lilac); }
.tone-0 { --tone: var(--gold); --tint: var(--tint-light); }
.thumb { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--tint); border: 2px solid var(--plum); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.thumb-empty { display: grid; place-items: center; }
.thumb-empty svg { width: 64px; height: 64px; fill: var(--tone); }
.log-text { display: grid; gap: 6px; }
.log-text time { font-size: 14px; font-weight: 700; color: var(--fuchsia); }
.log-text strong { font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--display); }
.excerpt { font-size: 16px; color: var(--muted); }
.go { font: 400 28px/1 var(--display); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); border: 3px solid var(--plum); }
.empty { color: var(--muted); }

/* ---------- Yazı ---------- */
.article { padding: 48px 0 88px; background: linear-gradient(180deg, var(--tint-lilac) 0 260px, var(--bg) 520px); }
.article .wrap { display: grid; gap: 14px; }
.back { font-weight: 700; text-decoration: none; color: var(--fuchsia); justify-self: start; }
.back:hover { text-decoration: underline; }
.post-date { font-weight: 700; color: var(--muted); font-size: 15px; }
.article h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 54px); }
.cover { margin: 14px 0 6px; }
.cover img { width: auto; max-width: 100%; max-height: 78vh; margin-inline: auto; border: 3px solid var(--plum); border-radius: 20px; box-shadow: 8px 10px 0 var(--gold); }
.cover figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.prose { display: grid; gap: 18px; font-size: 19px; margin-top: 10px; }
.prose h2 { font-family: var(--display); font-size: 30px; margin-top: 14px; }
.prose h3 { font-family: var(--display); font-size: 24px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--fuchsia); }
.prose strong { color: var(--plum); }
.prose a { color: var(--fuchsia); font-weight: 700; }
.prose blockquote {
  margin: 0; padding: 16px 20px;
  background: var(--tint-light); border-left: 6px solid var(--gold); border-radius: 0 16px 16px 0;
  font-style: italic;
}
.prose img { border: 3px solid var(--plum); border-radius: 16px; }
.prose p > img { margin: 4px 0; }
.prose em { color: var(--muted); }
.post-nav { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a {
  display: grid; gap: 4px; padding: 16px 18px; text-decoration: none;
  background: var(--offwhite); border: 3px solid var(--plum); border-radius: 18px; box-shadow: 0 5px 0 var(--lilac);
  font-weight: 700;
}
.post-nav a span { font-size: 13px; color: var(--fuchsia); }
.post-nav .next { text-align: right; grid-column: 2; }

/* ---------- Alt bilgi ---------- */
.footer { padding: 34px 0 44px; background: var(--plum); color: var(--offwhite); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 15px; }
.footer .brand { color: var(--gold); }
.footer .brand span { color: var(--pink); }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 640px; }
}
@media (max-width: 720px) {
  .log-item a { grid-template-columns: 1fr; }
  .go { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: 1; }
}
@media (max-width: 520px) {
  .topbar .wrap { min-height: 60px; }
  .brand { font-size: 20px; }
  .nav a { padding: 9px 13px; font-size: 15px; }
  .logo { -webkit-text-stroke-width: 7px; text-shadow: 0 5px 0 var(--plum); }
  .about .prose { font-size: 19px; }
  .sticker { font-size: 16px; }
  .sticker-a { left: -6px; }
  .sticker-b { right: -4px; }
  .sticker-b svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
