@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --accent-color: #333333;
    --border-color: #222222;
    --card-bg: rgba(10, 10, 10, 0.6);

    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow: hidden;

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;

}


.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--heading-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease-out, background-color 0.2s ease-out, width 0.2s, height 0.2s;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);

    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

a,
button,
input,
textarea {
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
    cursor: none;
}

ul {
    list-style: none;
}


#dot-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


.grid-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;

    gap: 40px;
    max-width: 1300px;
    width: 90%;
    height: 85vh;

    background: rgba(5, 5, 5, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    z-index: 1;
}


.grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: radial-gradient(225px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(255, 255, 255, 0.08),
            transparent 40%);
    opacity: 0;

    transition: opacity 0.5s;
    z-index: -1;

    pointer-events: none;
}


.grid-container:hover::before {
    opacity: 1;
}

.grid-container.interaction-active::before {
    opacity: 0 !important;
}


.col-left,
.col-right {
    display: flex;
    flex-direction: column;
}


.col-left {
    justify-content: center;
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.profile-header {
    margin-bottom: 30px;
}

.logo {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -2px;
    margin-bottom: 10px;
    display: block;
}

.subtitle {
    font-family: var(--font-mono);
    color: #888;
    font-size: 1.1rem;
}

.bio {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 400px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #aaa;
    transition: 0.2s;
}

.skill-tag:hover {
    border-color: var(--heading-color);
    color: var(--heading-color);
    background: rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.social-links a {
    font-size: 1.5rem;
    color: #666;
}

.social-links a:hover {
    color: var(--heading-color);
    transform: translateY(-3px);
}

.tooltip-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.tooltip-text {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #111;
    border: 1px solid var(--border-color);
    color: #ccc;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tooltip-wrap:hover .tooltip-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.col-right {
    padding-left: 20px;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.col-right::-webkit-scrollbar {
    width: 6px;
}

.col-right::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 9px;
    height: 9px;
    background: var(--border-color);
    border-radius: 50%;
    transition: 0.3s;
}

.timeline-item:hover::before {
    background: var(--heading-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.timeline-item h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.timeline-item h4 {
    font-size: 0.95rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #888;
}

.project-link {
    display: inline-block;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--heading-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.project-link:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}


@media (max-width: 900px) {
    body {
        overflow-y: auto;

        height: auto;
        padding: 50px 0;
        align-items: flex-start;
    }

    .grid-container {
        grid-template-columns: 1fr;
        height: auto;
        gap: 50px;
    }

    .col-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px;
        align-items: center;
        text-align: center;
    }

    .col-right {
        padding-left: 0;
        overflow: visible;
    }

    .skill-list {
        justify-content: center;
    }
}
