/* ============================================================
   Betboom — Özgün tema
   Koyu, mobil uyumlu, espor/iGaming odaklı
   ============================================================ */

:root {
  --bg: #0a0e17;
  --bg-2: #0f1626;
  --surface: #141b2e;
  --surface-2: #1b2440;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7ecf5;
  --text-muted: #9aa6bd;
  --text-dim: #6b7690;
  --accent: #00e08a;
  --accent-2: #00c2ff;
  --accent-soft: rgba(0, 224, 138, 0.14);
  --grad: linear-gradient(120deg, #00e08a 0%, #00c2ff 100%);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-cta {
  background: var(--grad);
  color: #04120c;
  box-shadow: 0 8px 24px rgba(0, 224, 138, 0.28);
}
.btn-cta:hover { box-shadow: 0 12px 34px rgba(0, 224, 138, 0.42); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #04120c;
  font-weight: 800;
  font-size: 19px;
}
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--accent); background: var(--accent-soft); }

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

/* Dil seçici */
.lang-switcher { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.lang-current:hover { background: rgba(255, 255, 255, 0.05); }
.globe {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  opacity: 0.9;
}
.globe::before {
  content: "";
  position: absolute;
  inset: 4px -2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 110;
}
.lang-menu.open { display: block; }
.lang-option {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.lang-option:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.lang-option.current { color: var(--accent); font-weight: 600; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(0, 224, 138, 0.18), transparent 60%),
    radial-gradient(600px 320px at 85% 20%, rgba(0, 194, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(124, 58, 237, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.82) 0%, rgba(8, 10, 18, 0.9) 100%),
    url('/images/bet/hero.jpg') center 35% / cover no-repeat,
    #0a0c14;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(30px, 5.5vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sayfa başlığı ---------- */
.page-hero {
  padding: 64px 0 24px;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(0, 224, 138, 0.10), transparent 70%);
}
.page-title {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
}

/* ---------- İçerik ---------- */
.content-section { padding: 40px 0 80px; }

/* ---------- Sayfa görseli (Wikimedia Commons) ---------- */
.page-photo { margin: 0 0 32px; }
.page-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.page-photo figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: #9aa3b5;
}
.page-photo figcaption a { color: #9aa3b5; }

.footer-credit a { color: inherit; }
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.block-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.block-body { color: var(--text-muted); font-size: 16px; }
.block-body p { margin-bottom: 14px; }
.block-body p:last-child { margin-bottom: 0; }
.block-body strong { color: var(--text); }
.block-body ul { padding-left: 22px; margin: 6px 0 14px; }
.block-body li { margin-bottom: 8px; }

/* ---------- Keşfet kartları ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.explore-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 224, 138, 0.4);
  background: var(--surface-2);
}
.explore-card h3 { font-size: 19px; font-weight: 700; }
.explore-card p {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.explore-more { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ---------- CTA bandı ---------- */
.cta-band {
  margin-top: 40px;
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(160deg, rgba(0, 224, 138, 0.12), rgba(0, 194, 255, 0.08));
  border: 1px solid rgba(0, 224, 138, 0.25);
  border-radius: 20px;
}
.cta-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq-section { margin-top: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.03); }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .2s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-tag { margin-top: 14px; color: var(--text-muted); font-size: 14px; max-width: 240px; }
.footer-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 16px; }
.footer-link {
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-link:hover { color: var(--accent); }
.footer-note { color: var(--text-muted); font-size: 14px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 14px; font-size: 16px; }
  .nav-burger { display: flex; }
  .header-cta { display: none; }
  .explore-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .content-block { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lang-menu { right: auto; left: 0; }
}
