body {
    margin: 0;
    padding: 10px;
    font-family: 'Inter', sans-serif;  /* Changed from Arial */
    background-color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Update star layers for true parallax */
.stars {
    position: fixed;
    top: -10%;         /* Reduced from -20% */
    left: -10%;        /* Reduced from -20% */
    width: 120%;       /* Reduced from 140% */
    height: 120%;      /* Reduced from 140% */
    pointer-events: none;
    z-index: -1;
    transform-style: preserve-3d;
    perspective: 2000px;
}

.stars::before,
.stars::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: transform 0.2s ease-out;
}

.stars::before {
    background: 
        /* Larger Planets */
        radial-gradient(8px 8px at 150px 150px, rgba(255, 223, 188, 0.9), rgba(255, 223, 188, 0) 100%),
        radial-gradient(12px 12px at 400px 200px, rgba(176, 224, 230, 0.9), rgba(176, 224, 230, 0) 100%),
        radial-gradient(15px 15px at 600px 300px, rgba(255, 182, 193, 0.9), rgba(255, 182, 193, 0) 100%),
        radial-gradient(10px 10px at 250px 400px, rgba(144, 238, 144, 0.9), rgba(144, 238, 144, 0) 100%),
        /* Bright stars */
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 1), rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 40px 70px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 50px 160px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(3px 3px at 90px 40px, rgba(255, 255, 255, 1), rgba(0,0,0,0)),
        /* Medium stars */
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 160px 120px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 170px 90px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 200px 180px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        /* Additional bright stars */
        radial-gradient(3px 3px at 220px 60px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 240px 140px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        /* More stars with varying brightness */
        radial-gradient(1px 1px at 260px 200px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 280px 220px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 300px 180px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 320px 160px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 340px 140px, rgba(255, 255, 255, 0.4), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 360px 120px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 800px 800px;  /* Increased to accommodate planets */
    animation: stars 60s linear infinite;  /* Slowed down for planets */
    transform: 
        translateZ(-200px)
        translate(calc(var(--front-x, 0px) * -1.5), calc(var(--front-y, 0px) * -1.5));
}

.stars::after {
    background:
        /* Distant planets */
        radial-gradient(6px 6px at 300px 300px, rgba(221, 160, 221, 0.8), rgba(221, 160, 221, 0) 100%),
        radial-gradient(8px 8px at 100px 400px, rgba(255, 218, 185, 0.8), rgba(255, 218, 185, 0) 100%),
        radial-gradient(10px 10px at 500px 200px, rgba(175, 238, 238, 0.8), rgba(175, 238, 238, 0) 100%),
        /* Distant stars with varying brightness */
        radial-gradient(1px 1px at 15px 15px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(0.8px 0.8px at 45px 65px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
        radial-gradient(1.2px 1.2px at 75px 155px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 95px 45px, rgba(255, 255, 255, 0.9), rgba(0,0,0,0)),
        radial-gradient(0.7px 0.7px at 135px 85px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(1.3px 1.3px at 165px 125px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        /* Additional distant stars */
        radial-gradient(0.9px 0.9px at 185px 95px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
        radial-gradient(1.1px 1.1px at 205px 175px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        radial-gradient(1.4px 1.4px at 225px 55px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(0.6px 0.6px at 245px 135px, rgba(255, 255, 255, 0.4), rgba(0,0,0,0)),
        /* Even more distant stars */
        radial-gradient(0.8px 0.8px at 265px 195px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 285px 215px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
        radial-gradient(0.7px 0.7px at 305px 175px, rgba(255, 255, 255, 0.4), rgba(0,0,0,0)),
        radial-gradient(1.2px 1.2px at 325px 155px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0)),
        radial-gradient(0.9px 0.9px at 345px 135px, rgba(255, 255, 255, 0.5), rgba(0,0,0,0)),
        radial-gradient(1.1px 1.1px at 365px 115px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 600px 600px;  /* Increased for planets */
    animation: stars 90s linear infinite;  /* Slowed down more for distant planets */
    transform: 
        translateZ(-400px)
        translate(calc(var(--back-x, 0px) * -2.5), calc(var(--back-y, 0px) * -2.5));
}

@keyframes stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* Update page wrapper for more subtle background */
.page-wrapper {
    max-width: 1000px;
    margin: 10px auto;
    padding: 20px;
    background-color: rgba(40, 45, 60, 0.5);
    /* background-image: 
        url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noise)" opacity="0.12"/%3E%3C/svg%3E'),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.1) 0px,
            rgba(255, 255, 255, 0.1) 1px,
            rgba(0, 0, 0, 0.05) 1px,
            rgba(0, 0, 0, 0.05) 2px
        ),
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.1) 25%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.1) 35%,
            rgba(0, 0, 0, 0.1) 70%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 1px,
            rgba(0, 0, 0, 0.03) 1px,
            rgba(0, 0, 0, 0.03) 2px
        );
        radial-gradient(circle at 10% 20%, rgba(30, 30, 35, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(40, 40, 45, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(25, 25, 30, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(35, 35, 40, 0.08) 0%, transparent 50%); */
    background-size: 
        200px 200px,
        4px 4px,
        100% 100%,
        100% 100%,
        3px 3px,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 0 50px rgba(0, 0, 0, 0.05),
        inset 0 0 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(1px);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Update nebula glow effect */
.page-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 40%, rgba(50, 50, 55, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 60% 60%, rgba(45, 45, 50, 0.08) 0%, transparent 60%);
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 2px rgba(255, 255, 255, 0.2),
        0 0 1px rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 900px;
    margin: 5px auto;
    position: relative;
    padding: 0 15px;
}

/* Enhanced 3D navbar styles */
.navbar {
    display: grid;
    grid-template-columns: 64px 1fr 140px;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    overflow: visible;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -3px 4px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateX(8deg) translateZ(30px);
    transform-origin: top;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    background: linear-gradient(to bottom, #ffffff, #b1b1b1);
}

.navbar:hover {
    transform: perspective(1000px) rotateX(6deg) translateZ(40px) translateY(-3px);  /* Enhanced hover effect */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 35px 70px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -3px 4px rgba(0, 0, 0, 0.15);
}

/* Enhanced inner shadow */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* Enhanced edge highlight */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;  /* Increased height */
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.9) 20%,  /* Brighter highlight */
        rgba(255, 255, 255, 0.9) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Enhanced 3D globe effect for site logo with darker shadows */
.site-logo {
    display: flex;
    align-items: center;
    height: 40px;
    width: 40px;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.3);  /* Reduced border */
    border-radius: 50%;  /* Make it circular */
    padding: 2px;  /* Add padding for spacing */
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.2),  /* Inner shadow for engraved effect */
        0 2px 5px rgba(0, 0, 0, 0.1);  /* Subtle outer shadow */
}

.site-logo img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform: translateZ(10px);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.15);  /* Reduced shadow for subtlety */
    filter: brightness(1.05);
}

/* Add glossy overlay */
.site-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    transform: translateZ(12px);
    pointer-events: none;
}

/* Add sphere effect */
.site-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(255, 255, 255, 0.2);
    transform: translateZ(8px);
    pointer-events: none;
}

.site-logo:hover {
    transform: scale(1.1) translateZ(20px) rotateX(10deg) rotateY(10deg);
}

.site-logo:hover img {
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 255, 255, 0.9),
        inset 0 -2px 3px rgba(0, 0, 0, 0.4);
    filter: brightness(1.08) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.nav-links {
    margin: 0;
    /* justify-content: center; */
    display: flex;
    gap: 5px;
    list-style-type: none;
    padding: 0;
}

/* Remove nav separators */
.nav-links li:not(:last-child)::after {
    content: none;  /* Removed separator */
}

.nav-links li {
    position: relative;
    padding: 0;  /* Removed padding to bring buttons closer */
}

/* Update nav link styles for active state */
.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
    );
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
}

/* Update active nav link styles */
.nav-links a.active {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.08)
    );
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        inset 1px 0 2px rgba(0, 0, 0, 0.05),
        inset -1px 0 2px rgba(0, 0, 0, 0.05);
    transform: translateY(2px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links a.active:hover {
    transform: translateY(2px) scale(1.02);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.06),
        rgba(0, 0, 0, 0.09)
    );
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        inset 1px 0 2px rgba(0, 0, 0, 0.05),
        inset -1px 0 2px rgba(0, 0, 0, 0.05);
}

.nav-links a:hover {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.2)
    );
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 5px 10px rgba(0, 0, 0, 0.1),
        0 3px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Centered PFP Image */
.animate__animated.animate__fadeIn {
    text-align: center;
    width: 100%;
    margin: 10px auto;
}

/* Enhanced 3D styles for pfp */
.pfp-container {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    padding: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(240, 240, 240, 0.2) 50%,
        rgba(230, 230, 230, 0.1) 100%);
    backdrop-filter: blur(2px);
    perspective: 1000px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;  /* Ensure it's above the halo */
    cursor: pointer;
    text-decoration: none;
}

/* Update styles for the profile picture to look like a larger 3D bubble with shine */
.pfp {
    width: 120px;  /* Increased width */
    height: 120px;  /* Increased height */
    border-radius: 50%;  /* Make it circular */
    object-fit: cover;  /* Ensure the image covers the area */
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),  /* Outer shadow */
        inset 0 -3px 6px rgba(255, 255, 255, 0.5),  /* Inner highlight */
        inset 0 3px 6px rgba(0, 0, 0, 0.1);  /* Inner shadow */
    transition: transform 0.3s ease;  /* Smooth transition for hover effect */
    position: relative;  /* Position relative for pseudo-elements */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);  /* Glossy effect */
    filter: brightness(0.9) grayscale(0.1);  /* Slightly darken and add gray */
}

/* Add a glossy effect using a pseudo-element */
.pfp::after {
    content: '';
    position: absolute;
    top: 10%;  /* Position the highlight */
    left: 10%;  /* Position the highlight */
    width: 80%;  /* Size of the highlight */
    height: 80%;  /* Size of the highlight */
    border-radius: 50%;  /* Make it circular */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);  /* Glossy effect */
    pointer-events: none;  /* Prevent interaction */
    opacity: 0.7;  /* Slightly transparent */
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),  /* Soft glow */
        0 0 20px rgba(255, 255, 255, 0.3);  /* Outer glow */
}

/* Add hover effect to the PFP */
.pfp:hover {
    transform: scale(1.1);  /* Slightly enlarge on hover */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),  /* Enhanced shadow on hover */
        inset 0 -3px 6px rgba(255, 255, 255, 0.7),  /* Brighter inner highlight */
        inset 0 3px 6px rgba(0, 0, 0, 0.2);  /* Darker inner shadow */
}

/* Add a 3D effect with a gradient */
.pfp {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 100%);
}

.pfp::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.pfp::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Update dark halo around pfp */
.pfp-container::before {
    content: '';
    position: absolute;
    top: -50px;    /* Increased from -30px */
    left: -50px;   /* Increased from -30px */
    right: -50px;  /* Increased from -30px */
    bottom: -50px; /* Increased from -30px */
    background: radial-gradient(
        circle at center,
        transparent 30%,              /* Starts transparent sooner */
        rgba(0, 0, 0, 0.1) 50%,      /* Much lighter */
        rgba(0, 0, 0, 0.15) 65%,     /* Much lighter */
        rgba(0, 0, 0, 0.2) 80%,      /* Much lighter */
        rgba(0, 0, 0, 0.25) 100%     /* Much lighter */
    );
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(15px);  /* Increased blur */
}

/* Move existing shadow effect to new pseudo-element */
.pfp-container .shadow-effect {
    content: '';
    position: absolute;
    width: 90%;
    height: 20px;
    bottom: -20px;
    left: 5%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    transform: translateZ(-30px) rotateX(60deg);
    filter: blur(8px);
    z-index: -2;
}

/* Add animated gradient overlay */
.pfp-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at var(--mouse-x, 30%) var(--mouse-y, 30%),
        rgba(255, 182, 193, 0.2),    /* Light pink */
        rgba(173, 216, 230, 0.2),    /* Light blue */
        rgba(144, 238, 144, 0.2),    /* Light green */
        rgba(221, 160, 221, 0.2)     /* Plum */
    );
    mix-blend-mode: color;
    pointer-events: none;
    z-index: 3;
    animation: gradientShift 8s infinite linear;
    opacity: 0.6;
}

@keyframes gradientShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* Update main content with enhanced texture */
.main-content {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    transform: perspective(2000px) rotateX(2deg) translateZ(10px);
    transform-origin: top;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    background-image: 
        /* Enhanced noise texture */
        url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="5" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noise)" opacity="0.25"/%3E%3C/svg%3E'),
        /* Stronger diagonal cracks */
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.06) 2px,
            transparent 3px,
            transparent 8px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.06) 2px,
            transparent 3px,
            transparent 10px
        ),
        /* Enhanced horizontal scratches */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 1px,
            rgba(0, 0, 0, 0.04) 1px,
            transparent 2px,
            transparent 10px
        ),
        /* Enhanced vertical wear marks */
        repeating-linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 3px
        ),
        /* Larger random spots */
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.08) 0%, transparent 8%),
        radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.07) 0%, transparent 10%),
        radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.06) 0%, transparent 9%),
        /* Base gradient */
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(248, 248, 248, 0.85) 100%
        );
    background-size: 
        200px 200px,
        16px 16px,
        12px 12px,
        20px 20px,
        6px 6px,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Add more detailed scratches */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Deep scratches */
        linear-gradient(
            85deg,
            transparent 0%,
            transparent 45%,
            rgba(0, 0, 0, 0.03) 45.5%,
            transparent 46%,
            transparent 55%,
            rgba(0, 0, 0, 0.03) 55.5%,
            transparent 56%,
            transparent 100%
        ),
        /* Fine scratches */
        linear-gradient(
            -75deg,
            transparent 0%,
            transparent 48%,
            rgba(0, 0, 0, 0.02) 48.5%,
            transparent 49%,
            transparent 51%,
            rgba(0, 0, 0, 0.02) 51.5%,
            transparent 52%,
            transparent 100%
        ),
        /* Random wear marks */
        radial-gradient(
            circle at 50% 50%,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 50%
        );
    background-size: 300px 300px, 200px 200px, 400px 400px;
    opacity: 0.8;
    pointer-events: none;
}

/* Enhanced 3D cards */
.card {
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) translateZ(5px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

.card:hover {
    transform: perspective(1000px) translateZ(10px) translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
}

/* Add edge highlight to cards */
.card::after {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px; */
    background-image: url('./images/noise.png');
    /* background-color: rgba(0, 0, 0, 1);
    background-blend-mode: overlay; */
    /* background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent 100%
    ); */
    pointer-events: none;
}

/* Remove old animation keyframes and classes */
.animate-container {
    opacity: 1;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.noise {
    background-image: url('./images/noise.png');
    /* background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay; */
}

.content-section.active {
    display: block;
}

/* Update social links styles */
.social-links {
    display: flex;
    gap: 8px;  /* Reduced gap between social buttons */
    justify-content: flex-end;  /* Align to the right */
    align-items: center;
    margin-right: 10px;
}

.social-links a {
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 4px;
    text-decoration: none;
    box-shadow: none;
}

.social-links a:hover {
    color: #333;
    transform: translateY(-2px);
    text-decoration: none;
}

.social-links i, .social-links span {
    font-size: 16px;
    text-shadow: none;
}

/* Add eye styles */
.pfp-container {
    position: relative;
}

.eye-left, .eye-right {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle at 35% 35%, 
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%);  /* Darker gradient */
    border-radius: 50%;
    z-index: 2;
    transition: all 0.1s ease;
    box-shadow: 
        inset -1px -1px 1px rgba(0, 0, 0, 0.6),
        inset 1px 1px 1px rgba(0, 0, 0, 0.4);  /* Darker shadow */
}

.eye-socket-left, .eye-socket-right {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 40% 40%,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%);  /* More opaque */
    border-radius: 50%;
    z-index: 1;
    box-shadow: 
        inset 0 0 2px rgba(0, 0, 0, 0.3),
        0 0 2px rgba(255, 255, 255, 0.3);  /* Enhanced shadow */
}

.eye-left, .eye-socket-left {
    top: 41%;    /* Moved down from 40% */
    left: 37%;   /* Same horizontal position */
}

.eye-right, .eye-socket-right {
    top: 40%;    /* Moved up from 41% */
    right: 49%;  /* Moved left from 48% */
}

/* Update section header styles to match navbar closely */
h1 {
    position: relative;
    padding: 8px 30px;  /* Adjusted padding for compactness */
    margin: 10px auto 15px auto;  /* Reduced bottom margin */
    background: linear-gradient(to bottom,
        rgba(240, 240, 240, 0.9) 0%,  /* Light gray */
        rgba(200, 200, 200, 0.8) 50%,  /* Medium gray */
        rgba(160, 160, 160, 0.7) 100%  /* Dark gray */
    );
    border-radius: 15px;  /* Adjusted border radius */
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.15);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    text-align: center;
    font-size: 18px;  /* Reduced font size */
    font-weight: 600;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;  /* Adjusted gap */
    border: 1px solid rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) translateY(-5px) translateZ(20px) rotateX(2deg);
    transition: all 0.3s ease;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 1),
        0 2px 4px rgba(0, 0, 0, 0.1);
}
/* 
h1:hover {
    transform: perspective(1000px) translateY(-6px) translateZ(30px) rotateX(4deg);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.2);
} */
/* 
h1 i {
    font-size: 18px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
} */

/* Add screwhead styles */
/* h1::before, h1::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg,
        rgba(200, 200, 200, 1) 0%,
        rgba(160, 160, 160, 1) 50%,
        rgba(140, 140, 140, 1) 100%
    );
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.1); */
/* } */

/* Left screwhead */
/* h1::before {
    left: 15px;
    background-image: 
        linear-gradient(135deg,
            rgb(38, 38, 38) 0%,
            rgba(160, 160, 160, 1) 50%,
            rgb(48, 48, 48) 100%
        ),
        linear-gradient(45deg, transparent 47%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.1) 52%, transparent 53%),
        linear-gradient(135deg, transparent 47%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.1) 52%, transparent 53%);
} */

/* Right screwhead */
/* h1::after {
    right: 15px;
    background-image: 
    linear-gradient(135deg,
    rgb(38, 38, 38) 0%,
    rgba(160, 160, 160, 1) 50%,
    rgb(48, 48, 48) 100%
),
        linear-gradient(45deg, transparent 47%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.1) 52%, transparent 53%),
        linear-gradient(135deg, transparent 47%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.1) 52%, transparent 53%);
} */

/* Add hover effect for screwheads */
/* h1:hover::before {
    transform: translateY(-50%) rotate(-180deg);
    transition: transform 0.5s ease;
}

h1:hover::after {
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.5s ease;
} */

/* Keep other headings left-aligned */
h2, h3 {
    position: relative;
    padding: 0px 12px;
    margin: 15px -8px;
    /* background: linear-gradient(to right,
        rgba(210, 210, 210, 0.9),
        rgba(255, 255, 255, 0.7) 90%,
        rgb(255, 255, 255)
    ); */
    border: 3px solid rgba(114, 114, 114, 0.5);
    border-radius: 24px;
    /* box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 1),
        inset 0 -1px 24px rgba(255, 255, 255, 0.1),
        0 24px 24px rgba(0, 0, 0, 0.25); */
    font-family: 'Verdana', sans-serif;
    /* letter-spacing: -0.02em; */
    text-align: left;
}

.centered {
    text-align: center;
}

.rounded {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .6);
    /* shadow */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card-content {
    border-radius: 8px;
    /* background-color: rgba(255, 255, 255, 0.525); */
    /* shadow */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
    padding: 10px 24px;
}

/* Add glossy border effect */
.page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Update eye styles for blinking */
@keyframes blink {
    0%, 100% { 
        height: 4px;
        width: 4px;
        transform: translateY(0);
        border-radius: 50%;
        background: radial-gradient(circle at 35% 35%, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    }
    45%, 55% { 
        height: 2px;
        width: 6px;  /* Make the dash wider */
        transform: translateY(1.5px);
        border-radius: 1px;
        background: rgba(0, 0, 0, 0.9);  /* Solid color for the dash */
    }
}

.eye-left.blinking, .eye-right.blinking {
    animation: blink 0.15s ease-in-out;  /* Keep the fast blink */
}

/* Update global font styles */
body {
    margin: 0;
    padding: 10px;
    font-family: 'Inter', sans-serif;  /* Changed from Arial */
    background-color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Update heading styles */
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.card {
    /* ... existing styles ... */
    /* background-image: url('./images/noise.png'); */
    background-color: rgb(214, 214, 214);
    /* blend */
    /* background-blend-mode: lighten; */
    border: 3px solid rgba(255, 255, 255, 1);
    /* font-size: 10px; */
    line-height: 1.5;
}

.card p {
    font-weight: 400;
    color: #444;
}

.card-content {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

/* Update link styles */
a {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

/* Remove project card styles */
.project-card {
    display: none;
}

/* Update nav links to accommodate icons */
.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links i {
    font-size: 14px;
    opacity: 0.8;
}

/* Add site title styles */
.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0 0 15px 0;
    padding: 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateZ(20px);
    position: relative;
    font-weight: 500;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
}

/* Add styles for project descriptions */
.project-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 5px 0 0 0;  /* Adjust margin to lower the caption */
    font-style: normal;  /* Change to normal for a professional look */
    font-family: 'Roboto', sans-serif;  /* Use the new professional font */
    text-shadow: none;  /* Remove text shadow for a cleaner look */
    position: relative;  /* Position relative to stack below the image */
    width: 100%;  /* Expand to the full width of the image */
    background: rgba(255, 255, 255, 0.8);  /* Optional background for readability */
    padding: 5px;  /* Padding for the description */
    border-radius: 20px;  /* Rounded corners for the description */
    font-weight: bold;  /* Make the text bold */
}



/* Project grid layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
}

/* Add styles for project containers */
.project-container {
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    padding: 6px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-container:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.project-container a {
    text-decoration: none;
    display: block;
}

/* Add styles for project image wrapper */
.project-image-wrapper {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.7);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

/* Project label below icon */
.project-label {
    color: #fff;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    margin: 8px 0 4px 0;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Project caption below label */
.project-container .project-caption {
    color: #666;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin: 0 0 8px 0;
    padding: 0 4px;
    line-height: 1.3;
}

/* Language badge on project icons */
.project-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ddd;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    line-height: 1.4;
}

/* Back button on project detail pages */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 5;
    transition: all 0.2s ease;
}

.back-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-badge-alt {
    font-family: 'Permanent Marker', cursive;
    font-size: 12px;
}

.project-placeholder {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder span:not(.project-badge) {
    font-size: 72px;
    font-family: 'Permanent Marker', cursive;
    color: #fff;
}

#systems .project-placeholder span:not(.project-badge) {
    font-size: 28px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

#couchsynth-container .project-image {
    object-fit: contain;
    height: 60%;
}

#couchsynth-container .project-image-wrapper {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zaradox-container .project-image-wrapper {
    background: #000;
}

#doomsdaydash-container .project-image {
    object-fit: contain;
}

#doomsdaydash-container .project-image-wrapper {
    background: #4b0082;
}

#bdestroyers-container .project-image {
    object-fit: contain;
}

#bdestroyers-container .project-image-wrapper {
    background: #2b1b4e;
}

#microarmy-container .project-image {
    object-fit: contain;
}

#microarmy-container .project-image-wrapper {
    background: #0a1a3a;
}

#chiseler-container .project-image {
    object-fit: contain;
}

#chiseler-container .project-image-wrapper {
    background: #5c4a1e;
}

.project-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 5px 0 0 0;  /* Adjust margin to lower the caption */
    font-style: normal;  /* Change to normal for a professional look */
    font-family: 'Roboto', sans-serif;  /* Use the new professional font */
    text-shadow: none;  /* Remove text shadow for a cleaner look */
    position: relative;  /* Position relative to stack below the image */
    width: 100%;  /* Expand to the full width of the image */
    background: rgba(255, 255, 255, 0.8);  /* Optional background for readability */
    padding: 5px;  /* Padding for the description */
    border-radius: 5px;  /* Rounded corners for the description */
}

/* Add styles for the message bubble */
@keyframes bubbleFlash {
    0% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}

.message-bubble.flash {
    animation: bubbleFlash 0.4s ease-out;
}

.message-bubble {
    font-family: 'Roboto', sans-serif;  /* Change to match the caption font */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px 15px;
    margin-left: 15px;  /* Space between PFP and bubble */
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.2),
        0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;  /* Adjust font size if needed */
    font-weight: normal;  /* Make the font normal */
    color: #333;  /* Text color */
    max-width: 200px;  /* Limit the width of the bubble */
    position: relative;  /* For the arrow */
    align-self: center;  /* Center the bubble vertically */
}

/* Create the arrow effect */
.message-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;  /* Position to the left of the bubble */
    margin-top: -7px;  /* Center the arrow vertically */
    border-width: 10px;  /* Increased size of the arrow */
    border-style: solid;
    border-color: transparent rgba(255, 255, 255, 0.9) transparent transparent;  /* Arrow color flipped */
}

/* Create the arrow effect */
.message-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;  /* Position to the left of the bubble */
    margin-top: -7px;  /* Center the arrow vertically */
    border-width: 10px;  /* Size of the arrow */
    border-style: solid;
    border-color: transparent rgba(255, 255, 255, 0.9) transparent transparent;  /* Arrow color */
}

/* Flex container for PFP and message bubble */
.pfp-message-container {
    display: flex;
    align-items: center;  /* Center vertically */
    justify-content: center;  /* Center horizontally */
    margin: 20px 0;  /* Add some margin for spacing */
}

.footer {
    text-align: center;  /* Center the text */
    margin-top: 20px;  /* Space above the footer */
    color: #fff;  /* White text color */
    font-size: 14px;  /* Font size */
    opacity: 0.7;  /* Slightly transparent */
}

.site-title a {
    font-size: 16px;  /* Adjust size if needed */
    transition: color 0.3s;  /* Smooth color transition */
}

.site-title a:hover {
    color: #ff5500;  /* Change color on hover */
}

/* Button styles */
.button-container { 
    margin-top: 0px;
    display: flex;
    justify-content: center;  /* Center the buttons */
    gap: 10px;  /* Space between buttons */
}

.shift-up {
    margin-top: -16px;
}

.shift-up2 {
    margin-top: -64px;
}

.btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    color: white;  /* Text color */
    transition: all 0.3s ease;  /* Smooth transition for all properties */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),  /* Shadow for depth */
                0 2px 4px rgba(0, 0, 0, 0.1);  /* Subtle inner shadow */
}

.docs-btn {
    background-color: #452200;  /* Green background */
}

.download-btn {
    background-color: #28a745;  /* Green background */
}

.download-btn:hover {
    background-color: #218838;  /* Darker green on hover */
    transform: translateY(-2px);  /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),  /* Enhanced shadow on hover */
                0 4px 6px rgba(0, 0, 0, 0.2);  /* Inner shadow */
}

.play-btn {
    background-color: #007bff;  /* Blue background */
}

.play-btn:hover {
    background-color: #0056b3;  /* Darker blue on hover */
    transform: translateY(-2px);  /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),  /* Enhanced shadow on hover */
                0 4px 6px rgba(0, 0, 0, 0.2);  /* Inner shadow */
}

.view-source-btn {
    background-color: #6c757d;  /* Gray background */
}

.view-source-btn:hover {
    background-color: #5a6268;  /* Darker gray on hover */
    transform: translateY(-2px);  /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),  /* Enhanced shadow on hover */
                0 4px 6px rgba(0, 0, 0, 0.2);  /* Inner shadow */
}

.btn i {
    margin-right: 5px;  /* Space between icon and text */
}

/* Compact social buttons */
.social-links {
    display: flex;
    gap: 8px;  /* Reduced gap between social buttons */
    justify-content: flex-end;  /* Align to the right */
    align-items: center;
    margin-right: 10px;
}

/* Add this to your existing styles */
.music-btn {
    background-color: #4169E1;  /* Royal Blue */
}

.music-btn:hover {
    background-color: #1E90FF;  /* Dodger Blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),
              0 4px 6px rgba(0, 0, 0, 0.2);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;  /* Center items horizontally */
    justify-content: center;  /* Center the entire grid */
    max-width: 800px;  /* Limit maximum width */
    margin: 0 auto;  /* Center the grid container */
    background: rgba(0, 0, 0, 0.05);  /* Subtle dark background */
    border-radius: 15px;  /* Rounded corners */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);  /* Subtle inner shadow */
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.app-icon img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2),  /* Deeper outer shadow */
        0 4px 6px rgba(0, 0, 0, 0.1),   /* Secondary shadow */
        0 2px 5px rgba(0, 0, 0, 0.15),  /* Additional depth shadow */
        inset 0 2px 5px rgba(0, 0, 0, 0.2),  /* Inner shadow for engraved effect */
        inset 0 -2px 2px rgba(0, 0, 0, 0.1);  /* Bottom inner shadow */
    border: 1px solid rgba(255, 255, 255, 0.6);  /* Subtle border */
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 100%
    );  /* Gradient overlay for depth */
    transition: all 0.3s ease;
    transform: translateZ(10px);
    filter: brightness(1.05) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.app-icon:hover img {
    transform: translateY(-5px) translateZ(20px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.25),  /* Enhanced outer shadow on hover */
        0 6px 8px rgba(0, 0, 0, 0.15),   /* Enhanced secondary shadow */
        0 4px 6px rgba(0, 0, 0, 0.2),    /* Additional hover shadow */
        inset 0 1px 3px rgba(255, 255, 255, 0.9),  /* Brighter top highlight */
        inset 0 -2px 2px rgba(0, 0, 0, 0.15);  /* Deeper bottom shadow */
    filter: brightness(1.1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.app-icon .caption {
    text-align: center;
    color: #333;
    font-size: 14px;
    max-width: 120px;
    margin-top: 5px;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.8),  /* Top highlight */
        0 -1px 1px rgba(0, 0, 0, 0.1);  /* Bottom shadow */
}

.app-icon .title {
    font-weight: bold;
    margin-bottom: 4px;
    color: #222;  /* Slightly darker for better contrast */
}

/* CD disc icon */
.cd-icon {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-disc {
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #c0c0c0 0%,
        #e8e8e8 15%,
        #a0a0a0 30%,
        #d0d0d0 45%,
        #b0b0b0 60%,
        #e0e0e0 75%,
        #c8c8c8 100%
    );
    position: relative;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    animation: cd-spin 8s linear infinite;
    animation-play-state: paused;
}

.cd-icon:hover .cd-disc {
    animation-play-state: running;
}

@keyframes cd-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cd-ring {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cd-ring-2 {
    top: 35%;
    left: 35%;
    right: 35%;
    bottom: 35%;
}

.cd-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16%;
    height: 16%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cd-shine {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 35%;
    height: 35%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 60%
    );
}

/* Album view */
.album-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 50px;
}

.album-header .album-back-btn {
    position: absolute;
    left: 0;
}

.album-header h1 {
    margin: 10px auto;
    text-align: center;
}

.album-back-btn {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(to bottom, #5b9bd5, #3a7cc0);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid #2a5d8f;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.15s ease;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.album-back-btn:hover {
    background: linear-gradient(to bottom, #6baae0, #4a8cd0);
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.album-back-btn:active {
    border-bottom: 1px solid #2a5d8f;
    border-top: none;
    transform: translateY(1px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Inline album player */
.album-player {
    margin: 15px 0;
    padding: 12px 16px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.album-player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.album-player .player-track-info {
    min-width: 120px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-player audio {
    flex: 1;
    height: 36px;
    min-width: 0;
}

.album-player .player-controls-extra {
    display: flex;
    gap: 6px;
}

.album-player .player-controls-extra button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.album-player .player-controls-extra button:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Album track list */
#playlist {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#playlist li {
    cursor: pointer;
    padding: 10px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.3)
    );
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

#playlist li:hover {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.5)
    );
    transform: translateY(-1px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

#playlist li.playlist-separator {
    background: none;
    border: none;
    box-shadow: none;
    padding: 8px 0;
    cursor: default;
    border-radius: 0;
}

#playlist li.playlist-separator:hover {
    background: none;
    transform: none;
    box-shadow: none;
}

#playlist li.active {
    background: linear-gradient(
        to bottom,
        rgba(255, 140, 0, 0.2),
        rgba(255, 140, 0, 0.1)
    );
    border-color: rgba(255, 140, 0, 0.3);
    color: #111;
    font-weight: 600;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transform: translateY(1px);
}

.player-prompt {
    text-align: center;
    color: #999;
    font-size: 15px;
    margin: 15px 0;
}

.track-duration {
    color: #999;
}

.track-buy {
    margin-left: auto;
    padding: 4px 12px;
    background: linear-gradient(to bottom, #66bb6a, #43A047);
    color: #fff;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid #2E7D32;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.track-buy:hover {
    background: linear-gradient(to bottom, #76ce7a, #4CAF50);
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.track-buy:active {
    border-bottom: 1px solid #2E7D32;
    border-top: none;
    transform: translateY(1px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.album-buy {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to bottom, #5b9bd5, #3a7cc0);
    color: #fff;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid #2a5d8f;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
    margin-top: 12px;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.album-buy:hover {
    background: linear-gradient(to bottom, #6baae0, #4a8cd0);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.album-buy:active {
    border-bottom: 1px solid #2a5d8f;
    border-top: none;
    transform: translateY(2px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bmc-btn {
    background: linear-gradient(to bottom, #FFDD00, #e6c700);
    color: #000;
    border-bottom-color: #b89e00;
}

.bmc-btn:hover {
    background: linear-gradient(to bottom, #ffe433, #FFDD00);
}

.bmc-btn:active {
    border-bottom-color: #b89e00;
}

/* Album cover case + vinyl disc */
.album-cover-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
    height: 220px;
}

.album-cover-case {
    width: 200px;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #c9a84c;
    position: absolute;
    z-index: 2;
    transition: transform 0.8s ease;
    display: flex;
    transform: translateX(0);
}

.album-cover-case.out {
    transform: translateX(-80px);
}

.album-case-tray {
    width: 200px;
    height: 200px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    transform: translateX(0);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.03) 70%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(1px);
}

.album-case-spine {
    width: 16px;
    min-width: 16px;
    background: linear-gradient(
        to right,
        #0a0a0a 0%,
        #222 30%,
        #333 50%,
        #222 70%,
        #0a0a0a 100%
    );
    border-right: 2px solid #888;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.album-case-img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-disc-slider {
    position: absolute;
    z-index: 1;
    transition: transform 0.8s ease;
}

.album-disc-slider.out {
    transform: translateX(80px);
}

.album-cover-disc {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 12%, rgba(200, 200, 200, 0.1) 12.5%, transparent 13%),
        radial-gradient(circle at 50% 50%, transparent 24%, rgba(200, 200, 200, 0.05) 24.5%, transparent 25%),
        radial-gradient(circle at 50% 50%, transparent 36%, rgba(200, 200, 200, 0.05) 36.5%, transparent 37%),
        conic-gradient(
            from 0deg,
            #e8e8e8 0deg, #c0c0c0 30deg,
            #f0f0f0 60deg, #a8a8a8 90deg,
            #e0e0e0 120deg, #d0d0d0 150deg,
            #f4f4f4 180deg, #b8b8b8 210deg,
            #e8e8e8 240deg, #c8c8c8 270deg,
            #f0f0f0 300deg, #b0b0b0 330deg,
            #e8e8e8 360deg
        );
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    position: relative;
    animation: cd-spin 8s linear infinite;
    animation-play-state: paused;
    transition: animation-duration 3s ease;
}

.album-cover-disc.spinning {
    animation-play-state: running;
    animation-duration: 3s;
}

.album-cover-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background: #f5f5f5;
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Track numbers */
.track-number {
    display: inline-block;
    width: 28px;
    color: #999;
    font-size: 13px;
    text-align: right;
    margin-right: 10px;
}

/* Hamburger button - hidden on desktop */
.hamburger {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.hamburger-lines span {
    display: block;
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hamburger-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.05em;
}

.hamburger.active .hamburger-lines span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-lines span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navigation */
@media (max-width: 856px) {
    .navbar {
        grid-template-columns: 64px 1fr 140px;
        padding: 10px 15px;
        gap: 5px;
    }

    .hamburger {
        display: flex;
        grid-column: 2;
        justify-self: start;
    }

    .social-links {
        grid-column: 3;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 4px;
        padding: 8px 0 0;
        grid-column: 1 / -1;
        box-sizing: border-box;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        box-sizing: border-box;
        padding: 7px 10px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(240, 240, 240, 0.8) 100%
        );
        border-radius: 8px;
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.1),
            inset 0 1px 2px rgba(255, 255, 255, 0.9),
            inset 0 -1px 2px rgba(0, 0, 0, 0.1);
    }

    .nav-links a:hover {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(240, 240, 240, 0.9) 100%
        );
        transform: translateY(-1px);
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.9),
            inset 0 -1px 2px rgba(0, 0, 0, 0.1);
    }

    .nav-links a.active {
        background: linear-gradient(
            to bottom,
            rgba(240, 240, 240, 0.95) 0%,
            rgba(230, 230, 230, 0.8) 50%,
            rgba(220, 220, 220, 0.9) 100%
        );
        box-shadow:
            inset 0 2px 4px rgba(0, 0, 0, 0.1),
            inset 0 1px 2px rgba(0, 0, 0, 0.1);
        transform: translateY(1px);
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    #music-player-bar {
        flex-wrap: wrap;
        padding: 6px 12px;
    }

    #music-player-bar .player-track-info {
        min-width: unset;
        flex: 1;
        font-size: 13px;
    }

    #music-player-bar audio {
        width: 100%;
        order: 1;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        grid-template-columns: 48px 1fr auto;
        padding: 8px 10px;
    }

    .site-logo img {
        width: 36px;
        height: 36px;
    }
}
