.legal-page {
  position: relative;
  z-index: 1;
  padding: 60px 20px 100px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 7vw, 60px);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.legal-notice {
  background: var(--accent-dim);
  border: 1px solid rgba(232,201,109,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 40px;
}

.legal-notice code {
  background: rgba(0,0,0,0.25);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.legal-page section {
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-page p, .legal-page li {
  font-size: 14.5px;
  color: var(--muted2);
  line-height: 1.75;
}

.legal-page ul {
  padding-left: 20px;
  margin-top: 8px;
}

.legal-page li { margin-bottom: 6px; }

.legal-page a { color: var(--accent); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }

.legal-page strong { color: var(--text); }

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #16161f 0%, #0d0d13 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  animation: cookieUp 0.4s ease forwards;
}

@keyframes cookieUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
}

.cookie-text a { color: var(--accent); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn {
  border: none;
  border-radius: 9px;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  white-space: nowrap;
}

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

.cookie-accept { background: var(--accent); color: #0a0a0f; }
.cookie-reject { background: transparent; color: var(--muted2); border: 1px solid var(--border); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ================= BLOG SAYFASI ================= */
.blog-index-desc {
  color: var(--muted2);
  font-size: 15px;
  margin-bottom: 32px;
}

.blog-index-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}

.blog-index-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.blog-index-item:hover { border-color: rgba(232,201,109,0.3); transform: translateX(4px); }

.blog-index-date {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-index-title {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 600;
}

.blog-post {
  scroll-margin-top: 90px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-bottom: 48px;
}

.blog-post:first-of-type {
  border-top: none;
  padding-top: 0;
}

.blog-post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* ================= 404 SAYFASI ================= */
.error-404 {
  text-align: center;
  padding: 80px 20px 60px;
}
.error-404-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 18vw, 160px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.error-404-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.error-404-desc {
  color: var(--muted2);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-404-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s;
}
.error-404-btn:hover { transform: translateY(-2px); }
.error-404-btn.primary { background: var(--accent); color: #0a0a0f; }
.error-404-btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
