/* ═══════════════════════════════════════════════════════════
   user.css — Coin badge, Profil paneli, Daily bonus, Shop
   ═══════════════════════════════════════════════════════════ */

/* ── Coin Badge Butonu (Lobby) ──────────────────────────────── */
.user-coin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: background .15s;
  white-space: nowrap;
}
.user-coin-btn:hover { background: rgba(255,255,255,0.2); }
.user-coin-btn:active { transform: scale(.97); }
.user-coin-btn .ucb-icon { font-size: 1.1rem; }
.user-coin-btn .ucb-amount { color: #ffd700; }
.user-coin-btn .ucb-level {
  font-size: .72rem;
  background: #C6FF00;
  color: #111;
  border-radius: 8px;
  padding: 1px 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}

/* Lobby coin satırı */
.lobby-user-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  padding: 0 4px 6px;
}

/* ── Profil Panel Overlay ───────────────────────────────────── */
#userProfileOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;
  cursor: pointer;
}

/* ── Profil Paneli ──────────────────────────────────────────── */
#userProfilePanel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: #0A1530;
  border-left: 2px solid rgba(45,212,191,.25);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#userProfilePanel.open {
  transform: translateX(0);
}
.up-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  background: #0A1530;
  z-index: 2;
}
.up-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f7f8f0;
  letter-spacing: 1px;
}
.up-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #f7f8f0;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.up-close:hover { background: rgba(255,255,255,.2); }

.up-body { padding: 16px 20px 32px; display: flex; flex-direction: column; gap: 20px; }

/* ── Coin / XP Bölümü ─────────────────────────────────────── */
.up-coins-section {
  background: rgba(45,212,191,.1);
  border: 1.5px solid rgba(45,212,191,.3);
  border-radius: 16px;
  padding: 16px;
}
.up-coin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.up-coin-icon { font-size: 1.4rem; }
.up-coin-balance {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffd700;
  flex: 1;
}
.up-level-pill {
  background: #C6FF00;
  color: #111;
  font-family: 'Baloo 2', cursive;
  font-size: .8rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 10px;
}
.up-buy-btn {
  background: #DB1A1A;
  border: 2px solid #8a0000;
  border-radius: 10px;
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 12px;
  cursor: pointer;
  transition: transform .12s;
}
.up-buy-btn:active { transform: scale(.95); }

.up-xp-label {
  font-size: .72rem;
  color: rgba(247,248,240,.5);
  margin-bottom: 4px;
  font-family: 'Nunito', sans-serif;
}
.up-xp-bar-wrap {
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
}
.user-xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C6FF00, #8FB800);
  border-radius: 6px;
  transition: width .4s ease;
  width: 0%;
}

/* ── Hesap Bölümü ─────────────────────────────────────────── */
.up-section-title {
  font-family: 'Baloo 2', cursive;
  font-size: .8rem;
  letter-spacing: 2px;
  color: rgba(247,248,240,.5);
  text-transform: uppercase;
  padding: 2px 0;
}
.up-linked-section {
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.2);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.up-linked-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.up-provider-icon {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  color: #333;
  flex-shrink: 0;
}
.up-provider-name {
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #f7f8f0;
}
.up-provider-email {
  font-size: .78rem;
  color: rgba(247,248,240,.55);
  margin-top: 2px;
  word-break: break-all;
}
.up-unlink-btn {
  background: rgba(219,26,26,.15);
  border: 1px solid rgba(219,26,26,.35);
  border-radius: 10px;
  color: #ff6b6b;
  font-family: 'Nunito', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  align-self: flex-start;
}
.up-unlinked-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.up-sync-desc {
  font-size: .82rem;
  color: rgba(247,248,240,.55);
  line-height: 1.4;
}
.up-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 20px;
  font-family: 'Baloo 2', cursive;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, opacity .12s;
  border: none;
}
.up-auth-btn:active { transform: scale(.97); opacity: .85; }
.up-google-btn {
  background: #fff;
  color: #333;
  border: 2px solid #ddd;
}
.up-google-icon {
  width: 18px; height: 18px;
  background: linear-gradient(45deg,#4285F4,#34A853,#FBBC05,#EA4335);
  border-radius: 50%;
  flex-shrink: 0;
}
.up-apple-btn {
  background: #111;
  color: #fff;
  border: 2px solid #333;
}

/* ── Liderboard ───────────────────────────────────────────── */
#leaderboardList {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lb-loading-txt, .lb-empty-txt {
  color: rgba(247,248,240,.45);
  font-size: .85rem;
  text-align: center;
  padding: 16px 0;
}
.lb-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 8px 12px;
}
.lb-entry.top {
  background: rgba(45,212,191,.1);
  border: 1px solid rgba(45,212,191,.2);
}
.lb-rank {
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
}
.lb-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.lb-name {
  flex: 1;
  font-family: 'Nunito', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: #f7f8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-xp {
  font-family: 'Baloo 2', cursive;
  font-size: .82rem;
  font-weight: 700;
  color: #C6FF00;
}
.lb-refresh-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #f7f8f0;
  font-size: .82rem;
  padding: 4px 12px;
  cursor: pointer;
  align-self: flex-end;
}

/* ── Günlük Bonus Modali ─────────────────────────────────── */
#dailyBonusModal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .3s;
}
#dailyBonusModal.show { opacity: 1; }

.dbm-card {
  background: linear-gradient(145deg, #0A1530, #0f3460);
  border: 2px solid rgba(45,212,191,.4);
  border-radius: 24px;
  padding: 28px 24px 24px;
  width: min(340px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(45,212,191,.1);
  transform: scale(.85);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
#dailyBonusModal.show .dbm-card { transform: scale(1); }

.dbm-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 800;
  color: #f7f8f0;
  letter-spacing: 1px;
  text-align: center;
}
.dbm-streak {
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  color: #ff6b35;
  font-weight: 700;
}
.dbm-days {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.dbm-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 10px;
  min-width: 40px;
  border: 1.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}
.dbm-day.done {
  background: rgba(45,212,191,.15);
  border-color: rgba(45,212,191,.35);
  opacity: .7;
}
.dbm-day.today {
  background: rgba(255,215,0,.15);
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(255,215,0,.25);
  transform: scale(1.08);
}
.dbm-day.future { opacity: .4; }
.dbm-day-n {
  font-size: .65rem;
  color: rgba(247,248,240,.6);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.dbm-day-coin { font-size: .9rem; }
.dbm-day-amt {
  font-size: .65rem;
  color: #ffd700;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}
.dbm-big-coin {
  font-size: 3.2rem;
  animation: dbmBounce .6s ease infinite alternate;
}
@keyframes dbmBounce { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.dbm-amount {
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 2px 12px rgba(255,215,0,.4);
}
.dbm-claim-btn {
  background: linear-gradient(135deg, #C6FF00, #8FB800);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 12px 40px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
  box-shadow: 0 4px 16px rgba(15,118,110,.4);
  width: 100%;
}
.dbm-claim-btn:active { transform: scale(.96); box-shadow: none; }

/* ── Mağaza Modali ─────────────────────────────────────────── */
#shopModal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,.55);
}
@media(min-width:600px) { #shopModal { align-items: center; } }

.shop-overlay {
  position: absolute;
  inset: 0;
}
.shop-card {
  position: relative;
  background: #0A1530;
  border: 2px solid rgba(45,212,191,.25);
  border-radius: 24px 24px 0 0;
  width: min(500px, 100vw);
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media(min-width:600px) { .shop-card { border-radius: 24px; } }

.shop-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f7f8f0;
  flex: 1;
}
.shop-balance {
  font-family: 'Baloo 2', cursive;
  font-size: .9rem;
  font-weight: 700;
  color: #ffd700;
}
.shop-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #f7f8f0;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem;
}
.shop-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.shop-pkg {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .12s, border-color .12s;
  text-align: center;
}
.shop-pkg:hover { border-color: rgba(45,212,191,.4); }
.shop-pkg:active { transform: scale(.96); }
.shop-pkg.popular {
  border-color: #ffd700;
  background: rgba(255,215,0,.08);
  box-shadow: 0 0 18px rgba(255,215,0,.15);
}
.shop-pkg-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #111;
  font-family: 'Baloo 2', cursive;
  font-size: .6rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.shop-pkg-icon { font-size: 1.8rem; }
.shop-pkg-coins {
  font-family: 'Baloo 2', cursive;
  font-size: .95rem;
  font-weight: 800;
  color: #ffd700;
}
.shop-pkg-price {
  font-family: 'Nunito', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(247,248,240,.65);
}

/* ── Desktop: Masaüstü uyumlu genişletmeler ──────────────── */
@media(min-width:768px) {
  #userProfilePanel {
    width: 380px;
  }
  .shop-packages {
    gap: 14px;
  }
  .shop-pkg { padding: 20px 14px 16px; }
  .shop-pkg-icon { font-size: 2.2rem; }
  .shop-pkg-coins { font-size: 1.05rem; }
}

/* ── Günlük Görevler ──────────────────────────────────────── */
.quests-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.quest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px 12px;
}
.quest-item.done {
  border-color: rgba(198,255,0,.4);
  background: rgba(198,255,0,.07);
}
.quest-item.claimed {
  opacity: .55;
  border-color: rgba(255,255,255,.08);
}
.quest-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.quest-info {
  flex: 1;
  min-width: 0;
}
.quest-title {
  font-family: 'Nunito', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: #f7f8f0;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quest-bar-wrap {
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 3px;
}
.quest-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C6FF00, #8FB800);
  border-radius: 8px;
  transition: width .4s ease;
}
.quest-prog {
  font-size: .7rem;
  color: rgba(247,248,240,.5);
  font-family: 'Nunito', sans-serif;
}
.quest-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  min-width: 44px;
}
.quest-rew-amt {
  font-family: 'Baloo 2', cursive;
  font-size: .9rem;
  font-weight: 800;
  color: #C6FF00;
}
.quest-rew-type {
  font-size: .7rem;
  color: rgba(247,248,240,.6);
  font-family: 'Nunito', sans-serif;
}
.quest-claim-btn {
  background: #C6FF00;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 4px 8px;
  font-family: 'Baloo 2', cursive;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: transform .1s;
}
.quest-claim-btn:active { transform: scale(.94); }
.quest-done-check {
  color: #C6FF00;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   MAĞAZA TABS
   ═══════════════════════════════════════════════════ */
.shop-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 16px 0;
  border-bottom: 2px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
}
.shop-tab-btn {
  flex: 1;
  padding: 8px 4px;
  border: 2.5px solid #1a1a1a;
  border-bottom: 3px solid #1a1a1a;
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.08);
  color: rgba(247,248,240,.6);
  font-family: 'Baloo 2', cursive;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.shop-tab-btn.active {
  background: #C6FF00;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* ═══════════════════════════════════════════════════
   AVATAR SHOP
   ═══════════════════════════════════════════════════ */
.shop-av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  padding: 4px;
}
.shop-av-item {
  position: relative;
  border-radius: 14px;
  border: 2.5px solid #1a1a1a;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s;
}
.shop-av-item:active { transform: scale(.93); }
.shop-av-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.shop-av-item.owned { border-color: #C6FF00; border-width: 3px; }
.shop-av-badge {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 6px;
  padding: 1px 5px;
  font-size: .58rem;
  font-weight: 800;
  font-family: 'Baloo 2', cursive;
}
.shop-av-badge.owned-badge { background: #C6FF00; color: #111; }
.shop-av-badge.locked-badge { background: rgba(0,0,0,.72); color: #fff; }

/* ═══════════════════════════════════════════════════
   LOCKED AVATARS IN PICKER
   ═══════════════════════════════════════════════════ */
.avp-item.locked-av { position: relative; }
.av-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.av-lock-icon { font-size: 1rem; line-height: 1; }
.av-lock-price {
  font-size: .58rem;
  font-weight: 800;
  color: #ffd700;
  font-family: 'Baloo 2', cursive;
}

/* ═══════════════════════════════════════════════════
   FRAME SHOP
   ═══════════════════════════════════════════════════ */
.shop-frame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  padding: 4px;
}
.shop-frame-item {
  border-radius: 14px;
  border: 2.5px solid #1a1a1a;
  background: rgba(255,255,255,.06);
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform .12s, background .15s;
}
.shop-frame-item:active { transform: scale(.93); }
.shop-frame-item.active { background: rgba(198,255,0,.15); border-color: #C6FF00; }
.shop-frame-item.owned { border-color: rgba(255,255,255,.3); }
.shop-frame-preview {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 3px solid #9CD5FF;
  background: rgba(255,255,255,.1);
}
.shop-frame-label {
  font-family: 'Baloo 2', cursive;
  font-size: .68rem;
  font-weight: 800;
  color: rgba(247,248,240,.9);
  text-align: center;
}
.shop-frame-badge {
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .58rem;
  font-weight: 800;
  font-family: 'Baloo 2', cursive;
}
.shop-frame-badge.sel-badge { background: #C6FF00; color: #111; }
.shop-frame-badge.owned-badge { background: rgba(255,255,255,.15); color: #fff; }
.shop-frame-badge.locked-badge { background: rgba(0,0,0,.6); color: #ffd700; }

/* ═══════════════════════════════════════════════════
   FRAME PICKER (profil panel)
   ═══════════════════════════════════════════════════ */
.frame-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.fp-item {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform .12s;
}
.fp-item:active { transform: scale(.9); }
.fp-item.active { border-color: #C6FF00; }
.fp-ring {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 3px solid #9CD5FF;
}
.fp-lock {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.fp-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 900;
  color: #C6FF00;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

/* ═══════════════════════════════════════════════════
   BADGE GALERİSİ
   ═══════════════════════════════════════════════════ */
.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 8px;
}
.badge-chip {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 4px 10px;
  font-family: 'Baloo 2', cursive;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(247,248,240,.9);
}
.badges-empty {
  font-size: .8rem;
  color: rgba(247,248,240,.4);
  font-family: 'Nunito', sans-serif;
}

/* ═══════════════════════════════════════════════════
   AVATAR FRAME CSS ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes frame-pulse { 0%,100%{box-shadow:0 0 0 0 currentColor;opacity:1}50%{box-shadow:0 0 12px 3px currentColor;opacity:.85} }
@keyframes frame-spin  { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes frame-bob   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
@keyframes frame-cycle { 0%{border-color:#ff4e6e}14%{border-color:#ff9f40}28%{border-color:#ffd700}42%{border-color:#a3e635}57%{border-color:#34d399}71%{border-color:#60a5fa}85%{border-color:#c084fc}100%{border-color:#ff4e6e} }
@keyframes frame-glow  { 0%,100%{box-shadow:0 0 6px 1px currentColor}50%{box-shadow:0 0 18px 5px currentColor} }

.frame-default  { border:4px solid #9CD5FF !important; }
.frame-neon     { border:4px solid #00c6ff !important; box-shadow:0 0 12px #00c6ff; animation:frame-glow 2s ease-in-out infinite; color:#00c6ff; }
.frame-rainbow  { border:4px solid #ff4e6e !important; animation:frame-cycle 2s linear infinite; }
.frame-hearts   { border:4px solid #ff69b4 !important; box-shadow:0 0 10px #ff69b4; animation:frame-bob 1.8s ease-in-out infinite; }
.frame-fire     { border:4px solid #ff6500 !important; box-shadow:0 0 14px #ff6500; animation:frame-glow 1.4s ease-in-out infinite; color:#ff6500; }
.frame-ice      { border:4px solid #87CEEB !important; box-shadow:0 0 12px #87CEEB; animation:frame-spin 6s linear infinite; }
.frame-stars    { border:4px solid #FFD700 !important; box-shadow:0 0 10px #FFD700; animation:frame-pulse 1.6s ease-in-out infinite; color:#FFD700; }
.frame-gold     { border:4px solid #FFD700 !important; box-shadow:0 0 16px #FFD700,inset 0 0 8px rgba(255,215,0,.2); animation:frame-glow 1.8s ease-in-out infinite; color:#FFD700; }
.frame-crown    { border:4px solid #FFD700 !important; box-shadow:0 0 20px #FFD700,0 0 40px rgba(255,215,0,.3); animation:frame-bob 1.5s ease-in-out infinite; }
.frame-galaxy   { border:4px solid #9b59b6 !important; box-shadow:0 0 14px #9b59b6; animation:frame-cycle 4s linear infinite; }
.frame-dragon   { border:4px solid #ff4500 !important; box-shadow:0 0 18px #ff4500,0 0 36px rgba(255,69,0,.4); animation:frame-glow 1.2s ease-in-out infinite; color:#ff4500; }

/* frame preview colors in shop */
.shop-frame-preview.frame-default  { border-color:#9CD5FF; }
.shop-frame-preview.frame-neon     { border-color:#00c6ff; box-shadow:0 0 6px #00c6ff; }
.shop-frame-preview.frame-rainbow  { border-color:#ff4e6e; animation:frame-cycle 2s linear infinite; }
.shop-frame-preview.frame-hearts   { border-color:#ff69b4; box-shadow:0 0 6px #ff69b4; }
.shop-frame-preview.frame-fire     { border-color:#ff6500; box-shadow:0 0 8px #ff6500; }
.shop-frame-preview.frame-ice      { border-color:#87CEEB; box-shadow:0 0 6px #87CEEB; }
.shop-frame-preview.frame-stars    { border-color:#FFD700; box-shadow:0 0 6px #FFD700; }
.shop-frame-preview.frame-gold     { border-color:#FFD700; box-shadow:0 0 10px #FFD700; }
.shop-frame-preview.frame-crown    { border-color:#FFD700; box-shadow:0 0 12px #FFD700; }
.shop-frame-preview.frame-galaxy   { border-color:#9b59b6; box-shadow:0 0 8px #9b59b6; }
.shop-frame-preview.frame-dragon   { border-color:#ff4500; box-shadow:0 0 12px #ff4500; }
.fp-ring.frame-default  { border-color:#9CD5FF; }
.fp-ring.frame-neon     { border-color:#00c6ff; box-shadow:0 0 6px #00c6ff; }
.fp-ring.frame-rainbow  { border-color:#ff4e6e; animation:frame-cycle 2s linear infinite; }
.fp-ring.frame-hearts   { border-color:#ff69b4; }
.fp-ring.frame-fire     { border-color:#ff6500; box-shadow:0 0 6px #ff6500; }
.fp-ring.frame-ice      { border-color:#87CEEB; }
.fp-ring.frame-stars    { border-color:#FFD700; }
.fp-ring.frame-gold     { border-color:#FFD700; box-shadow:0 0 8px #FFD700; }
.fp-ring.frame-crown    { border-color:#FFD700; box-shadow:0 0 10px #FFD700; }
.fp-ring.frame-galaxy   { border-color:#9b59b6; }
.fp-ring.frame-dragon   { border-color:#ff4500; box-shadow:0 0 8px #ff4500; }
