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

body {
    font-family: 'JetBrains Mono', monospace;
    background: #8a6a6a ;
    color: #c9d1d9;
    min-height: 100vh;
    padding: 0 ;
    height: 100%;
    width: 100%;
    margin: 0;

}

.container {
    max-width: max-content;
    margin: 0 auto;
    display: flex;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
}

.main-content {
    flex: 1;
    position: relative;
    /* allow page to scroll */
    overflow: visible; 
    background: #000000;
    margin-left: 280px; /* reserve space for fixed vmenu */
    width: calc(100vw - 280px); /* stop exactly at vmenu */
    box-sizing: border-box;
}

/* Ensure the horizontal menu sits inside main-content and doesn't overlap the fixed sidebar */
#hmenu-placeholder .menu-container {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

header {
    text-align: center;
    padding: 40px 0 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #c9d1d9;
    margin-bottom: 10px;
}

h1 .highlight {
    color: #b083ff;
}

.profile-pic-wrapper {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 10;
}

.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid #1b1f27;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    background-image: url('/0/pro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(77, 166, 255, 0.1);
    border: 2px solid #4da6ff;
    border-radius: 10px;
    color: #4da6ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 138, 61, 0.2);
    border-color: #ff8a3d;
    color: #ff8a3d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 138, 61, 0.3);
}
.my-world {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(77, 166, 255, 0.1);
    border: 2px solid #b083ff;
    border-radius: 10px;
    color: #b083ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.my-world:hover {
    background: #b183ff3b;
    border-color: #b083ff;
    color: #b083ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px #b183ff6e;
}


.site-links {
    margin-top: 50px;
    padding-bottom: 60px;
}

.site-links h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #c9d1d9;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: rgba(27, 31, 39, 0.6);
    border: 2px solid #30363d;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: #c9d1d9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-card:hover {
    border-color: #ff8a3d;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 138, 61, 0.2);
}

.link-card .icon {
    font-size: 2em;
    color: #b083ff;
}

.link-card .title {
    font-size: 1.2em;
    font-weight: 600;
    color: #4da6ff;
}

.link-card .description {
    font-size: 0.9em;
    color: #8b949e;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2em;
    }

    .banner {
        height: 200px;
    }

    .profile-pic {
        width: 130px;
        height: 130px;
        font-size: 3em;
    }

    .bio-section {
        margin-top: 80px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    /* On mobile, sidebar is off-canvas; allow content to use full width */
    .main-content {
        margin-left: 0;
        width: 100vw;
    }
}
