:root {
    --bg-start: #000000;
    --bg-mid: #1a1a1a;
    --bg-end: #27272a;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-dim: #d4d4d8;
    --accent: #ffffff;
    --accent-hover: #d4d4d8;
    --card-bg: rgba(12, 12, 15, 0.3);
    --drop-border: rgba(148, 163, 184, 0.45);
    --drop-glow: rgba(255, 255, 255, 0.16);
    --grid: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Fira Code', monospace;
    background: linear-gradient(to top right, var(--bg-start), var(--bg-mid), var(--bg-end));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    cursor: none;
    /* Hide default cursor */
}

.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* ... (rest of the file) ... */

/* About Card Styles */
.about-card {
    position: relative; /* Normal flow */
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 72rem; /* Match main card */
    min-height: 22rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    border-radius: 1rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 4px 4px 0px var(--accent);
    text-align: left;
    z-index: 10;
}



/* Ensure it looks good on mobile */
@media (max-width: 640px) {
    body {
        gap: 5rem; /* Less gap on mobile */
    }
}

/* Grid Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 72rem;
    min-height: 22rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    border-radius: 1rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 4px 4px 0px var(--accent);
    /* Left align text by default */
    text-align: left;
    justify-content: space-between;
    animation: slideUpFade 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.card-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 40rem;
    /* Limit line length for readability */
}

/* Container for all actions at the bottom */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
}

@media (max-width: 640px) {
    .card {
        padding: 2rem;
        gap: 2rem;
    }

    .card-header h1 {
        font-size: 2rem;
    }
}

/* Custom Button Style */
.custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    /* Adjusted size */
    height: 3.5rem;
    /* Fixed height matching square buttons */
    padding: 0 1.5rem;
    color: #e5e7eb;
    background-color: #111827;
    border: 1px solid var(--accent);
    border-radius: 0.75rem;
    box-shadow: 3px 3px 0px var(--accent);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-weight: 500;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    fill: currentColor;
}

/* Square Icon Button */
.btn-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    color: #e5e7eb;
    background-color: #111827;
    border: 1px solid var(--accent);
    border-radius: 0.75rem;
    box-shadow: 3px 3px 0px var(--accent);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-square svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.custom-btn:hover,
.btn-square:hover {
    color: var(--accent);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px var(--accent);
}

.custom-btn:active,
.btn-square:active {
    box-shadow: none;
    transform: translate(3px, 3px);
}



/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* About Card Styles */
.about-card {
    position: relative; /* Normal flow */
    width: 100%;
    max-width: 72rem; /* Match main card */
    min-height: 22rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    border-radius: 1rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 4px 4px 0px var(--accent);
    text-align: left;
    z-index: 10;
    margin-bottom: 2rem;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--card-bg); /* Match card background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between; /* Separate pages and socials */
    align-items: center;
    box-shadow: 4px 4px 0px var(--accent); /* Match card shadow */
    width: 100%;
    max-width: 72rem; /* Match card width */
    overflow-x: auto;
}

.nav-pages,
.nav-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Adjust buttons for the nav bar */
.floating-nav .btn-square,
.floating-nav .custom-btn {
    box-shadow: none; /* Remove default shadow for cleaner look in nav */
    border: 1px solid transparent; /* Cleaner look */
    background: transparent;
    height: 3rem; /* Slightly smaller */
    font-size: 0.9rem;
}

.floating-nav .btn-square {
    width: 3rem;
    border: 1px solid var(--accent); /* Keep border for icons */
}

.floating-nav .custom-btn {
    border: 1px solid var(--accent);
    padding: 0 1rem;
}

.floating-nav .btn-square:hover,
.floating-nav .custom-btn:hover,
.floating-nav .custom-btn.active {
    background: var(--accent);
    color: var(--bg-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Hide scrollbar for small screens */
.floating-nav::-webkit-scrollbar {
    display: none;
}

/* Ensure content doesn't get hidden behind the nav */
body {
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .floating-nav {
        bottom: 1rem;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .floating-nav .btn-square {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .floating-nav .custom-btn {
        height: 2.5rem;
        font-size: 0.8rem;
        padding: 0 0.75rem;
    }
}

/* Content Blocks in Projects Section */
.content-block h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--grid);
    padding-bottom: 0.5rem;
}

.content-block h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.content-block .role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.content-block .item {
    margin-bottom: 1rem;
}