/* Changelogs Page Styles */

.changelogs-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Header */
.changelogs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4);
}

.changelogs-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
}

.changelogs-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Timeline */
.changelogs-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.changelogs-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
            var(--accent-primary),
            var(--accent-secondary),
            rgba(255, 107, 157, 0.3));
    border-radius: 3px;
}

/* Changelog Entry */
.changelog-entry {
    position: relative;
    padding-left: 3rem;
}

.changelog-entry::before {
    content: '';
    position: absolute;
    left: -8.5px;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px var(--accent-primary);
}

.changelog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.changelog-date i {
    color: var(--accent-primary);
}

/* Changelog Card */
.changelog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.changelog-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 157, 0.3);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.15);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.version-badge {
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.version-type {
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-type.latest {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.version-type.release {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.4);
}

.changelog-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
}

/* Changelog Sections */
.changelog-section {
    margin-bottom: 2rem;
}

.changelog-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    font-size: 1rem;
    color: var(--accent-primary);
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.changelog-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .changelogs-header {
        margin-bottom: 3rem;
    }

    .changelogs-title {
        font-size: 2.25rem;
    }

    .header-icon {
        width: 75px;
        height: 75px;
        font-size: 2.5rem;
    }

    .changelog-card {
        padding: 2rem 1.5rem;
    }

    .changelog-heading {
        font-size: 1.5rem;
    }

    .changelog-entry {
        padding-left: 2rem;
    }

    .changelogs-timeline::before {
        width: 2px;
    }

    .changelog-entry::before {
        left: -5px;
        width: 12px;
        height: 12px;
    }
}