:root {
    --sage-50: #f8faf9;
    --sage-100: #f1f4f3;
    --sage-200: #e4e9e7;
    --sage-300: #d1d9d5;
    --sage-400: #a8b8b1;
    --sage-500: #879a90;
    --sage-600: #6a7f74;
    --sage-700: #57685f;
    --sage-800: #48544d;
    --sage-900: #3e4742;
    --sage-950: #252c28;
    
    --primary: var(--sage-600);
    --primary-dark: var(--sage-700);
    --secondary: var(--sage-500);
    --accent: var(--sage-400);
    --danger: #dc2626;
    --warning: #d97706;
    --dark: var(--sage-900);
    --darker: var(--sage-950);
    --light: var(--sage-100);
    --lighter: var(--sage-50);
    --gray: var(--sage-600);
    --gray-light: var(--sage-300);
    --border-radius: 40px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(248, 250, 249, 0.8);
    --glass-dark: rgba(37, 44, 40, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--lighter);
    color: var(--darker);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER STYLES - Fixed layout */
header {
    background-color: var(--lighter);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sage-200);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 4px 6px -1px rgba(37, 44, 40, 0.05);
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back button - Left aligned */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--lighter);
    border: 1px solid var(--sage-200);
    border-radius: var(--border-radius);
    color: var(--sage-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    width: fit-content;
    justify-self: start;
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.back-btn:hover {
    background-color: var(--sage-600);
    color: var(--lighter);
    transform: translateY(-2px);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.1),
        0 4px 8px rgba(37, 44, 40, 0.1);
}

/* Logo - Center aligned */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    justify-self: center;
    text-align: center;
    color: var(--sage-700);
}

.logo i {
    color: var(--sage-600);
}

/* Analytics link - Right aligned */
.analytics-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--sage-600);
    border-radius: var(--border-radius);
    color: var(--lighter);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    width: fit-content;
    justify-self: end;
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.1),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.analytics-link:hover {
    background-color: var(--sage-700);
    transform: translateY(-2px);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.1),
        0 4px 8px rgba(37, 44, 40, 0.1);
}

/* Rest of the CSS remains the same */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--sage-400) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--sage-700);
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--sage-600);
    max-width: 600px;
    margin: 0 auto;
}

.website-id {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background-color: var(--lighter);
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--sage-600);
    border: 1px solid var(--sage-200);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.logs-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.year-section {
    background-color: var(--lighter);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(37, 44, 40, 0.05);
    border: 1px solid var(--sage-200);
    transition: var(--transition);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.year-section:hover {
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 4px 12px rgba(37, 44, 40, 0.08);
}

.year-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--sage-200);
}

.year-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--sage-700);
}

.year-header .year-badge {
    background-color: var(--sage-600);
    color: var(--lighter);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.1),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.update-log {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--sage-200);
    position: relative;
}

.update-log:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.update-date {
    min-width: 150px;
    font-weight: 500;
    color: var(--sage-600);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.update-date .month {
    font-size: 1rem;
}

.update-date .day-year {
    font-size: 0.9rem;
    color: var(--sage-500);
}

.update-content {
    flex: 1;
    padding-left: 20px;
    position: relative;
}

.update-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--sage-600);
}

.update-content::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 17px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: var(--sage-200);
}

.update-log:last-child .update-content::after {
    display: none;
}

.version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--sage-100);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    border: 1px solid var(--sage-200);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.version.major {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.2);
}

.version.minor {
    background-color: rgba(106, 127, 116, 0.15);
    color: var(--sage-700);
    border-color: rgba(106, 127, 116, 0.3);
}

.version.patch {
    background-color: rgba(135, 154, 144, 0.15);
    color: var(--sage-600);
    border-color: rgba(135, 154, 144, 0.3);
}

.update-description {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--sage-800);
}

.update-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--sage-100);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--sage-600);
    border: 1px solid var(--sage-200);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.tag.license {
    background-color: rgba(106, 127, 116, 0.15);
    color: var(--sage-700);
}

.tag.design {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.tag.content {
    background-color: rgba(135, 154, 144, 0.15);
    color: var(--sage-600);
}

.tag.technical {
    background-color: rgba(87, 104, 95, 0.15);
    color: var(--sage-700);
}

.tag.animation {
    background-color: rgba(168, 184, 177, 0.2);
    color: var(--sage-600);
}

.tag.system {
    background-color: rgba(62, 71, 66, 0.1);
    color: var(--sage-800);
}

.footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--sage-200);
    color: var(--sage-600);
    background-color: var(--lighter);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.explanation {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: left;
    padding: 20px;
    background-color: var(--lighter);
    border-radius: var(--border-radius);
    border: 1px solid var(--sage-200);
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    box-shadow: 
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.8),
        inset -1px -1.5px 0 rgba(37, 44, 40, 0.03),
        0 1px 1.5px rgba(37, 44, 40, 0.04),
        0 2px 4px rgba(37, 44, 40, 0.03);
}

.copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sage-600);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }

    .back-btn {
        grid-column: 1;
        grid-row: 1;
    }

    .logo {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }

    .analytics-link {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .update-log {
        flex-direction: column;
    }

    .update-date {
        margin-bottom: 10px;
    }

    .update-content {
        padding-left: 0;
    }

    .update-content::before,
    .update-content::after {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }

    .back-btn,
    .analytics-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--sage-500);
    outline-offset: 2px;
}