:root {
  --bg: #0c0e12;
  --surface: #161a22;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.12);
  --text: #eceef2;
  --muted: #8b94a3;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #1a2030 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  padding: 2rem 1rem 3rem;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.site-header {
  text-align: center;
  margin-bottom: 2rem;
}

.site-header h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.muted a {
  color: var(--accent);
}

.status-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.count {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}

.alert {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert-error {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #f8b4bc;
}

.alert-warn {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #e8dcb8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-bg, #1a1a1a) 0%, #121418 100%);
}

a.card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.35);
}

.card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

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

.card-head {
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--accent-soft);
}

dl.card-body {
  margin: 0;
  padding: 0.75rem 1.1rem 1.1rem;
  flex: 1;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
}

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

.row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  flex: 0 0 42%;
}

.row dd {
  margin: 0;
  text-align: right;
  word-break: break-word;
  flex: 1;
}

.row dd.fiyat {
  font-weight: 700;
  font-size: 0.98rem;
  color: #e8dcb8;
}

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

code {
  font-size: 0.82em;
  opacity: 0.95;
}

.cache-note {
  font-size: 0.82rem !important;
  max-width: 44rem;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0.65rem !important;
}

.cache-note a {
  color: var(--accent);
}

.pager-wrap {
  margin-top: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pager-info {
  font-size: 0.88rem;
  color: var(--muted);
}

.pager {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
}

.pager a,
.pager .current,
.pager .ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.pager a {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.pager a:hover {
  background: var(--accent-soft);
  border-color: rgba(201, 162, 39, 0.45);
  color: #fff;
}

.pager .current {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #111;
}

.pager .ellipsis {
  border: none;
  background: transparent;
  color: var(--muted);
  min-width: 1.5rem;
}

.count strong {
  color: #e8dcb8;
}
