.archive-section {
    padding: 6rem 0 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--tertiary-dark) 100%);
    min-height: calc(100vh - 60px);
    position: relative;
    overflow: hidden;
}

.archive-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    filter: blur(80px);
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
}

:root.light-mode .archive-section::before {
    background: radial-gradient(circle, rgba(30, 143, 214, 0.08) 0%, transparent 70%);
}

.archive-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    filter: blur(80px);
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
}

:root.light-mode .archive-section::after {
    background: radial-gradient(circle, rgba(227, 28, 121, 0.08) 0%, transparent 70%);
}

.archive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.archive-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.archive-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    border-radius: 2px;
}

.archive-section h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-red) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -2px;
    animation: gradientShift 6s ease infinite;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
    line-height: 1;
}

.archive-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.archive-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.archive-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-red) 100%);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.archive-year {
    margin-bottom: 3rem;
}

.year-label {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    padding-left: 0.2rem;
    letter-spacing: -0.5px;
}

.year-label::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 35%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--primary-dark), 0 0 30px rgba(0, 217, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.archive-items {
    display: grid;
    gap: 1.8rem;
}

.archive-item {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(17, 22, 41, 0.6) 100%);
    padding: 2.2rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 217, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 1.8rem;
    align-items: start;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

:root.light-mode .archive-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 248, 0.9) 100%);
    border: 1px solid rgba(30, 143, 214, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.archive-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(131, 56, 236, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.archive-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.archive-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 16px 40px rgba(0, 217, 255, 0.25);
    transform: translateX(12px);
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(17, 22, 41, 0.9) 100%);
}

:root.light-mode .archive-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 16px 40px rgba(30, 143, 214, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 244, 248, 1) 100%);
}

.archive-item:hover::before {
    opacity: 1;
}

.archive-item:hover::after {
    opacity: 1;
}

.archive-icon {
    font-size: 2.2rem;
    color: var(--accent-blue);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 255, 0.12);
    border-radius: 14px;
    border: 2px solid rgba(0, 217, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.15);
}

:root.light-mode .archive-icon {
    background: rgba(30, 143, 214, 0.12);
    border: 2px solid rgba(30, 143, 214, 0.3);
    box-shadow: 0 4px 15px rgba(30, 143, 214, 0.1);
}

.archive-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.archive-item:hover .archive-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    transform: scale(1.15) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
}

.archive-item:hover .archive-icon::before {
    opacity: 1;
}

.archive-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.archive-date {
    font-size: 0.82rem;
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(131, 56, 236, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(131, 56, 236, 0.2);
}

.archive-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.7rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.archive-item:hover .archive-title {
    color: var(--accent-blue);
}

.archive-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.3) 0%, rgba(17, 22, 41, 0.3) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.empty-state i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    margin-bottom: 1.5rem;
    animation: pulse 3s ease-in-out infinite;
}

.empty-state h3 {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .archive-section {
        padding: 3rem 0 2.5rem 0;
    }

    .archive-header {
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .archive-section h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .archive-subtitle {
        font-size: 1rem;
    }

    .archive-timeline {
        padding-left: 1.8rem;
    }

    .archive-timeline::before {
        width: 3px;
    }

    .year-label {
        font-size: 1.6rem;
        padding-left: 1.2rem;
    }

    .year-label::before {
        left: -1.8rem;
        width: 14px;
        height: 14px;
    }

    .archive-item {
        padding: 1.8rem;
        flex-direction: column;
        gap: 1.2rem;
        border-radius: 15px;
    }

    .archive-item:hover {
        transform: translateY(-6px);
    }

    .archive-icon {
        font-size: 1.8rem;
        min-width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .archive-title {
        font-size: 1.2rem;
    }

    .archive-description {
        font-size: 0.95rem;
    }

    .empty-state {
        padding: 4rem 1.5rem;
    }
}
