/* updates.css — Release timeline styling */
.updates-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px 40px;
}

.updates-header {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
}

.updates-title-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.updates-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.05);
}

.updates-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.updates-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Timeline Layout */
.updates-timeline-wrap {
    position: relative;
    padding: 10px 0;
}

.updates-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 95px; /* aligned to the dot */
    width: 2px;
    background: linear-gradient(to bottom, rgba(212, 168, 67, 0.25) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.updates-timeline-item {
    display: flex;
    margin-bottom: 35px;
    position: relative;
}

.updates-timeline-date-col {
    width: 80px;
    text-align: right;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.updates-date-day {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.updates-date-month {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.updates-date-year {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.updates-date-time {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}

.updates-timeline-badge-col {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    z-index: 2;
}

.updates-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid var(--bg-main);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.updates-badge-dot.feature {
    background: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.2);
}

.updates-badge-dot.fix {
    background: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.updates-badge-dot.improvement {
    background: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.updates-timeline-card-col {
    flex: 1;
    padding-left: 10px;
}

.updates-card {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.updates-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateX(2px);
}

.updates-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.updates-card-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.update-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.update-badge.feature {
    background: rgba(212, 168, 67, 0.12);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 168, 67, 0.25);
}

.update-badge.fix {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.update-badge.improvement {
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.updates-card-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.updates-p {
    margin-bottom: 8px;
}

.updates-li {
    margin-left: 16px;
    list-style-type: disc;
    margin-bottom: 4px;
}

.updates-empty, .updates-error {
    text-align: center;
    padding: 50px 30px;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.1);
}

.updates-empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.updates-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.updates-empty-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .updates-timeline-line {
        left: 20px;
    }
    .updates-timeline-item {
        flex-direction: column;
    }
    .updates-timeline-date-col {
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-left: 40px;
        margin-bottom: 8px;
    }
    .updates-timeline-badge-col {
        position: absolute;
        left: 15px;
        top: 6px;
        width: auto;
        padding-top: 0;
    }
    .updates-timeline-card-col {
        padding-left: 40px;
    }
}
