/* Changelog Page Specific Styles */

.changelog-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
}

.changelog-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.changelog-hero .subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.changelog-hero .hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Changelog Content */
.changelog-content {
    padding: 4rem 0;
}

/* Version Timeline */
.version-timeline {
    position: relative;
    margin-bottom: 4rem;
}

.version-entry {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.version-entry:last-child .version-line {
    display: none;
}

.version-marker {
    position: relative;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.version-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.version-entry.current .version-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
        transform: scale(1.1);
    }
}

.version-line {
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, var(--border-color), transparent);
    margin-top: 10px;
}

.version-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.version-content:hover::before {
    transform: scaleX(1);
}

.version-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.version-entry.current .version-content {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 212, 255, 0.05));
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.version-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.version-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.version-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-tag.current {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.version-tag:not(.current) {
    background: rgba(0, 255, 136, 0.2);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.version-description {
    margin-bottom: 1.5rem;
}

.version-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.changes-section {
    margin-bottom: 1.5rem;
}

.changes-section:last-child {
    margin-bottom: 0;
}

.changes-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changes-list {
    list-style: none;
    padding: 0;
}

.changes-list li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.changes-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Development Stats */
.dev-stats {
    background: rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Roadmap */
.roadmap {
    margin-bottom: 4rem;
}

.roadmap-timeline {
    position: relative;
    margin-top: 2rem;
}

.roadmap-item {
    display: flex;
    margin-bottom: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.roadmap-item.completed,
.roadmap-item.in-progress {
    opacity: 1;
}

.roadmap-item:last-child .roadmap-line {
    display: none;
}

.roadmap-marker {
    position: relative;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.roadmap-dot.completed {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.roadmap-dot.in-progress {
    background: var(--primary-color);
    border-color: var(--primary-color);
    animation: pulse 2s infinite;
}

.roadmap-dot.planned {
    background: var(--text-muted);
    border-color: var(--text-muted);
}

.roadmap-line {
    width: 2px;
    height: 60px;
    background: var(--border-color);
    margin-top: 10px;
}

.roadmap-content {
    flex: 1;
    padding: 0.5rem 0;
}

.roadmap-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.roadmap-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    display: inline-block;
}

.roadmap-status.completed {
    background: rgba(0, 255, 136, 0.2);
    color: var(--secondary-color);
}

.roadmap-status.in-progress {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
}

.roadmap-status.planned {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Recent Commits */
.recent-commits {
    background: rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
}

.commits-list {
    margin-top: 2rem;
}

.commit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.commit-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.commit-item:last-child {
    margin-bottom: 0;
}

.commit-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    height: fit-content;
    min-width: 80px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.commit-content {
    flex: 1;
}

.commit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.commit-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.commit-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.commit-author {
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .changelog-hero .hero-title {
        font-size: 2rem;
    }
    
    .changelog-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .version-entry {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .version-marker {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 1rem;
        align-items: center;
    }
    
    .version-line {
        width: 100px;
        height: 3px;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .version-content {
        padding: 1.5rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .roadmap-item {
        flex-direction: column;
        margin-bottom: 1.5rem;
    }
    
    .roadmap-marker {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 1rem;
        align-items: center;
    }
    
    .roadmap-line {
        width: 80px;
        height: 2px;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .commit-item {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .commit-hash {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .changelog-hero {
        padding: 100px 0 60px;
    }
    
    .changelog-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .changelog-content {
        padding: 2rem 0;
    }
    
    .version-content {
        padding: 1rem;
    }
    
    .version-title {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .dev-stats,
    .recent-commits {
        padding: 2rem 1rem;
    }
}