* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #0d1117;
    color: #f0f6fc;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0.5vh 0;
    box-sizing: border-box;
    min-width: fit-content;
}

/* Name Section */
.name-section {
    text-align: center;
    padding: 20px;
    margin-bottom: 10px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-picture-section {
    text-align: center;
}

.profile-picture {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 4px solid #ff8c42;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
}

.profile-picture:hover {
    border-color: #ffa657;
    transform: scale(1.05);
}

.name-section-center {
    text-align: center;
}

.background-clearer {
    background-color: #0d1117;
}

.name-section-center h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #f0f6fc, #c9d1d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.8rem;
    color: #ff8c42;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.social-section {
    text-align: center;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 200px;
    margin: 0 auto;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #21262d;
    color: #7d8590;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #30363d;
}

.social-icon:hover {
    background-color: #30363d;
    color: #f0f6fc;
    transform: translateY(-2px);
    border-color: #58a6ff;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

/* Graph Header Section */
.graph-header {
    text-align: center;
    margin-bottom: 20px;
}

.graph-header h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ff8c42, #ffa657);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.graph-header p {
    color: #7d8590;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.filters-container {
    background-color: rgba(33, 38, 45, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin: 0 auto;
    max-width: fit-content;
    border: 1px solid #30363d;
}

.filters-container h3 {
    margin: 0 0 15px 0;
    color: #f0f6fc;
    font-size: 1.2rem;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #21262d;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.filter-item:hover {
    background-color: #30363d;
}

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff8c42;
    cursor: pointer;
}

.filter-item label {
    color: #f0f6fc;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.filter-item.disabled {
    opacity: 0.5;
}

.filter-item.disabled label {
    color: #7d8590;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #39d353, #26a641);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    color: #7d8590;
    font-size: 1.1rem;
}

.graph-container {
    display: flex;
    flex-direction: column;
    background-color: #161b22;
    flex: none;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: auto;
    border-radius: 12px;
    border: 1px solid #30363d;
}

.graph-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    height: 100%;
}

.graph-main {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.month-labels {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    flex-shrink: 0;
    justify-content: flex-start;
}

.month-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    color: #7d8590;
    width: 30px;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 0 4px;
    margin-bottom: 3px;
    box-sizing: border-box;
    line-height: 1;
}

.month-label.highlighted {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.graph-scroll {
    flex: 1;
    overflow: visible;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graph-scroll::-webkit-scrollbar {
    height: 8px;
}

.graph-scroll::-webkit-scrollbar-track {
    background: #21262d;
    border-radius: 4px;
}

.graph-scroll::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

.graph-scroll::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

.year-labels {
    display: flex;
    margin-bottom: 5px;
    padding-left: 2px;
    flex-shrink: 0;
}

.year-label {
    font-size: 10px;
    color: #7d8590;
    text-align: center;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px;
}

.year-label.highlighted {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

.year-label.major {
    font-weight: bold;
    color: #f0f6fc;
}

.year-label.major.highlighted {
    color: #ffd700 !important;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

.contribution-grid {
    display: flex;
    flex-direction: column;
    min-width: fit-content;
    flex: 1;
}

.month-row {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    min-height: fit-content;
}

.contribution-square {
    margin-right: 2px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(27, 31, 36, 0.15);
    flex-shrink: 0;
}

.contribution-square:hover {
    transform: scale(1.1);
    border-color: rgba(240, 246, 252, 0.4);
    z-index: 10;
    position: relative;
}


/* Contribution levels */
.level-0 {
    background-color: #161b22;
}

.level-1 {
    background-color: #0d2818;
}

.level-2 {
    background-color: #0e4429;
}

.level-3 {
    background-color: #155d27;
}

.level-4 {
    background-color: #1c7430;
}

.level-5 {
    background-color: #238636;
}

.level-6 {
    background-color: #2ea043;
}

.level-7 {
    background-color: #39d353;
}

.level-8 {
    background-color: #56d364;
}

.level-9 {
    background-color: #7dd3fc;
}

.legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #7d8590;
    padding: 6px;
    flex-shrink: 0;
    background-color: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
    margin: 2px 0;
    border: 1px solid #30363d;
    backdrop-filter: blur(4px);
}

.legend-colors {
    display: flex;
    gap: 2px;
}

.legend-square {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(27, 31, 36, 0.15);
}

.tooltip {
    position: absolute;
    background-color: #21262d;
    color: #f0f6fc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    border: 1px solid #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tooltip.show {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .graph-container {
        padding: 15px;
    }
    
    .month-labels {
        margin-right: 15px;
    }
    
    .month-label {
        width: 25px;
        font-size: 11px;
    }
}

/* Smooth scrolling animation */
.graph-scroll {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.contribution-square:focus {
    outline: 2px solid #58a6ff;
    outline-offset: 1px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contribution-square {
    animation: fadeIn 0.3s ease forwards;
}

/* Timeline Link */
.timeline-link-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.timeline-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #58a6ff, #4493f8);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-link-btn:hover {
    background: linear-gradient(135deg, #79c0ff, #58a6ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

.timeline-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(88, 166, 255, 0.3);
}

/* Timeline Section */
.timeline-section {
    margin-top: 5px;
    padding: 15px;
    background-color: #0d1117;
    min-height: 50vh;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-section .timeline-header {
    text-align: center;
    margin-bottom: 5px;
    padding: 10px;
}

.timeline-section .timeline-header h1 {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ff8c42, #ffa657);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-section .timeline-header p {
    color: #7d8590;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-filters-section {
    text-align: center;
    margin-bottom: 5px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    padding: 15px;
    background-color: #161b22;
    border-radius: 12px;
    border: 1px solid #30363d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: fit-content;
}

/* Timeline filters now use the same .filter-item style as activity filters */

.timeline {
    position: relative;
    padding-left: 60px;
}

/* Metro Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ffa657, #ff8c42, #e67e22);
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.timeline-item.hidden {
    opacity: 0;
    transform: translateX(-20px);
    height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

/* Timeline Dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #0d1117;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    background-color: #ff8c42;
}

/* Orange dots for all project types */
.timeline-item[data-type="Client Projects"]::before { background-color: #ff8c42; }
.timeline-item[data-type="Side Projects"]::before { background-color: #ff8c42; }
.timeline-item[data-type="Own Projects"]::before { background-color: #ff8c42; }
.timeline-item[data-type="Freelancer"]::before { background-color: #ff8c42; }

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
}

.timeline-content {
    background-color: #161b22;
    margin-top: 20px;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #30363d;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    background-color: #1c2128;
    border-left-color: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Timeline item header (not the main section header) */
.timeline-item .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left;
}

.timeline-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.timeline-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0f6fc;
    margin-bottom: 4px;
    text-align: left;
}

.timeline-company {
    font-size: 1rem;
    color: #58a6ff;
    margin-bottom: 8px;
    text-align: left;
}

.timeline-dates {
    font-size: 0.9rem;
    color: #7d8590;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
}

.timeline-description {
    margin-top: 12px;
    color: #c9d1d9;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.timeline-description-header {
    margin-top: 8px;
    color: #8b949e;
    font-size: 0.9rem;
    line-height: 1.4;
    font-style: italic;
    text-align: left;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.timeline-tag {
    background-color: #21262d;
    color: #58a6ff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
}

.timeline-tag:hover {
    background-color: #30363d;
    border-color: #58a6ff;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #58a6ff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.timeline-link:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.timeline-link::before {
    content: "🔗";
    font-size: 0.8rem;
}

.timeline-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    margin-right: 24px;
    border: 3px solid #30363d;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-content:hover .timeline-icon {
    border-color: #ff8c42;
    transform: scale(1.1);
}

.timeline-screenshots {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-content: start;
}

.timeline-screenshots.single-image {
    grid-template-columns: 1fr 1fr 1fr;
}

.timeline-screenshots.two-images {
    grid-template-columns: 1fr 1fr 1fr;
}

.timeline-screenshots .timeline-screenshot:nth-child(1) {
    grid-column: 1;
}

.timeline-screenshots .timeline-screenshot:nth-child(2) {
    grid-column: 2;
}

.timeline-screenshots .timeline-screenshot:nth-child(3) {
    grid-column: 3;
}

.timeline-screenshot {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #21262d;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f6f8fa, #ffffff);
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timeline-screenshot:hover {
    border-color: #58a6ff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(88, 166, 255, 0.3);
}

.timeline-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-screenshot:hover img {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.timeline-screenshot::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.timeline-screenshot:hover::before {
    opacity: 0;
}

.timeline-screenshot-overlay {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(88, 166, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.timeline-screenshot:hover .timeline-screenshot-overlay {
    opacity: 1;
}

.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
    gap: 12px;
}

.timeline-footer .timeline-tags {
    margin-top: 0;
    flex: 1;
}

.timeline-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #58a6ff, #4493f8, #347df0) !important;
    border: 1px solid #58a6ff;
    box-shadow: 0 1px 4px rgba(88, 166, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: white;
}

.timeline-type:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Type colors with enhanced styling */
.type-client-projects { 
    --chip-color-1: #f85149; 
    --chip-color-2: #da3633; 
    --chip-border: #f85149; 
    background: linear-gradient(135deg, #ff6b6b, #f85149, #da3633) !important;
    color: white; 
}
.type-side-projects { 
    --chip-color-1: #a5a5a5; 
    --chip-color-2: #8b8b8b; 
    --chip-border: #a5a5a5; 
    background: linear-gradient(135deg, #c0c0c0, #a5a5a5, #8b8b8b) !important;
    color: white; 
}
.type-own-projects { 
    --chip-color-1: #d2a8ff; 
    --chip-color-2: #b794f6; 
    --chip-border: #d2a8ff; 
    background: linear-gradient(135deg, #e9d5ff, #d2a8ff, #b794f6) !important;
    color: #0d1117; 
}
.type-freelancer { 
    --chip-color-1: #ffa657; 
    --chip-color-2: #ff8c42; 
    --chip-border: #ffa657; 
    background: linear-gradient(135deg, #ffb84d, #ffa657, #ff8c42) !important;
    color: #0d1117; 
}
.type-gap-year { 
    --chip-color-1: #7c3aed; 
    --chip-color-2: #6d28d9; 
    --chip-border: #7c3aed; 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9) !important;
    color: white; 
}

.ongoing {
    position: relative;
}

.ongoing::after {
    content: '🚀 Ongoing';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ff8c42, #ffa657);
    color: #0d1117;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Modal for full-size screenshots */
.screenshot-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.screenshot-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.screenshot-modal-content {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #0d1117;
    border: 3px solid #30363d;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-width: 60vw;
    max-height: 60vh;
    padding: 20px;
}

.modal-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.modal-carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.modal-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 20;
}

.modal-carousel-nav:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-prev {
    left: 20px;
}

.modal-carousel-next {
    right: 20px;
}

.modal-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.modal-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-carousel-indicator.active {
    background: #58a6ff;
    transform: scale(1.3);
}

.modal-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.screenshot-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #30363d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
}

.screenshot-modal-close:hover {
    background: rgba(248, 81, 73, 0.9);
    border-color: #f85149;
    transform: scale(1.1);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #7d8590;
}

.error {
    text-align: center;
    padding: 40px;
    color: #f85149;
    background-color: rgba(248, 81, 73, 0.1);
    border-radius: 8px;
    margin: 20px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        padding: 0.2vh 0;
    }
    
    .name-section {
        padding: 15px;
        margin-bottom: 8px;
    }
    
    .profile-container {
        gap: 15px;
    }
    
    .profile-picture {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    
    .name-section-center h1 {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .social-icons {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .top-filters {
        padding: 5px;
        margin-bottom: 3px;
    }
    
    .top-filters h2 {
        font-size: 1.5rem;
        margin-top: 15px;
        margin-bottom: 5px;
    }
    
    .top-filters p {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .filters-container {
        padding: 10px;
    }
    
    .graph-container {
        max-height: 45vh;
        padding: 8px;
    }
    
    .timeline-section {
        margin-top: 3px;
        padding: 10px;
        min-height: 40vh;
    }
    
    .timeline-link-container {
        bottom: 15px;
        right: 15px;
    }
    
    .timeline-link-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .timeline-container {
        padding: 0 10px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item::before {
        left: 7px;
        width: 16px;
        height: 16px;
        border-width: 2px;
        background-color: #ff8c42;
    }

    .timeline-item .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }

    .timeline-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-footer .timeline-tags {
        order: 1;
    }

    .timeline-type {
        order: 2;
        align-self: flex-end;
        font-size: 0.7rem;
        padding: 3px 8px;
        border-radius: 10px;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-icon {
        width: 85px;
        height: 85px;
        margin-right: 20px;
        border-radius: 18px;
        border-width: 2px;
    }

    .timeline-info {
        gap: 12px;
    }

    .timeline-tags {
        margin-top: 8px;
    }

    .timeline-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    .timeline-description {
        font-size: 0.9rem;
        margin-top: 8px;
    }

    .timeline-description-header {
        font-size: 0.85rem;
        margin-top: 6px;
        line-height: 1.3;
    }

    .timeline-link {
        font-size: 0.85rem;
    }

    .timeline-screenshots {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .timeline-screenshot {
        aspect-ratio: 16/9;
        padding: 3px;
        border-width: 2px;
    }

    .screenshot-modal-content {
        max-width: 90vw;
        max-height: 75vh;
        border-width: 2px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }

    .modal-carousel-container {
        max-width: 85vw;
        max-height: 65vh;
        padding: 15px;
    }

    .modal-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-carousel-prev {
        left: 15px;
    }

    .modal-carousel-next {
        right: 15px;
    }

    .modal-carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .modal-carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .screenshot-modal-close {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .timeline-header h1 {
        font-size: 1.5rem;
        margin-top: 15px;
    }
    
    .timeline-header p {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .timeline-section .timeline-header {
        padding: 5px;
        margin-bottom: 3px;
    }
}