:root {
  --bg: #0f1118;
  --bg-card: #1c1f2b;
  --bg-card-hover: #252a3a;
  --ink: #ffffff;
  --muted: #a8b0c3;
  --line: rgba(255, 255, 255, 0.08);
  --gold-1: #ffd700;
  --gold-2: #b8860b;
  --gold-hover-1: #ffe44d;
  --gold-hover-2: #d4af37;
  --accent: #3dd6c6;
  --max: 1280px;
  --radius: 8px;
  --font: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-size: 0.88em;
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-1);
  padding: 0.15em 0.45em;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  color: var(--gold-1);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.brand i { font-size: 1.1rem; }
.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--gold-1);
  background: rgba(255, 215, 0, 0.08);
}
.nav-telegram {
  color: #2aabee !important;
  border: 1px solid rgba(42, 171, 238, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-telegram:hover {
  background: rgba(42, 171, 238, 0.12) !important;
  color: #5bc8ff !important;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem 0;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  opacity: 0.5;
}
.breadcrumb a:hover { color: var(--gold-1); }

/* Hero */
.hero-banner {
  background: linear-gradient(135deg, #1a1d2e 0%, #0f1118 60%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
}
.hero-tag {
  margin: 0 0 0.6rem;
  color: var(--gold-1);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-tag i { margin-right: 0.35rem; }
.hero-inner h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-desc {
  margin: 0.85rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
}
.hero-badges {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-badges i { color: var(--gold-1); }

.page-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 0.5rem;
}
.page-banner h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
}
.page-banner p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 55ch;
}

/* Sections */
.main-content { padding-bottom: 2rem; }
.site-section,
.seo-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.section-header {
  margin-bottom: 1rem;
}
.section-header h2 {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.section-header.best h2 { color: var(--gold-1); }
.section-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.section-more {
  margin: 1rem 0 0;
  text-align: center;
}
.section-more a {
  color: var(--gold-1);
  font-weight: 600;
  font-size: 0.92rem;
}
.section-more a:hover { text-decoration: underline; }

/* Bonus grid — profesyonel kartlar */
.betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.betting-card {
  background: linear-gradient(165deg, #1e2233 0%, #141824 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.betting-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 12px 32px rgba(184, 134, 11, 0.18);
}
.betting-card-inner,
.betting-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  text-align: center;
}
.betting-title a {
  color: inherit;
}
.betting-title a:hover {
  color: var(--gold-1);
}
.betting-logo {
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background:
    linear-gradient(180deg, #0a0c12 0%, #12151f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.betting-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  opacity: 0.5;
  pointer-events: none;
}
.betting-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.betting-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.item-media {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.item-media.is-gif,
.item-media.is-animated {
  max-height: 72px;
}
.item-media.is-animated {
  object-fit: contain;
}
.logo-fallback {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-1);
  text-align: center;
  line-height: 1.2;
  padding: 0 0.5rem;
}
.betting-bonus {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.betting-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
}
.betting-card:hover .betting-btn {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}
.betting-btn i { font-size: 0.75rem; }

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--gold-1);
  background: var(--bg-card);
}
.compare-table th,
.compare-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.compare-table thead th {
  background: var(--bg-card);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.compare-table a {
  color: var(--gold-1);
  font-weight: 600;
}
.compare-table a:hover { text-decoration: underline; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline;
}
.faq-item p {
  margin: 0;
  padding: 0 1rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.faq-item[open] summary { color: var(--gold-1); }

/* SEO content */
.content-block .prose {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.prose h2, .prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--gold-1);
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li {
  color: var(--muted);
  font-size: 0.92rem;
}
.prose ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}
.prose li { margin-bottom: 0.35rem; }

.empty {
  color: var(--muted);
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0c12;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem;
}
.footer-brand strong {
  color: var(--gold-1);
  font-size: 1rem;
}
.footer-brand p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 40ch;
}
.footer-nav {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.footer-nav a:hover { color: var(--gold-1); }
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  opacity: 0.75;
  line-height: 1.5;
}
.footer-host {
  margin: 0.35rem 0 0;
  color: var(--gold-1);
  font-size: 0.85rem;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero-search {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
}
.hero-search input:focus {
  outline: 2px solid rgba(255, 215, 0, 0.35);
  border-color: var(--gold-1);
}
.hero-search button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #1a1200;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.keyword-cloud a,
.seo-chip {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.keyword-cloud a:hover {
  color: var(--gold-1);
  border-color: rgba(255, 215, 0, 0.35);
}
.seo-chip {
  margin-right: 0.35rem;
  color: var(--gold-1);
  border-color: rgba(255, 215, 0, 0.25);
}
.seo-intro p,
.seo-article {
  color: var(--muted);
  line-height: 1.65;
}
.seo-article h2 {
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.15rem;
}
.seo-article ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}
.search-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.entry-hero-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #1e2233 0%, #141824 100%);
}
.entry-logo {
  border-radius: 10px;
  min-height: 120px;
}
.entry-actions .betting-btn {
  width: auto;
  display: inline-flex;
  margin-bottom: 0.85rem;
}
.entry-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .betting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .betting-logo { min-height: 72px; padding: 0.75rem; }
  .betting-body { padding: 0.85rem; }
  .betting-title { font-size: 0.85rem; }
  .betting-bonus { font-size: 1rem; }
  .hero-search { flex-direction: column; }
  .entry-hero-card { grid-template-columns: 1fr; text-align: center; }
  .entry-actions .betting-btn { width: 100%; }
}

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