.bp-overlay {
    position: fixed; inset: 0;
    background-color: rgba(0, 0, 0, 0.739); backdrop-filter: blur(60%);
    z-index: 5000; opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.bp-window {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 1390px; max-width: 97%; height: 91vh;
    border-radius: 16px;
    background-color: #161616e1; /* Базовый темный фон */
    z-index: 5001; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden;
    overflow: hidden;
   transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
.bp-overlay.is-active, .bp-window.is-active {
    opacity: 1; visibility: visible; transition-delay: 0s;
}
.bp-window.is-active { transform: translate(-50%, -50%) scale(1); }

/* --- 2. Шапка --- */
.bp-header {
    position: absolute; top: 0; left: 0; right: 0;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 30px; z-index: 10;
}
.bp-header h2 { margin: 0; font-size: 24px; color: #fff; text-shadow: 0 1px 4px #000; }
.bp-close-btn { font-size: 30px; color: #a0a0a0; cursor: pointer; transition: all 0.2s ease; }
.bp-close-btn:hover { color: #fff; transform: rotate(90deg); }

/* --- 3. Страницы и их контент --- */
.bp-pages-container {
    position: absolute; inset: 0;
}
.bp-page {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    pointer-events: none;
}
.bp-page.is-active {
    opacity: 1; visibility: visible;
}
.bp-page__background {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
 
}


.bp-page__content {
    position: absolute;
    top: 64%; left: 7%;
    width: 40%;
    color: #ededed;
    z-index: 100;
 
}
.bp-page__content h3 { 
    font-size: 24px; margin: 0; }
.bp-page__content p { 
    font-size: 14px; margin: 10px 0 0; color: #ccc; max-width: 600px; }

    .hero-banner {
  top:62%; left: 6%; 
  max-width: 540px;
 height: 340px;
}


.bp-price {
     position: absolute;
    top: 0%; left: 67%;
    top: 3%;
    font-size: 16px;
    color: #a0a0a0;
     min-width: 600px;
  font-weight: 500;
}

.bp-nav-bar {
    position: absolute;
    top: 63%; left: 51%; right: 0;

    display: flex;
    align-items: center;
  
    z-index: 10;

}

.bp-persistent-ui {
    position: absolute;
    top: 74%; left: 51%;
    width: 300px;
    z-index: 5;
  
    color: #fff;
}
.bp-buy-button {
    border: none;
    border-radius: 8px;
    background-color: transparent; /* Яркий желтый, как в примере */
    color: #b7b7b7;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.bp-buy-button:hover { transform: scale(1.05); }
.bp-price-info {

    font-size: 12px;
    color: #a0a0a0;
     min-width: 600px;
     padding-left: 5px;
}


.bp-status-loader {
    width: 100%;
    margin-top: 4px;
}
.bp-status-loader .track { height: 8px; background: rgba(0,0,0,0.3); border-radius: 8px; }
.bp-status-loader .progress { height: 100%; background: #fff; border-radius: 8px; }

/* --- 5. --- */

.bp-nav-items-track {
    display: flex;
    align-items: center;
    gap: 4px;
}
.bp-nav-item {
    position: relative;
    width: 60px; height: 50px;
    background-color: rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
 
    display: flex; align-items: center; justify-content: center;
}
.bp-nav-item:hover {
    border-color: #fff;
}
.bp-nav-item.is-active {

    border-color: #25252582;
    box-shadow: 0 0 20px #5d5d5d;
}
.bp-nav-item__icon {
      position: absolute;
       border-radius: 8px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.4s ease-in-out, transform 0.4s ease;
  
}

.bp-nav-item.is-active .bp-nav-item__line {
    background: #636262;
}



/* --- 1. Стили для маленького баннера в настройках --- */
.bp-settings-banner {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
    background: #2a2a2a;
      max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bp-settings-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.bp-settings-banner__text {
    padding: 0;
    text-shadow: none;
    color: #fff;
}
.bp-settings-banner__text h3 { font-size: 16px; margin: 0; }
.bp-settings-banner__status {
    margin-left: auto;
}
.bp-settings-banner__status .activate-text {
    display: inline-block;
    background-color: #4a4a4a;
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: uppercase;
}
.bp-settings-banner__status .loader-track {
    width: 80px; height: 5px; background: rgba(255,255,255,0.1); border-radius: 5px;
}
.bp-settings-banner__status .loader-progress {
    height: 100%; background: #fff; border-radius: 5px;
}
.bp-settings-banner__status .days-left-text {
    font-size: 10px; text-align: right; margin-top: 4px; color: #a0a0a0;
}

/* *** ДОБАВЬТЕ ЭТОТ БЛОК В ВАШ CSS ДЛЯ BATTLE PASS POPUP *** */

.bp-page__image-item {
    position: absolute;
    /* Плавное появление для красоты */
    opacity: 0;
    transform: translateY(20px);
    animation: bp-fade-in 0.5s ease-out forwards;
    animation-delay: 0.2s; /* Небольшая задержка после смены фона */
}

@keyframes bp-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Glass-banner с текстом по центру */
.hero-banner {
    position: absolute;
    z-index: 2;
    backdrop-filter: blur(1px);
   /* background: var(--glass);  /* rgba(15, 23, 42, .45) — из твоей переменной */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2em;
    width: 700px;
    height: 150px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

 
}

.bp-page__background {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #797979 0%, #484848 100%);
  overflow: hidden;
}

.bp-page__background::before,
.bp-page__background::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.bp-page__background::before {
  top: -150px;
  left: -150px;
  border-width: 300px 300px 0 0;
  border-color: #707374 transparent transparent transparent;
  transform: rotate(45deg);
}

.bp-page__background::after {
  bottom: -150px;
  right: -150px;
  border-width: 0 0 300px 300px;
  border-color: transparent transparent #202324 transparent;
  transform: rotate(45deg);
}