/* ==================== CHANGELOG PAGE STYLES ==================== */

.changelog-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg,
        rgba(251, 207, 232, 0.2) 0%,
        rgba(233, 213, 255, 0.2) 100%);
    border-radius: 24px;
    margin: 20px auto;
    max-width: 1200px;
}

.changelog-title {
    font-size: 3em;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.changelog-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Container */
.timeline-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Timeline Navigation */
.timeline-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(236, 72, 153, 0.5) 0%,
        rgba(168, 85, 247, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.timeline-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg,
        rgba(236, 72, 153, 0.7) 0%,
        rgba(168, 85, 247, 0.7) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.3);
}

.timeline-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.timeline-progress {
    flex: 1;
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 100px;
    overflow: hidden;
}

.timeline-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #a855f7, #ec4899);
    border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* Timeline Slider */
.timeline-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    position: relative;
    min-height: 700px;
}

.timeline-item {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.timeline-item.prev {
    opacity: 0;
    transform: translateX(-50px);
    position: absolute;
}

/* Timeline Card */
.timeline-card {
    background: linear-gradient(to bottom right,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #a855f7, #ec4899);
}

.timeline-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(251, 207, 232, 0.8) 0%,
        rgba(233, 213, 255, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.timeline-version {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-date {
    font-size: 0.9375rem;
    color: var(--slate-500);
    font-weight: 600;
    padding: 6px 16px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.timeline-update-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Timeline Screenshot */
.timeline-screenshot {
    margin: 20px 0 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.timeline-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.timeline-screenshot:hover .timeline-image {
    transform: scale(1.02);
}

.screenshot-caption {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}

/* Technical Section */
.timeline-tech-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.3);
}

.tech-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-item {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
    padding-left: 8px;
}

/* Timeline Features */
.timeline-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.1);
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-700);
}

/* Future Item Styles */
.timeline-item-future .timeline-card {
    background: linear-gradient(to bottom right,
        rgba(251, 207, 232, 0.4) 0%,
        rgba(233, 213, 255, 0.4) 100%);
    border: 2px dashed rgba(168, 85, 247, 0.3);
}

.timeline-item-future .timeline-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    }
}

.feature-item-future {
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    opacity: 0.8;
}

/* Timeline Dots */
.timeline-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    background: rgba(168, 85, 247, 0.5);
    transform: scale(1.2);
}

.timeline-dot.active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

/* Footer */
.changelog-footer {
    text-align: center;
    padding: 60px 20px 40px;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg,
        rgba(236, 72, 153, 0.6) 0%,
        rgba(168, 85, 247, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.back-to-home-btn:hover {
    background: linear-gradient(135deg,
        rgba(236, 72, 153, 0.8) 0%,
        rgba(168, 85, 247, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .changelog-title {
        font-size: 2.25rem;
    }

    .changelog-subtitle {
        font-size: 1.0625rem;
    }

    .timeline-card {
        padding: 28px 20px;
    }

    .timeline-features {
        grid-template-columns: 1fr;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .timeline-update-title {
        font-size: 1.25rem;
    }

    .timeline-description {
        font-size: 1rem;
    }
}
