/* =====================================
   UPDATES.CSS — Expandable Change Log UI
   ===================================== */

/* Update entry card */
.pv-update-card {
    width: 1100px;
    padding: 12px 18px;
    border: 1px solid rgba(0,255,138,0.2);
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 14px;
    transition: background 0.25s, border-color 0.25s;
}

/* Hover highlight */
.pv-update-card:hover {
    border-color: #00ff8a;
}

/* Summary row: title + arrow */
.pv-update-summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

/* Title */
.pv-title {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

/* Arrow rotation when expanded */
.pv-arrow {
    transition: transform 0.25s ease;
}
.pv-update-card.active .pv-arrow {
    transform: rotate(90deg);
}

/* Details section — hidden by default */
.pv-update-details {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,255,138,0.12);
}

/* Reveal on active */
.pv-update-card.active .pv-update-details {
    display: block;
    animation: expand 0.3s ease;
}

@keyframes expand {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bullet-less features list */
.pv-update-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual change items */
.pv-update-details li {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

/* Stagger slight motion on reveal */
.pv-update-card.active .pv-update-details li {
    animation: fadeInUp 0.25s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
