/* ============================================================
   Bonus Çeşmem – premium koyu tema
   Palet: gece mavisi + altın; basliklar serif, govde sistem sans
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-alt: #0a101c;
  --card: #0f1828;
  --card-2: #131e33;
  --line: rgba(233, 185, 73, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --gold: #e9b949;
  --gold-2: #f7d379;
  --gold-deep: #b8871f;
  --text: #e8edf6;
  --muted: #92a0b8;
  --tg: #229ed9;
  --green: #37d67a;
  --red: #ef5d6b;
  --serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: #fff;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(28px, 5vw, 46px);
}

h2 {
  font-size: clamp(22px, 3.4vw, 32px);
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 14px;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-align: center;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #171205;
  box-shadow: 0 8px 22px rgba(233, 185, 73, 0.22);
}

.btn-gold:hover {
  color: #171205;
  box-shadow: 0 12px 28px rgba(233, 185, 73, 0.32);
}

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

.btn-ghost:hover {
  border-color: var(--line);
  color: var(--gold-2);
}

.btn-outline {
  background: transparent;
  border-color: rgba(233, 185, 73, 0.4);
  color: var(--gold-2);
}

.btn-outline:hover {
  background: rgba(233, 185, 73, 0.08);
  color: var(--gold-2);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

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

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

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep));
  color: #171205;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(233, 185, 73, 0.3);
}

.brand-text {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-text em {
  font-style: normal;
  color: var(--gold-2);
}

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

.main-nav > a {
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav > a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.main-nav > a.active {
  color: var(--gold-2);
}

.nav-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  border: 1px solid rgba(34, 158, 217, 0.5) !important;
  color: #7fd0f4 !important;
  background: rgba(34, 158, 217, 0.1);
}

.nav-tg:hover {
  background: rgba(34, 158, 217, 0.2);
  color: #aee4ff !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d774, #d4a017);
  color: #10131f !important;
  font-weight: 700;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 58px 0 40px;
  background:
    radial-gradient(700px 340px at 12% -6%, rgba(233, 185, 73, 0.09), transparent 65%),
    radial-gradient(620px 340px at 88% 8%, rgba(34, 158, 217, 0.07), transparent 65%);
  border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  background: rgba(233, 185, 73, 0.07);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
}

.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  flex: 1 1 130px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(15, 24, 40, 0.7);
}

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-2);
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Editorun Secimi ---------- */

.editor-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(233, 185, 73, 0.35);
  background:
    linear-gradient(160deg, rgba(233, 185, 73, 0.09), rgba(19, 30, 51, 0.4) 45%),
    var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.editor-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2), var(--gold-deep));
}

.editor-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.14);
  border: 1px solid rgba(233, 185, 73, 0.4);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.editor-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.editor-top img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
}

.editor-top h2 {
  margin: 0 0 4px;
  font-size: 26px;
}

.editor-bonuses {
  margin: 0;
  color: var(--gold-2);
  font-size: 13.5px;
  font-weight: 700;
}

.editor-text {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Bolumler ---------- */

.section {
  padding: 46px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  position: relative;
  padding-left: 18px;
}

.section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
}

.section-more {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.section-more:hover {
  color: var(--gold-2);
}

.page-head {
  padding-top: 44px;
  padding-bottom: 8px;
}

.page-sub {
  color: var(--muted);
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

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

.breadcrumb a:hover {
  color: var(--gold-2);
}

.breadcrumb span {
  color: rgba(146, 160, 184, 0.6);
}

/* ---------- Site kartlari ---------- */

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.site-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(233, 185, 73, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.site-card:hover::before {
  opacity: 1;
}

.site-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 7px;
  flex-shrink: 0;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--card-2), #1b2a44);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
}

.site-title {
  min-width: 0;
}

.site-title h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.site-title h3 a {
  color: var(--text);
}

.site-title h3 a:hover {
  color: var(--gold-2);
}

.rate {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 13px;
}

.rate-num {
  color: var(--muted);
  font-weight: 600;
}

.rate-lg .stars {
  font-size: 16px;
}

.rate-lg .rate-num {
  font-size: 14px;
}

.site-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.site-card .btn {
  margin-top: auto;
}

/* ---------- Bonus kartlari ---------- */

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bonus-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bonus-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.bonus-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1220;
}

.bonus-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.bonus-card:hover .bonus-thumb img {
  transform: scale(1.03);
}

.bonus-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
}

.bonus-site {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bonus-body h3 {
  margin: 0;
  font-size: 17.5px;
}

.bonus-body h3 a {
  color: var(--text);
}

.bonus-body h3 a:hover {
  color: var(--gold-2);
}

.bonus-sum {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Site detay ---------- */

.site-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
  margin-top: 10px;
}

.site-hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.site-hero-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  flex-shrink: 0;
  font-size: 44px;
}

.site-hero h1 {
  margin-bottom: 8px;
}

.site-about {
  padding-top: 30px;
}

.muted-note {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Bonus detay ---------- */

.bonus-detail {
  padding-top: 8px;
}

.bonus-head {
  max-width: 860px;
  padding: 26px 0 10px;
}

.bonus-site-pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.1);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.bonus-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
}

.bonus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 20px;
}

.bonus-hero {
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0b1220;
}

.bonus-hero img {
  display: block;
  width: 100%;
}

.bonus-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(233, 185, 73, 0.3);
  background: linear-gradient(135deg, rgba(233, 185, 73, 0.08), rgba(15, 24, 40, 0.6));
  margin-bottom: 26px;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cta-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold-2);
}

.cta-copy span {
  color: var(--muted);
  font-size: 13.5px;
}

.bonus-cta-bottom {
  margin-top: 26px;
}

.side-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  margin-bottom: 16px;
}

.side-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.side-dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  font-size: 14px;
}

.side-dl dt {
  color: var(--muted);
}

.side-dl dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.side-list a:hover {
  border-color: var(--line);
}

.side-list-title {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.side-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.side-note p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* ---------- Icerik (prose) ---------- */

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.prose h3 {
  margin-top: 22px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 8px;
  color: #c8d2e4;
}

.prose p {
  color: #c8d2e4;
}

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

.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(233, 185, 73, 0.4);
  text-underline-offset: 3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--card);
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  color: var(--muted);
  font-size: 14.5px;
  padding-bottom: 12px;
  margin: 0;
}

.section-related {
  padding: 30px 0 10px;
  border-top: 1px solid var(--line-soft);
  margin-top: 20px;
}

/* ---------- Sayfalama ---------- */

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.pager-link {
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.pager-link:hover {
  border-color: var(--line);
  color: var(--gold-2);
}

.pager-info {
  color: var(--muted);
  font-size: 14px;
}

.empty-note {
  color: var(--muted);
  padding: 18px 0;
}

/* ---------- Iletisim ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-row label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: rgba(7, 11, 20, 0.6);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(233, 185, 73, 0.5);
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.alert {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.alert-ok {
  background: rgba(55, 214, 122, 0.1);
  border: 1px solid rgba(55, 214, 122, 0.35);
  color: #8ff0b5;
}

.alert-err {
  background: rgba(239, 93, 107, 0.1);
  border: 1px solid rgba(239, 93, 107, 0.35);
  color: #ff9aa5;
}

/* ---------- Hata sayfalari ---------- */

.err-page {
  text-align: center;
  padding: 70px 20px 90px;
}

.err-code {
  font-family: var(--serif);
  font-size: clamp(64px, 14vw, 120px);
  color: rgba(233, 185, 73, 0.22);
  margin: 0 0 6px;
  line-height: 1;
}

.err-page .hero-cta {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line-soft);
  background: #050810;
  padding: 42px 0 26px;
  margin-top: 30px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.3fr);
  gap: 28px;
}

.foot-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 14px 0;
}

.foot-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(34, 158, 217, 0.4);
  background: rgba(34, 158, 217, 0.08);
  color: #7fd0f4;
  font-size: 13.5px;
  font-weight: 600;
}

.foot-tg:hover {
  background: rgba(34, 158, 217, 0.16);
  color: #aee4ff;
}

.foot-col h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 4px 0 14px;
}

.foot-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 4px 0;
}

.foot-col a:hover {
  color: var(--gold-2);
}

.foot-warn p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: rgba(146, 160, 184, 0.7);
  font-size: 12.5px;
}

.foot-bottom a {
  color: rgba(146, 160, 184, 0.7);
}

.foot-bottom a:hover {
  color: var(--gold-2);
}

/* ---------- Telegram sabit buton ---------- */

.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 {
  display: block;
}

/* ---------- Popup ---------- */

.promo-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.promo-layer.promo-open {
  display: flex;
}

.promo-scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.promo-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(233, 185, 73, 0.4);
  background: var(--card);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: promoIn 0.24s ease;
}

@keyframes promoIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.promo-media {
  flex: 1 1 auto;
  min-height: 0;
  background: #0b1220;
  overflow: hidden;
}

.promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 160px);
  object-fit: cover;
}

.promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #171205;
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: 0.3px;
}

.promo-cta:hover {
  color: #171205;
}

.promo-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.25);
  background: rgba(3, 6, 12, 0.6);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:hover {
  background: rgba(3, 6, 12, 0.85);
}

body.promo-locked {
  overflow: hidden;
}

/* ---------- Yonetim paneli ---------- */

.admin-body {
  background: var(--bg-alt);
  min-height: 100vh;
}

.admin-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-card {
  width: 100%;
  max-width: 420px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  box-shadow: var(--shadow);
}

.admin-brand {
  margin-bottom: 18px;
}

.admin-card h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.admin-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-back {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.admin-head {
  background: rgba(7, 11, 20, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.admin-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  flex-wrap: wrap;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-user {
  color: var(--gold-2);
  font-size: 13.5px;
  font-weight: 700;
}

.admin-main {
  padding: 32px 20px 60px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 26px;
}

.stat-card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--card);
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-2);
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.admin-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  overflow-x: auto;
}

.admin-panel h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-table code {
  color: var(--gold-2);
  font-size: 12.5px;
}

.admin-msg {
  max-width: 380px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

/* ---------- Duyarli ---------- */

@media (max-width: 1024px) {
  .site-grid,
  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .editor-card {
    max-width: 520px;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bonus-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav > a {
    padding: 12px 10px;
  }

  .nav-cta,
  .nav-tg {
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
  }

  .nav-cta {
    padding: 10px 16px;
  }

  .site-head {
    position: sticky;
  }

  .head-inner {
    position: relative;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .section {
    padding: 34px 0;
  }

  .site-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-hero .btn {
    width: 100%;
  }

  .site-hero-logo {
    width: 84px;
    height: 84px;
    font-size: 34px;
  }

  .scope,
  .bonus-head {
    padding-top: 26px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-card {
    max-width: 340px;
  }
}

@media (max-width: 560px) {
  .site-grid,
  .bonus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-stats li {
    flex: 1 1 100%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .bonus-cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-copy {
    align-items: center;
  }

  .bonus-cta-bar .btn {
    width: 100%;
  }

  .promo-card {
    max-width: 320px;
  }

  .promo-media img {
    max-height: calc(100vh - 190px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
