:root {
  --bg: #0d0a1a;
  --bg-card: #160d28;
  --bg-card2: #110b20;
  --border: #2a1845;
  --border2: #3a2060;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-muted2: #94a3b8;
  --accent: #a855f7;
  --accent-dark: #9333ea;
  --success: #10b981;
  --info: #ec4899;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.site-body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* ========= NAVBAR ========= */
.site-navbar {
  background: rgba(13,10,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-logo:hover { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }

.nav-links .nav-link {
  color: var(--text-muted2);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu { border-top: 1px solid var(--border); padding: 0.75rem 0; }
.mobile-link { display: block; padding: 0.6rem 0; color: var(--text-muted2); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: #fff; }

/* ========= HERO ========= */
.hero-section {
  position: relative;
  padding: 5rem 0 2rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.min-vh-hero { min-height: 50vh; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.35);
  color: var(--accent);
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted2);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.875rem 1.75rem;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(168,85,247,0.35);
}

.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(168,85,247,0.5); color: #fff; }

.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border2);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.875rem 1.75rem;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}

.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-1px); }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }

.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* HERO CARD PREVIEW */
.hero-card-preview { position: relative; padding: 2rem; }
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

.preview-card-2 { margin-left: 2rem; opacity: 0.8; }

.preview-badge {
  position: absolute;
  top: -8px; right: 16px;
  background: #ec4899;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.preview-icon { width: 44px; height: 44px; background: rgba(168,85,247,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--accent); }
.preview-icon.small { width: 36px; height: 36px; font-size: 1rem; }
.preview-amount { font-size: 1.3rem; font-weight: 800; color: #fff; }
.preview-label { font-size: 0.75rem; color: var(--text-muted); }
.preview-btn { margin-left: auto; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.4rem 0.85rem; border-radius: 6px; cursor: pointer; }

/* ========= CATEGORIES ========= */
.section-categories { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.categories-scroll { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; }
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted2);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover, .cat-pill.active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.4); color: var(--accent); }

/* ========= SECTION HEADER ========= */
.section-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.section-tag {
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.section-title { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0; flex: 1; }
.btn-see-all { color: var(--accent); text-decoration: none; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.35rem; }
.btn-see-all:hover { color: #fff; }

/* ========= BONUS CARD ========= */
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bonus-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

.bonus-featured-badge {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.bonus-card-header { padding: 1rem 1.25rem 0; display: flex; align-items: center; justify-content: space-between; }
.bonus-site-info { display: flex; align-items: flex-start; gap: 0.6rem; }
.bonus-site-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.bonus-site-no-logo { width: 32px; height: 32px; background: var(--bg-card2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }
.bonus-site-name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted2); display: block; }
.bonus-site-desc { font-size: 0.7rem; color: var(--text-muted); display: block; line-height: 1.3; margin-top: 1px; }
.bonus-type-badge { font-size: 0.65rem; font-weight: 700; background: rgba(236,72,153,0.15); border: 1px solid rgba(236,72,153,0.3); color: var(--info); padding: 0.2rem 0.5rem; border-radius: 4px; }

.bonus-card-body { padding: 0.75rem 1.25rem 1rem; flex: 1; }
.bonus-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; line-height: 1.4; }
.bonus-amount { font-size: 1.75rem; font-weight: 900; color: var(--accent); margin-bottom: 0.5rem; line-height: 1; }
.bonus-details { display: flex; flex-direction: column; gap: 0.2rem; }
.bonus-detail { font-size: 0.78rem; color: var(--text-muted2); }

.bonus-card-footer { padding: 0 1.25rem 1.25rem; }
.btn-bonus-get {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-bonus-get:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(168,85,247,0.4); color: #fff; }
.btn-bonus-info { background: rgba(255,255,255,0.08); color: #fff; }
.btn-bonus-info:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ========= BONUS ROW ========= */
.bonus-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bonus-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s;
}
.bonus-row:hover { border-color: var(--border2); }
.bonus-row-site { display: flex; align-items: center; gap: 0.6rem; min-width: 120px; }
.bonus-row-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.bonus-row-no-logo { width: 36px; height: 36px; background: var(--bg-card2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.bonus-row-site-name { font-size: 0.82rem; font-weight: 700; color: #fff; }
.bonus-row-type { font-size: 0.7rem; color: var(--text-muted); }
.bonus-row-title { font-size: 0.88rem; color: var(--text-muted2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bonus-row-amount { font-size: 1.1rem; font-weight: 800; color: var(--accent); min-width: 60px; text-align: right; }
.btn-row-get {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-row-get:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(168,85,247,0.4); color: #fff; }
.btn-row-info { background: rgba(255,255,255,0.08); color: #fff !important; }
.btn-row-info:hover { background: rgba(255,255,255,0.15) !important; }

/* ========= SITE CARDS ========= */
.site-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  height: 100%;
}

.site-chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.site-chip-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.site-chip-no-logo { width: 48px; height: 48px; background: var(--bg-card2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.2rem; }
.site-chip-name { font-size: 0.8rem; font-weight: 700; color: #fff; }
.site-chip-rating { font-size: 0.7rem; color: var(--accent); }

.site-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.site-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.site-card-rank { position: absolute; top: 12px; right: 12px; background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.site-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.site-card-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }
.site-card-no-logo { width: 52px; height: 52px; background: var(--bg-card2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-muted); }
.site-card-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.site-card-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.site-card-footer { display: flex; gap: 0.75rem; margin-top: auto; }
.btn-site-detail { flex: 1; text-align: center; background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.3); color: var(--accent); padding: 0.5rem; border-radius: 8px; text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.btn-site-detail:hover { background: var(--accent); color: #fff; }
.btn-site-visit { flex: 1; text-align: center; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--success); padding: 0.5rem; border-radius: 8px; text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.btn-site-visit:hover { background: var(--success); color: #fff; }

/* ========= PAGE HEADER ========= */
.page-header {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.page-title { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.page-desc { color: var(--text-muted2); font-size: 1rem; }

/* ========= SITE DETAIL ========= */
.detail-site-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: var(--bg-card); }
.site-info-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.info-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted2); }
.info-row:last-of-type { border-bottom: none; }
.info-row i { width: 18px; color: var(--accent); }
.info-row span:last-child { margin-left: auto; }
.btn-site-visit-full { display: block; background: linear-gradient(135deg, var(--success), #059669); color: #fff; text-align: center; padding: 0.75rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.9rem; }

/* ========= SEO BOX ========= */
.seo-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.seo-box h2 { color: #fff; font-size: 1.3rem; margin-bottom: 0.75rem; }
.seo-box h3 { color: var(--text-muted2); font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.seo-box p { color: var(--text-muted); font-size: 0.9rem; }

/* ========= CONTENT PAGE ========= */
.content-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; color: var(--text-muted2); font-size: 0.95rem; }
.content-box h1, .content-box h2, .content-box h3 { color: #fff; margin-bottom: 0.75rem; }
.content-box p { margin-bottom: 1rem; }
.content-box a { color: var(--accent); }

/* ========= FOOTER ========= */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; }
.footer-head { color: var(--text-muted2); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-disclaimer { background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.2); border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.8rem; color: var(--text-muted2); margin-bottom: 1.5rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); }

.text-accent-c { color: var(--accent) !important; }

/* Koyu arka planda okunabilirlik */
.site-body .text-muted { color: #94a3b8 !important; }
.site-body p.text-muted, .site-body span.text-muted { color: #94a3b8 !important; }

/* ========= EMPTY STATE ========= */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state p { font-size: 1rem; }

/* ========= RESPONSIVE ========= */

/* ========= BOTTOM NAV ========= */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,10,26,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(60px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding-bottom: 4px;
  position: relative;
}

.bottom-nav-item i {
  font-size: 1.4rem;
  transition: transform 0.2s, color 0.2s;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.bottom-nav-item.active i {
  transform: scale(1.1);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
}

.bottom-nav-item:hover { color: var(--accent); }

/* Body padding for bottom nav on mobile */
@media (max-width: 767.98px) {
  body.site-body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

/* Yatay scroll önleme */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 768px) {
  .hero-section { padding: 40px 0; }
  .hero-title { font-size: 2rem; }
  .bonus-row { grid-template-columns: auto 1fr auto; }
  .bonus-row-title { display: none; }
  .section-title { font-size: 1.2rem; }
  .preview-card-2 { margin-left: 0; }
  .hero-card-preview { padding: 1rem; }
}

@media (max-width: 576px) {
  .hero-section { padding: 40px 0; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.2rem; }
  .bonus-row { grid-template-columns: 1fr auto; }
  .bonus-row-site { grid-column: 1; }
  .bonus-row-amount { display: none; }
  .btn-row-get { grid-column: 2; grid-row: 1; }
  .preview-card-2 { margin-left: 0; }
}

/* Touch target minimum 48px */
.btn-bonus-get,
.btn-row-get,
.btn-site-detail,
.btn-site-visit,
.btn-hero-primary,
.btn-hero-secondary,
.btn-site-visit-full,
.cat-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-bonus-get { display: flex; }
.btn-site-visit-full { display: flex; justify-content: center; }
