/* ============================================================
   BONUSKAPTANIM — Kaptan Teması
   Derin gece laciverti + pirinç altın + deniz köpüğü
   ============================================================ */

:root {
  --bg: #071120;
  --bg-2: #0a1729;
  --panel: #0f2136;
  --panel-2: #132a44;
  --panel-3: #17324f;
  --gold: #d8b45c;
  --gold-2: #b8933f;
  --gold-soft: #ecd08a;
  --teal: #3fd0c9;
  --text: #e8eef6;
  --muted: #93a7bd;
  --line: rgba(216, 180, 92, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(216, 180, 92, 0.06), transparent 60%),
    radial-gradient(900px 500px at 0% 45%, rgba(63, 208, 201, 0.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--text);
}

h1 { font-size: clamp(1.7rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.95rem); }
h3 { font-size: 1.08rem; }

p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.muted { color: var(--muted); font-size: 0.85em; }

/* ------------------------------ Butonlar ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-2) 100%);
  color: #17110a;
  box-shadow: 0 6px 18px rgba(216, 180, 92, 0.22);
}
.btn-gold:hover { color: #17110a; filter: brightness(1.06); box-shadow: 0 8px 22px rgba(216, 180, 92, 0.3); }

.btn-line {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-ghost {
  border-color: var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--line); color: var(--gold-soft); }

.btn-tg {
  background: #229ed9;
  color: #fff;
  margin-top: 10px;
}
.btn-tg:hover { background: #1d8fc4; color: #fff; }
.btn-tg svg { width: 18px; height: 18px; fill: currentColor; }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-xs { padding: 5px 10px; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--gold-soft); padding: 5px 6px; }

/* ------------------------------ Header ------------------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 32, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: 0 0 auto;
}
.brand:hover { color: var(--text); }

.brand-mark { width: 26px; height: 26px; color: var(--gold); flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; display: block; }

.brand-word {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--gold); }

.mainnav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.mainnav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
  transition: color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.mainnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.mainnav a.on { color: var(--gold-soft); }

.mainnav .nav-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7fd1f5;
  border: 1px solid rgba(34, 158, 217, 0.35);
  margin-left: 6px;
}
.mainnav .nav-tg svg { width: 16px; height: 16px; fill: currentColor; }
.mainnav .nav-tg:hover { background: rgba(34, 158, 217, 0.12); color: #9fdcf8; }

.navtoggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  width: 42px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.navtoggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navtoggle.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.x span:nth-child(2) { opacity: 0; }
.navtoggle.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- Hero ------------------------------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 58px; }
.hero-waves {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 480px at 78% -12%, rgba(216, 180, 92, 0.12), transparent 60%),
    radial-gradient(760px 420px at 6% 112%, rgba(63, 208, 201, 0.08), transparent 55%),
    repeating-linear-gradient(-12deg, transparent 0 64px, rgba(255, 255, 255, 0.012) 64px 65px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.kicker span { width: 26px; height: 2px; background: var(--gold); display: inline-block; }

.hero h1 { margin-bottom: 14px; }

.hero-sub {
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  background: rgba(15, 33, 54, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  min-width: 128px;
}
.stat strong { display: block; font-size: 1.4rem; color: var(--gold-soft); line-height: 1.1; }
.stat span { font-size: 0.78rem; color: var(--muted); }

/* ------------------------------ Bölümler ------------------------------ */
.section { padding: 52px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin-bottom: 0; }

.link-more { color: var(--gold-soft); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.link-more:hover { color: var(--gold); }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(216, 180, 92, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tag-sm { padding: 3px 9px; font-size: 0.68rem; margin-bottom: 8px; }

/* --------------------------- Editörün seçimi --------------------------- */
.editor-section { padding-top: 10px; }

.editor-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 30px;
  background:
    linear-gradient(150deg, rgba(19, 42, 68, 0.9), rgba(11, 25, 43, 0.95)),
    radial-gradient(600px 300px at 90% 0%, rgba(216, 180, 92, 0.12), transparent 60%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.editor-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.editor-main { position: relative; }
.editor-brand { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.editor-logo {
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.editor-brand h2 { margin: 0 0 2px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.editor-meta { margin: 0; color: var(--muted); font-size: 0.86rem; }
.editor-text { color: #c6d3e2; max-width: 560px; margin-bottom: 20px; }

.editor-side {
  border-left: 1px solid var(--line-soft);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.editor-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.editor-seal svg { width: 40px; height: 40px; }

.editor-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.editor-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}
.editor-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(63, 208, 201, 0.5);
}

.editor-bonus {
  max-width: 560px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 180, 92, 0.3);
  border-radius: 14px;
  background: rgba(216, 180, 92, 0.07);
}
.editor-bonus-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.editor-bonus-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.editor-bonus-type {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(63, 208, 201, 0.4);
  background: rgba(63, 208, 201, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.editor-bonus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.editor-bonus-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.86rem;
}
.editor-bonus-list li span { color: var(--muted); white-space: nowrap; }
.editor-bonus-list li strong { color: #e8eef6; font-weight: 600; text-align: right; }

/* -------------------------------- Grid -------------------------------- */
.grid { display: grid; gap: 18px; }
.bgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.other-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ----------------------------- Bonus kartı ----------------------------- */
.bcard {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bcard:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.bcard-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
  overflow: hidden;
}
.bcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.bcard:hover .bcard-media img { transform: scale(1.04); }

.bcard-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  background: radial-gradient(400px 200px at 50% 0%, rgba(216, 180, 92, 0.16), transparent 70%);
}

.bcard-type {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(7, 17, 32, 0.82);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.bcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }

.bcard-firm {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bcard-title { font-size: 0.98rem; margin-bottom: 8px; }
.bcard-title a { color: var(--text); }
.bcard-title a:hover { color: var(--gold-soft); }

.bcard-sum {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcard-actions { display: flex; gap: 8px; margin-top: auto; }
.bcard-actions .btn { flex: 1; }

/* ------------------------------ Site kartı ------------------------------ */
.scard {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.scard:hover { transform: translateY(-3px); border-color: var(--line); }

.scard-head { display: flex; align-items: center; gap: 14px; color: var(--text); }
.scard-head:hover { color: var(--text); }

.scard-logo {
  width: 92px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 6px;
  flex: 0 0 auto;
}

.monogram {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--panel-3), var(--panel-2));
  border: 1px solid var(--line);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.monogram-lg { width: 76px; height: 76px; font-size: 2rem; border-radius: 16px; }

.scard-id h3 { margin: 0 0 2px; font-size: 1.02rem; }
.scard-id p { margin: 0; color: var(--muted); font-size: 0.78rem; }

.scard-info {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scard-actions { display: flex; gap: 8px; margin-top: auto; }
.scard-actions .btn { flex: 1; }

/* ------------------------------- How ------------------------------- */
.how-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.how-card h3 { margin-bottom: 8px; }
.how-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.how-num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* -------------------------------- Prose -------------------------------- */
.prose-section { background: linear-gradient(180deg, transparent, rgba(15, 33, 54, 0.35), transparent); }
.prose-wrap { max-width: 860px; }
.prose-wrap h2 { margin-top: 1.6em; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.prose-wrap h2:first-child { margin-top: 0; }
.prose-wrap h3 { margin-top: 1.4em; color: var(--gold-soft); }
.prose-wrap p, .prose-wrap li { color: #c2cfdf; line-height: 1.8; font-size: 0.95rem; }
.prose-wrap ul { padding-left: 20px; }
.prose-wrap li { margin-bottom: 8px; }
.prose-wrap a { text-decoration: underline; text-underline-offset: 3px; }

.bonus-content h2 { margin-top: 1.5em; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.bonus-content ul { padding-left: 20px; }
.bonus-content li { color: #c2cfdf; margin-bottom: 8px; line-height: 1.7; }

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 14px;
}
.faq-item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--gold-soft); }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* -------------------------------- FAQ -------------------------------- */
.faq-wrap { max-width: 860px; }
.faq {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  position: relative;
  padding-right: 44px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 0.9rem; }

/* ------------------------------ TG band ------------------------------ */
.tg-band-section { padding-top: 10px; }
.tg-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(19, 42, 68, 0.92), rgba(15, 33, 54, 0.92)),
    radial-gradient(500px 240px at 88% 50%, rgba(34, 158, 217, 0.18), transparent 60%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 30px 34px;
}
.tg-band h2 { margin-bottom: 6px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.tg-band p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 560px; }
.tg-band .btn { flex: 0 0 auto; }

/* ------------------------------- Footer ------------------------------- */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  background: #060e1a;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 46px 0 34px;
}
.fcol h4 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcol ul a { color: var(--muted); font-size: 0.88rem; }
.fcol ul a:hover { color: var(--gold-soft); }
.fbrand-text { color: var(--muted); font-size: 0.86rem; max-width: 300px; margin-top: 12px; }
.brand-foot { margin-bottom: 4px; }
.fwarn p { color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.age-badge { display: flex; align-items: center; gap: 10px; }
.age-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  color: var(--gold-soft);
  border-radius: 8px;
  padding: 3px 9px;
  font-weight: 800;
  font-size: 0.8rem;
  flex: 0 0 auto;
}
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 16px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: #6f8399; font-size: 0.78rem; }
.footer-bottom a { color: #93a7bd; }

/* --------------------------- Telegram float --------------------------- */
.tg-float {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.tg-float:hover { background: #1d8fc4; transform: translateY(-2px); }
.tg-float svg { width: 24px; height: 24px; fill: #fff; }

/* -------------------------------- Popup -------------------------------- */
.fs-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 9, 17, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.fs-layer[hidden] { display: none; }
.fs-layer.show { opacity: 1; }

body.fs-open { overflow: hidden; }

.fs-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}
.fs-layer.show .fs-card { transform: none; }

.fs-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 32, 0.72);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease;
}
.fs-close:hover { background: rgba(216, 180, 92, 0.9); color: #17110a; }
.fs-close svg { width: 16px; height: 16px; }

.fs-media { display: block; background: var(--panel-2); }
.fs-media img { width: 100%; max-height: 58vh; object-fit: contain; }

.fs-body { padding: 16px 18px 20px; text-align: center; }
.fs-kicker {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fs-title { margin: 0 0 14px; font-weight: 800; font-size: 1.05rem; color: var(--text); }
.fs-cta { width: 100%; }

/* ------------------------------ Page hero ------------------------------ */
.page-hero {
  padding: 46px 0 34px;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(216, 180, 92, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(15, 33, 54, 0.4), transparent);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { margin-bottom: 10px; }
.page-sub { color: var(--muted); max-width: 680px; margin: 0; font-size: 0.95rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { color: #5d7186; }

.site-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.site-hero-brand { display: flex; align-items: center; gap: 20px; }
.site-hero-brand h1 { margin: 0 0 4px; }
.site-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.site-logo {
  width: 150px;
  height: 74px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px;
  flex: 0 0 auto;
}

/* ------------------------------ Filtreler ------------------------------ */
.filters {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 420px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 600;
  transition: all 0.16s ease;
}
.chip span { font-size: 0.68rem; color: #6f8399; }
.chip:hover { border-color: var(--line); color: var(--gold-soft); }
.chip.on {
  background: rgba(216, 180, 92, 0.14);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.chip.on span { color: var(--gold-soft); }

.site-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--muted);
  flex: 0 0 auto;
}
.site-filter select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.84rem;
  min-width: 170px;
}

.result-count { color: var(--muted); font-size: 0.82rem; margin-bottom: 18px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.pager-btn, .pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.pager-btn:hover, .pager-num:hover { border-color: var(--line); color: var(--gold-soft); }
.pager-num.on { background: var(--gold); border-color: var(--gold); color: #17110a; }
.pager-gap { color: #5d7186; }

.empty {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ---------------------------- Bonus detay ---------------------------- */
.bonus-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.bonus-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel-2);
  aspect-ratio: 16 / 9;
}
.bonus-media img { width: 100%; height: 100%; object-fit: cover; }
.bonus-media-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold);
  background: radial-gradient(500px 260px at 50% 0%, rgba(216, 180, 92, 0.18), transparent 70%);
}
.bonus-head h1 { margin-bottom: 10px; }
.bonus-firm { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.bonus-firm a { color: var(--gold-soft); font-weight: 700; }
.bonus-firm .dot { margin: 0 6px; color: #5d7186; }
.bonus-sum { color: #c2cfdf; font-size: 0.95rem; max-width: 560px; }
.bonus-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.bonus-note { color: #6f8399; font-size: 0.76rem; margin: 0; max-width: 520px; }

.bonus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.bonus-side { position: sticky; top: 86px; }
.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.side-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.side-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.side-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  border-bottom: 1px dashed var(--line-soft);
  padding-bottom: 9px;
}
.side-list li:last-child { border-bottom: none; padding-bottom: 0; }
.side-list span { color: var(--muted); }
.side-list strong { color: var(--text); font-weight: 700; text-align: right; }
.side-site-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.side-site-link:hover { color: var(--gold-soft); }

.firm-box {
  margin-top: 40px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.firm-box h2 { margin-top: 0 !important; border-bottom: none !important; padding-bottom: 0 !important; font-size: 1.15rem; }
.firm-box p { margin-bottom: 10px; }
.firm-box .link-more { font-size: 0.85rem; }

.other-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--text);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.other-card:hover { border-color: var(--line); transform: translateY(-2px); color: var(--text); }
.other-card h3 { font-size: 0.92rem; margin-bottom: 6px; }
.other-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------- İletişim --------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-card h2 { font-size: 1.2rem; }
.contact-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------------------------- Hata sayfası ---------------------------- */
.error-section { padding: 90px 0; }
.error-wrap { max-width: 620px; text-align: center; }
.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.error-text { color: var(--muted); }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ================================ ADMIN ================================ */
.admin-body { background: var(--bg-2); }

.admin-bar {
  background: rgba(7, 17, 32, 0.95);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
}
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}
.admin-brand em { font-style: normal; color: var(--gold); }
.admin-brand .brand-mark { width: 22px; height: 22px; }

.admin-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.admin-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 8px;
}
.admin-nav a:hover { color: var(--gold-soft); background: rgba(255, 255, 255, 0.05); }
.inline-form { display: inline; margin: 0 0 0 6px; }

.admin-main { padding: 34px 0 60px; min-height: 60vh; }

.admin-head { margin-bottom: 24px; }
.admin-head h1 { font-size: 1.6rem; margin-bottom: 4px; }
.admin-head p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.astat {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.astat strong { display: block; font-size: 1.8rem; color: var(--gold-soft); line-height: 1.1; }
.astat span { color: var(--muted); font-size: 0.8rem; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.admin-panel {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  overflow-x: auto;
}
.admin-panel h2 { font-size: 1.05rem; margin-bottom: 16px; }

.atable { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.atable th {
  text-align: left;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.atable td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.atable tr:last-child td { border-bottom: none; }
.atable .tright { text-align: right; white-space: nowrap; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.pill-on { background: rgba(63, 208, 201, 0.14); color: #7fe6df; border: 1px solid rgba(63, 208, 201, 0.3); }
.pill-off { background: rgba(255, 107, 107, 0.12); color: #ff9d9d; border: 1px solid rgba(255, 107, 107, 0.28); }

.admin-search { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-search input {
  flex: 1 1 260px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--text);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.admin-form { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; max-width: 900px; }
.admin-form.narrow { max-width: 480px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.admin-form input[type="text"], .admin-form input[type="password"], .admin-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--text);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 0.88rem;
  font-family: inherit;
}
.admin-form textarea { resize: vertical; line-height: 1.6; }
.admin-form textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; }
.admin-form .check { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; color: var(--text); }
.form-actions { display: flex; gap: 10px; }

.alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.86rem;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert-ok { background: rgba(63, 208, 201, 0.1); border-color: rgba(63, 208, 201, 0.3); color: #8be9e2; }
.alert-error { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.32); color: #ffb3b3; }

.admin-foot {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
  color: #5d7186;
  font-size: 0.78rem;
}

/* ------------------------------ Giriş sayfası ------------------------------ */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(216, 180, 92, 0.08), transparent 60%),
    var(--bg-2);
}
.login-wrap { width: min(420px, 100%); }
.login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.login-brand { text-align: center; margin-bottom: 22px; }
.login-brand .brand-mark { width: 42px; height: 42px; margin: 0 auto 10px; }
.login-brand h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login-brand p { color: var(--muted); font-size: 0.85rem; margin: 0; }
.login-form { display: grid; gap: 14px; }
.login-form label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.login-form input {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--text);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 0.92rem;
}
.login-form input:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.login-back { display: block; text-align: center; margin-top: 16px; font-size: 0.8rem; color: var(--muted); }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1080px) {
  .bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
}

@media (max-width: 940px) {
  .mainnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 17, 32, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    display: none;
    margin-left: 0;
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 10px; font-size: 0.95rem; border-radius: 8px; }
  .mainnav .nav-tg { margin-left: 0; justify-content: center; margin-top: 6px; }
  .navtoggle { display: flex; }

  .editor-card { grid-template-columns: 1fr; padding: 26px; }
  .editor-side { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 20px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .editor-points { grid-template-columns: repeat(2, auto); gap: 6px 18px; }

  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bonus-layout { grid-template-columns: 1fr; }
  .bonus-side { position: static; }
  .bonus-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .admin-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 48px 0 42px; }
  .section { padding: 40px 0; }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bcard-body { padding: 13px 13px 15px; }
  .bcard-title { font-size: 0.9rem; }
  .bcard-actions { flex-direction: column; }
  .editor-logo { height: 52px; }
  .editor-brand { gap: 14px; }
  .hero-stats { gap: 10px; }
  .stat { padding: 10px 14px; min-width: 104px; flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head.center { align-items: center; }
  .tg-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .tg-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 26px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .site-hero-row { flex-direction: column; align-items: flex-start; }
  .site-hero-row > .btn { width: 100%; }
  .filters { flex-direction: column; }
  .site-filter { width: 100%; }
  .site-filter select { width: 100%; }
  .bonus-cta .btn { width: 100%; }
  .editor-side { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .bgrid { grid-template-columns: 1fr; }
  .sgrid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr; }
  .brand-word { font-size: 0.82rem; letter-spacing: 0.08em; }
  .brand-mark { width: 22px; height: 22px; }
  .topbar-inner { min-height: 58px; gap: 12px; }
  .hero h1 { font-size: 1.62rem; }
  .hero-actions .btn { width: 100%; }
  .stat strong { font-size: 1.15rem; }
  .editor-card { padding: 20px; }
  .editor-bonus { padding: 14px; }
  .editor-bonus-list li { flex-direction: column; gap: 2px; }
  .editor-bonus-list li strong { text-align: left; }
  .editor-bonus-list li span { white-space: normal; }
  .page-hero { padding: 34px 0 26px; }
  .editor-brand { flex-direction: column; align-items: flex-start; }
  .site-hero-brand { flex-direction: column; align-items: flex-start; }
  .bonus-note { font-size: 0.72rem; }
  .fs-card { width: 100%; }
  .fs-layer { padding: 14px; }
  .faq summary { font-size: 0.88rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .login-card { padding: 26px 20px; }
}
