/* ==========================================================================
   Titan Clash — Savaş Bileti (Battle Pass)
   ========================================================================== */

.bp {
  --bp-bg:     #081322;
  --bp-card:   #0C1A2C;
  --bp-line:   rgba(234, 240, 247, 0.10);
  --bp-line-2: rgba(234, 240, 247, 0.18);
  --bp-ink:    #EAF0F7;
  --bp-muted:  #8C99AE;
  --bp-cyan:   #3DF5FF;
  --bp-gold:   #FFC24B;
  --bp-green:  #3DDC84;
  --bp-red:    #FF5A6A;
  --bp-cond:   'Big Shoulders', 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --bp-body:   'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --col: 112px;

  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--bp-line-2);
  border-radius: 18px;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 194, 75, 0.10), transparent 60%),
    radial-gradient(60% 60% at 0% 0%, rgba(61, 245, 255, 0.08), transparent 60%),
    var(--bp-bg);
  color: var(--bp-ink);
  font-family: var(--bp-body);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.bp::backdrop { background: rgba(3, 8, 16, 0.74); backdrop-filter: blur(6px); }
.bp[open] { animation: bp-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes bp-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.bp button { font: inherit; color: inherit; cursor: pointer; }
.bp [hidden] { display: none !important; }
.bp :focus-visible { outline: 2px solid var(--bp-cyan); outline-offset: 2px; }

.bp-shell { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 34px); }

/* ── Başlık ─────────────────────────────────────────────────────────────── */
.bp-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px 14px; }
.bp-brand { display: grid; gap: 2px; min-width: 0; }
.bp-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bp-gold); }
.bp-head h2 {
  margin: 0; font-family: var(--bp-cond); font-weight: 900; font-size: 2.3rem; line-height: 0.95;
  letter-spacing: 0.01em; text-transform: uppercase;
  background: linear-gradient(180deg, #FFFFFF 30%, #C9D6E6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bp-meta { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bp-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1px solid var(--bp-line); border-radius: 999px; background: rgba(234, 240, 247, 0.04);
  font-size: 0.8rem; color: var(--bp-muted); white-space: nowrap;
}
.bp-chip b { color: var(--bp-gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-chip-wallet { color: var(--bp-ink); border-color: rgba(171, 159, 242, 0.45); }
.bp-chip-wallet:hover { background: rgba(171, 159, 242, 0.12); }
.bp-chip-wallet.is-on { border-color: var(--bp-line); color: var(--bp-muted); }
.bp-x { width: 36px; height: 36px; border: 1px solid var(--bp-line); border-radius: 10px; background: none; display: grid; place-items: center; color: var(--bp-muted); flex: none; }
.bp-x svg { width: 14px; height: 14px; }
.bp-x:hover { color: var(--bp-ink); border-color: var(--bp-line-2); }

/* ── İlerleme ───────────────────────────────────────────────────────────── */
.bp-progress { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 0 22px 14px; }
.bp-lvl {
  width: 78px; height: 78px; border-radius: 18px; display: grid; place-content: center; text-align: center;
  background: linear-gradient(160deg, rgba(255, 194, 75, 0.22), rgba(255, 194, 75, 0.04));
  border: 1px solid rgba(255, 194, 75, 0.5);
  box-shadow: inset 0 0 24px rgba(255, 194, 75, 0.12);
}
.bp-lvl span { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bp-gold); }
.bp-lvl b { font-family: var(--bp-cond); font-weight: 900; font-size: 2.5rem; line-height: 0.9; font-variant-numeric: tabular-nums; }
.bp-xp { display: grid; gap: 7px; min-width: 0; }
.bp-xp-top { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--bp-muted); }
.bp-xp-top span:last-child { color: var(--bp-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-xp-bar { height: 10px; border-radius: 999px; background: rgba(234, 240, 247, 0.08); overflow: hidden; }
.bp-xp-bar span {
  display: block; height: 100%; border-radius: inherit; width: 0;
  background: linear-gradient(90deg, #22C7E0, var(--bp-cyan) 70%, #B8FFF9);
  box-shadow: 0 0 14px rgba(61, 245, 255, 0.55);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bp-xp-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.74rem; color: var(--bp-muted); }
.bp-xp-rules b { color: var(--bp-ink); font-weight: 600; }
.bp-tier { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--bp-line); text-align: right; min-width: 170px; }
.bp-tier b { font-family: var(--bp-cond); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; text-transform: uppercase; }
.bp-tier span { font-size: 0.74rem; color: var(--bp-muted); }
.bp-tier.is-free b { color: #AAB4C2; }
.bp-tier.is-standard { border-color: rgba(61, 245, 255, 0.4); background: rgba(61, 245, 255, 0.06); }
.bp-tier.is-standard b { color: var(--bp-cyan); }
.bp-tier.is-premium { border-color: rgba(255, 194, 75, 0.55); background: linear-gradient(135deg, rgba(255, 194, 75, 0.16), rgba(255, 120, 60, 0.06)); }
.bp-tier.is-premium b { color: var(--bp-gold); }

/* ── Sekmeler ───────────────────────────────────────────────────────────── */
.bp-tabs { display: flex; gap: 4px; padding: 0 22px; border-bottom: 1px solid var(--bp-line); }
.bp-tabs button {
  position: relative; height: 40px; padding: 0 14px; border: 0; background: none;
  font-weight: 600; font-size: 0.92rem; color: var(--bp-muted);
}
.bp-tabs button[aria-selected="true"] { color: var(--bp-ink); }
.bp-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--bp-cyan); }
.bp-badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 999px; background: var(--bp-green); color: #04170C; font-style: normal; font-size: 0.7rem; font-weight: 700;
}

.bp-pane { display: flex; flex-direction: column; gap: 12px; padding: 14px 22px 18px; overflow: auto; min-height: 0; }

/* ── Satın alma kartları ────────────────────────────────────────────────── */
.bp-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-radius: 16px; }
.bp-offers.is-pulse { animation: bp-pulse 0.9s ease 2; }
@keyframes bp-pulse { 50% { box-shadow: 0 0 0 3px rgba(255, 194, 75, 0.55); } }
.bp-offer {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border: 1px solid var(--bp-line-2); border-radius: 14px; background: rgba(12, 26, 44, 0.8); overflow: hidden;
}
.bp-offer.is-standard { border-color: rgba(61, 245, 255, 0.32); }
.bp-offer.is-premium {
  border-color: rgba(255, 194, 75, 0.6);
  background: linear-gradient(120deg, rgba(255, 194, 75, 0.16), rgba(255, 110, 50, 0.06) 55%, rgba(12, 26, 44, 0.8));
}
.bp-offer.is-premium::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.10) 50%, transparent 65%);
  transform: translateX(-100%); animation: bp-shine 4.5s ease-in-out infinite;
}
@keyframes bp-shine { 60%, 100% { transform: translateX(100%); } }
.bp-offer.is-have { opacity: 0.72; }
.bp-offer-main { flex: 1; min-width: 0; }
.bp-pill { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--bp-gold); color: #241500; font-style: normal; font-size: 0.6rem; letter-spacing: 0.08em; vertical-align: 1px; }
.bp-offer-k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bp-cyan); }
.bp-offer.is-premium .bp-offer-k { color: var(--bp-gold); }
.bp-offer h3 { margin: 2px 0 4px; font-family: var(--bp-cond); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.bp-offer p { margin: 0; font-size: 0.8rem; line-height: 1.4; color: var(--bp-muted); }
.bp-offer-buy { display: grid; gap: 8px; justify-items: end; flex: none; }
.bp-price { display: grid; justify-items: end; }
.bp-price b { font-family: var(--bp-cond); font-weight: 900; font-size: 2rem; line-height: 1; }
.bp-price b svg { width: 26px; height: 26px; color: var(--bp-green); }
.bp-price span { font-size: 0.72rem; color: var(--bp-muted); font-variant-numeric: tabular-nums; }
.bp-buy {
  height: 38px; min-width: 132px; padding: 0 16px; border: 0; border-radius: 10px;
  background: var(--bp-cyan); color: #032027; font-weight: 700; font-size: 0.88rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bp-offer.is-premium .bp-buy { background: linear-gradient(135deg, #FFD978, var(--bp-gold) 50%, #FF9C3B); color: #241500; }
.bp-buy:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(61, 245, 255, 0.28); }
.bp-offer.is-premium .bp-buy:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(255, 194, 75, 0.35); }
.bp-buy:disabled { opacity: 0.6; cursor: progress; }
.bp-test { grid-column: 1 / -1; margin: 0; font-size: 0.74rem; color: var(--bp-muted); }
.bp-test b { color: var(--bp-gold); }
.bp-owned {
  grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; font-size: 0.86rem; color: var(--bp-muted);
  border: 1px solid rgba(255, 194, 75, 0.45); background: linear-gradient(120deg, rgba(255, 194, 75, 0.12), transparent);
}
.bp-owned b { color: var(--bp-gold); }
.bp-status { margin: -4px 0 0; font-size: 0.8rem; color: var(--bp-muted); }
.bp-status.is-bad { color: var(--bp-red); }
.bp-status.is-good { color: var(--bp-green); }

/* ── Seviye çizgisi ─────────────────────────────────────────────────────── */
.bp-track {
  display: grid; grid-template-columns: 112px 1fr;
  border: 1px solid var(--bp-line); border-radius: 14px; background: rgba(4, 10, 20, 0.45); overflow: hidden;
}
.bp-rows { display: grid; grid-template-rows: 112px 44px 140px; padding: 10px 0; border-right: 1px solid var(--bp-line); background: rgba(8, 19, 34, 0.9); position: relative; z-index: 1; }
.bp-row-l { display: grid; align-content: center; gap: 2px; padding: 0 14px; }
.bp-row-l b { font-family: var(--bp-cond); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; }
.bp-row-l span { font-size: 0.7rem; color: var(--bp-muted); }
.bp-row-l.is-free b { color: #9AA5B4; }
.bp-row-l.is-paid b { background: linear-gradient(90deg, var(--bp-cyan), var(--bp-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bp-scroller { overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: thin; scrollbar-color: rgba(234, 240, 247, 0.25) transparent; overscroll-behavior-x: contain; }
.bp-scroller.is-dragging { cursor: grabbing; user-select: none; }
.bp-scroller.is-dragging .bp-card { pointer-events: none; }
.bp-scroller::-webkit-scrollbar { height: 8px; }
.bp-scroller::-webkit-scrollbar-thumb { background: rgba(234, 240, 247, 0.22); border-radius: 8px; }
.bp-rail { position: relative; height: 316px; }
.bp-col {
  position: absolute; top: 0; width: var(--col); height: 100%;
  display: grid; grid-template-rows: 112px 44px 140px; padding: 10px 5px; contain: layout paint style;
}

/* Cetvel */
.bp-ruler { position: relative; display: grid; place-items: center; }
.bp-line { position: absolute; left: -5px; right: -5px; top: 50%; height: 4px; margin-top: -2px; background: rgba(234, 240, 247, 0.10); }
.bp-line i { display: block; height: 100%; background: var(--bp-cyan); box-shadow: 0 0 10px rgba(61, 245, 255, 0.6); }
.bp-ruler b {
  position: relative; min-width: 34px; height: 26px; padding: 0 6px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--bp-line-2); background: #0B1828;
  font-family: var(--bp-cond); font-weight: 800; font-size: 0.95rem; color: var(--bp-muted); font-variant-numeric: tabular-nums;
}
.bp-ruler.is-ms b { border-color: rgba(255, 194, 75, 0.5); color: var(--bp-gold); }
.bp-ruler.is-done b { background: var(--bp-cyan); border-color: var(--bp-cyan); color: #032027; }
.bp-ruler.is-cur b { background: var(--bp-gold); border-color: var(--bp-gold); color: #241500; box-shadow: 0 0 0 4px rgba(255, 194, 75, 0.25); }

/* Kartlar */
.bp-cell.is-empty { display: grid; place-items: center; }
.bp-cell.is-empty i { width: 5px; height: 5px; border-radius: 50%; background: rgba(234, 240, 247, 0.12); }

.bp-card {
  --rc: #4DA3FF;
  position: relative; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 2px;
  width: 100%; height: 100%; padding: 8px 6px 9px; border-radius: 12px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 24%, #0C1A2C) 0%, #0A1626 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}
.bp-card.r-rare      { --rc: #4DA3FF; }
.bp-card.r-epic      { --rc: #B46BFF; }
.bp-card.r-legendary { --rc: #FFB020; }
.bp-card.r-mythic    { --rc: #FF4D8D; }
.bp-card.r-titan     { --rc: #3DF5FF; border-color: transparent;
  background: linear-gradient(#0B1828, #0B1828) padding-box, conic-gradient(from var(--bp-a, 0deg), var(--bp-cyan), var(--bp-gold), #FF4D8D, var(--bp-cyan)) border-box;
  border: 2px solid transparent; animation: bp-spin 4s linear infinite; }
@property --bp-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes bp-spin { to { --bp-a: 360deg; } }
.bp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px color-mix(in srgb, var(--rc) 60%, transparent); }

.bp-nm {
  font-size: 0.74rem; font-weight: 600; line-height: 1.15; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bp-tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Ücretsiz hat: bilerek sade */
.bp-card.is-free { --rc: #6B7684; background: rgba(234, 240, 247, 0.035); border: 1px solid rgba(234, 240, 247, 0.09); box-shadow: none; }
.bp-card.is-free .bp-ic { filter: grayscale(1) brightness(0.85); opacity: 0.75; min-height: 40px; }
.bp-card.is-free .bp-nm { -webkit-line-clamp: 1; }
.bp-card.is-free .bp-nm { color: #9AA5B4; font-weight: 500; }
.bp-card.is-free .bp-tag { color: #6B7684; }
.bp-card.is-free:hover { box-shadow: none; }

/* Durumlar */
.bp-card.is-future { opacity: 0.5; }
.bp-card.is-claimed { opacity: 0.55; }
.bp-card.is-ready { box-shadow: 0 0 0 2px var(--bp-green), 0 0 22px rgba(61, 220, 132, 0.35); animation: bp-ready 1.8s ease-in-out infinite; }
@keyframes bp-ready { 50% { box-shadow: 0 0 0 2px var(--bp-green), 0 0 8px rgba(61, 220, 132, 0.15); } }
.bp-card.is-pop { animation: bp-pop 0.4s ease; }
@keyframes bp-pop { 40% { transform: scale(1.08); } }
.bp-mark {
  position: absolute; top: 6px; right: 6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 999px; font-style: normal; font-size: 0.66rem; font-weight: 700;
}
.bp-mark svg { width: 12px; height: 12px; }
.bp-mark.is-ok { background: rgba(61, 220, 132, 0.18); color: var(--bp-green); }
.bp-mark.is-get { background: var(--bp-green); color: #04170C; text-transform: uppercase; }
.bp-mark.is-lock { background: rgba(4, 10, 20, 0.7); color: #C9D2DE; }

/* ── İkonlar (yalnızca görünen sütunlarda var → animasyonlar ucuz) ───────── */
.bp-ic { display: grid; place-items: center; width: 100%; min-height: 48px; }
.ic-pin { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: hsl(var(--h) 95% 55%);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), 0 0 16px hsl(var(--h) 95% 60% / 0.7); }
.ic-pin > i { position: absolute; inset: 7px; border-radius: 50%; background: #fff; opacity: 0.85; }
.ic-pin::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid hsl(var(--h) 95% 65%); animation: bp-ping 1.7s ease-out infinite; }
@keyframes bp-ping { from { transform: scale(0.7); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.ic-skin { width: 46px; height: 36px; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  background: linear-gradient(135deg, hsl(var(--h) 95% 62%), hsl(calc(var(--h) + 70) 95% 52%));
  box-shadow: 0 0 18px hsl(var(--h) 95% 55% / 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.is-plain .ic-skin { background: #8A929C; box-shadow: none; }
.ic-border { width: 38px; height: 34px; border-radius: 7px; border: 3px solid hsl(var(--h) 100% 60%);
  box-shadow: 0 0 12px hsl(var(--h) 100% 55% / 0.85), inset 0 0 10px hsl(var(--h) 100% 55% / 0.6);
  animation: bp-flicker 2.4s ease-in-out infinite; }
@keyframes bp-flicker { 50% { box-shadow: 0 0 20px hsl(var(--h) 100% 60%), inset 0 0 14px hsl(var(--h) 100% 60% / 0.8); } }
.ic-svg svg { width: 50px; height: 34px; overflow: visible; }
.ic-ship .h { fill: hsl(var(--h) 90% 60%); filter: drop-shadow(0 0 6px hsl(var(--h) 95% 55% / 0.8)); }
.ic-ship .d { fill: hsl(var(--h) 60% 28%); }
.ic-ship .s { fill: rgba(255, 255, 255, 0.85); }
.ic-wake .w { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.ic-wake .w.o { opacity: 0.45; }
.ic-wake .p { fill: #FFD25A; filter: drop-shadow(0 0 3px #FFC24B); }
.ic-title .b { fill: hsl(var(--h) 90% 55%); filter: drop-shadow(0 0 6px hsl(var(--h) 90% 55% / 0.6)); }
.ic-title .l { stroke: rgba(0, 0, 0, 0.55); stroke-width: 2.5; stroke-linecap: round; }
.is-free .ic-title .b { fill: #8A929C; filter: none; }
.ic-emoji { width: 46px; height: 40px; display: grid; place-items: center; font-style: normal; font-size: 26px; line-height: 1;
  border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.ic-coin, .ic-token { display: grid; place-items: center; border-radius: 50%; font-style: normal; font-family: var(--bp-cond); font-weight: 900; }
.ic-coin { width: 34px; height: 34px; font-size: 0.85rem; color: #3A2600; background: radial-gradient(circle at 35% 30%, #FFF0B8, #FFC24B 45%, #C98512); box-shadow: 0 0 14px rgba(255, 194, 75, 0.45); }
.ic-token { width: 46px; height: 46px; font-size: 1.6rem; color: #041418;
  background: conic-gradient(from 210deg, var(--bp-cyan), #FFFFFF, var(--bp-gold), var(--bp-cyan));
  box-shadow: 0 0 22px rgba(61, 245, 255, 0.6), 0 0 40px rgba(255, 194, 75, 0.35); }

/* ── Alt çubuk ──────────────────────────────────────────────────────────── */
.bp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bp-jump { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 0.76rem; color: var(--bp-muted); }
.bp-jump > span { margin-right: 4px; }
.bp-jump button { height: 30px; min-width: 38px; padding: 0 9px; border: 1px solid var(--bp-line); border-radius: 8px; background: none; font-size: 0.8rem; color: var(--bp-muted); font-variant-numeric: tabular-nums; }
.bp-jump button:hover { color: var(--bp-ink); border-color: var(--bp-line-2); }
.bp-jump button.is-me { color: var(--bp-gold); border-color: rgba(255, 194, 75, 0.4); }
.bp-claimall {
  height: 44px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--bp-green); color: #04170C; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.bp-claimall span { font-variant-numeric: tabular-nums; }
.bp-claimall:disabled { background: rgba(234, 240, 247, 0.08); color: var(--bp-muted); cursor: default; }
.bp-claimall.is-hot { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: bp-hot 1.6s ease-out infinite; }
.bp-claimall:hover:not(:disabled) { transform: translateY(-1px); }
@keyframes bp-hot { 70% { box-shadow: 0 0 0 12px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ── Görevler ───────────────────────────────────────────────────────────── */
.bp-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-qcol { border: 1px solid var(--bp-line); border-radius: 14px; background: rgba(12, 26, 44, 0.6); padding: 14px; }
.bp-qcol header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.bp-qcol h3 { margin: 0; font-family: var(--bp-cond); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }
.bp-qcol header span { font-size: 0.74rem; color: var(--bp-muted); }
.bp-qcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-q { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: rgba(234, 240, 247, 0.035); border: 1px solid transparent; }
.bp-q.is-done:not(.is-claimed) { border-color: rgba(61, 220, 132, 0.55); background: rgba(61, 220, 132, 0.07); }
.bp-q.is-claimed { opacity: 0.55; }
.bp-q-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.bp-q-main p { margin: 0; font-size: 0.9rem; font-weight: 600; }
.bp-q-bar { height: 6px; border-radius: 999px; background: rgba(234, 240, 247, 0.08); overflow: hidden; }
.bp-q-bar span { display: block; height: 100%; border-radius: inherit; background: var(--bp-cyan); }
.bp-q.is-done .bp-q-bar span { background: var(--bp-green); }
.bp-q-val { font-size: 0.74rem; color: var(--bp-muted); font-variant-numeric: tabular-nums; }
.bp-q-side { display: grid; justify-items: end; gap: 6px; flex: none; }
.bp-q-xp { font-family: var(--bp-cond); font-weight: 800; font-size: 1.05rem; color: var(--bp-gold); }
.bp-q-side button { height: 30px; min-width: 76px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--bp-green); color: #04170C; font-weight: 700; font-size: 0.8rem; }
.bp-q-side button:disabled { background: rgba(234, 240, 247, 0.08); color: var(--bp-muted); cursor: default; }
.bp-note { margin: 0; font-size: 0.78rem; color: var(--bp-muted); }
.bp-note b { color: var(--bp-ink); }

/* ── Premium efekti ─────────────────────────────────────────────────────── */
.bp-burst { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 194, 75, 0.28), rgba(5, 10, 20, 0.92) 70%); }
.bp-burst.is-in { animation: bp-fade 0.35s ease; }
@keyframes bp-fade { from { opacity: 0; } }
.bp-burst-rays { position: absolute; width: 160vmax; height: 160vmax; opacity: 0.35;
  background: repeating-conic-gradient(from 0deg, rgba(255, 194, 75, 0.5) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 45%); mask: radial-gradient(circle, #000 0, transparent 45%);
  animation: bp-rays 14s linear infinite; }
@keyframes bp-rays { to { transform: rotate(360deg); } }
.bp-burst-in { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 0 24px; }
.bp-burst.is-in .bp-burst-in { animation: bp-slam 0.7s cubic-bezier(0.2, 1.4, 0.3, 1); }
@keyframes bp-slam { from { transform: scale(1.8); opacity: 0; } }
.bp-burst-k { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bp-gold); }
.bp-burst b { font-family: var(--bp-cond); font-weight: 900; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 0.95; text-transform: uppercase;
  background: linear-gradient(180deg, #FFF6D6, var(--bp-gold) 55%, #FF8A2B); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 170, 60, 0.45)); }
.bp-burst span[data-burst-sub] { font-size: 0.95rem; color: var(--bp-ink); }

.bp-toast { position: absolute; left: 50%; bottom: 76px; z-index: 6; transform: translateX(-50%);
  padding: 9px 16px; border-radius: 999px; background: var(--bp-green); color: #04170C; font-weight: 700; font-size: 0.86rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); pointer-events: none; white-space: nowrap; }
.bp-toast.is-in { animation: bp-toast 0.3s cubic-bezier(0.2, 1.3, 0.3, 1); }
@keyframes bp-toast { from { transform: translate(-50%, 12px); opacity: 0; } }

/* ── Lobi düğmesi ───────────────────────────────────────────────────────── */
.lb-pass { position: relative; color: #FFC24B !important; gap: 7px; }
.lb-pass svg { width: 17px; height: 17px; }
.lb-pass:hover { background: rgba(255, 194, 75, 0.1) !important; }
.bp-dot {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center; background: #3DDC84; color: #04170C; font-size: 0.64rem; font-weight: 800;
}

/* [hidden] her zaman gizlesin (display: grid'i ezsin) */
.bp-dot[hidden] { display: none; }

/* ── Oyun içi gösterge (sol alt, çıkışın üstünde) ───────────────────────── */
.bp-hud {
  position: fixed; left: 16px; bottom: 62px; z-index: 10; display: none; align-items: center; gap: 9px;
  height: 38px; padding: 0 12px 0 10px; border: 1px solid rgba(255, 194, 75, 0.45); border-radius: 999px;
  background: rgba(8, 18, 32, 0.9); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #EAF0F7; font: 500 0.82rem 'Familjen Grotesk', system-ui, sans-serif; cursor: pointer;
}
.bp-hud.visible { display: inline-flex; }
.bp-hud > svg { width: 18px; height: 18px; color: #FFC24B; }
.bp-hud b { font-family: 'Big Shoulders', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.05rem; color: #FFC24B; }
.bp-hud-bar { width: 54px; height: 5px; border-radius: 999px; background: rgba(234, 240, 247, 0.12); overflow: hidden; }
.bp-hud-bar span { display: block; height: 100%; width: 0; background: #3DF5FF; transition: width 0.4s; }
.bp-hud:hover { border-color: #FFC24B; }
.bp-hud .bp-dot { top: -6px; right: -6px; }
.bp-hud-float { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); pointer-events: none;
  font-family: 'Big Shoulders', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.1rem; color: #3DF5FF; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); animation: bp-float 1.4s ease-out forwards; }
@keyframes bp-float { from { transform: translate(-50%, 4px); opacity: 0; } 15% { opacity: 1; } to { transform: translate(-50%, -26px); opacity: 0; } }

/* ── Dar ekran ──────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .bp { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 14px; }
  .bp-head { flex-wrap: wrap; padding: 14px 16px 10px; }
  .bp-meta { order: 3; width: 100%; justify-content: flex-start; margin-left: 0; }
  .bp-x { margin-left: auto; }
  .bp-head h2 { font-size: 1.8rem; }
  .bp-progress { grid-template-columns: auto 1fr; padding: 0 16px 12px; }
  .bp-tier { grid-column: 1 / -1; text-align: left; }
  .bp-tabs, .bp-pane { padding-left: 16px; padding-right: 16px; }
  .bp-offers, .bp-qgrid { grid-template-columns: 1fr; }
  .bp-track { grid-template-columns: 64px 1fr; }
  .bp-row-l { padding: 0 8px; }
  .bp-row-l b { font-size: 0.8rem; }
  .bp-row-l span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bp *, .bp *::before, .bp *::after, .bp-hud * { animation: none !important; transition: none !important; }
}

/* ── Kuşanma ────────────────────────────────────────────────────────────── */
.bp-card { cursor: default; }
.bp-card.is-ready, .bp-card.is-locked { cursor: pointer; }
.bp-card.is-claimed { opacity: 0.88; }
.bp-card.is-claimed .bp-ic { opacity: 0.85; }
.bp .bp-eq {
  height: 20px; min-width: 64px; padding: 0 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); background: rgba(4, 10, 20, 0.55);
  font-size: 0.62rem !important; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bp-ink);
  transition: background 0.15s, border-color 0.15s;
}
.bp-eq:hover { background: rgba(234, 240, 247, 0.12); }
.bp-eq.is-on { background: var(--bp-green); border-color: var(--bp-green); color: #04170C; }
.bp-count { font-style: normal; font-size: 0.72rem; color: var(--bp-muted); margin-left: 3px; }
.bp-count[hidden] { display: none; }

/* Envanter */
.bp-loadout h3, .bp-inv-g h4 { margin: 0 0 10px; font-family: var(--bp-cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.bp-loadout h3 { font-size: 1.3rem; }
.bp-slots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bp-slot {
  --rc: #6B7684;
  display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; text-align: center;
  border: 1px dashed rgba(234, 240, 247, 0.16); background: rgba(234, 240, 247, 0.025);
}
.bp-slot.is-on { border-style: solid; border-color: color-mix(in srgb, var(--rc) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 20%, #0C1A2C), #0A1626 80%); }
.bp-slot.r-rare { --rc: #4DA3FF; } .bp-slot.r-epic { --rc: #B46BFF; } .bp-slot.r-legendary { --rc: #FFB020; }
.bp-slot.r-mythic { --rc: #FF4D8D; } .bp-slot.r-titan { --rc: #3DF5FF; } .bp-slot.is-free { --rc: #6B7684; }
.bp-slot-k { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bp-muted); }
.bp-slot b { font-size: 0.74rem; font-weight: 600; line-height: 1.15; min-height: 2.3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-slot:not(.is-on) b { color: var(--bp-muted); font-weight: 500; }
.bp .bp-slot button { height: 22px; padding: 0 10px; border: 1px solid var(--bp-line-2); border-radius: 999px; background: none; font-size: 0.66rem; color: var(--bp-muted); }
.bp-slot button:hover { color: var(--bp-red); border-color: rgba(255, 90, 106, 0.5); }
.bp-slot-none { height: 22px; font-size: 0.66rem; color: rgba(140, 153, 174, 0.6); line-height: 22px; }
.ic-none { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed rgba(234, 240, 247, 0.18); }
.bp-slot.is-free .bp-ic { filter: grayscale(1) brightness(0.85); opacity: 0.75; }

.bp-inv { display: grid; gap: 16px; }
.bp-inv-g h4 { font-size: 1.05rem; }
.bp-inv-g h4 span { font-family: var(--bp-body); font-size: 0.74rem; font-weight: 500; color: var(--bp-muted); margin-left: 4px; }
.bp-inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.bp-item {
  --rc: #4DA3FF;
  display: grid; justify-items: center; gap: 3px; padding: 10px 6px; border-radius: 12px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 18%, #0C1A2C), #0A1626 80%);
}
.bp-item.r-rare { --rc: #4DA3FF; } .bp-item.r-epic { --rc: #B46BFF; } .bp-item.r-legendary { --rc: #FFB020; }
.bp-item.r-mythic { --rc: #FF4D8D; } .bp-item.r-titan { --rc: #3DF5FF; }
.bp-item.is-free { --rc: #6B7684; background: rgba(234, 240, 247, 0.035); }
.bp-item.is-free .bp-ic { filter: grayscale(1) brightness(0.85); opacity: 0.75; }
.bp-item.is-eq { box-shadow: 0 0 0 2px var(--bp-green); }
.bp-item .bp-eq { margin-top: 4px; }
.bp-empty { margin: 8px 0 0; font-size: 0.86rem; color: var(--bp-muted); }
.bp-empty b { color: var(--bp-ink); }

@media (max-width: 820px) {
  .bp-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Üretilen görseller ──────────────────────────────────────────────────── */
.bp-head { position: relative; isolation: isolate; overflow: hidden; border-radius: inherit; }
.bp-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.55) 55%, rgba(8, 12, 20, 0.85) 100%),
              url("../assets/img/bp-banner.webp") center 40% / cover no-repeat;
}
.ic-img { display: block; width: 56px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.ic-img.t-title { width: 96px; height: 34px; }
.ic-img.t-skin, .ic-img.t-border, .ic-img.t-wake { border-radius: 8px; }
.ic-img.t-ship { width: 72px; }
.bp-slot .ic-img, .bp-item .ic-img { width: 46px; height: 40px; }
.bp-slot .ic-img.t-title, .bp-item .ic-img.t-title { width: 84px; height: 30px; }
.bp-tier { grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.bp-tier-img { grid-row: 1 / 3; width: 64px; height: 40px; object-fit: contain; }
.bp-tier b, .bp-tier span { grid-column: 2; }
