.timeline-chart-container {
    width: min(100%, 1040px);
    margin: 0 auto 54px;
    padding: 34px 36px 42px;
    position: relative;
    top: 0;
    z-index: 1;
}

.resume-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at 18% 10%, rgba(255, 182, 193, 0.28), transparent 34%),
        radial-gradient(circle at 86% 20%, rgba(135, 206, 235, 0.18), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(119, 84, 84, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.resume-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-70%);
    animation: resumeShine 12s ease-in-out infinite;
    pointer-events: none;
}

.resume-section .section-kicker {
    text-align: center;
    margin-bottom: 8px;
}

.chart-title {
    text-align: center;
    color: rgba(58, 50, 50, 0.94);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 1px 18px rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
}

.resume-intro {
    max-width: 62ch;
    margin: 12px auto 34px;
    text-align: center;
    color: rgba(76, 65, 65, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.timeline-chart {
    position: relative;
    display: grid;
    gap: 26px;
    min-height: auto;
    padding: 8px 0;
    top: 0;
    z-index: 1;
}

.chart-line {
    position: absolute;
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(120, 96, 96, 0.35) 10%, rgba(255, 255, 255, 0.78) 50%, rgba(120, 96, 96, 0.32) 90%, transparent);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-point {
    position: relative;
    left: auto;
    width: min(44%, 410px);
    height: auto;
    min-height: 0;
    background: none;
    border-radius: 0;
    transform: none;
    cursor: default;
    transition: transform 0.25s ease;
    box-shadow: none;
    z-index: 1;
    opacity: 0;
    transform: translateY(18px);
}

.timeline-point.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-point::before {
    content: attr(data-year);
    position: absolute;
    top: 22px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 230, 236, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(141, 94, 94, 0.16);
    color: rgba(88, 67, 67, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.02em;
}

.timeline-point.side-right {
    justify-self: end;
    margin-right: 16px;
}

.timeline-point.side-left {
    justify-self: start;
    margin-left: 16px;
}

.timeline-point.side-right::before {
    left: -72px;
}

.timeline-point.side-left::before {
    right: -72px;
}

.point-content {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    transform: none;
    opacity: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    pointer-events: auto;
    z-index: 2;
    box-shadow: 0 14px 32px rgba(102, 76, 76, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.timeline-point:hover {
    transform: translateY(-4px);
}

.timeline-point:hover .point-content {
    background: rgba(255, 255, 255, 0.26);
    box-shadow: 0 18px 42px rgba(102, 76, 76, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.year {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    color: rgba(111, 77, 77, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event {
    font-size: 1.12rem;
    color: rgba(52, 45, 45, 0.92);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 9px;
}

.description {
    font-size: 0.94rem;
    color: rgba(76, 68, 68, 0.82);
    line-height: 1.62;
}

@keyframes resumeShine {
    0%, 60%, 100% { transform: translateX(-70%); opacity: 0; }
    72% { opacity: 1; }
    88% { transform: translateX(70%); opacity: 0; }
}

@media (max-width: 900px) {
    .timeline-chart-container {
        width: 100%;
        padding: 26px 20px 28px;
    }

    .resume-intro {
        margin-bottom: 24px;
    }

    .timeline-chart {
        gap: 18px;
        padding-left: 22px;
    }

    .chart-line {
        left: 8px;
        transform: none;
    }

    .timeline-point,
    .timeline-point.side-right,
    .timeline-point.side-left {
        width: 100%;
        justify-self: stretch;
        margin: 0;
    }

    .timeline-point::before,
    .timeline-point.side-right::before,
    .timeline-point.side-left::before {
        left: -39px;
        right: auto;
        top: 22px;
        width: 34px;
        height: 34px;
        font-size: 0;
    }

    .timeline-point::after {
        content: '';
        position: absolute;
        left: -27px;
        top: 34px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(112, 84, 84, 0.7);
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.35);
    }

    .point-content {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .timeline-chart-container {
        padding: 22px 16px 24px;
        border-radius: 16px;
    }

    .resume-intro {
        font-size: 0.92rem;
    }

    .timeline-chart {
        padding-left: 18px;
    }

    .timeline-point::before,
    .timeline-point.side-right::before,
    .timeline-point.side-left::before {
        left: -34px;
        width: 28px;
        height: 28px;
    }

    .timeline-point::after {
        left: -25px;
        top: 32px;
    }

    .point-content {
        padding: 16px;
        border-radius: 14px;
    }

    .event {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }
}
