/* ── Google Güven Rozeti — tüm sayfalarda paylaşılan bileşen ── */
/*
 * Koyu tintli cam arka plan: hem karanlık hem açık zeminlerde
 * yüksek kontrast sağlar; metin her koşulda okunur.
 */
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem .3rem .44rem;
  border-radius: 50px;
  background: rgba(8,8,12,.70);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  line-height: 1;
}
.g-badge:hover {
  background: rgba(8,8,12,.85);
  border-color: rgba(251,188,4,.35);
}
.g-badge:focus-visible {
  outline: 2px solid rgba(251,188,4,.6);
  outline-offset: 2px;
}

/* Google G SVG ikonu */
.g-badge-g {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Tek yıldız — sarı */
.g-badge-stars {
  font-size: .7rem;
  color: #FBBC04;
}

/* 4,9 — beyaz, kalın */
.g-badge-score {
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  color: #F5F3EF;
}

/* · ayraç */
.g-badge-sep {
  font-size: .65rem;
  color: rgba(245,243,239,.35);
}

/* 214 — açık gri, orta kalın */
.g-badge-count {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  color: #C8C5BF;
}

/* anasayfa header: mutlak ortalama */
.g-badge-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* index.html: butonun altında boşluk */
.g-badge-hero {
  margin-top: -.4rem;
}

@media (max-width: 600px) {
  .g-badge-center { display: none; }
  .g-badge-count,
  .g-badge-sep    { display: none; }
  .g-badge { padding: .26rem .48rem; gap: .26rem; }
}
