html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ── Avatar Çerçeveleri (Seviye Bazlı) ────────────────────────────────────── */
/* outline + outline-offset kullanımı:                                        */
/*   - outline ring ile box-shadow çakışmaz (shadow-md vs ring arası sorun    */
/*     olmaz).                                                                 */
/*   - outline-offset sayesinde avatar ile halka arasında doğal boşluk oluşur;*/
/*     boşluğun rengi arka plandan şeffaf geçer → light/dark otomatik.        */
.avatar-border-seed {
  /* Tohum seviyesinde çerçeve yok */
}

/* 🌿 Filiz — parlak yaprak yeşili */
.avatar-border-sprout {
  outline: 2.5px solid #4ADE80;
  outline-offset: 2px;
}

/* 🪴 Fidan — camgöbeği/teal */
.avatar-border-sapling {
  outline: 2.5px solid #22D3EE;
  outline-offset: 2px;
}

/* 🌳 Ağaç — zümrüt yeşili */
.avatar-border-tree {
  outline: 3px solid #34D399;
  outline-offset: 2px;
}

/* 🦋 Kelebek — mor/lavanta */
.avatar-border-butterfly {
  outline: 3px solid #C084FC;
  outline-offset: 2px;
}

/* 🕊️ Güvercin — altın + hafif dış parıltı */
.avatar-border-dove {
  outline: 3px solid #FCD34D;
  outline-offset: 2px;
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.5);
}

/* ✨ Işık — altın + nabız animasyonu */
.avatar-border-light {
  outline: 3px solid #FBBF24;
  outline-offset: 2px;
  animation: goldPulse 2s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.9);
  }
}

/* ── Rozet Nadirlık Stilleri ─────────────────────────────────────────── */

/* 🟣 Epic — mor hafif parıltı */
.badge-rarity-epic {
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.35);
}

/* 🟡 Legendary — altın + animasyon */
.badge-rarity-legendary {
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
  animation: legendaryPulse 2.5s ease-in-out infinite;
}

@keyframes legendaryPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
  50%       { box-shadow: 0 0 20px rgba(251, 191, 36, 0.85); }
}
