/* Модальные окна */
.modal {
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(10px);
}
.modal-backdrop { display: none !important; }

/* Контейнер прозрачный для видимости base.html */
.burrow-bg {
    position: relative;
    padding: 80px 0 200px;
    min-height: 100vh;
    overflow-x: hidden;
    background: transparent; 
    isolation: isolate;
}

/* Заголовок */
.brand-header {
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
}
.brand-header .part-1 { 
    color: #fff; 
    font-weight: 800; 
    font-size: 2.8rem; 
    letter-spacing: 3px; 
}
.brand-header .part-2 { 
    color: var(--accent-orange); 
    font-weight: 900; 
    font-size: 4rem; 
    display: block; 
    margin-top: -10px;
    text-shadow: 0 0 35px rgba(255, 204, 0, 0.6);
}

.brand-header .sub-text {
    display: inline-block;
    margin-top: 25px;
    padding: 8px 30px;
    background: linear-gradient(90deg, rgba(255, 204, 0, 0) 0%, rgba(255, 204, 0, 0.15) 50%, rgba(255, 204, 0, 0) 100%);
    color: #ffcc00;
    font-size: 1.2rem;
    text-transform: none;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 204, 0, 0.3);
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

/* МАГИСТРАЛЬ */
.road-wrapper {
    max-width: 1100px;
    margin: 60px auto 0;
    position: relative;
    display: flex;
    flex-direction: column-reverse; 
    transform-style: preserve-3d;
}

/* СИСТЕМА ЛИНИЙ */
.road-lines-system {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 6px;
    transform: translateX(-50%) translateZ(-1px);
    z-index: 1;
    pointer-events: none;
}

.road-line-gray {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

#goldenPath {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    background: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange);
    height: 0;
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 10px;
    animation: path-glow 3s infinite alternate ease-in-out;
}

@keyframes path-glow {
    from { box-shadow: 0 0 15px var(--accent-orange), 0 0 5px #fff; }
    to { box-shadow: 0 0 35px var(--accent-orange), 0 0 15px #fff; }
}

.road-item {
    display: flex;
    width: 100%;
    margin-top: 130px; 
    position: relative;
    align-items: center;
    padding: 0 60px;
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

.road-item.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.item-l { justify-content: flex-start; }
.item-r { justify-content: flex-end; }

/* ТОЧКИ */
.road-dot {
    position: absolute;
    left: 50%; top: 50%;
    width: 28px; height: 28px;
    background: #0a0a0a; 
    border: 4px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(1px);
    z-index: 100; 
    transition: all 0.4s ease;
}

.dot-reached {
    border-color: #fff;
    background: var(--accent-orange);
    box-shadow: 0 0 25px var(--accent-orange);
    transform: translate(-50%, -50%) translateZ(1px) scale(1.1);
}

/* КАРТОЧКИ */
.version-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 32px;
    width: 440px;
    position: relative;
    transition: 0.4s;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.version-card:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* НОВОЕ: Пульсация для активной версии */
.version-card.is-active {
    border-color: var(--accent-orange);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
    animation: card-active-pulse 3s infinite ease-in-out;
}
@keyframes card-active-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 204, 0, 0.5); }
}

/* НОВОЕ: Статистика под прогресс-баром */
.version-stats {
    background: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.release-date-tag {
    font-size: 0.8rem;
    color: #00d4ff;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.modal-content-custom {
    background: #0a0a0a !important;
    border: 2px solid var(--accent-orange) !important;
    border-radius: 30px !important;
}