/* =========================================================
   Bonus Yuvam — Tema
   ========================================================= */

:root {
  --bg: #0a0d14;
  --bg-2: #0e1420;
  --surface: #131a27;
  --surface-2: #182132;
  --surface-3: #1e293c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --gold: #f5c453;
  --gold-2: #ff9f43;
  --gold-soft: rgba(245, 196, 83, 0.12);
  --green: #35d07f;
  --green-soft: rgba(53, 208, 127, 0.12);
  --blue: #5aa9ff;
  --blue-soft: rgba(90, 169, 255, 0.12);
  --purple: #b18cff;
  --purple-soft: rgba(177, 140, 255, 0.12);
  --red: #ff6b6b;
  --red-soft: rgba(255, 107, 107, 0.12);
  --text: #eef2f8;
  --muted: #98a2b3;
  --muted-2: #6d778a;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.75);
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: var(--gold); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--gold-2); }

img { max-width: 100%; }

::selection { background: var(--gold); color: #14100a; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #263145; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #33405a; }

.container { max-width: 1200px; }

/* =========================== HEADER =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #17110a;
  font-size: 17px;
  box-shadow: 0 8px 20px -8px rgba(245, 196, 83, 0.7);
}
.brand-name span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.18s ease;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a.active { color: var(--gold); background: var(--gold-soft); }

.site-nav .nav-admin-link {
  margin-left: 8px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.site-nav .nav-admin-link:hover { color: var(--gold); border-color: var(--gold); background: transparent; }

.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 22px;
  line-height: 1;
}

/* =========================== HERO =========================== */
.hero {
  position: relative;
  padding: 66px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(245, 196, 83, 0.09), transparent 60%),
    radial-gradient(760px 420px at 92% 8%, rgba(90, 169, 255, 0.07), transparent 60%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-orb-1 { width: 340px; height: 340px; background: rgba(245, 196, 83, 0.18); top: -120px; left: -80px; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(90, 169, 255, 0.13); bottom: -140px; right: -60px; }

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--gold-soft);
  border: 1px solid rgba(245, 196, 83, 0.25);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow i { font-size: 14px; }
.eyebrow-sm { font-size: 11.5px; padding: 5px 12px; margin-bottom: 12px; }

.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.04;
  margin: 0 0 20px;
  letter-spacing: -0.035em;
}

.grad-text {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-2) 60%, #ffe1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}
.hero-search:focus-within { border-color: rgba(245, 196, 83, 0.55); }
.hero-search > i { color: var(--muted-2); font-size: 17px; }
.hero-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  padding: 10px 0;
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search button {
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #17110a;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-search button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(245, 196, 83, 0.8); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.chip:hover { color: var(--gold); border-color: rgba(245, 196, 83, 0.5); background: var(--gold-soft); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.hero-stat span { font-size: 12.5px; color: var(--muted-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero card */
.hero-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.hero-card-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 200px;
  background: radial-gradient(closest-side, rgba(245, 196, 83, 0.22), transparent);
  pointer-events: none;
}
.hero-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}

.hero-card-site { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.hero-card-name { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.hero-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.hero-card-title { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.hero-card-summary {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 12px;
}

/* =========================== AVATARS & BADGES =========================== */
.site-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: hsl(var(--avatar-h, 40), 85%, 78%);
  background: hsl(var(--avatar-h, 40), 55%, 16%);
  border: 1px solid hsl(var(--avatar-h, 40), 55%, 28%);
  text-shadow: 0 1px 8px hsl(var(--avatar-h, 40), 80%, 50%);
}
.site-avatar-lg { width: 54px; height: 54px; border-radius: 15px; font-size: 23px; }
.site-avatar-xl { width: 78px; height: 78px; border-radius: 20px; font-size: 34px; }

.bonus-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-tag i { font-size: 10px; }
.badge-yatirimsiz { background: var(--green-soft); color: var(--green); border: 1px solid rgba(53, 208, 127, 0.26); }
.badge-freespin { background: var(--purple-soft); color: var(--purple); border: 1px solid rgba(177, 140, 255, 0.26); }
.badge-hosgeldin { background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(90, 169, 255, 0.26); }
.badge-featured { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(245, 196, 83, 0.3); }

/* =========================== BUTTONS =========================== */
.btn-accent, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #17110a;
}
.btn-accent:hover {
  color: #17110a;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(245, 196, 83, 0.7);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { color: var(--text); border-color: rgba(245, 196, 83, 0.5); background: var(--surface); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }

/* =========================== SECTIONS =========================== */
.section { padding: 62px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.pt-0 { padding-top: 34px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section-title { font-size: clamp(24px, 3vw, 33px); margin: 0; letter-spacing: -0.03em; }

.link-more {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 4px;
}
.link-more:hover { color: var(--gold); }

/* =========================== BONUS CARDS =========================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bonus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 83, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 83, 0.3);
  box-shadow: var(--shadow);
}
.bonus-card:hover::before { opacity: 1; }

.bonus-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.bonus-card-meta { min-width: 0; flex: 1; }
.site-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15.5px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bonus-views {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  padding-top: 3px;
}

.bonus-card-title {
  font-size: 17.5px;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.bonus-card-title a { color: var(--text); }
.bonus-card-title a:hover { color: var(--gold); }

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

.bonus-wager {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.bonus-wager i { color: var(--gold); margin-top: 2px; flex: 0 0 auto; }

.bonus-card-foot {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.site-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-chip i { color: var(--green); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.card-link i { transition: transform 0.2s ease; }
.bonus-card:hover .card-link i { transform: translateX(3px); }

/* =========================== CATEGORIES =========================== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.category-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); border-color: rgba(245, 196, 83, 0.32); color: var(--text); }

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--gold-soft);
  border: 1px solid rgba(245, 196, 83, 0.22);
  color: var(--gold);
  font-size: 23px;
  margin-bottom: 18px;
}
.category-card:nth-child(2) .category-icon { background: var(--purple-soft); border-color: rgba(177,140,255,.22); color: var(--purple); }
.category-card:nth-child(3) .category-icon { background: var(--blue-soft); border-color: rgba(90,169,255,.22); color: var(--blue); }

.category-card h3 { font-size: 19px; margin: 0 0 8px; }
.category-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.category-count { color: var(--gold); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }

/* =========================== SITES =========================== */
.site-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.site-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.site-tile:hover { transform: translateY(-3px); border-color: rgba(245, 196, 83, 0.32); }
.site-tile-name { color: var(--text); font-weight: 700; font-size: 13.5px; }
.site-tile-count { color: var(--muted-2); font-size: 11.5px; font-weight: 600; }

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

.site-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.site-card:hover { transform: translateY(-3px); border-color: rgba(245, 196, 83, 0.32); }
.site-card-body { flex: 1; min-width: 0; }
.site-card-body h3 { font-size: 16.5px; margin: 0 0 2px; color: var(--text); }
.site-card-count { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.site-card-arrow { color: var(--muted-2); transition: transform 0.2s ease, color 0.2s ease; }
.site-card:hover .site-card-arrow { color: var(--gold); transform: translateX(3px); }

/* =========================== STEPS / NOTICE =========================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 196, 83, 0.5);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.step-card h3 { font-size: 17.5px; margin: 0 0 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

.notice-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(120deg, rgba(245, 196, 83, 0.07), rgba(255, 159, 67, 0.03));
  border: 1px solid rgba(245, 196, 83, 0.22);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.notice-card > i { font-size: 26px; color: var(--gold); flex: 0 0 auto; }
.notice-card h4 { font-size: 16.5px; margin: 0 0 5px; }
.notice-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.notice-card-sm { padding: 20px 22px; margin-top: 26px; }

/* =========================== PAGE HEAD =========================== */
.page-head {
  position: relative;
  padding: 46px 0 34px;
  background:
    radial-gradient(700px 260px at 8% 0%, rgba(245, 196, 83, 0.08), transparent 65%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.page-head-sm { padding: 26px 0 18px; background: transparent; border-bottom: none; margin-bottom: 0; }

.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--gold); }
.crumb i { font-size: 9px; opacity: 0.6; }
.crumb span { color: var(--muted); }

.page-title { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; letter-spacing: -0.035em; }
.page-sub { color: var(--muted); margin: 0; max-width: 620px; }

/* =========================== FILTERS =========================== */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 22px;
}

.filter-search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.filter-search i {
  position: absolute;
  left: 14px;
  color: var(--muted-2);
  font-size: 15px;
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  padding: 11px 14px 11px 40px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease;
}
.filter-search input::placeholder { color: var(--muted-2); }
.filter-search input:focus { border-color: rgba(245, 196, 83, 0.5); }

.filter-select {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  padding: 11px 38px 11px 14px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%2398a2b3'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.filter-select:focus { border-color: rgba(245, 196, 83, 0.5); }
.filter-submit { padding: 11px 22px; font-size: 14px; border-radius: 11px; }

.filter-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter-tab {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.filter-tab:hover { color: var(--text); border-color: var(--border-strong); }
.filter-tab.active { background: var(--gold-soft); border-color: rgba(245, 196, 83, 0.35); color: var(--gold); }
.result-count { margin-left: auto; color: var(--muted-2); font-size: 13px; font-weight: 600; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty-state > i { font-size: 42px; color: var(--muted-2); display: block; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin: 0 0 6px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }

/* =========================== DETAIL =========================== */
.detail-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.detail-head-text { min-width: 0; }
.detail-title { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.03em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta i { color: var(--muted-2); }

.detail-summary {
  background: linear-gradient(140deg, rgba(245, 196, 83, 0.09), rgba(255, 159, 67, 0.03));
  border: 1px solid rgba(245, 196, 83, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 26px;
}
.detail-summary h2 { font-size: 16px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: var(--gold); }
.detail-summary p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.7; }

.detail-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.detail-block h2 {
  font-size: 17px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.detail-block h2 i { color: var(--gold); font-size: 17px; }
.detail-block p { color: var(--muted); font-size: 14px; }
.detail-block p:last-child { margin-bottom: 0; }

.spec-table { display: flex; flex-direction: column; }
.spec-row {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-row:first-child { padding-top: 0; }
.spec-key { flex: 0 0 190px; color: var(--muted-2); font-weight: 600; display: flex; align-items: flex-start; gap: 8px; }
.spec-key i { color: var(--gold); margin-top: 3px; }
.spec-val { color: var(--text); }

.detail-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  word-break: break-word;
}

.detail-side { position: sticky; top: 92px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.side-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.side-site { font-family: var(--font-head); font-weight: 800; font-size: 16.5px; }
.side-label { color: var(--muted-2); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.side-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 1.35; margin-bottom: 18px; }
.side-note {
  display: flex;
  gap: 9px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.side-note i { color: var(--blue); flex: 0 0 auto; margin-top: 1px; }
.side-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); }
.side-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 0;
}
.side-list li i { color: var(--green); flex: 0 0 auto; margin-top: 2px; }

.side-tip {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
}
.side-tip i { color: var(--gold); font-size: 18px; flex: 0 0 auto; }
.side-tip p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.related-block { margin-top: 54px; padding-top: 44px; border-top: 1px solid var(--border); }

/* =========================== FOOTER =========================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-col .brand { margin-bottom: 14px; }
.footer-text { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 330px; }
.footer-text.small { font-size: 12px; line-height: 1.7; }
.footer-col h6 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  padding: 5px 0;
  font-weight: 500;
}
.footer-col a:hover { color: var(--gold); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}
.footer-warning-col { display: flex; flex-direction: column; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.footer-disclaimer { color: var(--muted-2); }

/* =========================== ERROR =========================== */
.error-page {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}
.error-orb {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(245, 196, 83, 0.08);
  filter: blur(90px);
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.error-code {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: clamp(76px, 14vw, 130px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 196, 83, 0.45);
  margin-bottom: 12px;
}
.error-page h1 { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 10px; }
.error-page p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }

/* =========================== LOGIN =========================== */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(245, 196, 83, 0.08), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(90, 169, 255, 0.06), transparent 60%),
    var(--bg);
}
.login-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.login-orb-1 { width: 300px; height: 300px; background: rgba(245, 196, 83, 0.12); top: -120px; left: -60px; }
.login-orb-2 { width: 280px; height: 280px; background: rgba(90, 169, 255, 0.1); bottom: -120px; right: -60px; }

.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 36px 32px 28px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.login-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.login-title { font-size: 24px; text-align: center; margin: 0 0 6px; }
.login-sub { color: var(--muted); font-size: 13.5px; text-align: center; margin: 0 0 24px; }
.login-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
}
.login-back:hover { color: var(--gold); }

/* =========================== FIELDS =========================== */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.req { color: var(--gold); }

.field-wrap { position: relative; display: flex; align-items: center; }
.field-wrap > i {
  position: absolute;
  left: 14px;
  color: var(--muted-2);
  font-size: 15px;
  pointer-events: none;
}
.field-wrap input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  padding: 12px 14px 12px 41px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field-wrap input:focus {
  border-color: rgba(245, 196, 83, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 196, 83, 0.1);
}
.field-wrap input::placeholder { color: var(--muted-2); }

.field-eye {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--muted-2);
  font-size: 16px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
}
.field-eye:hover { color: var(--gold); }

.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.65;
  outline: none;
  resize: vertical;
  font-family: var(--font-body);
  transition: border-color 0.18s ease;
}
.field textarea:focus { border-color: rgba(245, 196, 83, 0.55); }
.field textarea::placeholder { color: var(--muted-2); }

.field-hint { display: block; margin-top: 6px; color: var(--muted-2); font-size: 11.5px; }

.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
}
.alert-error { background: var(--red-soft); border: 1px solid rgba(255, 107, 107, 0.3); color: #ff9d9d; }
.alert-success { background: var(--green-soft); border: 1px solid rgba(53, 208, 127, 0.3); color: var(--green); }

.check-list { display: flex; flex-direction: column; gap: 8px; }

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  user-select: none;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-2);
  flex: 0 0 auto;
  position: relative;
  transition: all 0.15s ease;
}
.check-item input:checked + .check-box {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: var(--gold);
}
.check-item input:checked + .check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #17110a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-item input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(245, 196, 83, 0.2); }
.check-item-plain { margin-bottom: 10px; }

/* =========================== ADMIN =========================== */
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 250px;
  flex: 0 0 250px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 60;
}
.admin-brand { padding: 4px 8px 22px; }

.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.16s ease;
}
.admin-nav a i { font-size: 15px; width: 18px; text-align: center; }
.admin-nav a:hover { color: var(--text); background: var(--surface); }
.admin-nav a.active { color: var(--gold); background: var(--gold-soft); }

.admin-side-foot { border-top: 1px solid var(--border); padding-top: 16px; }
.admin-user {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0 6px;
}
.admin-user-avatar {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
}
.admin-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.admin-logout:hover { color: var(--red); border-color: rgba(255, 107, 107, 0.35); background: var(--red-soft); }

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

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 13, 20, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-topbar h1 { font-size: 18px; margin: 0; flex: 1; letter-spacing: -0.02em; }

.admin-nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
}

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

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-box-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex: 0 0 auto;
}
.icon-gold { background: var(--gold-soft); color: var(--gold); }
.icon-green { background: var(--green-soft); color: var(--green); }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-purple { background: var(--purple-soft); color: var(--purple); }
.stat-box-value { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.15; }
.stat-box-label { color: var(--muted-2); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 22px;
  overflow: hidden;
}
.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.admin-panel-head h2 { font-size: 15.5px; margin: 0; }
.admin-panel-body { padding: 22px; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.admin-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-filter .filter-search { flex: 0 1 280px; }
.admin-count { color: var(--muted-2); font-size: 13px; font-weight: 600; }

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.th-actions { text-align: right; }
.td-site { font-weight: 700; white-space: nowrap; }
.td-title a { color: var(--text); font-weight: 600; }
.td-title a:hover { color: var(--gold); }
.td-slug { display: block; color: var(--muted-2); font-size: 11px; margin-top: 2px; }
.td-empty { text-align: center; color: var(--muted-2); padding: 34px 16px !important; }

.td-actions { text-align: right; white-space: nowrap; }
.inline-form { display: inline-block; margin: 0; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px; height: 33px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 5px;
  text-decoration: none;
}
.icon-btn:hover { color: var(--gold); border-color: rgba(245, 196, 83, 0.4); }
.icon-warn:hover { color: var(--gold-2); border-color: rgba(255, 159, 67, 0.4); }
.icon-ok:hover { color: var(--green); border-color: rgba(53, 208, 127, 0.4); }
.icon-danger:hover { color: var(--red); border-color: rgba(255, 107, 107, 0.4); background: var(--red-soft); }
.icon-gold { color: var(--gold); }

.star-on { color: var(--gold); }
.star-off { color: var(--muted-2); opacity: 0.5; }

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
}
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.status-on { color: var(--green); }
.status-on::before { background: var(--green); box-shadow: 0 0 8px rgba(53, 208, 127, 0.7); }
.status-off { color: var(--muted-2); }
.status-off::before { background: var(--muted-2); }

.admin-form .admin-panel:last-child { margin-bottom: 0; }
.form-divider { height: 1px; background: var(--border); margin: 20px 0 14px; }
.form-meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted-2); font-size: 11.5px; }

.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 55;
}
.admin-overlay.show { display: block; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1100px) {
  .bonus-grid, .category-grid, .site-grid { grid-template-columns: repeat(2, 1fr); }
  .site-strip { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px 20px;
    display: none;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.8);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-admin-link { margin-left: 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .hero { padding: 54px 0 60px; }
  .hero-card { margin-top: 8px; }

  .detail-side { position: static; }

  .admin-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    height: 100vh;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .admin-topbar { padding: 14px 18px; }
  .admin-content { padding: 20px 18px 40px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }

  .bonus-grid, .category-grid, .site-grid { grid-template-columns: 1fr; }
  .site-strip { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }

  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
  .hero-stat strong { font-size: 22px; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search > i { display: none; }
  .hero-search input { flex-basis: 100%; padding: 8px 6px; }
  .hero-search button { width: 100%; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-search { flex: 1 1 auto; }
  .filter-select, .filter-submit { width: 100%; }
  .result-count { margin-left: 0; width: 100%; padding-top: 4px; }

  .detail-head { flex-direction: column; gap: 14px; }
  .spec-row { flex-direction: column; gap: 4px; }
  .spec-key { flex: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .notice-card { flex-direction: column; gap: 12px; padding: 22px; }

  .admin-stats { grid-template-columns: 1fr; }
  .login-card { padding: 28px 22px 24px; }

  .admin-filter { width: 100%; }
  .admin-filter .filter-search { flex: 1 1 100%; }
}
