:root {
    --bg-color: rgb(24, 24, 24);
    --text-primary: rgb(129, 250, 76);
    --text-secondary: rgb(121, 169, 120);
    --border-color: rgb(218, 220, 224);
    --accent-blue: rgb(121, 169, 120);
    --accent-hover: rgb(206, 22, 22);
    --btn-bg-hover: rgb(18, 18, 18);
}

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

body {
    font-family: 'SF Mono', 'SFMono-Regular', ui-monospace, Menlo, Monaco, 'Roboto Mono', 'Segoe UI Mono', monospace;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='24'%3E%3Ctext x='2' y='16' font-family='monospace' font-size='14' fill='rgba(129,250,76,0.08)'%3E%23%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15) 0px,
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 3px);
    opacity: 0.3;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

/* Sidebar Styling Refinements */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.circular-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(129, 250, 76, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.circular-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circular-img:hover {
    border-color: var(--text-primary);
    transform: scale(1.02);
}

.profile-quote {
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 240px;
    margin: 20px auto;
}

.sidebar-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(129, 250, 76, 0.05);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(129, 250, 76, 0.2);
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background: rgba(129, 250, 76, 0.15);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 250, 76, 0.1);
}

@media (min-width: 1100px) {
    .container {
        max-width: 1000px;
        padding-left: 340px;
    }

    .profile-card {
        position: absolute;
        left: 20px;
        top: 60px;
        width: 280px;
        text-align: center;
        align-items: center;
        margin-bottom: 0;
    }

    .profile-quote {
        margin: 32px 0;
    }
}

/* Hero Section */
.hero {
    margin-bottom: 48px;
}

.name-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(129, 250, 76, 0.15);
    padding-bottom: 0;
}

.tab-btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: none;
    border: none;
    padding: 8px 4px 12px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
}

h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h3 a,
h2 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

h3 a:visited,
h2 a:visited {
    color: inherit;
}

h3 a:hover,
h2 a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.project-item {
    border: 1px solid rgba(129, 250, 76, 0.1);
    background: rgba(129, 250, 76, 0.02);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-item::before {
    content: '>';
    position: absolute;
    left: 20px;
    top: 30px;
    color: var(--text-primary);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.project-item:hover {
    background: rgba(129, 250, 76, 0.08);
    border-color: rgba(129, 250, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-item:hover::before {
    opacity: 1;
    left: 12px;
}

.project-item h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.project-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    transition: transform 0.3s ease;
}

.project-item:hover h2,
.project-item:hover p {
    transform: translateX(12px);
}

p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Stats List */
.stats-list {
    list-style: none;
    padding-left: 0;
}

.stats-list li {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.stats-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

/* Architecture / Code Block */
.architecture-block {
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    background-color: rgba(129, 250, 76, 0.05);
    border: 1px solid rgba(129, 250, 76, 0.15);
    border-radius: 4px;
    padding: 16px 20px;
    line-height: 1.8;
    overflow-x: auto;
}

/* Project Images */
.content-section img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(129, 250, 76, 0.15);
    margin: 8px 0;
}

/* Links & Buttons */
.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background-color: var(--btn-bg-hover);
    border-color: currentColor;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }

    .name-title {
        font-size: 32px;
    }

    .links-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: flex-start;
    }
}