/* ============================================================
   ULTRABET — Tasarım Sistemi
   Saf CSS, harici bağımlılık yok.
   Marka paleti: Turuncu (#F89A04) + gece laciverti (#090B15)
   Tasarım dili: keskin köşeler, sola hizalı başlıklar,
   büyük harfli butonlar — Smartbahis'ten tamamen ayrı kimlik.
   ============================================================ */

:root {
  --primary: #f89a04;
  --primary-dark: #d97f00;
  --primary-light: #ffb534;
  --primary-glow: rgba(248, 154, 4, 0.25);
  --red: #e8452c;
  --bg: #090b15;
  --surface: #10131f;
  --surface-2: #181c2c;
  --border: #262b3f;
  --text: #f2f4f8;
  --muted: #98a0b3;
  --radius: 6px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-light); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #241500;
  padding: 10px 18px; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Üst duyuru çubuğu ---------- */
.topbar {
  background: var(--primary);
  color: #241500;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.topbar a { color: #241500; text-decoration: underline; font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #090b15;
  border-bottom: 2px solid var(--primary);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { height: 40px; width: auto; }

.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav a {
  color: var(--text); font-weight: 700; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.4px;
  padding: 9px 12px; display: block;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--primary); border-bottom-color: var(--primary);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; padding: 9px 11px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--primary);
  margin: 5px 0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; font-weight: 800; text-align: center;
  border-radius: var(--radius); cursor: pointer; border: none;
  text-transform: uppercase; letter-spacing: 0.6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-size: 0.95rem; line-height: 1.3;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  color: #241500; padding: 14px 30px;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--primary-glow); color: #241500; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); padding: 12px 28px;
}
.btn-outline:hover { background: var(--primary); color: #241500; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--primary-glow); }
  70% { box-shadow: 0 0 0 14px rgba(248, 154, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 154, 4, 0); }
}

/* ---------- Hero (sola hizalı, iki sütun) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 65% at 100% 0%, rgba(248, 154, 4, 0.13), transparent),
    linear-gradient(115deg, #0d1020 0%, var(--bg) 60%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.18; font-weight: 800; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.hero h1 .accent { color: var(--primary); }
.hero .sub { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.15rem); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-panel {
  background: linear-gradient(160deg, var(--surface-2), #1f1502);
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius); padding: 30px; text-align: center;
  box-shadow: var(--shadow);
}
.hero-panel .tag {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 4px 12px; border-radius: 3px; margin-bottom: 14px;
}
.hero-panel .amount { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.hero-panel .desc { color: var(--muted); font-size: 0.92rem; margin: 10px 0 20px; }
.hero-panel .terms { font-size: 0.75rem; color: var(--muted); margin-top: 14px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  color: var(--muted); font-size: 0.86rem; font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; fill: var(--primary); }

/* ---------- Bölümler (sola hizalı başlıklar) ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 0 36px; }
.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding-left: 16px; border-left: 5px solid var(--primary);
}
.section-head p { color: var(--muted); padding-left: 21px; }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-top-color: var(--primary); transform: translateY(-4px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; fill: var(--primary); }
.card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Bonus kartları ---------- */
.bonus-card {
  position: relative; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius); padding: 26px; text-align: left;
}
.bonus-card .ribbon {
  position: absolute; top: 0; right: 0;
  background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 4px 12px; letter-spacing: 0.8px; border-radius: 0 0 0 var(--radius);
}
.bonus-card .amount {
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
  margin: 8px 0 4px; line-height: 1.15;
}
.bonus-card .desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.bonus-card .terms { font-size: 0.75rem; color: var(--muted); margin-top: 14px; }

/* ---------- Adımlar (yatay zaman çizgisi) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); position: relative; }
.step { padding: 24px 22px 24px 0; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; color: var(--primary);
  font-weight: 800; font-size: 1.9rem; line-height: 1; margin-bottom: 12px;
}
.step::after {
  content: ""; position: absolute; top: 38px; right: 20px; left: auto;
  width: calc(100% - 60px); height: 2px; background: var(--border);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1rem; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.3px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- İçerik / makale ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 {
  font-size: 1.5rem; margin: 42px 0 14px; scroll-margin-top: 90px;
  padding-left: 14px; border-left: 4px solid var(--primary);
}
.prose h3 { font-size: 1.18rem; margin: 30px 0 10px; color: var(--primary-light); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 4px solid var(--primary); background: var(--surface-2);
  padding: 14px 20px; margin: 20px 0; color: var(--muted); font-style: italic;
}

.info-box, .warning-box {
  padding: 16px 20px; margin: 22px 0; font-size: 0.95rem;
  border-radius: var(--radius);
}
.info-box { background: rgba(248, 154, 4, 0.07); border: 1px solid rgba(248, 154, 4, 0.35); }
.warning-box { background: rgba(232, 69, 44, 0.07); border: 1px solid rgba(232, 69, 44, 0.4); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--surface-2); font-size: 0.94rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
th { background: #0d1020; color: var(--primary); font-weight: 700; white-space: nowrap; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(248, 154, 4, 0.04); }

/* ---------- SSS (accordion) ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-left-color: var(--primary); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px;
  font-weight: 700; position: relative; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border); }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.4px;
  padding-left: 16px; border-left: 6px solid var(--primary);
}
.page-head .lead { color: var(--muted); max-width: 760px; font-size: 1.05rem; padding-left: 22px; }
.page-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 16px; font-size: 0.85rem; color: var(--muted); padding-left: 22px;
}
.page-meta a { font-weight: 700; }
.page-head .head-cta { margin-top: 24px; padding-left: 22px; }

/* ---------- Blog kartları ---------- */
.post-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.post-card .thumb {
  height: 140px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #1f1502, var(--surface));
  border-bottom: 2px solid var(--primary);
}
.post-card .thumb svg { width: 52px; height: 52px; fill: var(--primary); opacity: 0.9; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { color: var(--red); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.06rem; margin-bottom: 10px; line-height: 1.4; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.post-card .meta { margin-top: 16px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 14px; }

/* ---------- Yazar kutusu ---------- */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius); padding: 24px; margin: 40px 0 0;
}
.avatar {
  flex-shrink: 0; width: 74px; height: 74px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary-light), var(--primary-dark));
  color: #241500; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.6rem; letter-spacing: 1px;
}
.avatar-lg { width: 120px; height: 120px; font-size: 2.5rem; }
.author-box .name { font-weight: 800; font-size: 1.05rem; }
.author-box .role { color: var(--primary); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.author-box p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(248, 154, 4, 0.15), transparent),
    var(--surface);
  border-top: 2px solid var(--primary); border-bottom: 1px solid var(--border);
  text-align: center; padding: 54px 20px;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #06080f; border-top: 1px solid var(--border); padding: 52px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-grid h4 { color: var(--primary); font-size: 0.88rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-about p { color: var(--muted); margin: 14px 0 18px; }

.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 2px solid var(--red); color: var(--red);
  font-weight: 800; font-size: 0.95rem;
}
.footer-badges { display: flex; align-items: center; gap: 14px; }
.footer-badges .note { color: var(--muted); font-size: 0.8rem; max-width: 300px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 0.82rem;
}

/* ---------- Sabit mobil CTA ---------- */
.floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 300; display: none;
}
.floating-cta .btn {
  width: 100%; border-radius: 0; display: block;
  padding: 15px 20px; font-size: 1rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
}

/* ---------- Yardımcılar ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; }
.highlight { color: var(--primary); }
.small { font-size: 0.85rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0; top: 0; z-index: 150;
    background: #06080f;
    display: none; padding: 92px 24px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 1.1rem; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; position: relative; z-index: 250; }
  .header-cta .btn { display: none; }
  .floating-cta { display: block; }
  body { padding-bottom: 64px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 40px; }
  .section { padding: 42px 0; }
  .author-box { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .floating-cta, .topbar, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
