/* ============================================================
   BonusMaster.pro — Ana Stil Dosyasi
   Editor hissi, guclu tipografi, bold renkler
   Klasik AI sitesi gorunumunden kacis
   ============================================================ */

/* ---- CSS Degiskenleri ---- */
:root {
  --primary:       #FF5722;
  --primary-dark:  #E64A19;
  --primary-light: #FFF3E0;
  --bg-page:       #f7f8fa;
  --bg-white:      #ffffff;
  --bg-dark:       #1a1a2e;
  --bg-card-alt:   #f0f4f8;
  --text-primary:  #111111;
  --text-secondary:#444444;
  --text-muted:    #888888;
  --text-link:     #1565C0;
  --border:        #eeeeee;
  --border-dark:   #dddddd;
  --badge-vip-bg:  #FFF3E0;
  --badge-vip-text:#E65100;
  --badge-trusted-bg:  #E8F5E9;
  --badge-trusted-text:#2E7D32;
  --success:       #4CAF50;
  --container-max: 1100px;
  --container-padding: 16px;
  --sidebar-width: 280px;
  --section-gap:   40px;
}

/* ---- Reset & Temel ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--primary);
}

strong {
  color: var(--text-primary);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Container ---- */
.bm-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Layout ---- */
.bm-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 48px;
}

.bm-main {
  min-width: 0;
}

/* ---- Header ---- */
.bm-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.bm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--container-padding);
}

.bm-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.bm-logo span {
  color: var(--primary);
}

/* ---- Desktop Nav ---- */
.bm-nav-desktop {
  display: flex;
  gap: 24px;
}

.bm-nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}

.bm-nav-desktop a:hover {
  color: var(--primary);
}

/* ---- Hamburger ---- */
.bm-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bm-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 200ms ease;
}

/* ---- Mobile Nav ---- */
.bm-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  transition: opacity 200ms ease;
}

.bm-mobile-overlay.active {
  display: block;
  opacity: 1;
}

.bm-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 300ms ease-out;
  display: flex;
  flex-direction: column;
  padding: 60px 24px 24px;
  gap: 4px;
}

.bm-mobile-nav.active {
  transform: translateX(0);
}

.bm-mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ---- Hero ---- */
.bm-hero {
  padding: 32px 0 8px;
  animation: fadeIn 400ms ease-out both;
}

.bm-hero h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 12px 0 16px;
}

.bm-meta-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.bm-meta-badge {
  display: inline-block;
  background: var(--badge-vip-bg);
  color: var(--badge-vip-text);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.bm-meta-badge-green {
  background: var(--badge-trusted-bg);
  color: var(--badge-trusted-text);
}

.bm-hero-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Breadcrumb ---- */
.bm-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bm-breadcrumb a {
  color: var(--text-link);
}

.bm-breadcrumb a:hover {
  color: var(--primary);
}

.bm-breadcrumb-sep {
  margin: 0 6px;
  color: var(--text-muted);
}

/* ---- Card ---- */
.bm-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
  animation: fadeIn 400ms ease-out both;
}

/* ---- Section Title ---- */
.bm-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bm-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Body Text ---- */
.bm-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.bm-body + .bm-body {
  margin-top: 12px;
}

/* ---- H3 ---- */
.bm-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ---- Sponsor Table ---- */
.bm-sponsor-section {
  padding: 16px 16px 8px;
}

.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sp-table thead th {
  background: #fafafa;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.sp-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.sp-table tbody tr {
  transition: background 150ms ease;
}

.sp-table tbody tr:hover {
  background: #fafafa;
}

.sp-logo-wrap {
    background: var(--bg-dark);
    border-radius: 8px;
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}

.bm-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bm-logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.bm-footer-logo {
    display: flex;
    align-items: center;
}

.bm-telegram-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    background: aquamarine;
    padding: 4px 6px;
    border-radius: 4px;
}

.bm-telegram-btn svg {
  flex-shrink: 0;
}


.bm-footer-logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

.sp-logo-wrap img {
  height: 32px;
  object-fit: contain;
}

.sp-logo-fallback {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-logo-wrap-sm {
  background: var(--bg-dark);
  border-radius: 8px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sp-logo-wrap-sm img {
  height: 32px;
}

.sp-site-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.sp-site-desc {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.sp-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.sp-badge-vip {
  background: var(--badge-vip-bg);
  color: var(--badge-vip-text);
}

.sp-badge-trusted {
  background: var(--badge-trusted-bg);
  color: var(--badge-trusted-text);
}

.sp-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 150ms ease;
  white-space: nowrap;
}

.sp-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.sp-btn-full {
  display: block;
  width: 100%;
  margin-top: 10px;
}

/* ---- Mobile Cards ---- */
.sp-cards {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.sp-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.sp-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-card-info {
  min-width: 0;
  flex: 1;
}

/* ---- CTA Banner ---- */
.bm-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #FF5722, #FF7043);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 32px;
  text-decoration: none;
  transition: transform 200ms ease;
  animation: fadeIn 400ms ease-out both;
}

.bm-cta-banner:hover {
  transform: scale(1.01);
}

.bm-cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.bm-cta-desc {
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
}

.bm-cta-arrow {
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

/* ---- SSS Accordion ---- */
.bm-sss {
  border-top: 1px solid var(--border);
}

.bm-sss-item {
  border-bottom: 1px solid var(--border);
}

.bm-sss-question {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  user-select: none;
}

.bm-sss-prefix {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.bm-sss-answer {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 0 0 16px 20px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 250ms ease-in-out, opacity 250ms ease-in-out, padding 250ms ease-in-out;
}

.bm-sss-item.open .bm-sss-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 16px 20px;
}

/* ---- Related Tags ---- */
.bm-related {
  background: var(--bg-card-alt);
  border-radius: 10px;
  padding: 20px;
  margin-top: 32px;
  animation: fadeIn 400ms ease-out both;
}

.bm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-tag {
  display: inline-block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 150ms ease, color 150ms ease;
}

.bm-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- Sidebar ---- */
.bm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  height: fit-content;
  animation: fadeIn 400ms 200ms ease-out both;
}

.bm-sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.bm-sidebar-card .bm-section-title {
  font-size: 15px;
  margin-bottom: 12px;
}

.bm-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bm-sidebar-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 150ms ease;
}

.bm-sidebar-links a:hover {
  color: var(--primary);
}

/* ---- Trust Box ---- */
.bm-trust-box {
  background: var(--badge-trusted-bg);
  border: 1px solid #C8E6C9;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.bm-trust-icon {
  font-size: 20px;
  color: var(--badge-trusted-text);
  margin-bottom: 4px;
}

.bm-trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--badge-trusted-text);
  margin-bottom: 6px;
}

.bm-trust-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Telegram CTA ---- */
.bm-tg-icon {
  font-size: 24px;
  text-align: center;
  margin-bottom: 4px;
}

.bm-tg-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.bm-tg-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.5;
}

.bm-tg-btn {
  display: block;
  width: 100%;
  background: #0088CC;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background 150ms ease;
}

.bm-tg-btn:hover {
  background: #0077B3;
  color: #fff;
}

/* ---- Footer ---- */
.bm-footer {
  background: #111111;
  color: #fff;
  padding: 40px 16px 24px;
}

.bm-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.bm-footer-brand {
  margin-bottom: 32px;
}

.bm-footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.bm-footer-logo span {
  color: var(--primary);
}

.bm-footer-desc {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  max-width: 400px;
}

.bm-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.bm-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.bm-footer-col a {
  display: block;
  font-size: 13px;
  color: #aaa;
  padding: 4px 0;
  transition: color 150ms ease;
}

.bm-footer-col a:hover {
  color: var(--primary);
}

.bm-footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.bm-footer-bottom p {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.bm-footer-bottom a {
  color: #aaa;
}

.bm-footer-bottom a:hover {
  color: var(--primary);
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bm-layout {
    grid-template-columns: 1fr;
  }

  .bm-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 12px;
  }

  .bm-layout {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .bm-hero {
    padding-top: 20px;
  }

  .bm-hero h1 {
    font-size: 20px;
  }

  .bm-nav-desktop {
    display: none;
  }

  .bm-hamburger {
    display: flex;
  }

  .sp-table {
    display: none;
  }

  .sp-cards {
    display: flex;
  }

  .sp-site-desc {
    max-width: 200px;
  }

  .bm-cta-banner {
    padding: 1rem 1.25rem;
  }

  .bm-cta-title {
    font-size: 14px;
  }

  .bm-cta-desc {
    font-size: 12px;
  }

  .bm-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .bm-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .bm-footer-links {
    grid-template-columns: 1fr;
  }

  .bm-hero h1 {
    font-size: 18px;
  }
}
