/*
  Minimal Bettilt-style demo theme
  - Dark bluish background
  - Rounded nav pill, soft borders, clean typography
*/

:root {
  --bg: #222937; /* site background */
  --header-bg: #1c212e; /* header/footer panel */
  --muted: #aab3c5;
  --text: #e6edf7;
  --brand-yellow: #ffd43b;
  --accent: #2b3547; /* pills */
  --outline: rgba(255, 255, 255, 0.08);
  --success: #1dd1a1;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--outline);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.brand-logo { display: block; height: 36px; width: auto; }
.brand-bet { color: #fff; font-weight: 800; letter-spacing: 0.2px; }
.brand-tilt { color: var(--brand-yellow); font-weight: 800; letter-spacing: 0.2px; }
.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  background: #0f131b;
  border-radius: 999px;
  border: 1px solid var(--outline);
  font-size: 14px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  border-radius: 999px;
  border: 1px solid var(--outline);
  padding: 6px;
  width: fit-content;
}

/* Center the navigation block between logo and auth actions */
.main-nav { justify-self: center; }

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 14px;
  border-radius: 999px;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.main-nav .tv a::before { content: "📺"; }
.main-nav .has-caret a::after {
  content: "▾";
  opacity: .6;
  margin-left: 6px;
}

.auth-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform .08s ease, filter .15s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn-ghost {
  color: #d7fbea;
  background: rgba(29, 209, 161, 0.08);
  border-color: rgba(29, 209, 161, 0.2);
}
.btn-ghost:hover {
  background: rgba(29, 209, 161, 0.16);
  box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.18), 0 6px 18px rgba(0,0,0,.25);
}
.btn-primary {
  color: #111217;
  background: var(--brand-yellow);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 0 3px rgba(255, 212, 59, 0.25), 0 6px 18px rgba(0,0,0,.25);
}

/* Content */
.content { padding: 32px 0 64px; }
.promo-banner { display: block; margin: 0 auto 18px; width: min(96%, 840px); border-radius: 16px; overflow: hidden; border: 1px solid var(--outline); transition: transform .18s ease, box-shadow .2s ease; }
.promo-banner img { display: block; width: 100%; height: auto; }
.promo-banner:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.text-block { display: none; }

/* Prose styles for long-form content */
.prose {
  background: #1b2230;
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 0 rgba(0,0,0,.24);
}
.prose h1, .prose h2, .prose h3 { line-height: 1.25; margin: 0 0 12px; }
.prose h1 { font-size: 30px; color: var(--brand-yellow); }
.prose h2 { font-size: 22px; margin-top: 22px; color: var(--brand-yellow); }
.prose h3 { font-size: 18px; margin-top: 16px; color: var(--brand-yellow); }
.prose p { color: var(--muted); margin: 0 0 12px; }
.prose ol { margin: 0 0 12px 20px; }
.prose li { margin: 6px 0; }

/* Brand-flavored bullets */
.prose .bonus-list.pretty { list-style: none; padding-left: 0; margin-left: 0; }
.prose .bonus-list.pretty li {
  position: relative;
  padding-left: 28px;
  background: rgba(255, 212, 59, 0.06);
  border: 1px solid rgba(255, 212, 59, 0.22);
  border-radius: 10px;
  margin: 8px 0;
  padding-top: 10px; padding-bottom: 10px;
}
.prose .bonus-list.pretty li strong { color: var(--success); }
.prose .bonus-list.pretty li::before {
  content: "★";
  color: var(--success);
  position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
}
.prose h2 { display: inline-block; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--outline); }

/* Default inline links */
.prose a { color: #9dc1ff; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* Brand-colored inline link for Kayıt Ol */
.prose .brand-link { color: var(--brand-yellow); font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(255,212,59,.45); }
.prose .brand-link:hover { text-decoration: none; filter: brightness(1.08); border-bottom-color: rgba(255,212,59,.8); }

/* Sports list highlight to match banner color */
.prose .sports-list.pretty li strong { color: #9dc1ff; }
.prose .sports-list.pretty li::before { color: #9dc1ff; }

/* Footer */
.site-footer {
  background: #1e2531;
  border-top: 1px solid var(--outline);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr; /* make right column wider */
  gap: 24px;
  padding: 36px 0 12px;
}

.footer-col.wide { grid-column: 3; }

.footer-title {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 10px;
  letter-spacing: 0.4px;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.compliance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-items: start;
}
.compliance-badge { width: 120px; height: auto; display: block; }
.compliance-text p { margin: 0 0 8px; }
.compliance-links p { margin: 0 0 6px; }
.compliance-links a { color: #9dc1ff; text-decoration: none; }
.compliance-links a:hover { text-decoration: underline; }

.footer-bottom { border-top: 1px solid var(--outline); padding: 14px 0 28px; }
.footer-bottom p { margin: 0; font-size: 12px; color: #94a0b3; }

/* FAQ Section */
.faq-section h3 {
  color: var(--brand-yellow);
  font-size: 18px;
  margin: 20px 0 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--brand-yellow);
  border-radius: 6px;
}

.faq-section p {
  margin: 0 0 16px 15px;
  padding-left: 12px;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }
  .main-nav { display: none; }
  .auth-actions {
    gap: 8px;
    justify-self: end;
  }
  .btn {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 16px 32px;
  }
  .footer-col.wide { display: none; }
}