/* ==========================================================================
   REWIND — Bağımsız Oyun Yerelleştirme Sitesi
   Stil Dosyası (style.css)
   Geniş, dengeli, editoryal tipografi ve sanat odaklı modern kompozisyon.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tasarım Değişkenleri (Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Renkler: Nötr Grafit & Sıcak Kırık Beyaz */
  --bg: #111214;
  --bg-surface: #18191d;
  --bg-surface-elevated: #1e2025;
  --bg-subtle: #141518;

  --border: #23252b;
  --border-hover: #363942;
  --border-focus: #7899c7;

  --text: #f0ede8;
  --text-muted: #8e929b;
  --text-dim: #5c606b;

  /* Vurgu */
  --accent: #7899c7;
  --accent-hover: #9bb7dd;

  /* Durum */
  --status-done: #7ec48a;
  --status-wip: #d4a96a;
  --status-updated: #7899c7;

  /* Tipografi */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Ölçüler & Genişlikler */
  --max-width: 1180px;
  --reading-width: 740px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Geçişler */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 200ms;
}

/* --------------------------------------------------------------------------
   2. Temel Sıfırlama
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color-scheme: dark;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 2rem;
  background: var(--text);
  color: #111214;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  transition: top var(--duration) var(--ease);
}

.skip-link:focus {
  top: 1.5rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Kapsayıcı (Container)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* --------------------------------------------------------------------------
   4. Üst Bilgi (Header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(17, 18, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-hover);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-link {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--duration) var(--ease);
}

.brand-link:hover {
  opacity: 0.85;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   5. Ana Sayfa: Giriş (Intro)
   -------------------------------------------------------------------------- */
.site-intro {
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.intro-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.intro-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.intro-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   6. Ana Sayfa: Proje Listesi (Horizontal Editorial Entry)
   -------------------------------------------------------------------------- */
.projects-section {
  padding-bottom: 6rem;
  flex: 1;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.project-list {
  display: flex;
  flex-direction: column;
}

/* Yatay Editoryal Proje Satırı */
.project-entry {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

.project-entry + .project-entry {
  border-top: none;
}

.project-entry:hover {
  border-color: var(--border-hover);
}

.project-link {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
  text-decoration: none;
  color: inherit;
}

/* Kapak Görseli */
.project-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.project-entry:hover .project-cover-frame {
  border-color: var(--border-hover);
}

.project-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.project-entry:hover .project-cover-img {
  transform: scale(1.02);
}

/* Yer Tutucu (Fallback) */
.media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-surface);
  color: var(--text-dim);
  z-index: 1;
}

.media-fallback-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.media-fallback-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.project-cover-img:not([style*="display: none"]) ~ .media-fallback,
.project-cover-img.is-loaded ~ .media-fallback,
.patch-cover-img:not([style*="display: none"]) ~ .media-fallback,
.patch-cover-img.is-loaded ~ .media-fallback,
.screenshot-img:not([style*="display: none"]) ~ .screenshot-fallback,
.screenshot-img.is-loaded ~ .screenshot-fallback {
  display: none;
}

/* İçerik Sütunu */
.project-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}

.project-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  transition: color var(--duration) var(--ease);
}

.project-entry:hover .project-title {
  color: #ffffff;
}

.project-type {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.project-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.project-status {
  font-weight: 600;
  color: var(--status-done);
}

.status-done {
  color: var(--status-done);
}

.status-wip {
  color: var(--status-wip);
}

.status-updated {
  color: var(--status-updated);
}

.meta-sep {
  color: var(--text-dim);
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--duration) var(--ease);
}

.project-cta-arrow {
  display: inline-block;
  transition: transform var(--duration) var(--ease);
}

.project-entry:hover .project-cta {
  color: var(--accent-hover);
}

.project-entry:hover .project-cta-arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   7. Yama Detay Sayfası (Fallout Detail Page)
   -------------------------------------------------------------------------- */
.patch-page {
  padding-top: 3rem;
  padding-bottom: 6rem;
  flex: 1;
}

.back-nav {
  margin-bottom: 2.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.back-link:hover {
  color: var(--text);
}

/* Üst Başlık Bölümü (Hero / Cover + Bilgiler) */
.patch-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* Sayfa İçi Hızlı Gezinme Çubuğu */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding: 0.95rem 0;
  margin-bottom: 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.section-nav-link:hover {
  color: var(--text);
}

.patch-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.patch-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.patch-info {
  display: flex;
  flex-direction: column;
  max-width: 680px;
}

.patch-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.patch-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.patch-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Meta Satırı */
.patch-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.patch-status {
  font-weight: 600;
  color: var(--status-done);
}

/* İndirme Butonları */
.patch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.btn-primary {
  background-color: var(--text);
  color: #111214;
  border: 1px solid var(--text);
}

.btn-primary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-surface);
}

/* Teknik Dosya Bilgileri & SHA-256 Kopyalama */
.patch-file-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.file-meta-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hash-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.patch-file-meta code,
.hash-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
}

.copy-hash-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              background-color var(--duration) var(--ease);
}

.copy-hash-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background-color: var(--bg-surface);
}

.copy-hash-btn.is-copied {
  border-color: var(--status-done);
  color: var(--status-done);
}

/* --------------------------------------------------------------------------
   8. Belge Bölümleri (Editorial Document Flow)
   -------------------------------------------------------------------------- */
.patch-section {
  margin-bottom: 4rem;
  scroll-margin-top: 90px;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.prose {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: var(--reading-width);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  margin: 0.75rem 0 1.5rem 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   9. Ekran Görüntüleri Galerisi & Lightbox
   -------------------------------------------------------------------------- */
.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.screenshot-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  cursor: zoom-in;
  transition: border-color var(--duration) var(--ease);
}

.screenshot-item:hover {
  border-color: var(--border-hover);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.screenshot-item:hover .screenshot-img {
  transform: scale(1.02);
}

.screenshot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface);
  color: var(--text-dim);
  padding: 1rem;
  text-align: center;
}

.screenshot-fallback-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.screenshot-fallback-path {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Lightbox Modal */
.lightbox-dialog {
  padding: 0;
  margin: auto;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text);
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.85);
}

.lightbox-dialog::backdrop {
  background-color: rgba(12, 13, 15, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-image {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  background-color: #0b0c0e;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 0.875rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.lightbox-btn:hover {
  border-color: var(--border-hover);
  color: #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(17, 18, 20, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 10;
  transition: border-color var(--duration) var(--ease);
}

.lightbox-close-btn:hover {
  border-color: var(--border-hover);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. Kurulum, Sürüm Notları & Künye
   -------------------------------------------------------------------------- */
.install-steps {
  list-style: decimal;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: var(--reading-width);
}

.install-steps li {
  line-height: 1.7;
}

.install-steps strong {
  color: var(--text);
}

.install-steps code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.install-notes {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: var(--reading-width);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.install-notes p {
  margin-bottom: 0.75rem;
}

.install-notes p:last-child {
  margin-bottom: 0;
}

.install-notes strong {
  color: var(--text);
  font-weight: 600;
}

/* Sıkça Sorulan Sorular (Editoryal SSS) */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: var(--reading-width);
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  padding-top: 0.25rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}

/* Sürüm Notları */
.changelog-entry {
  max-width: var(--reading-width);
}

.changelog-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.changelog-version {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.changelog-list {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Künye */
.credits-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: var(--reading-width);
  font-size: 1rem;
}

.credits-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.credits-label {
  width: 140px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.credits-value {
  color: var(--text);
  font-weight: 500;
}

.credits-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: var(--reading-width);
}

/* --------------------------------------------------------------------------
   11. Hakkında & 404 Sayfaları (About & Error Pages)
   -------------------------------------------------------------------------- */
.about-page,
.error-page {
  padding-top: 5rem;
  padding-bottom: 6rem;
  flex: 1;
}

.about-header {
  margin-bottom: 2.5rem;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
}

.about-content {
  max-width: var(--reading-width);
}

.about-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.about-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-muted);
}

.about-contact strong {
  color: var(--text);
}

.error-code {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.error-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.error-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   12. Alt Bilgi (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer-link:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   13. Sayfa Geçiş Efekti
   -------------------------------------------------------------------------- */
@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: contentFadeIn var(--duration) var(--ease) forwards;
}

/* --------------------------------------------------------------------------
   14. Duyarlı Tasarım (Responsive Media Queries)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .project-link {
    grid-template-columns: 32% 1fr;
    gap: 2.5rem;
  }

  .patch-hero {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .site-intro {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .project-link {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0;
  }

  .project-cover-frame {
    max-width: 100%;
  }

  .patch-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }

  .section-nav {
    gap: 0.65rem 1.25rem;
    margin-bottom: 3rem;
  }

  .patch-cover-frame {
    max-width: 240px;
  }

  .screenshots-gallery {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .credits-row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .credits-label {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .header-inner {
    height: 60px;
  }

  .nav-list {
    gap: 1.25rem;
  }

  .patch-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   15. Erişilebilirlik: Hareketi Azalt
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .project-entry:hover .project-cover-img,
  .project-entry:hover .project-cta-arrow,
  .screenshot-item:hover .screenshot-img {
    transform: none !important;
  }
}
