/* ==========================================================================
   Bonus Köşküm — Ana Tema
   ========================================================================== */

:root {
  --bg: #08060f;
  --bg-soft: #0c0917;
  --surface: #12101f;
  --surface-2: #181429;
  --surface-3: #1f1a33;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1fb;
  --muted: #a49fbd;
  --muted-2: #7c7599;
  --gold: #f6c453;
  --gold-deep: #f59e0b;
  --orange: #f97316;
  --violet: #8b5cf6;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.75);
  --gradient-gold: linear-gradient(135deg, #f9d976 0%, #f6b93b 45%, #f97316 100%);
  --gradient-violet: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(246, 196, 83, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.2; }

p { margin: 0; }

::selection { background: rgba(246, 196, 83, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #2a2440; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3a3258; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }

/* ==========================================================================
   Marka / Header
   ========================================================================== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient-gold);
  color: #241605;
  box-shadow: 0 8px 24px -8px rgba(246, 196, 83, 0.65);
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-text { color: var(--text); }
.brand-text em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 6, 15, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

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

.main-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.18s, background 0.18s;
}

.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a.active { color: var(--gold); background: rgba(246, 196, 83, 0.09); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.bi-spark { font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 10px 4vw 18px;
  gap: 2px;
  border-top: 1px solid var(--border);
  background: rgba(8, 6, 15, 0.98);
}

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

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
}

.mobile-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }

/* ==========================================================================
   Butonlar
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
}

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

.btn-primary {
  background: var(--gradient-gold);
  color: #241605;
  box-shadow: 0 10px 28px -12px rgba(246, 196, 83, 0.75);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px -10px rgba(246, 196, 83, 0.85);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover { border-color: rgba(246, 196, 83, 0.45); color: var(--gold); background: rgba(246, 196, 83, 0.06); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}

.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.28);
}

.btn-danger:hover { background: rgba(239, 68, 68, 0.2); color: #fff; }

.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 86px 0 64px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-orb-1 {
  width: 460px; height: 460px;
  background: rgba(139, 92, 246, 0.25);
  top: -180px; left: -120px;
}

.hero-orb-2 {
  width: 420px; height: 420px;
  background: rgba(246, 196, 83, 0.16);
  top: -120px; right: -140px;
}

.hero-inner { text-align: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(246, 196, 83, 0.25);
  background: rgba(246, 196, 83, 0.07);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 16.5px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 40px;
  padding: 7px 7px 7px 18px;
  background: rgba(18, 16, 31, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-search svg { width: 19px; height: 19px; color: var(--muted-2); flex-shrink: 0; }

.hero-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 0;
}

.hero-search input::placeholder { color: var(--muted-2); }

.hero-stats {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  min-width: 120px;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 24px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat span { font-size: 12px; color: var(--muted-2); font-weight: 500; letter-spacing: 0.02em; }

/* ==========================================================================
   Bölümler
   ========================================================================== */

.section { padding: 56px 0; position: relative; z-index: 1; }

.section-muted {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 20%, rgba(255, 255, 255, 0.015) 80%, transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; }

.chip {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: 0.18s;
}

.chip:hover { color: var(--text); border-color: var(--border-strong); }

.chip.active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #241605;
  box-shadow: 0 8px 22px -10px rgba(246, 196, 83, 0.7);
}

/* ==========================================================================
   Bonus kartları
   ========================================================================== */

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

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

.bonus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(246, 196, 83, 0.35);
  box-shadow: var(--shadow);
}

.bonus-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.bonus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.bonus-card:hover .bonus-media img { transform: scale(1.045); }

.media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 20% 10%, rgba(139, 92, 246, 0.35), transparent 60%),
              radial-gradient(120% 120% at 90% 90%, rgba(246, 196, 83, 0.25), transparent 55%),
              var(--surface-2);
}

.media-fallback span {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.media-fallback-lg span { font-size: 90px; }

.bonus-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.05) 40%, rgba(8, 6, 15, 0.55));
  pointer-events: none;
}

.site-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 99px;
  background: rgba(10, 8, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.site-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.monogram {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--gradient-gold);
  color: #241605;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
}

.monogram-lg { width: 44px; height: 44px; font-size: 19px; }

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(10, 8, 18, 0.72);
  border: 1px solid rgba(246, 196, 83, 0.45);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

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

.type-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.type-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.type-yatirimsiz { color: #86efac; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.22); }
.type-freespin { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.25); }
.type-hosgeldin { color: #fcd34d; background: rgba(246, 196, 83, 0.1); border-color: rgba(246, 196, 83, 0.25); }
.type-featured { color: var(--gold); background: rgba(246, 196, 83, 0.08); border-color: rgba(246, 196, 83, 0.3); }

.bonus-title { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.bonus-title a:hover { color: var(--gold); }

.bonus-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bonus-cevrim {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.cevrim-label { color: var(--muted-2); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cevrim-text { color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.bonus-actions { display: flex; gap: 8px; margin-top: 4px; }
.bonus-actions .btn-primary { flex: 1; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ==========================================================================
   Site şeridi
   ========================================================================== */

.site-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.site-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: 0.2s;
  text-align: center;
}

.site-tile:hover {
  border-color: rgba(246, 196, 83, 0.35);
  transform: translateY(-3px);
  background: var(--surface-2);
}

.site-tile-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  overflow: hidden;
}

.site-tile-logo img { width: 100%; height: 100%; object-fit: contain; }
.site-tile-name { font-weight: 600; font-size: 14px; }
.site-tile-count { font-size: 11.5px; color: var(--muted-2); }

/* ==========================================================================
   Detay sayfası
   ========================================================================== */

.detail-page { padding: 28px 0 70px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

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

.detail-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 16 / 8;
}

.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.detail-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 16px 0 12px;
}

.detail-lead { color: var(--muted); font-size: 16px; line-height: 1.7; }

.info-panel {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(246, 196, 83, 0.22);
  background: rgba(246, 196, 83, 0.05);
}

.info-panel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(246, 196, 83, 0.14);
  color: var(--gold);
  font-size: 20px;
}

.info-panel-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.info-panel p { color: var(--text); font-size: 14.5px; line-height: 1.6; }

.rules-section { margin-top: 34px; }

.detail-h2 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.rules-text p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.disclaimer {
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.disclaimer strong { color: var(--muted); }

.detail-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }

.side-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.side-site { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.side-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.side-logo img { width: 100%; height: 100%; object-fit: contain; }

.side-site-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.side-site strong { font-family: var(--font-display); font-size: 17px; }

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

.side-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.side-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list dt { color: var(--muted-2); flex-shrink: 0; }
.side-list dd { margin: 0; text-align: right; color: var(--muted); }

.side-card .btn-block + .btn-block { margin-top: 8px; }

.side-title { font-size: 16px; margin-bottom: 14px; }

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

.related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.18s;
}

.related-item:hover { background: rgba(255, 255, 255, 0.04); }

.related-thumb {
  width: 64px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}

.related-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.related-info strong { font-size: 12.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info span { font-size: 11px; color: var(--muted-2); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.status-pill.online { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.status-pill.offline { background: rgba(239, 68, 68, 0.1); color: #fca5a5; }

/* ==========================================================================
   Siteler sayfası
   ========================================================================== */

.page-simple { padding: 48px 0 70px; }

.page-head { max-width: 620px; margin-bottom: 34px; }

.page-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }

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

.site-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: 0.2s;
}

.site-card:hover { border-color: rgba(246, 196, 83, 0.3); transform: translateY(-3px); }

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

.site-card h3 { font-size: 18px; }
.site-card-count { font-size: 12px; color: var(--muted-2); }

.site-card-info {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ==========================================================================
   Auth
   ========================================================================== */

.auth-page {
  min-height: calc(100vh - 0px);
  display: grid;
  place-items: center;
  padding: 48px 20px 60px;
  position: relative;
  overflow: hidden;
}

.auth-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 65%);
  filter: blur(60px);
  top: -220px;
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 36px 32px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 16, 31, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-brand { margin-bottom: 22px; }

.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }

.auth-back { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--muted-2); }
.auth-back:hover { color: var(--gold); }

/* ==========================================================================
   Form alanları
   ========================================================================== */

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

.field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field > span em { color: var(--gold); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.field textarea { resize: vertical; line-height: 1.6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(246, 196, 83, 0.5);
  background: rgba(246, 196, 83, 0.03);
  box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.1);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field select option { background: var(--surface); color: var(--text); }

.check-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; color: var(--muted); }
.check input { width: 16px; height: 16px; accent-color: var(--gold); }

.alert {
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
}

.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #86efac; }

/* ==========================================================================
   Admin
   ========================================================================== */

.admin-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.admin-sidebar {
  width: 262px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 18px;
  border-right: 1px solid var(--border);
  background: rgba(12, 9, 23, 0.92);
  position: sticky;
  top: 0;
  height: 100vh;
}

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

.admin-badge {
  align-self: flex-start;
  margin: 0 0 16px 4px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.25);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: 0.16s;
}

.admin-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }

.admin-nav a.active {
  background: rgba(246, 196, 83, 0.1);
  color: var(--gold);
  box-shadow: inset 3px 0 0 var(--gold);
}

.admin-nav-icon { width: 20px; text-align: center; font-size: 15px; }

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px 10px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.admin-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--gradient-violet);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.admin-user-info { display: flex; flex-direction: column; min-width: 0; }
.admin-user-info strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-user-info span { font-size: 11.5px; color: var(--muted-2); }

.admin-logout-form { padding: 4px; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 6, 15, 0.6);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.admin-topbar-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: 1; }
.admin-topbar-user { font-size: 12.5px; color: var(--muted-2); }
.admin-nav-toggle { display: none; }

.admin-content { padding: 26px 28px 50px; }

.admin-flash { max-width: 720px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.stat-card-label { font-size: 12px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.07em; }

.stat-card-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card-sub { font-size: 12px; color: var(--muted-2); }

.stat-card-accent {
  border-color: rgba(246, 196, 83, 0.3);
  background: linear-gradient(160deg, rgba(246, 196, 83, 0.08), var(--surface) 65%);
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.panel-narrow { max-width: 820px; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.panel-head-wrap { flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 9px; }

.count-badge {
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(246, 196, 83, 0.12);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
}

.panel-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.inline-search { display: flex; gap: 6px; }

.inline-search input {
  width: 230px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.inline-search input:focus { border-color: rgba(246, 196, 83, 0.5); }

.table-wrap { overflow-x: auto; }

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

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.td-strong { font-weight: 600; }
.td-muted { color: var(--muted-2); font-size: 12.5px; }
.td-clamp { margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 380px; }
.td-thumb img { width: 64px; height: 42px; object-fit: cover; border-radius: 7px; }
.td-empty { text-align: center; padding: 36px !important; color: var(--muted-2); }
.td-actions { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.thumb-empty { color: var(--muted-2); }

.inline-form { display: inline; }

.status-btn { border: 0; cursor: pointer; font-family: inherit; }

.type-tags-sm .type-tag { font-size: 10px; padding: 2px 8px; }

.admin-form { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-actions {
  display: flex;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding: 46px 0 32px;
}

.footer-brand-col p { color: var(--muted-2); font-size: 13px; line-height: 1.7; margin-top: 12px; max-width: 340px; }

.footer-links-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--muted); }
.footer-links-col a { display: block; padding: 4px 0; font-size: 13px; color: var(--muted-2); }
.footer-links-col a:hover { color: var(--gold); }

.footer-note { font-size: 12px; color: var(--muted-2); line-height: 1.7; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted-2);
}

.age-badge {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  font-weight: 800;
  font-size: 11px;
}

/* ==========================================================================
   Hata sayfası
   ========================================================================== */

.error-page { padding: 90px 0; text-align: center; }

.error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.error-page h1 { font-size: 26px; margin-bottom: 10px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }

/* ==========================================================================
   Duyarlı
   ========================================================================== */

@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-actions { display: none; }
  .header-inner { gap: 12px; }

  .hero { padding: 56px 0 44px; }
  .hero-stat { padding: 12px 18px; min-width: 96px; }
  .hero-stat strong { font-size: 20px; }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 80;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    height: 100vh;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6);
  }

  .admin-sidebar.open { transform: translateX(0); }
  .admin-nav-toggle { display: flex; }
  .admin-content { padding: 20px 16px 44px; }
  .admin-topbar { padding: 12px 16px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search input { width: 100%; flex: 1 1 100%; padding: 8px 6px; }
  .hero-search .btn { width: 100%; }
  .hero-search svg { display: none; }
  .section-head { align-items: flex-start; }
  .bonus-grid { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .auth-card { padding: 28px 22px; }
  .detail-media { aspect-ratio: 16 / 10; }
  .inline-search input { width: 150px; }
  .panel-head { padding: 14px 16px; }
  .admin-form { padding: 16px; }
}
