/* Sponsor bölüm başlıkları — mavi tonları */
.sponsor-section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
  isolation: isolate;
}

.sponsor-section-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: -1;
  width: min(100%, 22rem);
  height: 4.5rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(22, 119, 255, 0.14) 0%,
    rgba(22, 119, 255, 0.1) 42%,
    transparent 72%
  );
  pointer-events: none;
}

.sponsor-section-heading__title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.45em;
  row-gap: 0.12em;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw + 0.45rem, 1.875rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.12;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sponsor-section-heading__part {
  display: inline-block;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Ana sayfa / ana sponsorlar — admin’den özelleştirilebilir renkler */
.sponsor-section-heading--ana-sponsorlar::before,
.sponsor-section-heading--default::before {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--sponsor-heading-accent, #1677ff) 14%, transparent) 0%,
    color-mix(in srgb, var(--sponsor-heading-lead, #4096ff) 10%, transparent) 42%,
    transparent 72%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--lead,
.sponsor-section-heading--default .sponsor-section-heading__part--lead {
  background-image: linear-gradient(
    120deg,
    color-mix(in srgb, var(--sponsor-heading-lead, #ff8a8a) 88%, white) 0%,
    var(--sponsor-heading-lead, var(--site-accent-red)) 38%,
    color-mix(in srgb, var(--sponsor-heading-lead, #69b1ff) 90%, black) 100%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--accent,
.sponsor-section-heading--default .sponsor-section-heading__part--accent {
  background-image: linear-gradient(
    120deg,
    color-mix(in srgb, var(--sponsor-heading-accent, #69b1ff) 88%, white) 0%,
    var(--sponsor-heading-accent, var(--site-accent)) 42%,
    color-mix(in srgb, var(--sponsor-heading-accent, #4096ff) 90%, black) 100%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--solo,
.sponsor-section-heading--default .sponsor-section-heading__part--solo {
  background-image: linear-gradient(
    95deg,
    var(--sponsor-heading-lead, var(--site-accent-red)) 0%,
    color-mix(in srgb, var(--sponsor-heading-lead, #91caff) 50%, var(--sponsor-heading-accent, var(--site-accent))) 50%,
    var(--sponsor-heading-accent, var(--site-accent)) 100%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__rule::before,
.sponsor-section-heading--default .sponsor-section-heading__rule::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--sponsor-heading-lead, var(--site-accent-red)) 15%, transparent) 18%,
    var(--sponsor-heading-lead, var(--site-accent-red)) 100%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__rule::after,
.sponsor-section-heading--default .sponsor-section-heading__rule::after {
  background: linear-gradient(
    90deg,
    var(--sponsor-heading-accent, var(--site-accent)) 0%,
    color-mix(in srgb, var(--sponsor-heading-accent, var(--site-accent)) 15%, transparent) 82%,
    transparent 100%
  );
}

.sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__rule-dot,
.sponsor-section-heading--default .sponsor-section-heading__rule-dot {
  background: linear-gradient(
    135deg,
    var(--sponsor-heading-lead, var(--site-accent-red)) 0%,
    var(--sponsor-heading-accent, var(--site-accent)) 100%
  );
  box-shadow:
    0 0 0 2px rgba(24, 31, 46, 0.85),
    0 0 14px color-mix(in srgb, var(--sponsor-heading-lead, var(--site-accent-red)) 45%, transparent),
    0 0 14px color-mix(in srgb, var(--sponsor-heading-accent, var(--site-accent)) 40%, transparent);
}

.sponsor-section-heading__part--lead {
  background-image: linear-gradient(
    120deg,
    #ff8a8a 0%,
    var(--site-accent-red) 38%,
    #69b1ff 100%
  );
}

.sponsor-section-heading__part--accent {
  background-image: linear-gradient(
    120deg,
    #69b1ff 0%,
    var(--site-accent) 42%,
    #4096ff 100%
  );
}

.sponsor-section-heading__part--solo {
  background-image: linear-gradient(
    95deg,
    var(--site-accent-red) 0%,
    #91caff 22%,
    #a78bfa 48%,
    var(--site-accent) 78%,
    #69b1ff 100%
  );
}

/* Güvenilir: önce mavi, sonra kırmızı vurgu */
.sponsor-section-heading--guvenilir .sponsor-section-heading__part--lead {
  background-image: linear-gradient(
    120deg,
    #69b1ff 0%,
    var(--site-accent) 42%,
    #4096ff 100%
  );
}

.sponsor-section-heading--guvenilir .sponsor-section-heading__part--accent {
  background-image: linear-gradient(
    120deg,
    #ff8a8a 0%,
    var(--site-accent-red) 38%,
    #69b1ff 100%
  );
}

.sponsor-section-heading__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: min(100%, 12.5rem);
}

.sponsor-section-heading__rule::before,
.sponsor-section-heading__rule::after {
  content: "";
  flex: 1 1 0;
  height: 2px;
  border-radius: 999px;
  opacity: 0.95;
}

.sponsor-section-heading__rule::before {
  background: linear-gradient(90deg, transparent 0%, rgba(22, 119, 255, 0.15) 18%, var(--site-accent-red) 100%);
}

.sponsor-section-heading__rule::after {
  background: linear-gradient(90deg, var(--site-accent) 0%, rgba(22, 119, 255, 0.15) 82%, transparent 100%);
}

.sponsor-section-heading__rule-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-accent-red) 0%, var(--site-accent) 100%);
  box-shadow:
    0 0 0 2px rgba(24, 31, 46, 0.85),
    0 0 14px rgba(22, 119, 255, 0.45),
    0 0 14px rgba(22, 119, 255, 0.4);
}

[data-theme="light"] .sponsor-section-heading--ana-sponsorlar::before,
[data-theme="light"] .sponsor-section-heading--default::before {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--sponsor-heading-accent, #1677ff) 10%, transparent) 0%,
    color-mix(in srgb, var(--sponsor-heading-lead, #4096ff) 7%, transparent) 45%,
    transparent 72%
  );
}

[data-theme="light"] .sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__rule-dot,
[data-theme="light"] .sponsor-section-heading--default .sponsor-section-heading__rule-dot {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 12px color-mix(in srgb, var(--sponsor-heading-lead, #4096ff) 35%, transparent),
    0 0 12px color-mix(in srgb, var(--sponsor-heading-accent, #1677ff) 30%, transparent);
}

[data-theme="light"] .sponsor-section-heading::before {
  background: radial-gradient(
    ellipse at center,
    rgba(22, 119, 255, 0.1) 0%,
    rgba(22, 119, 255, 0.07) 45%,
    transparent 72%
  );
}

[data-theme="light"] .sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--lead,
[data-theme="light"] .sponsor-section-heading--default .sponsor-section-heading__part--lead {
  background-image: linear-gradient(
    120deg,
    color-mix(in srgb, var(--sponsor-heading-lead, #1677ff) 90%, black) 0%,
    var(--sponsor-heading-lead, #4096ff) 45%,
    color-mix(in srgb, var(--sponsor-heading-lead, #69b1ff) 88%, white) 100%
  );
}

[data-theme="light"] .sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--accent,
[data-theme="light"] .sponsor-section-heading--default .sponsor-section-heading__part--accent {
  background-image: linear-gradient(
    120deg,
    color-mix(in srgb, var(--sponsor-heading-accent, #0958d8) 90%, black) 0%,
    var(--sponsor-heading-accent, #1677ff) 45%,
    color-mix(in srgb, var(--sponsor-heading-accent, #4096ff) 88%, white) 100%
  );
}

[data-theme="light"] .sponsor-section-heading--ana-sponsorlar .sponsor-section-heading__part--solo,
[data-theme="light"] .sponsor-section-heading--default .sponsor-section-heading__part--solo {
  background-image: linear-gradient(
    95deg,
    var(--sponsor-heading-lead, #1677ff) 0%,
    var(--sponsor-heading-accent, #1677ff) 100%
  );
}

[data-theme="light"] .sponsor-section-heading__part--lead {
  background-image: linear-gradient(120deg, #1677ff 0%, #4096ff 45%, #69b1ff 100%);
}

[data-theme="light"] .sponsor-section-heading__part--accent {
  background-image: linear-gradient(120deg, #0958d8 0%, #1677ff 45%, #4096ff 100%);
}

[data-theme="light"] .sponsor-section-heading--guvenilir .sponsor-section-heading__part--lead {
  background-image: linear-gradient(120deg, #0958d8 0%, #1677ff 45%, #4096ff 100%);
}

[data-theme="light"] .sponsor-section-heading--guvenilir .sponsor-section-heading__part--accent {
  background-image: linear-gradient(120deg, #1677ff 0%, #4096ff 45%, #69b1ff 100%);
}

[data-theme="light"] .sponsor-section-heading__part--solo {
  background-image: linear-gradient(
    95deg,
    #1677ff 0%,
    #4096ff 24%,
    #7c3aed 48%,
    #1677ff 76%,
    #4096ff 100%
  );
}

[data-theme="light"] .sponsor-section-heading__rule-dot {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(22, 119, 255, 0.35),
    0 0 12px rgba(22, 119, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-section-heading__rule-dot {
    box-shadow: 0 0 0 2px rgba(24, 31, 46, 0.85);
  }
}
