/* Günlük Fırsatlar — mucaai.com look */
body.firsat-page { padding-top: 0; }
body.firsat-page main { padding-top: 88px; padding-bottom: 4rem; }
body.firsat-page .nav-links a[aria-current="page"] { color: var(--text); }

.firsat-hero { padding: 1.2rem 0 1.6rem; }
.firsat-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 1.3rem 0 1rem;
  max-width: 16ch;
}
.firsat-hero .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.firsat-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 56ch;
  margin-bottom: 1.1rem;
}
.firsat-disclosure {
  display: inline-block;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 0.75rem 1rem;
}

.firsat-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0.4rem 0 1.6rem;
}
.when-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
}
.when-btn, .cat-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.when-btn.is-on, .cat-chip.is-on {
  background: var(--grad);
  color: #1a1206;
}
.cat-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-chip {
  border: 1px solid var(--line);
  background: var(--surface);
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.deal-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  transition: border-color 0.25s, transform 0.25s;
}
.deal-card:hover { border-color: rgba(245, 158, 11, 0.45); transform: translateY(-2px); }
.deal-image {
  aspect-ratio: 1 / 1;
  background: #16130e;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.deal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.deal-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem 1.05rem 1.15rem; flex: 1; }
.deal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.deal-cat {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  letter-spacing: 0.02em;
}
.deal-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.deal-note { font-size: 0.82rem; color: var(--muted); }
.deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.price-now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.price-old { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.price-off {
  font-size: 0.75rem;
  font-weight: 700;
  color: #083027;
  background: var(--green);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.deal-cta { margin-top: auto; padding-top: 0.7rem; }
.deal-cta .btn { width: 100%; justify-content: center; }

.empty-state {
  text-align: center;
  padding: 3.2rem 1rem 2rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state svg { color: var(--cyan); margin-bottom: 1rem; opacity: 0.85; }
.empty-state h2 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}
.empty-state p { max-width: 42ch; margin: 0 auto; }
.status-line { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; text-align: center; }

/* Admin */
body.admin-page { min-height: 100vh; }
body.admin-page main { padding-top: 88px; padding-bottom: 4rem; }
.admin-wrap { width: min(1100px, 92vw); margin: 0 auto; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.admin-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.3rem;
  margin-bottom: 1.1rem;
}
.admin-panel h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.3rem; font-weight: 500; }
input[type="text"], input[type="url"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: 500 0.95rem var(--font-body);
}
textarea { min-height: 76px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.preview-row { display: flex; gap: 0.8rem; align-items: center; }
.preview-row img {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border-radius: 10px; border: 1px solid var(--line);
}
.admin-table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td {
  text-align: left; padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table th { color: var(--muted); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.admin-table img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; }
.row-actions { display: flex; gap: 0.4rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.flash { font-size: 0.88rem; margin: 0.4rem 0 0; color: var(--green); }
.flash.err { color: #f87171; }
.login-card {
  width: min(420px, 92vw);
  margin: 12vh auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
}
.login-card h1 { font-family: var(--font-display); font-size: 1.6rem; margin: 0.3rem 0 0.8rem; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.firsat-page main, body.admin-page main { padding-top: 76px; }
  .deal-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .deal-card, .deal-card:hover { transform: none; }
}

.admin-tabs { display: flex; gap: 0.4rem; margin: 0 0 1.2rem; }
.admin-tab {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer;
}
.admin-tab.is-on { background: var(--grad); color: #1a1206; border-color: transparent; }
.admin-tab .count {
  display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem;
  margin-left: 0.35rem; border-radius: 999px; background: rgba(0,0,0,.18);
  font-size: 0.72rem;
}
.admin-tab.is-on .count { background: rgba(26,18,6,.18); }
.pct-strong { color: var(--green); font-weight: 700; }

.suggest-head { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.35rem; }
.suggest-head h2 { margin-bottom: 0; }
.super-wrap { margin-bottom: 2.1rem; }
.super-heading {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}
.super-lead { margin-bottom: 1rem; }
.super-grid .deal-card { border-color: rgba(245, 158, 11, 0.42); box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12); }
.super-grid .price-off { background: var(--grad); color: #1a1206; }
