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

:root {
    /* shadcn/ui inspired color palette */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    /* Tech Icon Colors */
    --tech-js: #F7DF1E;
    --tech-react: #61DAFB;
    --tech-node: #339933;
    --tech-express: #000000;
    --tech-mongodb: #47A248;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
    --radius: 0.5rem;

    /* Dark theme overrides */
    --dark-background: 222.2 84% 4.9%;
    --dark-foreground: 210 40% 98%;
    --dark-card: 222.2 84% 4.9%;
    --dark-card-foreground: 210 40% 98%;
    --dark-popover: 222.2 84% 4.9%;
    --dark-popover-foreground: 210 40% 98%;
    --dark-primary: 210 40% 98%;
    --dark-primary-foreground: 222.2 47.4% 11.2%;
    --dark-secondary: 217.2 32.6% 17.5%;
    --dark-secondary-foreground: 210 40% 98%;
    --dark-muted: 217.2 32.6% 17.5%;
    --dark-muted-foreground: 215 20.2% 65.1%;
    --dark-accent: 217.2 32.6% 17.5%;
    --dark-accent-foreground: 210 40% 98%;
    --dark-destructive: 0 62.8% 30.6%;
    --dark-destructive-foreground: 210 40% 98%;
    --dark-border: 217.2 32.6% 17.5%;
    --dark-input: 217.2 32.6% 17.5%;
    --dark-ring: 212.7 26.8% 83.9%;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* ── About Button (Spiderman Pixel Character) ──────────────── */
.about-btn {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.spiderman-icon {
    width: 3.2rem;
    height: auto;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-btn:hover {
    transform: translateY(-4px) scale(1.1);
}

.about-btn:hover .spiderman-icon {
    filter: drop-shadow(0 0 12px rgba(229, 57, 53, 0.85)) drop-shadow(0 0 22px rgba(30, 136, 229, 0.65));
}

/* ── About Page Styles ─────────────────────────── */
.about-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Ambient gradient orbs */
.about-page::before,
.about-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.4;
}

.about-page::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    top: -10%;
    right: -5%;
    animation: about-float-1 15s ease-in-out infinite;
}

.about-page::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 67, 147, 0.2), transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: about-float-2 18s ease-in-out infinite;
}

@keyframes about-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 30px); }
}

@keyframes about-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

.about-container {
    max-width: 42rem;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: about-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes about-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--dark-muted-foreground));
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 3rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-back:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-4px);
}

.about-back svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.about-back:hover svg {
    transform: translateX(-3px);
}

.about-heading {
    margin-bottom: 0.75rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* "Hey there, I'm" — subtle label above the big name */
.about-heading-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    display: block;
}

/* MOEEZ AHMED — retro poster slab extrusion */
.about-heading-retro {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.9;
    display: block;
    color: #E2DCBE;
    /* Dark outline + deep 3D extrusion going bottom-right, matching the retro poster MARS style */
    text-shadow:
        /* Dark pixel outline */
        -2px -2px 0 #1a0a00,
         2px -2px 0 #1a0a00,
        -2px  2px 0 #1a0a00,
         2px  2px 0 #1a0a00,
        /* 3D extrusion layers – warm orange → dark rust */
         2px  3px 0 #c8541e,
         4px  6px 0 #b03d10,
         6px  9px 0 #922e08,
         8px 12px 0 #742005,
        10px 15px 0 #561502,
        12px 18px 0 #381003,
        13px 19px 0 #1e0800;
    user-select: none;
}

.about-divider {
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, #c084fc, #e879f9);
    border: none;
    border-radius: 2px;
    margin: 2rem 0;
    opacity: 0.7;
}

.about-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: hsl(var(--dark-muted-foreground));
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content .about-highlight {
    color: white;
    font-weight: 500;
}

.about-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.about-interest-tag {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.about-interest-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

/* About page responsive */
@media (max-width: 768px) {
    .about-page {
        padding: 3rem 1.25rem;
        align-items: flex-start;
        padding-top: 5rem;
    }

    .about-heading-retro {
        font-size: 3.8rem;
    }

    .about-heading-sub {
        font-size: 0.9rem;
    }

    .about-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-btn {
        top: 1rem;
        left: 1rem;
    }
}

@media (max-width: 400px) {
    .about-heading-retro {
        font-size: 3rem;
    }
}

/* Navigation */
.top-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem;
}

.top-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: hsl(var(--dark-muted-foreground));
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: calc(var(--radius) - 2px);
}

.nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: hsl(var(--dark-foreground));
    background-color: hsl(var(--dark-accent));
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.profile-container {
    text-align: center;
    max-width: 37.5rem;
    width: 100%;
}

.profile-image {
    width: 9.375rem;
    height: 9.375rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid hsl(var(--dark-border));
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

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

.greeting {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--dark-muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.skills-section {
    margin-bottom: 2.5rem;
}

.skills-title {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: hsl(var(--dark-muted-foreground));
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.skill-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.45rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.skill-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-button {
    background-color: hsl(var(--dark-primary));
    color: hsl(var(--dark-primary-foreground));
    border: 1px solid hsl(var(--dark-border));
    padding: 0.75rem 2rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: hsl(var(--dark-accent));
    color: hsl(var(--dark-accent-foreground));
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.cta-button:focus-visible {
    outline: 2px solid hsl(var(--dark-ring));
    outline-offset: 2px;
}

/* Projects Section */
.projects-section {
    padding: 5rem 1.5rem;
    background: black;
}

.projects-container {
    max-width: 75rem;
    margin: 0 auto;
}

.projects-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 3.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4.5rem;
    line-height: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.12em;
    user-select: none;
    letter-spacing: 0.05em;
}

.retro-letter {
    display: inline-block;
    color: #f5d0fe;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* 8-Bit Retro 3D Purple Extrusion & Dark Outline */
    text-shadow:
        /* Pixel Outline */
        -3px -3px 0 #120326,
         0px -3px 0 #120326,
         3px -3px 0 #120326,
        -3px  0px 0 #120326,
         3px  0px 0 #120326,
        -3px  3px 0 #120326,
         0px  3px 0 #120326,
         3px  3px 0 #120326,

        /* Retro Purple 3D Layer Extrusion */
        1px  3px 0 #e879f9,
        2px  5px 0 #c084fc,
        3px  7px 0 #a855f7,
        4px  9px 0 #9333ea,
        5px 11px 0 #7e22ce,
        6px 13px 0 #6b21a8,
        7px 15px 0 #581c87,
        8px 17px 0 #3b0764,
        9px 19px 0 #2e1065,
       10px 21px 0 #120326;
}

.retro-letter:hover {
    transform: translateY(-8px) scale(1.08);
    color: #ffffff;
    text-shadow:
        -3px -3px 0 #120326,
         0px -3px 0 #120326,
         3px -3px 0 #120326,
        -3px  0px 0 #120326,
         3px  0px 0 #120326,
        -3px  3px 0 #120326,
         0px  3px 0 #120326,
         3px  3px 0 #120326,

        1px  3px 0 #f0abfc,
        2px  5px 0 #e879f9,
        3px  7px 0 #c084fc,
        4px  9px 0 #a855f7,
        5px 11px 0 #9333ea,
        6px 13px 0 #7e22ce,
        7px 15px 0 #6b21a8,
        8px 17px 0 #581c87,
        9px 19px 0 #3b0764,
       10px 21px 0 #120326,
        0   0  25px rgba(232, 121, 249, 0.8);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.01em;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

/* Color-coded Tech Tags */
.tag-css {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.2);
}
.tag-js {
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.2);
}
.tag-react {
    background: rgba(97, 218, 251, 0.1);
    color: #61dafb;
    border-color: rgba(97, 218, 251, 0.2);
}
.tag-node {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.2);
}
.tag-html {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.2);
}
.tag-api {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.2);
}
.tag-invoices {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.2);
}
.tag-productivity {
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
    border-color: rgba(129, 140, 248, 0.2);
}

/* Card Header & SVG icon styles */
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-icon {
    color: rgba(255, 255, 255, 0.85);
    transform: scale(1.1) rotate(5deg);
}

/* Premium Pill Button Style */
.project-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.project-link:hover {
    background: white;
    color: black;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}



/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        padding: 1rem;
    }

    .top-nav ul {
        gap: 1.25rem;
    }

    .nav-link {
        width: 1.125rem;
        height: 1.125rem;
    }

    .nav-link svg {
        width: 1.125rem;
        height: 1.125rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .greeting {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.875rem;
    }

    .skills-icons {
        gap: 0.5rem;
    }

    .skill-icon {
        width: 1.875rem;
        height: 1.875rem;
        padding: 0.35rem;
    }

    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .projects-section {
        padding: 3rem 1rem;
    }

    .projects-title {
        font-size: 1.75rem;
        margin-bottom: 3rem;
        gap: 0.08em;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.875rem;
    }

}

/* Tech Icons - Smaller Size */
.highlight-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 6rem;
}

.tech-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.tech-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: currentColor;
    /* Inherit color from inline style or parent */
}

.tech-icon span {
    font-size: 0.65rem;
    color: hsl(var(--dark-muted-foreground));
    font-weight: 500;
}

/* GitHub Section */
.github-section {
    padding: 0 1.5rem 3rem;
    /* Removed top padding to reduce space */
    background: black;
    text-align: center;
}

.github-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.github-title {
    font-size: 2rem;
    /* Smaller title */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
    text-align: center;
}

.github-chart-container {
    background: rgba(167, 139, 250, 0.15);
    /* Light purple tint */
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    max-width: 90%;
    /* Constrain width */
    margin-top: 0;
}

.github-chart-container img {
    display: block;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 700px;
    /* Make graph smaller */
    height: auto;
}

/* Contact Section */
.contact-section {
    padding: 3rem 1.5rem 5rem;
    background: black;
    color: white;
}

.contact-container {
    max-width: 37.5rem;
    /* Narrower for form focus */
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: white;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366F1;
    /* Primary color focus ring */
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.submit-button {
    background: white;
    color: black;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    padding: 2rem 1.5rem;
    background: black;
    color: hsl(var(--dark-muted-foreground));
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
    /* Centered */
}

.footer-name {
    color: white;
    /* White text */
    /* removed Blue text comment */
    font-weight: 500;
}


/* Say Hi Card */
.say-hi-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.say-hi-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.say-hi-content {
    z-index: 2;
    max-width: 100%;
}

.say-hi-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    background: none;
    -webkit-text-fill-color: initial;
    letter-spacing: -0.02em;
}

.say-hi-text {
    font-size: 1.125rem;
    color: hsl(var(--dark-muted-foreground));
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.say-hi-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.say-hi-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.say-hi-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.twitter-link {
    color: #38bdf8;
}

.email-link {
    color: #fb923c;
}

/* Visual Sphere - Hidden for consistency */
.say-hi-visual {
    display: none;
}

@media (max-width: 768px) {
    .say-hi-card {
        padding: 2rem;
    }

    .say-hi-title {
        font-size: 2.5rem;
    }

    .say-hi-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ── Music Player ────────────────────────────────── */
#music-player-slot {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    z-index: 10;
}

/* Ambient Fluid Glow behind glass */
#music-player-slot::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse at center,
        rgba(232, 67, 147, 0.25) 0%,
        rgba(99, 102, 241, 0.2) 40%,
        rgba(6, 182, 212, 0.15) 70%,
        transparent 100%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 0;
}

#music-player {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    
    /* Apple Liquid Glassmorphism Core */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.24) 0%,
        rgba(255, 255, 255, 0.05) 35%,
        rgba(255, 255, 255, 0.14) 70%,
        rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(50px) saturate(220%) contrast(1.15) brightness(1.2);
    -webkit-backdrop-filter: blur(50px) saturate(220%) contrast(1.15) brightness(1.2);
    
    /* Liquid Prism Rim */
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top: 1.5px solid rgba(255, 255, 255, 0.65);
    border-left: 1.5px solid rgba(255, 255, 255, 0.45);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 0.55rem 1.35rem 0.55rem 0.55rem;
    
    /* Multi-layered Refractive Inset & Outer Drop Shadow */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 6px 16px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 255, 255, 0.65),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25),
        inset 2px 0 3px rgba(255, 255, 255, 0.35),
        inset -2px 0 3px rgba(255, 255, 255, 0.15),
        0 0 25px rgba(255, 255, 255, 0.08);
    
    user-select: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Top Curved Specular Glare */
#music-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 48%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

/* Bottom Refractive Liquid Highlight */
#music-player::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 30%;
    background: linear-gradient(0deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 0 0 50px 50px;
    pointer-events: none;
}

#music-player:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.32) 0%,
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0.20) 70%,
        rgba(255, 255, 255, 0.10) 100%);
    border-top-color: rgba(255, 255, 255, 0.85);
    border-left-color: rgba(255, 255, 255, 0.65);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 10px 24px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 35px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.015);
}

/* Liquid Orb Icon */
#mp-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        rgba(232, 67, 147, 0.45) 0%,
        rgba(232, 67, 147, 0.18) 60%,
        rgba(0, 0, 0, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(232, 67, 147, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#mp-icon.spinning {
    animation: mp-spin 3s linear infinite;
}

#mp-icon:hover {
    background: radial-gradient(circle at 35% 35%,
        rgba(232, 67, 147, 0.6) 0%,
        rgba(232, 67, 147, 0.3) 60%,
        rgba(0, 0, 0, 0.25) 100%);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(232, 67, 147, 0.6);
}

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

#mp-info {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    position: relative;
    z-index: 1;
}

#mp-title {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: opacity 0.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

#mp-artist {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    transition: opacity 0.2s ease;
}

#mp-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    position: relative;
    z-index: 1;
}

.mp-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.45rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 0;
    position: relative;
    z-index: 1;
}

.mp-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.mp-btn:active {
    transform: scale(0.9);
}



@media (max-width: 480px) {
    .spiderman-icon {
        width: 2.6rem;
    }

    #music-player {
        bottom: 12px;
        gap: 0.5rem;
        padding: 0.4rem 0.85rem 0.4rem 0.4rem;
        max-width: 92vw;
    }

    #mp-icon {
        width: 36px;
        height: 36px;
    }

    #mp-info {
        min-width: 80px;
        max-width: 130px;
    }

    #mp-title {
        font-size: 0.78rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #mp-artist {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mp-btn {
        padding: 0.3rem;
    }
}