#notfound {
  background-color: var(--iki);
  color: var(--text);
  padding: 60px 20px;
  border-radius: 24px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#notfound .title {
  font-size: 72px;
  font-weight: 900;
  max-width: 900px;
  margin: 0 auto 16px auto;
  line-height: 1.2;
  /* çizgi kaldırıldı, padding ve border yok */
}

#notfound .subtitle {
  font-size: 18px;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 24px auto;
  line-height: 1.3;
}

#notfound .description {
  font-size: 14px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.5;
  color: var(--text);
}

#notfound .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bir);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: fit-content;
  margin: 0 auto;
}

#notfound .btn:hover {
  background-color: var(--hover);
  color: var(--text-hover);
  cursor: pointer;
}

@media (max-width: 480px) {
  #notfound {
    padding: 40px 15px; /* biraz daha padding */
    border-radius: 16px; /* ufak yuvarlama mobilde */
    width: 100%;
    height: 100%;
  }

  #notfound .title {
    font-size: 24px; /* biraz büyüttüm */
    line-height: 1.3; /* rahat okunsun */
    max-width: 100%; /* genişliği sınırlama kaldırdım */
  }

  #notfound .subtitle {
    font-size: 18px; /* biraz büyüt */
    max-width: 100%;
  }

  #notfound .description {
    font-size: 14px; /* orijinalden küçültme kaldırdım */
    max-width: 100%;
  }

  #notfound .btn {
    font-size: 14px; /* buton dokunulabilir kalsın */
    padding: 14px 28px; /* daha rahat tıklansın */
    max-width: 100%;
    width: 100%; /* buton tüm genişliği kaplasın */
    justify-content: center; /* ortala */
  }
}


