:root {
    --timeline-line-color: rgba(205, 65, 43, 0.3);
    --timeline-dot-color: var(--rust-orange);
}

.changelog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://i.ibb.co/qN0MpR8/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 40px;
}

.changelog-hero h1 {
    color: var(--rust-light);
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.changelog-hero p {
    color: var(--rust-light);
    font-size: 1.2rem;
    font-family: 'Roboto Condensed', sans-serif;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.changelog-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.changelog-timeline {
    position: relative;
    padding: 40px 0;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--timeline-line-color);
    top: 0;
}

.changelog-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.changelog-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rust-orange);
    color: var(--rust-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Roboto Mono', monospace;
    z-index: 1;
}

.changelog-content {
    background: linear-gradient(145deg, var(--rust-gray), var(--rust-dark));
    border: 1px solid rgba(205, 65, 43, 0.2);
    border-radius: 12px;
    padding: 30px;
    width: 45%;
    margin-top: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.changelog-content:hover {
    transform: translateY(-5px);
    border-color: var(--rust-orange);
    box-shadow: 0 5px 15px rgba(205, 65, 43, 0.2);
}

.changelog-item:nth-child(odd) .changelog-content {
    margin-right: 55%;
}

.changelog-item:nth-child(even) .changelog-content {
    margin-left: 55%;
}

.changelog-content h2 {
    color: var(--rust-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.changelog-content p {
    color: var(--rust-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.changelog-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-details li {
    color: var(--rust-light);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.changelog-details li::before {
    content: '•';
    color: var(--rust-orange);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.changelog-image {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.changelog-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.changelog-image:hover img {
    transform: scale(1.05);
}

.changelog-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: var(--rust-light);
    font-size: 2rem;
}

.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.image-popup img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--rust-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--rust-orange);
}

@media (max-width: 768px) {
    .changelog-timeline::before {
        left: 30px;
    }

    .changelog-item {
        justify-content: flex-start;
    }

    .changelog-date {
        left: 30px;
        transform: none;
    }

    .changelog-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .changelog-hero h1 {
        font-size: 3rem;
    }

    .changelog-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
}