:root {
      --green-deep: #a1e9ab;
      --green-mid: #7bdd7e;
      --green-mint: #1bc941;
      --green-light: #66c47f;
      --green-pale: #C9FFE2;

      --bg: #080a09;
      --bg2: #080a09;
      --bg3: #142019;
      --panel: #172815;
      --card: #3E5622;
      --border: #161515;
      --text: #a3c96f;
      --muted: #cfc3c3;
      --soft: #c4c4c4;
      --footer: #000000;
    }
    
    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Nunito', sans-serif;
      font-weight: 300;
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
    }
    /* NAV */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5vw;
      height: 64px;
      background: rgba(12, 26, 16, 0.9);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    .logo {
      font-family: 'Syne', sans-serif;
      font-weight: 1800;
      font-size: 1.05rem;
      color: var(--green-pale);
      text-decoration: none;
      letter-spacing: -0.01em;
    }

    .logo span {
      color: var(--green-mid);
    }

    nav ul {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }

    nav a {
      font-family: 'Nunito', sans-serif;
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--soft);
      text-decoration: none;
      letter-spacing: 0.03em;
      transition: color 0.2s;
    }

    nav a:hover {
      color: var(--green-mint);
    }
/* HERO */
  .hero {
    padding: 120px 5vw 60px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
  }

  .breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--green-mid); }
  .breadcrumb span { color: var(--green-deep); }

  .hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .hero-meta { flex: 1; min-width: 280px; }

  .game-genre {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(125, 209, 129, 0.1);
    border: 1px solid rgba(125, 209, 129, 0.25);
    border-radius: 99px;
    padding: 0.28rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green-mid);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
  }

  h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--green-pale);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 0.9rem;
  }

  .tagline {
    font-size: 1.05rem;
    color: var(--soft);
    max-width: 460px;
    line-height: 1.8;
    margin-bottom: 1.8rem;
  }
  .title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
    
    
  }

  .game-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }
  .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
  }
  .title-row h1 { margin-bottom: 0; }


  /* CTA buttons */
  .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.18s, background 0.18s, border-color 0.18s;
    cursor: pointer;
    border: 1px solid transparent;
  }

  .btn:hover { transform: translateY(-2px); }

  .btn-itch {
    background: var(--green-mid);
    color: #0c1a10;
  }

  .btn-itch:hover { background: var(--green-mint); }

  .btn-gh {
    background: transparent;
    border-color: var(--border);
    color: var(--soft);
  }

  .btn-gh:hover { border-color: var(--green-deep); color: var(--green-light); background: rgba(75,127,82,0.08); }

  /* Meta badges */
  .meta-badges {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  .badge {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 200px;
  }

  .badge-icon { font-size: 1.1rem; line-height: 1; }

  .badge-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.1rem;
  }

  .badge-val {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
  }

  /* SCREENSHOT */
  .screenshot-hero {
    max-width: 1000px;
    margin: 0 auto 0;
    padding: 0 5vw 60px;
  }

  .screenshot-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .screenshot-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Placeholder when no image */
  .screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--muted);
    position: absolute;
    inset: 0;
  }

  .screenshot-placeholder svg { opacity: 0.35; }

  .screenshot-placeholder p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .screenshot-caption {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
  }

  /* CONTENT AREA */
  .content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw 6rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
  }

  .main-col { min-width: 0; }
  .side-col { position: sticky; top: 84px; }

  /* Section */
  .section {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border);
  }

  .section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 0.45rem;
  }

  h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--green-pale);
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
  }

  .section p {
    font-size: 1rem;
    color: var(--soft);
    line-height: 1.9;
    margin-bottom: 0.9rem;
  }

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

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

  /* Feature list */
  .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--soft);
    line-height: 1.65;
  }

  .feature-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-mid);
    margin-top: 0.52rem;
    flex-shrink: 0;
  }

  .feature-list li strong { color: var(--text); font-weight: 600; }

  /* Mechanics grid */
  .mechanics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-top: 0.5rem;
  }

  .mechanic-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    transition: border-color 0.2s;
  }

  .mechanic-card:hover { border-color: var(--green-deep); }

  .mechanic-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1;
  }

  .mechanic-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--green-pale);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
  }

  .mechanic-desc {
    font-size: 0.83rem;
    color: var(--soft);
    line-height: 1.65;
  }

  /* How to play steps */
  .steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
  }

  .step-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--green-deep);
    background: rgba(75,127,82,0.15);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  .step-body { flex: 1; }

  .step-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.25rem;
  }

  .step-desc {
    font-size: 0.9rem;
    color: var(--soft);
    line-height: 1.7;
  }

  /* Screenshots grid */
  .screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-top: 0.5rem;
  }

  .ss-item {
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
  }

  .ss-item:hover { border-color: var(--green-deep); transform: scale(1.02); }

  .ss-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .ss-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    font-size: 1.5rem;
    position: absolute;
    inset: 0;
  }

  .ss-label {
    position: absolute;
    bottom: 8px; left: 8px;
    background: rgba(12,26,16,0.8);
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
  }

  /* Key bindings */
  .keybinds {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.3rem;
  }

  .kb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(36,69,48,0.6);
    font-size: 0.9rem;
  }

  .kb-row:last-child { border-bottom: none; }

  .kb-action { color: var(--soft); }

  .kb-keys { display: flex; gap: 0.35rem; }

  .key {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 2px 8px;
    min-width: 28px;
    text-align: center;
  }

  /* SIDEBAR */
  .side-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .side-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green-deep);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
  }

  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(36,69,48,0.5);
    font-size: 0.85rem;
  }

  .info-row:last-child { border-bottom: none; }
  .info-key { color: var(--muted); font-weight: 600; }
  .info-val { color: var(--text); font-weight: 600; text-align: right; }

  .side-tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

  .side-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green-deep);
    background: rgba(75,127,82,0.15);
    border-radius: 6px;
    padding: 3px 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: transform 0.18s, background 0.18s;
    cursor: pointer;
    border: 1px solid transparent;
  }

  .side-btn:hover { transform: translateY(-1px); }
  .side-btn:last-child { margin-bottom: 0; }

  .side-btn.itch { background: var(--green-mid); color: #0c1a10; }
  .side-btn.itch:hover { background: var(--green-mint); }
  .side-btn.gh { background: transparent; border-color: var(--border); color: var(--soft); }
  .side-btn.gh:hover { border-color: var(--green-deep); color: var(--green-light); }



/* Scrollbar */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--green-deep); border-radius: 2px; }

  /* Responsive */
  @media (max-width: 820px) {
    .content { grid-template-columns: 1fr; }
    .side-col { position: static; }
    .hero-top { flex-direction: column; }
    .meta-badges { flex-direction: row; flex-wrap: wrap; }
    .mechanics-grid { grid-template-columns: 1fr; }
    .screenshots-grid { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  }

    /* FOOTER */
    footer {
      background: var(--footer);
      border-top: 1px solid var(--border);
      padding: 2rem 5vw;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1;
      position: relative;
    }

    footer p {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 600;
      letter-spacing: 0.05em;
    }

    ::-webkit-scrollbar {
      width: 4px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--green-deep);
      border-radius: 2px;
    }

    @media (max-width: 900px) {
      #hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
      }

      .hero-card {
        display: none;
      }

      .about-grid,
      .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
      }

      nav ul {
        gap: 1.5rem;
      }
    }
    /* Sayfadaki tüm resimlerin üzerine gelince tıklanabilir olduğunu göster */
img {
  cursor: pointer;
}

/* Modal Arka Planı (Başlangıçta Gizli) */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000; /* En üstte görünmesi için */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Siyah, yarı saydam arka plan */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px); /* Arka planı hafif bulanıklaştırır */
}

/* Büyütülen Resim */
.modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease; /* Açılış animasyonu */
}

/* Çarpı (Kapatma) Butonu */
.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #ff4757;
}

/* Basit Açılış Animasyonu */
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}