/* CSS Variables for easy theming */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --secondary-text: #666666;
    --accent-color: #000000;
    --line-color: #dddddd;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --secondary-text: #cccccc;
    --accent-color: #ffffff;
    --line-color: #444444;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 40px 20px;
    transition: var(--transition);
}

/* Main container with rounded corners */
.changelog-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

/* Dark mode toggle - fancy floating button */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--accent-color);
}

.theme-toggle:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: scale(1.1);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 300;
}

/* Timeline container */
.timeline {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 4px;
    background-color: var(--line-color);
    border-radius: 2px;
}

/* Each timeline item - uses flexbox for left/right */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

/* Date on the left */
.date {
    min-width: 140px;
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 500;
    text-align: right;
    margin-right: 20px;
    opacity: 0.8;
}

/* Content on the right */
.content {
    flex: 1;
    position: relative;
}

.content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

.content h2:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Black dot on the line */
.dot {
    position: absolute;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 3px var(--line-color);
    z-index: 1;
}

/* Footer button - fancy CTA */
.footer {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background-color: #333;
}

/* Responsive - stacks on mobile */
@media (max-width: 600px) {
    .changelog-container {
        padding: 20px;
        margin: 10px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .date {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .dot {
        left: -35px;
        top: 0;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
}