/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Simple Minimal Color Palette */
    --primary-color: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-primary: 0 0 20px rgba(59, 130, 246, 0.2);
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --shadow-secondary: 0 0 20px rgba(139, 92, 246, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: auto;
}

/* ===== CUSTOM CURSOR ===== */
/* .cursor, .cursor-follower { display: none !important; } */

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 2px;
    animation: loading 3s ease-in-out;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    bottom: 10%;
    left: 50%;
    animation-delay: -10s;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: var(--shadow-primary);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1 1 0;
    margin-right: 2rem;
}

.hero-visual {
    flex: 1 1 0;
    margin-left: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.title-greeting {
    display: block;
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.title-name {
    display: block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-role {
    display: block;
    color: var(--accent-color);
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-avatar {
    position: relative;
}

.avatar-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.avatar-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 30%, var(--primary-color) 70%);
    opacity: 0.2;
    animation: rotate 10s linear infinite;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    animation: scroll 2s infinite;
}

/* ===== SECTIONS ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.title-prefix {
    color: var(--text-secondary);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.title-main {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    margin: 4px auto 15px 4px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 24px 0 rgba(0,255,255,0.10), 0 1.5px 8px 0 rgba(255,110,196,0.10);
    background: rgba(40, 44, 52, 0.75);
    margin: 0 auto 1.5rem auto !important;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SKILLS SECTION ===== */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skills-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-item {
    text-align: center;
}

.skill-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.skill-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.skill-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.skill-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    /* animation removed — GSAP handles this per-percentage */
}

.skill-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.skill-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.skill-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-label {
    min-width: 120px;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    animation: fillBar 2s ease-out forwards;
}

.skill-value {
    min-width: 50px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    perspective: 1000px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back {
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-actions {
    margin-top: auto;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-primary);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-details h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll {
    0% { height: 0; }
    50% { height: 40px; }
    100% { height: 0; }
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progress {
    to { stroke-dashoffset: 0; }
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: var(--width); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex !important;
        z-index: 2001;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 2000;
    }
    .nav-menu.active {
        left: 0;
    }
    body.menu-open {
        overflow: hidden !important;
    }
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    .about-text, .about-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }
    .about-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }
    .about-card {
        width: 100%;
        min-width: 220px;
        max-width: 400px;
        margin: 0 auto 1.5rem auto !important;
        box-sizing: border-box;
        box-shadow: 0 4px 24px 0 rgba(0,255,255,0.10), 0 1.5px 8px 0 rgba(255,110,196,0.10);
        background: rgba(40, 44, 52, 0.75);
    }
    .avatar-container {
        width: 220px;
        height: 220px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-text {
        margin-bottom: 2rem;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    .stat-item {
        padding: 1.5rem 1rem;
        margin: 0 auto;
        width: 100%;
        max-width: 150px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .skills-category,
    .project-card,
    .contact-form {
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .hero-text {
        margin-right: 0;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-visual {
        margin-left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-title {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    .title-greeting {
        text-align: center;
        margin: 0 auto 0.6rem auto;
    }
    .title-name {
        font-size: 2rem;
        text-align: center;
        margin: 0 auto 0.6rem auto;
    }
    .title-role {
        font-size: 1.2rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto 3rem auto;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.7rem;
        align-items: center;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .section-container {
        padding: 2.5rem 1rem;
    }
    .about-content {
        gap: 2rem;
        padding: 1.2rem 0.7rem;
    }
    .about-text, .about-visual {
        max-width: 100%;
        padding: 0 0.5rem;
        text-align: center;
    }
    .about-visual {
        gap: 1.5rem;
    }
    .about-card {
        margin: 0 auto 1.2rem auto !important;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-top: 2rem;
        width: 100%;
    }
    .stat-item {
        padding: 1rem 0.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 120px;
        text-align: center;
    }
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    .skills-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .about-card,
    .skills-category,
    .project-card,
    .contact-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
    }
    .skills-category {
        padding: 1.5rem 1rem;
    }
    .project-card {
        height: 350px;
    }
    .card-front,
    .card-back {
        padding: 1.5rem 1rem;
    }
    .contact-form {
        padding: 1.5rem 1rem;
    }
    .contact-info {
        gap: 1rem;
    }
    .contact-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 1.2rem 0.5rem;
    }
    .hero-title {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }
    .title-greeting {
        text-align: center;
        margin: 0 auto 0.4rem auto;
        font-size: 1rem;
    }
    .title-name {
        font-size: 1.3rem;
        text-align: center;
        margin: 0 auto 0.4rem auto;
    }
    .title-role {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero-description {
        font-size: 0.9rem;
        text-align: center;
        margin: 0 auto 2rem auto;
    }
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    .avatar-container {
        width: 100px;
        height: 100px;
    }
    .about-content {
        gap: 1rem;
        padding: 0.5rem 0.2rem;
    }
    .about-card {
        padding: 1rem 0.5rem;
        margin: 0 auto 1rem auto !important;
        width: 100%;
        max-width: 100%;
    }
    .about-text, .about-visual {
        padding: 0 0.2rem;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    .stat-item {
        padding: 0.8rem 0.3rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100px;
    }
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    .stat-label {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    .skills-category,
    .project-card,
    .contact-form {
        padding: 1rem 0.5rem;
        margin: 0 auto 0.8rem auto;
    }
    .card-front,
    .card-back {
        padding: 1rem 0.5rem;
    }
    .project-card {
        height: 300px;
    }
    .contact-item {
        padding: 0.8rem;
        gap: 0.5rem;
    }
    .contact-icon {
        font-size: 1.2rem;
        min-width: 30px;
    }
    .contact-details h4 {
        font-size: 1rem;
    }
    .contact-details p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .section-container {
        padding: 0.5rem 0.2rem;
    }
    .hero-title {
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }
    .title-greeting {
        text-align: center;
        margin: 0 auto 0.3rem auto;
        font-size: 0.9rem;
    }
    .title-name {
        font-size: 1.1rem;
        text-align: center;
        margin: 0 auto 0.3rem auto;
    }
    .title-role {
        font-size: 0.9rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero-description {
        font-size: 0.8rem;
        text-align: center;
        margin: 0 auto 1.5rem auto;
    }
    .btn {
        font-size: 0.8rem;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    .stat-item {
        padding: 0.6rem 0.2rem;
        max-width: 80px;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.5rem;
    }
    .about-card,
    .skills-category,
    .project-card,
    .contact-form {
        padding: 0.8rem 0.3rem;
        margin: 0 auto 0.6rem auto;
    }
    .card-front,
    .card-back {
        padding: 0.8rem 0.3rem;
    }
    .project-card {
        height: 280px;
    }
    .contact-item {
        padding: 0.6rem;
    }
    .contact-icon {
        font-size: 1rem;
        min-width: 25px;
    }
    .contact-details h4 {
        font-size: 0.9rem;
    }
    .contact-details p {
        font-size: 0.8rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PREMIUM ENHANCEMENTS ===== */

/* Custom Cursor */
.cursor {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    left: 0;
    top: 0;
    mix-blend-mode: difference;
    transition: width 0.25s ease, height 0.25s ease;
    will-change: transform;
}

.cursor-follower {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(59, 130, 246, 0.7);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    left: 0;
    top: 0;
    transition: border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    will-change: transform;
}

.cursor-label {
    pointer-events: none;
}

body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* Ensure all interactive elements show pointer cursor when custom cursor is NOT used */
a, button, .btn, .activity-btn, .ft-file, .ide-tab, .skill-tab, .pcv2-btn,
.sidebar-action-btn, .ft-folder-label, [data-magnetic], [role="button"] {
    cursor: pointer;
}

/* Spinning Gradient Avatar Ring */
.hero-avatar {
    position: relative;
    width: 318px;
    height: 318px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #06b6d4, #f59e0b, #3b82f6);
    animation: spinGradient 5s linear infinite;
    z-index: 0;
}

.hero-avatar::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--dark-bg);
    z-index: 1;
}

.avatar-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    animation: none;
    z-index: 2;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
}

.avatar-glow {
    display: none;
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(2, 6, 23, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(59, 130, 246, 0.15);
    padding: 0;
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    color: var(--accent-color);
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
    font-family: monospace;
}

/* Gradient Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), 0 0 60px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Project Card Hover Enhancement */
.project-card:hover .card-front,
.project-card:hover .card-back {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* About Card Gradient Hover */
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Contact Item Gradient Hover */
.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-primary), var(--shadow-secondary);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Social Links Gradient Hover */
.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-4px) scale(1.1);
}

/* Tech Tag Hover */
.tech-tag {
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--text-primary);
}

/* Skill circles glow */
.skill-circle:hover .skill-progress {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
}

/* Loading bar glow */
.loading-bar {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Section header gradient line center */
.section-header .title-line {
    margin: 4px auto 15px auto;
}

/* Nav active link gradient */
.nav-link.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
}

/* Responsive avatar ring adjustments */
@media (max-width: 1024px) {
    .hero-avatar {
        width: 238px;
        height: 238px;
    }
    .avatar-container {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-avatar {
        width: 112px;
        height: 112px;
    }
    .avatar-container {
        width: 100px;
        height: 100px;
    }
}

/* New Keyframes */
@keyframes spinGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== SKILLS TABS ===== */
.skills-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.skill-tab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.skill-tab:hover {
    color: var(--primary-color);
    border-color: rgba(59, 130, 246, 0.4);
}

.skill-tab.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.6);
    color: #fff;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.skill-tab i {
    font-size: 1rem;
}

.skills-panel {
    display: none;
}

.skills-panel.active {
    display: block;
}

/* ===== TECH SKILL CARDS ===== */
.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.75rem;
}

.tech-skill-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 2rem 1.25rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    cursor: default;
    transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.tech-skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 22px;
}

.tech-skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(59, 130, 246, 0.15);
}

.tech-skill-card:hover::before {
    opacity: 1;
}

/* Color glow blob */
.tsk-glow-bg {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.06;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(30px);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.tech-skill-card:hover .tsk-glow-bg {
    opacity: 0.15;
}

.tsk-ring-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
}

.tsk-center-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    text-align: center;
}

.tsk-pct {
    font-family: 'Orbitron', monospace;
    font-size: 1.35rem;
    font-weight: 900;
    display: block;
}

.tsk-footer {
    position: relative;
    z-index: 1;
}

.tsk-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tsk-level {
    display: inline-block;
    padding: 0.22rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tsk-level.expert   { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.tsk-level.advanced { background: rgba(59,130,246,0.15); color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }
.tsk-level.intermediate { background: rgba(139,92,246,0.15); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); }
.tsk-level.beginner { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }

/* ===== SOFT SKILLS ===== */
.soft-skills-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.soft-skill-item {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.soft-skill-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateX(8px);
}

.ssi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.ssi-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.ssi-pct {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
}

.ssi-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
}

.ssi-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ===== PROJECT CARDS V2 ===== */
.projects-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}

.project-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card-v2:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 40px rgba(59,130,246,0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Card header gradient band */
.pcv2-header {
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 23px 23px 0 0;
}

/* Animated shine overlay */
.pcv2-header-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: headerShine 3.5s ease infinite;
}

@keyframes headerShine {
    0%   { background-position: -100% 0; }
    60%, 100% { background-position: 250% 0; }
}

.pcv2-icon {
    position: relative;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.92);
    z-index: 2;
    filter: drop-shadow(0 0 24px rgba(255,255,255,0.25));
    transition: transform 0.4s ease;
}

.project-card-v2:hover .pcv2-icon {
    transform: scale(1.12);
}

.pcv2-number {
    position: absolute;
    top: 0.9rem;
    right: 1.2rem;
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    z-index: 1;
    user-select: none;
}

/* Card body */
.pcv2-body {
    flex: 1;
    padding: 1.75rem 1.75rem 1.25rem;
}

.pcv2-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.pcv2-desc {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.pcv2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pcv2-tag {
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    color: var(--primary-color);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.pcv2-tag:hover {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.5);
}

/* Card footer — always visible action buttons */
.pcv2-footer {
    padding: 1rem 1.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pcv2-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pcv2-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.pcv2-btn-live {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.pcv2-btn-live:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59,130,246,0.5);
}

.pcv2-btn-code {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.pcv2-btn-code:hover {
    border-color: rgba(59,130,246,0.5);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid-v2 {
        grid-template-columns: 1fr;
    }
    .tech-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .soft-skill-item {
        padding: 1.25rem 1.25rem;
    }
    .skills-tabs {
        gap: 0.75rem;
    }
    .skill-tab {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tech-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }
    .tsk-ring-wrap {
        width: 100px;
        height: 100px;
    }
    .tsk-pct {
        font-size: 1.1rem;
    }
    .pcv2-header {
        height: 140px;
    }
    .pcv2-icon {
        font-size: 2.8rem;
    }
}
/* ============================================
   CREATIVE REDESIGN - IDE EXPERIENCE
   ============================================ */

/* Updated font variables */
:root {
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-display: 'Space Grotesk', 'Rajdhani', sans-serif;
    /* IDE colors */
    --ide-bg: #0d1117;
    --ide-sidebar-bg: #161b22;
    --ide-tab-bg: #1c2128;
    --ide-tab-active: #0d1117;
    --ide-border: #30363d;
    --ide-activity-bg: #010409;
    --ide-statusbar-bg: #1f6feb;
    --ide-text-muted: #8b949e;
    --ide-green: #3fb950;
    --ide-orange: #f0883e;
    --ide-red: #ff7b72;
    --ide-purple: #d2a8ff;
    /* Neobrutalism */
    --neo-orange: #ff6b35;
    --neo-yellow: #ffd60a;
    --neo-black: #09090b;
}

/* ===== TERMINAL LOADING SCREEN ===== */
.loading-screen {
    background: #0d1117 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.terminal-window {
    width: min(700px, 95vw);
    background: #161b22;
    border-radius: 12px;
    border: 1px solid #30363d;
    box-shadow: 0 0 0 1px #30363d, 0 32px 80px rgba(0,0,0,0.8), 0 0 60px rgba(59,130,246,0.08);
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-titlebar {
    background: #1c2128;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #30363d;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }

.terminal-title {
    color: #8b949e;
    font-size: 0.78rem;
    margin: 0 auto;
}

.terminal-body {
    padding: 1.25rem 1.5rem;
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
}

.terminal-output {
    color: #e6edf3;
    font-size: 0.82rem;
    line-height: 1.9;
}

.terminal-output .t-line {
    display: block;
    white-space: pre;
}

.terminal-output .t-comment  { color: #8b949e; }
.terminal-output .t-success  { color: #3fb950; }
.terminal-output .t-warn     { color: #f0883e; }
.terminal-output .t-info     { color: #58a6ff; }
.terminal-output .t-error    { color: #ff7b72; }
.terminal-output .t-ascii    { color: #58a6ff; font-size: 0.65rem; line-height: 1.2; letter-spacing: 0; }
.terminal-output .t-highlight{ color: #d2a8ff; font-weight: 700; }

.terminal-prompt {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

.prompt-user   { color: #3fb950; }
.prompt-at     { color: #8b949e; }
.prompt-host   { color: #58a6ff; }
.prompt-colon  { color: #8b949e; }
.prompt-path   { color: #d2a8ff; }
.prompt-dollar { color: #8b949e; margin: 0 0.4rem; }
.prompt-cursor {
    color: #e6edf3;
    animation: termBlink 1s step-end infinite;
}

@keyframes termBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ===== IDE SHELL LAYOUT ===== */
.ide-shell {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: rgba(13, 17, 23, 0.92);
    position: relative;
    z-index: 1;
}

/* Activity Bar */
.ide-activity-bar {
    width: 48px;
    background: rgba(1, 4, 9, 0.85);
    border-right: 1px solid var(--ide-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    gap: 0.25rem;
    z-index: 100;
    flex-shrink: 0;
}

.activity-logo {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    color: #fff;
}

.al-text   { color: #58a6ff; }
.al-accent { color: #d2a8ff; }

.activity-nav {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.activity-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-left: 2px solid transparent;
    color: var(--ide-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    position: relative;
    border-radius: 0 4px 4px 0;
    text-decoration: none;
}

.activity-btn:hover {
    color: #e6edf3;
    background: rgba(255,255,255,0.05);
}

.activity-btn.active {
    color: #e6edf3;
    border-left-color: #58a6ff;
}

.activity-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding-bottom: 0.5rem;
}

/* File Explorer Sidebar */
.ide-sidebar {
    width: 230px;
    background: rgba(22, 27, 34, 0.88);
    border-right: 1px solid var(--ide-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.25s ease;
}

.ide-sidebar.collapsed {
    width: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--ide-border);
}

.sidebar-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ide-text-muted);
    letter-spacing: 0.1em;
}

.sidebar-action-btn {
    background: none;
    border: none;
    color: var(--ide-text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}

.sidebar-action-btn:hover {
    color: #e6edf3;
    background: rgba(255,255,255,0.08);
}

.file-tree {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.ft-folder-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    color: #e6edf3;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.ft-folder-label:hover {
    background: rgba(255,255,255,0.05);
}

.ft-children {
    padding-left: 0.75rem;
}

.ft-file {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    color: var(--ide-text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-radius: 4px;
    margin: 1px 4px;
    position: relative;
}

.ft-file:hover {
    background: rgba(255,255,255,0.06);
    color: #e6edf3;
}

.ft-file.active {
    background: rgba(88, 166, 255, 0.12);
    color: #e6edf3;
}

.ft-icon {
    font-size: 0.75rem;
    width: 14px;
    flex-shrink: 0;
}

.ft-badge {
    margin-left: auto;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ft-md   { background: rgba(88,166,255,0.15); color: #58a6ff; }
.ft-json { background: rgba(240,136,62,0.15); color: #f0883e; }
.ft-js   { background: rgba(255,214,10,0.15);  color: #ffd60a; }
.ft-sql  { background: rgba(63,185,80,0.15);   color: #3fb950; }
.ft-ts   { background: rgba(88,166,255,0.2);   color: #79c0ff; }

.sidebar-footer {
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--ide-border);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ide-text-muted);
}

.sf-online {
    color: var(--ide-green);
    font-size: 0.5rem;
    margin-right: 3px;
}

/* IDE Main */
.ide-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* Tab Bar */
.ide-tabbar {
    display: flex;
    background: var(--ide-tab-bg);
    border-bottom: 1px solid var(--ide-border);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    flex-shrink: 0;
}

.ide-tabbar::-webkit-scrollbar { display: none; }

.ide-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem;
    height: 36px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ide-text-muted);
    border-right: 1px solid var(--ide-border);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    position: relative;
    flex-shrink: 0;
}

.ide-tab:hover {
    background: rgba(255,255,255,0.04);
    color: #e6edf3;
}

.ide-tab.active {
    background: var(--ide-tab-active);
    color: #e6edf3;
    border-top: 1px solid #58a6ff;
}

.tab-icon { font-size: 0.7rem; }

.tab-dot {
    width: 6px;
    height: 6px;
    background: #f0883e;
    border-radius: 50%;
    margin-left: 0.25rem;
}

/* IDE Editor - the scrollable content area */
.ide-editor {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}

.ide-editor::-webkit-scrollbar {
    width: 8px;
}
.ide-editor::-webkit-scrollbar-track { background: transparent; }
.ide-editor::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}
.ide-editor::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* IDE Status Bar */
.ide-statusbar {
    height: 24px;
    background: #1f6feb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
}

.sb-left, .sb-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sb-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sb-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: default;
    opacity: 0.9;
    white-space: nowrap;
}

/* Section code comments */
.sh-comment {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ide-text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

/* ===== IDE-STYLED SECTION ENHANCEMENTS ===== */

/* Line numbers in sections */
.ide-editor .hero-section::before {
    content: '1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 10\A 11\A 12\A 13\A 14\A 15\A 16\A 17\A 18\A 19\A 20';
    position: absolute;
    left: 0;
    top: 2rem;
    white-space: pre;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #30363d;
    line-height: 2rem;
    padding: 0 0.5rem;
    pointer-events: none;
    user-select: none;
    width: 40px;
    text-align: right;
}

/* ===== NEOBRUTALISM HERO ===== */
.hero-section {
    position: relative;
}

.hero-title .title-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--ide-green);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.hero-title .title-greeting::before {
    content: '// ';
    color: var(--ide-text-muted);
}

.hero-title .title-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

/* Neo-brutalist accent block on name */
.title-name-wrap {
    display: inline-block;
    position: relative;
}

.title-name-wrap::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--neo-orange);
    z-index: -1;
    transform: skewX(-3deg);
}

/* Terminal-style role line */
.hero-title .title-role {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #58a6ff;
}

.hero-title .title-role::before {
    content: 'const role = "';
    color: var(--ide-text-muted);
    font-size: 0.9em;
}

.hero-title .title-role::after {
    content: '";';
    color: var(--ide-text-muted);
    font-size: 0.9em;
}

/* ===== NODE GRAPH SKILLS ===== */
.node-graph-wrap {
    width: 100%;
    height: 480px;
    position: relative;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--ide-border);
    border-bottom: none;
    background: rgba(13,17,23,0.6);
    overflow: hidden;
    cursor: grab;
}

.node-graph-wrap:active {
    cursor: grabbing;
}

#skillsCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.node-tooltip {
    position: absolute;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #e6edf3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.node-tooltip.visible {
    opacity: 1;
}

.nt-name  { font-weight: 700; display: block; margin-bottom: 2px; }
.nt-pct   { color: #3fb950; }
.nt-level { color: #f0883e; margin-left: 0.5rem; }

/* ===== MAGNETIC BUTTONS ===== */
.btn {
    will-change: transform;
    transform-origin: center;
}

/* ===== ADVANCED CURSOR ===== */
.cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    background: #1f6feb;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 100001;
    opacity: 0;
    transition: opacity 0.15s;
    white-space: nowrap;
    letter-spacing: 0.05em;
    transform: translate(-50%, -130%);
}

.cursor-label.visible {
    opacity: 1;
}

/* ===== PROJECTS IDE STYLE ===== */
.projects-section .section-header .sh-comment {
    font-size: 0.82rem;
}

/* Project card IDE aesthetic */
.project-card-v2 {
    border-color: var(--ide-border) !important;
}

.project-card-v2::before {
    content: attr(data-index);
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--ide-text-muted);
    opacity: 0.5;
    z-index: 5;
}

/* Neobrutalism project title */
.pcv2-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: -0.01em !important;
}

/* Code-style tech tags */
.pcv2-tag {
    font-family: var(--font-mono) !important;
    font-size: 0.7rem !important;
    background: rgba(13,17,23,0.8) !important;
    border: 1px solid var(--ide-border) !important;
    color: #ffd60a !important;
}

.pcv2-tag:hover {
    border-color: #ffd60a !important;
    background: rgba(255,214,10,0.08) !important;
}

/* ===== CONTACT SECTION - API STYLE ===== */
.contact-section .section-header .sh-comment {
    color: #d2a8ff;
}

/* API endpoint style contact info */
.contact-item {
    position: relative;
}

.contact-item::before {
    content: 'GET ';
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ide-green);
    position: absolute;
    top: -0.5rem;
    left: 4rem;
    opacity: 0.7;
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 900px) {
    .ide-sidebar {
        position: absolute;
        left: 48px;
        top: 0;
        height: 100%;
        z-index: 50;
        box-shadow: 8px 0 24px rgba(0,0,0,0.4);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        width: 220px;
    }

    .ide-sidebar.mobile-open {
        transform: translateX(0);
    }

    .ide-sidebar:not(.mobile-open) {
        width: 220px !important;
    }

    .node-graph-wrap {
        height: 320px;
    }

    .ide-activity-bar {
        width: 44px;
    }

    .ide-tabbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .ide-activity-bar {
        width: 40px;
    }
    .activity-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .node-graph-wrap {
        height: 260px;
    }
}
