@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Instrument+Serif:ital,wght@0,400;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Design System Variables & Global Reset
   ========================================================================== */
:root {
    --bg-main: #0B0B0C;
    --surface: rgba(20, 20, 22, 0.65);
    --primary: #7C8CFF; /* Purple/Blue */
    --accent: #55D6BE;  /* Teal */
    --acc3: #E8A33D;    /* Orange/Gold */
    --acc4: #FF7A59;    /* Peach */
    --text-main: #F4F2EE;
    --muted: #A1A1AA;
    --border-spec: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'Geist Mono', SFMono-Regular, Consolas, monospace;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(124, 140, 255, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(85, 214, 190, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(232, 163, 61, 0.04) 0%, transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Navigation Bar Fixed Placement */
#navbar {
    position: fixed !important;
    top: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 50 !important;
    width: calc(100% - 2rem) !important;
    max-width: 850px !important;
}

.nav-container {
    background-color: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.25s ease;
    padding: 0.25rem 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Nav Drawer items */
.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease, padding-left 0.2s ease;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-spec);
    display: block;
    width: 100%;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-main);
    padding-left: 0.25rem;
}

/* ==========================================================================
   Bento Cards & Glow washes
   ========================================================================== */
.bentocard {
    background: rgba(20, 20, 22, 0.65);
    border: 1px solid var(--border-spec);
    border-radius: 1.25rem;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}

.bentocard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.03), transparent 45%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bentocard:hover::before {
    opacity: 1;
}

.bentocard:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

/* Bento Card Dark Styles */
.bento-card-dark {
    background: rgba(14, 14, 16, 0.85) !important;
    border: 1px solid var(--border-spec) !important;
    border-radius: 1.25rem !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}

.bento-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.bento-card-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.03), transparent 45%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card-dark:hover::before {
    opacity: 1;
}
/* 
.card-glow-wash {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glow-purple {
    background: var(--primary);
    top: -50px;
    right: -50px;
}

.glow-teal {
    background: var(--accent);
    bottom: -50px;
    left: -50px;
} */



/* ==========================================================================
   Card Flipping Engine (Profiles)
   ========================================================================== */
.flip {
    perspective: 1000px;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    height: 220px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    border-radius: 1.25rem;
    background: rgba(20, 20, 22, 0.85);
    border: 1px solid var(--border-spec);
    overflow: hidden;
}

.flip-front {
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.flip-back {
    transform: rotateY(180deg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #161618;
    padding: 1.5rem;
}

.flip-arrow {
    transition: transform 0.3s ease;
}

.flip:hover .flip-back .flip-arrow {
    transform: translate(3px, -3px);
}

/* ==========================================================================
   Technical Skills Bento Tiles
   ========================================================================== */
.techtile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-spec);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, background 0.3s;
}

.techtile:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.techtile i {
    font-size: 1.15rem;
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.techtile:hover i {
    transform: scale(1.15);
}

/* ==========================================================================
   Premium Timeline Layout
   ========================================================================== */
.timeline-line {
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-spec);
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: var(--bg-main);
    z-index: 10;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.25);
    background-color: var(--primary);
}

/* ==========================================================================
   Editorial Serif Title Accents
   ========================================================================== */
.editorial-serif {
    font-family: var(--font-serif);
    font-style: italic;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Containers & Spacing
   ========================================================================== */
.section-container {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
    border-bottom: 1px solid var(--border-spec);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.section-desc {
    font-size: 1rem;
    color: var(--muted);
    max-width: 32rem;
    line-height: 1.6;
}

/* Back to Top floating arrow */
.totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(20, 20, 22, .6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f4f2ee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6);
    transition: opacity .35s ease, transform 0.3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

.totop:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 34px -8px rgba(124, 140, 255, 0.3);
}

.totop:hover svg {
    transform: translateY(-2px);
    stroke: var(--accent);
}

.totop svg {
    transition: transform 0.3s cubic-bezier(.2, .7, .2, 1);
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Premium Expansion Additions (Carousel, Learning, GitHub Activity, CTA)
   ========================================================================== */

/* Selected Work Carousel & Filters */
.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-top: 16px;
    margin-top: -16px;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-card {
    flex: 0 0 350px;
    background: rgba(20, 20, 22, 0.65);
    border: 1px solid var(--border-spec);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 410px;
}

.carousel-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #0E0E10;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.25rem;
    position: relative;
}

.carousel-card-img-wrapper img,
.carousel-card-img-wrapper svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card:hover .carousel-card-img-wrapper img,
.carousel-card:hover .carousel-card-img-wrapper svg {
    transform: scale(1.05);
}

.carousel-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(124, 140, 255, 0.35);
    box-shadow: 0 20px 40px -15px rgba(124, 140, 255, 0.15);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-spec);
    background: rgba(20, 20, 22, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
    background: var(--primary);
    box-shadow: 0 0 15px rgba(124, 140, 255, 0.4);
}

.filter-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-spec);
    color: var(--muted);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-main);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(124, 140, 255, 0.3);
}

/* Learning section pills */
.learning-chip {
    background: rgba(20, 20, 22, 0.85);
    border: 1px solid var(--border-spec);
    color: var(--text-main);
    padding: 0.65rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.learning-chip:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(85, 214, 190, 0.15);
    transform: translateY(-2px);
}

/* GitHub Activity Board */
.github-heatmap-wrapper {
    max-width: 100%;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
}

.github-months {
    position: relative;
    height: 16px;
    margin-left: 28px;
    margin-bottom: 6px;
    font-size: 10px;
    font-family: monospace;
    color: #a1a1aa;
    user-select: none;
}

.github-days {
    height: 74px;
    width: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 9px;
    font-family: monospace;
    color: #71717a;
    line-height: 1;
    user-select: none;
}

.github-grid-container {
    display: grid;
    grid-template-rows: repeat(7, 8px);
    grid-auto-flow: column;
    grid-auto-columns: 8px;
    gap: 3px;
    flex-grow: 1;
}

.github-tile {
    width: 8px;
    height: 8px;
    border-radius: 1.5px;
    background: #161b22;
    transition: transform 0.2s ease, background 0.2s ease;
}

.github-tile:hover {
    transform: scale(1.35);
    box-shadow: 0 0 8px currentColor;
    z-index: 10;
}

/* Let's Connect Card & Premium Footer */
.connect-card {
    background: linear-gradient(135deg, rgba(20,20,22,0.9) 0%, rgba(11,11,12,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.connect-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124,140,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.connect-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--bg-main);
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(85,214,190,0.3);
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(124,140,255,0.4);
}

/* ==========================================================================
   Bento Dashboard Theme Extensions
   ========================================================================== */
.bento-glow-violet {
    background: radial-gradient(circle at 50% 50%, rgba(124, 140, 255, 0.15), transparent 60%);
}

.bento-glow-teal {
    background: radial-gradient(circle at 50% 50%, rgba(85, 214, 190, 0.12), transparent 60%);
}

.bento-border-glow {
    position: relative;
}

.bento-border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(124,140,255,0.15) 50%, rgba(85,214,190,0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bento-card-dark {
    background: rgba(13, 14, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.bento-card-dark > * {
    position: relative;
    z-index: 10;
}

.bento-card-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(124, 140, 255, 0.06), transparent 45%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.5s ease;
}

.bento-card-dark:hover::before {
    opacity: 1;
}

.bento-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 140, 255, 0.25);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 20px -5px rgba(124, 140, 255, 0.1);
}

/* ==========================================================================
   Hero Tech Stack Icons Premium Animations & Brand Glow
   ========================================================================== */
.hero-tech-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.hero-tech-icons i {
    opacity: 0;
    transform: translateY(15px);
    cursor: pointer;
    font-size: 1.65rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                color 0.3s ease, 
                filter 0.3s ease, 
                opacity 0.4s ease;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               heroBreathing 4s ease-in-out infinite alternate;
}

/* Staggered entrance and float sync offsets */
.hero-tech-icons i:nth-child(1)  { animation-delay: 0.1s, 0.0s; }
.hero-tech-icons i:nth-child(2)  { animation-delay: 0.2s, 0.4s; }
.hero-tech-icons i:nth-child(3)  { animation-delay: 0.3s, 0.8s; }
.hero-tech-icons i:nth-child(4)  { animation-delay: 0.4s, 1.2s; }
.hero-tech-icons i:nth-child(5)  { animation-delay: 0.5s, 1.6s; }
.hero-tech-icons i:nth-child(6)  { animation-delay: 0.6s, 2.0s; }
.hero-tech-icons i:nth-child(7)  { animation-delay: 0.7s, 2.4s; }
.hero-tech-icons i:nth-child(8)  { animation-delay: 0.8s, 2.8s; }
.hero-tech-icons i:nth-child(9)  { animation-delay: 0.9s, 3.2s; }
.hero-tech-icons i:nth-child(10) { animation-delay: 1.0s, 3.6s; }

@keyframes heroFadeIn {
    to {
        opacity: 0.45;
        transform: translateY(0);
    }
}

@keyframes heroBreathing {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-6px);
    }
}

/* Hover scales up and stops breathing offset */
.hero-tech-icons i:hover {
    opacity: 1 !important;
    transform: scale(1.35) translateY(-4px) !important;
    animation-play-state: paused;
}

/* Customized tech brand color glows */
.hero-tech-icons .devicon-javascript-plain:hover { color: #f7df1e; filter: drop-shadow(0 0 14px rgba(247, 223, 30, 0.6)); }
.hero-tech-icons .devicon-typescript-plain:hover { color: #3178c6; filter: drop-shadow(0 0 14px rgba(49, 120, 198, 0.6)); }
.hero-tech-icons .devicon-react-original:hover { color: #61dafb; filter: drop-shadow(0 0 14px rgba(97, 218, 251, 0.6)); }
.hero-tech-icons .devicon-nextjs-plain:hover { color: #ffffff; filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)); }
.hero-tech-icons .devicon-nodejs-plain:hover { color: #339933; filter: drop-shadow(0 0 14px rgba(51, 153, 51, 0.6)); }
.hero-tech-icons .devicon-python-plain:hover { color: #3776ab; filter: drop-shadow(0 0 14px rgba(55, 118, 171, 0.6)); }
.hero-tech-icons .devicon-postgresql-plain:hover { color: #4169e1; filter: drop-shadow(0 0 14px rgba(65, 105, 225, 0.6)); }
.hero-tech-icons .devicon-mongodb-plain:hover { color: #47a248; filter: drop-shadow(0 0 14px rgba(71, 162, 72, 0.6)); }
.hero-tech-icons .devicon-docker-plain:hover { color: #2496ed; filter: drop-shadow(0 0 14px rgba(36, 150, 237, 0.6)); }
.hero-tech-icons .devicon-git-plain:hover { color: #f05032; filter: drop-shadow(0 0 14px rgba(240, 80, 50, 0.6)); }
.hero-tech-icons .devicon-github-original:hover { color: #ffffff; filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)); }

/* Interactive Tech Stack Tiles */
.tech-stack-tile {
    position: relative;
    background: rgba(25, 26, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.tech-stack-tile:hover {
    transform: translateY(-3px) scale(1.08);
    background: rgba(25, 26, 35, 0.85);
}

.tech-stack-tile i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.tech-stack-tile:hover i {
    transform: scale(1.1);
}

.tech-stack-tile[data-tech="react"]:hover { border-color: #61dafb; box-shadow: 0 0 15px rgba(97, 218, 251, 0.2); }
.tech-stack-tile[data-tech="nextjs"]:hover { border-color: #ffffff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.15); }
.tech-stack-tile[data-tech="nodejs"]:hover { border-color: #339933; box-shadow: 0 0 15px rgba(51, 153, 51, 0.15); }
.tech-stack-tile[data-tech="mongodb"]:hover { border-color: #47a248; box-shadow: 0 0 15px rgba(71, 162, 72, 0.15); }
.tech-stack-tile[data-tech="typescript"]:hover { border-color: #3178c6; box-shadow: 0 0 15px rgba(49, 120, 198, 0.2); }
.tech-stack-tile[data-tech="tailwind"]:hover { border-color: #38bdf8; box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }
.tech-stack-tile[data-tech="python"]:hover { border-color: #3776ab; box-shadow: 0 0 15px rgba(55, 118, 171, 0.2); }
.tech-stack-tile[data-tech="github"]:hover { border-color: #ffffff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.15); }
.tech-stack-tile[data-tech="github"]:hover i { color: #ffffff !important; }
.tech-stack-tile[data-tech="git"]:hover { border-color: #f05032; box-shadow: 0 0 15px rgba(240, 80, 50, 0.2); }
.tech-stack-tile[data-tech="docker"]:hover { border-color: #2496ed; box-shadow: 0 0 15px rgba(36, 150, 237, 0.2); }
.tech-stack-tile[data-tech="cpp"]:hover { border-color: #00599c; box-shadow: 0 0 15px rgba(0, 89, 156, 0.2); }

/* Interactive GitHub Grid */
.github-grid {
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    grid-auto-flow: column;
    gap: 3px;
    height: 72px;
    margin-top: 1rem;
}

.github-tile {
    width: 8px;
    height: 8px;
    border-radius: 1.5px;
    background: #161b22;
    transition: all 0.2s ease;
    animation: tileFadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes tileFadeIn {
    to { opacity: 1; }
}

.github-tile.level-0 { background: #161b22; }
.github-tile.level-1 { background: #0e4429; }
.github-tile.level-2 { background: #006d32; }
.github-tile.level-3 { background: #26a641; }
.github-tile.level-4 { background: #39d353; }

.github-tile:hover {
    transform: scale(1.35);
    box-shadow: 0 0 8px currentColor;
    z-index: 10;
}
.github-tile.level-1:hover { color: #0e4429; }
.github-tile.level-2:hover { color: #006d32; }
.github-tile.level-3:hover { color: #26a641; }
.github-tile.level-4:hover { color: #39d353; }

/* Bento Connect Icons Glow & Hover Effect */
.connect-icon {
    color: var(--muted);
    transition: color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.connect-icon:hover {
    transform: translateY(-2px) scale(1.15);
}

.github-connect:hover {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.linkedin-connect:hover {
    color: #0077b5 !important;
    filter: drop-shadow(0 0 8px rgba(0, 119, 181, 0.6));
}

.google-connect:hover {
    color: #ea4335 !important;
    filter: drop-shadow(0 0 8px rgba(234, 67, 53, 0.6));
}