body{
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    color: #ffffff;
    background-color: #3422ce;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 60px;
}

.box {
    text-align: left;
    max-width: 600px;
}

.box h1 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

.username {
    display: inline;
    transition: text-decoration 0.3s ease;
    cursor: pointer;
}

.username:hover {
    text-decoration: underline;
}

.box p {
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 28px;
    padding: 0 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.location i {
    font-size: 12px;
}

.socials-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 28px;
    padding: 0 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-left: 10px;
}

.socials-label i {
    font-size: 12px;
}

.hobbies-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 28px;
    padding: 0 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-left: 10px;
}

.social-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: 20px;
    align-items: center;
}

.social-icon {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-top: -2px;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon img {
    vertical-align: middle;
    display: block;
    margin: auto;
    filter: brightness(0) invert(1);
}

.popup {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    z-index: 1000;
    transition: top 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup.show {
    top: 20px;
}

/* Projects Section Styles */
.projects-section {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0;
}

.projects-header {
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
}

.projects-container {
    /* Container for project items */
}

.project-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.project-item:last-child {
    border-bottom: none;
}



.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.project-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.project-icon i {
    font-size: 16px;
    opacity: 0.9;
}

.project-title {
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    letter-spacing: 0.01em;
}

.project-description {
    font-weight: 300;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.85rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    opacity: 1;
}

.project-link i {
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive design for projects */
@media (max-width: 768px) {
    .container {
        padding: 40px 8px 20px 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .box {
        max-width: 95%;
        padding: 0 5px;
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .projects-section {
        margin-top: 25px;
        margin-bottom: 30px;
        padding: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .projects-header {
        font-size: 1.1rem;
    }
    
    .project-item {
        padding: 4px 0;
    }
    
    .project-header {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .project-icon {
        width: 24px;
        height: 24px;
    }
    
    .project-icon i {
        font-size: 13px;
    }
    
    .project-title {
        font-size: 0.85rem;
    }
    
    .project-description {
        font-size: 1.1rem;
        margin-bottom: 6px;
        margin-left: 21px; /* 16px activity icon + 5px gap to match activity content */
    }
    
    .project-links {
        gap: 4px;
        margin-left: 21px; /* Match project description indentation */
    }
    
    .project-link {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    /* Recent Activity mobile optimizations */
    .recent-activity {
        margin-top: 25px;
        margin-bottom: 30px;
        padding: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .activity-header {
        font-size: 1.1rem;
    }
    
    .activity-item {
        padding: 5px 0;
        gap: 5px;
    }
    
    .activity-description {
        font-size: 1.1rem;
    }
    
    .activity-time {
        font-size: 0.9rem;
    }
    
    .activity-platform {
        width: 16px;
        height: 16px;
    }
    
    .activity-platform i {
        font-size: 9px;
    }
    
    /* Social icons mobile optimization - two rows */
    .social-icons {
        margin-left: 20px;
        gap: 6px;
        max-width: calc(100% - 70px); /* Leave space for location */
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 30px);
        width: 216px; /* 6 icons * 30px + 5 gaps * 6px */
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    /* Location mobile optimization */
    .location {
        height: 22px;
        padding: 0 4px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .location i {
        font-size: 9px;
    }
    
    /* Header section mobile optimization */
    .header-section {
        margin-bottom: 12px;
    }
    
    .box h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .box p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Project title mobile optimization to match activity header */
    .project-title {
        font-size: 1rem;
    }
    
    /* Ensure no horizontal overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 30px 5px 15px 5px;
    }
    
    .box {
        max-width: 92%;
        padding: 0 3px;
        width: 92%;
    }
    
    .projects-section {
        padding: 6px;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    
    .recent-activity {
        padding: 6px;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    
    .project-item {
        padding: 4px 0;
    }
    
    .activity-item {
        padding: 4px 0;
    }
    
    .social-icons {
        margin-left: 16px;
        gap: 5px;
        max-width: calc(100% - 65px);
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 28px);
        width: 198px; /* 6 icons * 28px + 5 gaps * 5px */
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .location {
        height: 20px;
        padding: 0 3px;
        font-size: 0.7rem;
    }
    
    .box h1 {
        font-size: 1.1rem;
    }
    
    .box p {
        font-size: 0.85rem;
    }
    
    .projects-header {
        font-size: 1rem;
    }
    
    .activity-header {
        font-size: 1rem;
    }
    
    .project-title {
        font-size: 0.95rem;
    }
    
    .project-icon {
        width: 24px;
        height: 24px;
    }
    
    .project-icon i {
        font-size: 12px;
    }
    
    .project-description {
        font-size: 1rem;
        margin-left: 19px; /* 14px activity icon + 5px gap to match activity content */
    }
    
    .project-link {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .project-links {
        margin-left: 19px; /* Match project description indentation */
    }
    
    .activity-description {
        font-size: 1rem;
    }
    
    .activity-time {
        font-size: 0.8rem;
    }
    
    .activity-platform {
        width: 14px;
        height: 14px;
    }
    
    .activity-platform i {
        font-size: 8px;
    }
}

/* Recent Activity Styles */
.recent-activity {
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0;
}

.activity-header {
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
}

#refresh-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

#refresh-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

#refresh-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#refresh-button i {
    transition: transform 0.3s ease;
}

.activity-buttons {
    display: flex;
    align-items: center;
}

#debug-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

#debug-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

#debug-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.activity-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.8;
}

.activity-loading i {
    font-size: 14px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    opacity: 0.8;
}

.activity-icon {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

.activity-icon img {
    opacity: 0.8;
    vertical-align: middle;
}

.activity-content {
    flex: 1;
}

.activity-description {
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 4px;
    line-height: 1.4;
}

.activity-repo {
    font-weight: 300;
    font-size: 0.85rem;
    opacity: 0.7;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.activity-repo:hover {
    opacity: 1;
}

.activity-time {
    font-weight: 300;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 2px;
}

.activity-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-left: 8px;
}

.activity-platform i {
    font-size: 12px;
    opacity: 0.8;
}

.activity-platform a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.activity-platform a:hover {
    opacity: 1;
}

.activity-platform img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.activity-platform a:hover img {
    opacity: 1;
}

.activity-error {
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.8;
    text-align: center;
    padding: 20px 0;
}

.activity-empty {
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.8;
    text-align: center;
    padding: 20px 0;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.load-more-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-weight: 300;
    font-size: 0.9rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.load-more-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.load-more-button:active {
    transform: translateY(0);
}

.load-more-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.load-more-button:hover i {
    transform: translateY(1px);
}