.battlepass-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 34px 0 22px 0;
    background: linear-gradient(90deg, #181818 70%, #fa960044 100%), url('img/bp/bg.png') center/cover no-repeat;
    border-radius: 32px;
    box-shadow: 0 8px 42px #0007;
    padding: 32px 18px 30px 32px;
    overflow-x: auto;
    border: 2.5px solid #fa9600;
    position: relative;
    min-height: 180px;
}
.battlepass-bar h3 {
    color: #fa9600;
    font-size: 1.48em;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1.1px;
    text-shadow: 0 2px 18px #000a;
}
.battlepass-bar > div {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    align-items: flex-end;
    margin-right: 12px;
}

.bp-item {
    background: linear-gradient(135deg, #232323 50%, #282828 100%);
    border-radius: 18px;
    box-shadow: 0 4px 28px #0005, 0 0 0 3px #fa960099 inset;
    min-width: 164px;
    max-width: 190px;
    text-align: center;
    margin: 0 1.5px;
    padding: 22px 12px 17px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.16s, box-shadow 0.16s;
    position: relative;
    border: 2px solid #353535;
}
.bp-item:hover {
    transform: translateY(-7px) scale(1.045);
    box-shadow: 0 8px 40px #fa960055, 0 0 0 3.5px #fa9600cc inset;
    z-index: 2;
}
.bp-img {
    width: 75px; height: 75px; object-fit: cover;
    border-radius: 13px;
    margin-bottom: 14px;
    border: 2.5px solid #fa9600;
    box-shadow: 0 0 14px #fa960088, 0 1px 1px #0007;
    background: #fff1;
    position: relative;
}
.bp-item.locked .bp-img {
    filter: grayscale(1) brightness(0.78);
    opacity: 0.82;
    border-color: #777;
}
.bp-item.locked::after {
    content: '';
    display: block;
    background: url('img/bp/lock.png') center/38px 38px no-repeat, rgba(50,40,20,0.32);
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    border-radius: 18px;
    pointer-events: none;
}
.bp-title {
    color: #fa9600;
    font-size: 1.11em;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 7px #0005;
}
.bp-desc {
    color: #ffe1b2;
    margin-bottom: 11px;
    font-size: 0.97em;
    min-height: 38px;
}
.bp-lock-btn, .bp-buy-btn {
    background: linear-gradient(90deg, #fa9600 68%, #ffc65a 100%);
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 9px;
    padding: 8px 22px;
    margin-bottom: 7px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.12s, color 0.13s;
    box-shadow: 0 2px 16px #fa960044;
}
.bp-lock-btn[disabled], .bp-buy-btn[disabled] {
    background: #666;
    color: #eee;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}
.bp-bought {
    background: #1f7d32;
    color: #fff;
    font-weight: bold;
    border-radius: 7px;
    padding: 7px 0;
    margin-top: 7px;
    width: 100%;
    box-shadow: 0 2px 10px #157d3266;
}
.bp-cooldown {
    margin-top: 7px;
    color: #fa9600;
    font-size: 0.97em;
    font-weight: 600;
    text-shadow: 0 1px 7px #0004;
}

@media (max-width: 900px) {
    .battlepass-bar { padding: 16px 4vw; }
    .bp-item { min-width: 138px; max-width: 160px; padding: 13px 4px; }
    .bp-img { width: 52px; height: 52px; }
}

.bp-item:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: -11px; top: 48%; width: 22px; height: 7px;
    background: linear-gradient(90deg, #fa9600 60%, #fff0 100%);
    border-radius: 6px;
    z-index: 1;
    box-shadow: 0 1px 7px #fa960044;
}

.bp-progress-container {
  margin-bottom: 18px;
  margin-top: 2px;
  padding: 10px 18px 3px 2px;
  border-radius: 15px;
  background: linear-gradient(90deg, #232323 80%, #fa960022 100%);
  box-shadow: 0 2px 16px #fa960022;
  max-width: 420px;
  position: relative;
}
.bp-progress-label {
  color: #fa9600;
  font-size: 1.03em;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.bp-progress-text {
  color: #ffe1b2;
  margin-left: 8px;
  font-size: .97em;
  font-weight: 500;
}
.bp-progress-bar-bg {
  width: 100%;
  height: 19px;
  background: #171717;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #fa9600;
  box-shadow: 0 1px 10px #fa960022;
  position: relative;
}
.bp-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fa9600 60%, #ffc65a 100%);
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 10px #fa960055, 0 0 8px #fa960088 inset;
  width: 0;
  transition: width .9s cubic-bezier(.85,.1,.15,1.02);
}

.bp-item.locked .bp-img {
    filter: grayscale(1) brightness(0.7);
    opacity: 0.7;
    border-color: #888;
    transition: filter 0.3s, opacity 0.3s, border-color 0.3s;
    animation: bp-shake 1.3s cubic-bezier(.36,.07,.19,.97) infinite both;
}
.bp-item.locked::after {
    content: '';
    display: block;
    background: url('img/bp/lock.png') center/38px 38px no-repeat, rgba(30,20,10,0.22);
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    border-radius: 18px;
    pointer-events: none;
    opacity: 0.85;
    animation: bp-pulse 1.7s infinite;
}
@keyframes bp-shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}
@keyframes bp-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.60; }
}

.bp-bought {
    background: linear-gradient(92deg,#1f7d32 80%,#5adf48 100%);
    color: #fff;
    font-weight: bold;
    border-radius: 7px;
    padding: 7px 0;
    margin-top: 7px;
    width: 100%;
    box-shadow: 0 2px 10px #157d3266;
    font-size: 1.07em;
    position: relative;
    overflow: hidden;
    animation: bp-bounceIn 0.6s cubic-bezier(.42,0,1,1.22);
}
@keyframes bp-bounceIn {
    0%   { transform: scale(0.3); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    80%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
.bp-bought::after {
    content: '';
    display: block;
    position: absolute;
    left: -60%; top: 0; width: 180%; height: 100%;
    background: linear-gradient(110deg, transparent 75%, #fff8 100%);
    pointer-events: none;
    animation: bp-glow 1.4s infinite linear;
}
@keyframes bp-glow {
    0% { left: -80%; }
    100% { left: 120%; }
}

.bp-paths { display: flex; flex-direction: column; gap: 18px; }
.bp-path { display: flex; flex-direction: column; }
.bp-path-label {
  font-weight: bold; margin-bottom: 7px;
  color: #fa9600; font-size: 1.04em;
  text-shadow: 0 1px 7px #0005;
}
.bp-path-free .bp-items-row { display:flex; gap:13px; }
.bp-path-premium .bp-items-row { display:flex; gap:13px; }
.bp-path-premium .bp-item { border:2px solid #c3a100; box-shadow:0 0 22px #ffecb388; }
.bp-premium-btn {
  background:linear-gradient(90deg,#c3a100 70%,#fdf3a7 100%);
  color:#222; font-weight:700; border:none;
  border-radius:11px; padding:10px 26px; font-size:1.08em;
  margin:0 auto 15px auto; display:inline-block;
  box-shadow:0 2px 18px #c3a10033;
  cursor:pointer; transition:background .14s;
}
.bp-premium-btn:hover { background:linear-gradient(90deg,#fff3a7 30%,#c3a100 100%); color:#222; }

.bp-premium-timer-box {
    background: linear-gradient(92deg, #fa9600 60%, #ffd36c 100%);
    color: #222;
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 1.13em;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 2px 8px #fa960033;
}
.bp-premium-timer-box i {
    color: #b88c00;
    margin-right: 5px;
}
.bp-premium-timer-box.bp-expired {
    background: #111;
    color: #888;
}