:root {
    --bg-color: #050508;
    --surface-color: #11111a;
    --surface-hover: #161625;
    --accent-primary: #7c4dff;
    --accent-secondary: #00e5ff;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --timeline-line: rgba(124, 77, 255, 0.2);
    --timeline-glow: rgba(0, 229, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(124, 77, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.1) 0%, transparent 40%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    line-height: 1.6;
}

.changelog-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.changelog-header {
    margin-bottom: 60px;
    text-align: center;
}

.changelog-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.changelog-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.changelog-timeline {
    list-style: none;
    position: relative;
    padding-left: 40px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-primary), 
        var(--accent-secondary), 
        transparent);
    opacity: 0.3;
}

.changelog-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(var(--delay) * 0.15s);
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.changelog-item::after {
    content: '';
    position: absolute;
    left: -45px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.changelog-item:hover::after {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-secondary), 0 0 30px var(--accent-secondary);
}

.changelog-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-secondary);
    margin-bottom: 8px;
}

.changelog-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.changelog-item:hover .changelog-content {
    background: var(--surface-hover);
    border-color: rgba(124, 77, 255, 0.3);
    transform: translateX(10px);
}

.changelog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.changelog-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.visit-changelog-button {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.visit-button {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(124, 77, 255, 0.2);
}

.visit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.3);
}

.visit-button svg {
    transition: transform 0.3s ease;
}

.visit-button:hover svg {
    transform: translateY(2px);
}

/* For newly added logs via JS */
.added-log {
    animation: reveal 0.5s ease forwards;
}

@media (max-width: 640px) {
    body {
        padding: 40px 16px;
    }
    
    .changelog-timeline {
        padding-left: 30px;
    }
    
    .changelog-item::after {
        left: -35px;
    }
}