/* ================================================================
   WHIZWISER - CHANGELOG STYLES
================================================================= */

/* ========== HERO SECTION ========== */
.changelog-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at top center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.changelog-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.changelog-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== TIMELINE CONTAINER ========== */
.timeline-section {
    padding: 60px 0 120px;
    position: relative;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px; /* Space for the spine */
}

/* The vertical spine */
.timeline-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px; /* Center of the dot */
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 5%, rgba(255, 255, 255, 0.1) 95%, transparent 100%);
}

/* ========== CHANGELOG ENTRY ========== */
.changelog-entry {
    position: relative;
    margin-bottom: 80px;
}

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

/* The dot on the timeline */
.changelog-dot {
    position: absolute;
    left: -32px; /* Pull it back to the spine */
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* Content layout */
.entry-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.entry-date {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.entry-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.entry-body {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.entry-body p {
    margin-bottom: 16px;
}

.entry-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.entry-body li {
    margin-bottom: 8px;
}

/* Image/Media */
.entry-media {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.entry-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== TAG BADGES ========== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tag-new {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.tag-improved {
    background: rgba(50, 150, 255, 0.15);
    color: #5ab2ff;
    border: 1px solid rgba(50, 150, 255, 0.3);
}

.tag-fixed {
    background: rgba(255, 150, 0, 0.15);
    color: #ffaa00;
    border: 1px solid rgba(255, 150, 0, 0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .changelog-title {
        font-size: 2.5rem;
    }
    
    .timeline-container {
        padding-left: 24px;
    }
    
    .timeline-spine {
        left: 7px;
    }
    
    .changelog-dot {
        left: -24px;
        width: 12px;
        height: 12px;
    }
    
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
