.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-top: 2rem;
}

.about-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-title span {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.bio-banner {
    position: relative;
    width: 100%;
    height: 260px;
    margin-bottom: 2rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bio-banner:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.bio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.bio-banner:hover .bio-img {
    filter: grayscale(0%) contrast(115%);
    transform: scale(1.03);
}

.bio-telemetry {
    position: absolute;
    bottom: 10px;
    left: 14px;
    font-size: 0.7rem;
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent-glow);
    opacity: 0.85;
}

@media (max-width: 900px) {
    .bio-banner {
        height: 200px;
    }
}

.bio-content p {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem 0;
}

.hobby-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.hobby-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.15);
    transform: translateY(-4px);
}

.hobby-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 4px var(--accent-glow));
}

.hobby-card h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.hobby-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 0;
}

.sub-title {
    font-family: var(--font-code);
    color: var(--accent);
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem 0;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 0;
}

.block-title {
    font-family: var(--font-code);
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.scanner-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scanner-frame {
    position: relative;
    width: 100%;
    height: 70px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    overflow: hidden;
}

.scanner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 0, 60, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 60, 0.08) 1px, transparent 1px);
    background-size: 12px 12px;
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow), 0 0 16px var(--accent-glow);
    animation: scan-move 2.5s ease-in-out infinite;
}

@keyframes scan-move {

    0%,
    100% {
        top: 4px;
        opacity: 0.9;
    }

    50% {
        top: calc(100% - 6px);
        opacity: 0.5;
    }
}

.scan-status {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--accent-glow);
}

.scan-dots::after {
    content: '';
    animation: scan-dots 1.4s steps(4, end) infinite;
}

@keyframes scan-dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

.scan-results {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.scan-results li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.scan-tag {
    font-size: 0.65rem;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 0.15rem 0.4rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cv-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
}

.cv-btn svg {
    width: 16px;
    height: 16px;
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: var(--text-main);
}

.timeline-item .institution {
    font-family: var(--font-code);
    color: var(--accent);
    font-size: 0.9rem;
    margin: 0.25rem 0 0.75rem 0;
}

.timeline-item .details {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skills-list li {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.skills-list li::before {
    content: "> ";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.timeline-section {
    margin-top: 3rem;
    grid-column: 1 / -1;
}

.timeline {
    position: relative;
    border-left: 2px solid var(--border);
    padding-left: 2rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--border), var(--accent), var(--border));
    box-shadow: 0 0 8px var(--accent-glow);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: calc(-2rem - 6px);
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background-color: var(--bg-main);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.timeline-date {
    font-family: var(--font-code);
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--text-main);
}

.timeline-content .institution {
    font-family: var(--font-code);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-media {
    width: 100%;
    height: 160px;
    margin-top: 1.25rem;
    border: 1px solid var(--border);
    background-color: #030712;
    overflow: hidden;
}

.timeline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(115%) brightness(95%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-img {
    filter: grayscale(0%) contrast(115%) brightness(100%);
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .timeline-media {
        height: 140px;
    }
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.1);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.active-milestone .timeline-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

.active-milestone .timeline-content {
    border-color: rgba(255, 0, 60, 0.4);
}

.active-milestone .timeline-date {
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent-glow);
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px var(--accent-glow);
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: #10b981;
    font-weight: bold;
}

.toast-text {
    color: var(--text-main);
}

@media (max-width: 600px) {
    .toast {
        width: calc(100% - 2.5rem);
        left: 1.25rem;
        transform: translateY(20px);
        text-align: center;
    }

    .toast.visible {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 60, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 0, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 60, 0);
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
        margin-left: 0.5rem;
    }

    .timeline-dot {
        left: calc(-1.5rem - 6px);
    }
}