/* ============================================
   LIQUID GLASS DESIGN SYSTEM
   Vishal Panjeta — Developer Portfolio
   ============================================ */

/* --- CSS Variables / Theme --- */
/* Light mode is the default */
:root {
    --bg-color: #f0f4f8;
    --text-color: #0f172a;
    --sub-text: #64748b;
    --ui-bg: rgba(0, 0, 0, 0.04);
    --ui-border: rgba(0, 0, 0, 0.1);
    --accent: #4f46e5;
    --accent-glow: rgba(79, 70, 229, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-hover: rgba(255, 255, 255, 0.75);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --canvas-blend: multiply;
    --canvas-opacity: 0.4;
    --card-blur: 24px;
    --heat-0: rgba(0, 0, 0, 0.06);
    --heat-1: rgba(79, 70, 229, 0.2);
    --heat-2: rgba(79, 70, 229, 0.45);
    --heat-3: rgba(79, 70, 229, 0.7);
    --heat-4: #4f46e5;
}

[data-theme="dark"] {
    --bg-color: #050507;
    --text-color: #ffffff;
    --sub-text: #a1a1aa;
    --ui-bg: rgba(255, 255, 255, 0.05);
    --ui-border: rgba(255, 255, 255, 0.1);
    --accent: #2dd4bf;
    --accent-glow: rgba(45, 212, 191, 0.3);
    --glass-bg: rgba(5, 5, 7, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(5, 5, 7, 0.55);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --canvas-blend: screen;
    --canvas-opacity: 0.55;
    --card-blur: 20px;
    --heat-0: rgba(255, 255, 255, 0.06);
    --heat-1: rgba(45, 212, 191, 0.2);
    --heat-2: rgba(45, 212, 191, 0.45);
    --heat-3: rgba(45, 212, 191, 0.7);
    --heat-4: #2dd4bf;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* --- WebGL Fluid Canvas --- */
#fluidCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    mix-blend-mode: var(--canvas-blend);
    opacity: var(--canvas-opacity);
    transition: opacity 0.8s ease;
    pointer-events: none;
}

/* --- Main Scrollable Content --- */
.main-scroll {
    position: relative;
    z-index: 1;
    overflow-y: auto;
    height: 100vh;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

/* --- Sections --- */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    position: relative;
}

.section-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    transform: translateX(-17px); /* visually center between left edge and nav dots */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .section-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* --- Glass Card System --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255,255,255,0.15);
    box-shadow: var(--glass-shadow), 0 0 40px var(--accent-glow);
}

/* Theme Control — floating pill (matches abc.html) */
.theme-control {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    padding: 10px 18px;
    background: var(--ui-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--ui-border);
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(128, 128, 128, 0.3);
    border: 1px solid var(--ui-border);
    border-radius: 34px;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-color);
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

input:checked + .slider {
    background-color: var(--accent);
    border-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(24px);
    background-color: #ffffff;
}

#themeLabelLight {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

#themeLabel {
    transition: opacity 0.3s ease;
}

/* --- Side Nav Dots --- */
.nav-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ui-border);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot:hover,
.dot.active {
    background: var(--accent);
    transform: scale(1.4);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-17px);
}

.hero-tag {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-name {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 0.95;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

[data-theme="dark"] .hero-name {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    color: var(--sub-text);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

[data-theme="dark"] .hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-typing {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 0.95rem;
    height: 28px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.typing-cursor {
    animation: blink 0.8s infinite;
    color: var(--accent);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sub-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: calc(50% - 17px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sub-text);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.scroll-indicator span {
    display: block;
    text-align: center;
}

.scroll-chevron {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--sub-text);
    border-bottom: 2px solid var(--sub-text);
    transform: rotate(45deg);
    transform-origin: center;
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(0, 4px); opacity: 0.5; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-card {
    padding: 40px;
    margin-bottom: 32px;
}

.about-text {
    color: var(--sub-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}

.about-text:last-of-type {
    margin-bottom: 28px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent);
    border: 1px solid rgba(79, 70, 229, 0.2);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .tag {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.2);
}

.tag:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: var(--accent);
    transform: translateY(-1px);
}

[data-theme="dark"] .tag:hover {
    background: rgba(45, 212, 191, 0.2);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: inline;
    letter-spacing: -2px;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    color: var(--sub-text);
    font-size: 0.85rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-sub {
    display: block;
    color: var(--sub-text);
    font-size: 0.72rem;
    margin-top: 4px;
    opacity: 0.7;
}

/* ============================================
   EXPERIENCE TIMELINE
   ============================================ */
/* ============================================
   EXPERIENCE GRID
   ============================================ */
.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.exp-card {
    padding: 24px;
}

.exp-header {
    margin-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.exp-company {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.exp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.exp-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent);
}

.exp-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ui-border);
    flex-shrink: 0;
}

.exp-date {
    font-size: 0.72rem;
    color: var(--sub-text);
    font-family: 'JetBrains Mono', monospace;
}

.timeline-bullets {
    list-style: none;
    padding: 0;
}

.timeline-bullets li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 7px;
    font-size: 0.84rem;
    color: var(--sub-text);
    line-height: 1.55;
}

.timeline-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* Expandable Internships */
.timeline-expand {
    text-align: center;
    padding: 12px 0 32px;
    position: relative;
    width: 100%;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    cursor: pointer;
    border: none;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 0;
    text-align: left;
}

.expandable-content.open {
    max-height: 1200px;
    padding-top: 24px;
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    padding: 32px;
    cursor: default;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.project-card .project-links {
    margin-top: auto;
    padding-top: 16px;
}

.project-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--sub-text);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.project-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.project-bullets li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--sub-text);
    line-height: 1.6;
}

.project-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tag-sm {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--ui-bg);
    color: var(--sub-text);
    border: 1px solid var(--ui-border);
}

.project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 191, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.project-btn:hover {
    background: var(--accent);
    color: #050507;
    transform: translateY(-1px);
}

.project-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--ui-bg);
    color: var(--sub-text);
    border: 1px solid var(--ui-border);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-category {
    padding: 28px;
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-icon {
    font-size: 1.2rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--ui-bg);
    color: var(--text-color);
    border: 1px solid var(--ui-border);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.skill-pill img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.skill-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(45, 212, 191, 0.08);
    transform: translateY(-1px);
}

[data-theme="dark"] .skill-pill:hover {
    background: rgba(45, 212, 191, 0.08);
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.education-card {
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.edu-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.edu-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-degree {
    color: var(--accent) !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.82rem !important;
    margin-bottom: 10px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
}

.edu-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.edu-cgpa {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

[data-theme="dark"] .edu-cgpa {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.2);
}

.edu-date {
    font-size: 0.82rem;
    color: var(--sub-text);
    line-height: 1.8;
}

.edu-detail {
    color: var(--sub-text) !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--sub-text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-tagline {
    color: var(--sub-text);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--text-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    cursor: pointer;
    border: none;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.chat-icon {
    flex-shrink: 0;
}

.chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow), 0 0 60px var(--accent-glow);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: absolute;
}

.chat-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
    z-index: 1;
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
}

.chat-avatar img {
    border-radius: 50%;
    background: var(--ui-bg);
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-header-status {
    display: block;
    font-size: 0.72rem;
    color: var(--sub-text);
}

.chat-close {
    background: none;
    border: none;
    color: var(--sub-text);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.chat-close:hover {
    color: var(--text-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 16px;
}

.chat-message.user .message-bubble {
    background: var(--accent);
    color: #050507;
    border: none;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-bubble {
    border-bottom-left-radius: 4px;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-items: center;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sub-text);
    animation: typingDot 1.4s ease infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

.chat-input {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input::placeholder {
    color: var(--sub-text);
    opacity: 0.6;
}

.chat-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-send::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.chat-send:hover {
    background: var(--glass-hover);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: scale(1.05);
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal elements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals */
.reveal.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible:nth-child(3) { transition-delay: 0.2s; }
.reveal.visible:nth-child(4) { transition-delay: 0.3s; }
.reveal.visible:nth-child(5) { transition-delay: 0.4s; }
.reveal.visible:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .section-inner {
        transform: none;
    }

    .hero-content {
        transform: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .theme-control {
        top: 20px;
        right: 20px;
    }

    .nav-dots {
        display: none;
    }

    .exp-grid {
        grid-template-columns: 1fr;
    }

    /* Projects single column */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-name {
        letter-spacing: -2px;
    }

    .hero-socials {
        flex-direction: column;
        align-items: center;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .edu-meta {
        justify-content: center;
    }

    .about-card {
        padding: 24px;
    }

    /* Chat mobile */
    .chat-panel {
        width: calc(100vw - 48px);
        right: 0;
        bottom: 60px;
    }

    .corner-actions {
        display: none;
    }

    .chat-label {
        display: none;
    }

    .chat-toggle {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Low-power: disable fluid canvas */
@media (hover: none) and (pointer: coarse) {
    #fluidCanvas {
        opacity: 0.3;
    }
}

/* ============================================
   CORNER ACTIONS (bottom-left)
   ============================================ */
.corner-actions {
    position: fixed;
    bottom: 80px;
    left: 28px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 240px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.4s forwards;
}

/* ============================================
   RESUME BUTTON
   ============================================ */
.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resume-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.resume-btn:hover {
    background: var(--glass-hover);
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-2px);
    color: var(--accent);
}

/* ============================================
   CURRENTLY BUILDING STATUS
   ============================================ */
.currently-building {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.76rem;
    color: var(--sub-text);
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 4px;
}

.cb-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-top: 3px;
    flex-shrink: 0;
    animation: cbPulse 2s ease-in-out infinite;
}

.cb-github {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--sub-text);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.cb-github:hover {
    color: var(--accent);
}

.currently-building::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    pointer-events: none;
}

@keyframes cbPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.cb-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cb-sep {
    opacity: 0.35;
}

.cb-text {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
}

/* ============================================
   GITHUB HEATMAP
   ============================================ */
.heatmap-wrap {
    margin-top: 32px;
    padding: 24px 28px;
    overflow: visible !important;
}

.heatmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.heatmap-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sub-text);
}

.heatmap-total {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent);
}

.heatmap-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, 1fr);
    gap: 3px;
    width: 100%;
    overflow: visible;
}

.heatmap-day {
    aspect-ratio: 1;
    border-radius: 2px;
    background: var(--heat-0);
    transition: transform 0.1s ease;
    cursor: default;
    position: relative;
}

.heatmap-day:hover {
    transform: scale(1.7);
    z-index: 10;
}

.heatmap-day[data-level="1"] { background: var(--heat-1); }
.heatmap-day[data-level="2"] { background: var(--heat-2); }
.heatmap-day[data-level="3"] { background: var(--heat-3); }
.heatmap-day[data-level="4"] { background: var(--heat-4); }

.heatmap-day::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    color: var(--text-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 100;
}

.heatmap-day:hover::after {
    opacity: 1;
}

/* Top rows: show tooltip below the cell */
.heatmap-day[data-tip-pos="below"]::after {
    bottom: auto;
    top: calc(100% + 8px);
}

.heatmap-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.heatmap-legend-label {
    font-size: 0.68rem;
    color: var(--sub-text);
}

.heatmap-legend {
    display: flex;
    gap: 3px;
}

.heatmap-legend-day {
    width: 11px;
    height: 11px;
    border-radius: 2px;
}

/* ============================================
   PROJECT CARD EXPAND
   ============================================ */
.project-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--sub-text);
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    padding: 5px 12px;
    margin-top: 12px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.project-toggle::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    pointer-events: none;
}

.project-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--glass-hover);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.project-toggle svg {
    transition: transform 0.3s ease;
}

.project-toggle.open svg {
    transform: rotate(180deg);
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-details.open {
    max-height: 500px;
}

.project-details-inner {
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
    margin-top: 14px;
}

.project-details-inner p {
    font-size: 0.82rem;
    color: var(--sub-text);
    line-height: 1.75;
    margin-bottom: 10px;
}

.project-arch {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 9px 12px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.project-arch::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}

/* ============================================
   KEYBOARD SHORTCUTS
   ============================================ */
.help-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--sub-text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
}

.help-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.kbd-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.kbd-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.kbd-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 40px;
    min-width: 340px;
    box-shadow: var(--glass-shadow), 0 0 60px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.kbd-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
}

.kbd-panel-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sub-text);
    margin-bottom: 24px;
}

.kbd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--ui-border);
    font-size: 0.86rem;
    color: var(--text-color);
}

.kbd-row:last-child {
    border-bottom: none;
}

.kbd-desc {
    color: var(--sub-text);
    font-size: 0.82rem;
}

.kbd-keys {
    display: flex;
    gap: 4px;
}

kbd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    background: var(--ui-bg);
    border: 1px solid var(--ui-border);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 3px 8px;
    color: var(--text-color);
}

/* Scrollbar styling */
.main-scroll::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.main-scroll::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.main-scroll::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
    background: var(--ui-border);
    border-radius: 4px;
}


/* Ensure Icons are visible and properly sized */
.skill-pill img {
    width: 20px;
    height: 20px;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 8px;
}

/* AWS & Cloud Colors */
.clr-aws { filter: invert(16%) sepia(21%) saturate(1210%) hue-rotate(174deg) brightness(97%) contrast(92%); } /* #232F3E */
.clr-aws-orange { filter: invert(61%) sepia(96%) saturate(1045%) hue-rotate(3deg) brightness(103%) contrast(105%); } /* #FF9900 */
.clr-aws-pink { filter: invert(47%) sepia(86%) saturate(2258%) hue-rotate(314deg) brightness(101%) contrast(101%); } /* #FF4F8B */
.clr-azure { filter: invert(41%) sepia(85%) saturate(1212%) hue-rotate(178deg) brightness(94%) contrast(93%); } /* #0078D4 */
.clr-gcp { filter: invert(56%) sepia(74%) saturate(1635%) hue-rotate(193deg) brightness(101%) contrast(101%); } /* #4285F4 */
.clr-terraform { filter: invert(34%) sepia(61%) saturate(2338%) hue-rotate(244deg) brightness(95%) contrast(91%); } /* #7B42BC */

/* AI / ML Colors */
.clr-openai { filter: invert(24%) sepia(10%) saturate(1752%) hue-rotate(119deg) brightness(93%) contrast(85%); } /* #412991 */
.clr-pytorch { filter: invert(41%) sepia(80%) saturate(5436%) hue-rotate(350deg) brightness(96%) contrast(97%); } /* #EE4C2C */
.clr-langchain { filter: invert(20%) sepia(2%) saturate(0%) hue-rotate(160deg) brightness(97%) contrast(89%); } /* #1C3C3C */
.clr-huggingface { filter: invert(86%) sepia(48%) saturate(1312%) hue-rotate(345deg) brightness(101%) contrast(101%); } /* #FFD21E */
.clr-scikit { filter: invert(61%) sepia(65%) saturate(1837%) hue-rotate(356deg) brightness(99%) contrast(95%); } /* #F7931E */
.clr-spacy { filter: invert(57%) sepia(91%) saturate(1912%) hue-rotate(167deg) brightness(97%) contrast(94%); } /* #09A3D5 */
.clr-opencv { filter: invert(28%) sepia(85%) saturate(5435%) hue-rotate(248deg) brightness(94%) contrast(95%); } /* #5C3EE8 */
.clr-tensorflow { filter: invert(45%) sepia(87%) saturate(2059%) hue-rotate(10deg) brightness(104%) contrast(104%); } /* #FF6F00 */
.clr-databricks { filter: invert(35%) sepia(94%) saturate(3061%) hue-rotate(347deg) brightness(98%) contrast(98%); } /* #FF3621 */
.clr-pandas { filter: invert(13%) sepia(46%) saturate(2719%) hue-rotate(244deg) brightness(94%) contrast(110%); } /* #150458 */

/* Backend Colors */
.clr-python { filter: invert(31%) sepia(59%) saturate(632%) hue-rotate(163deg) brightness(91%) contrast(89%); } /* #3776AB */
.clr-fastapi { filter: invert(39%) sepia(35%) saturate(1001%) hue-rotate(125deg) brightness(96%) contrast(96%); } /* #05998B */
.clr-node { filter: invert(49%) sepia(30%) saturate(836%) hue-rotate(76deg) brightness(97%) contrast(87%); } /* #339933 */
.clr-typescript { filter: invert(38%) sepia(50%) saturate(874%) hue-rotate(179deg) brightness(95%) contrast(94%); } /* #3178C6 */
.clr-flask, .clr-express { filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%); } /* #000000 */

/* Other Infra & Data Colors */
.clr-docker { filter: invert(55%) sepia(61%) saturate(5185%) hue-rotate(193deg) brightness(102%) contrast(89%); } /* #2496ED */
.clr-k8s { filter: invert(36%) sepia(61%) saturate(1750%) hue-rotate(205deg) brightness(96%) contrast(93%); } /* #326CE5 */
.clr-jenkins { filter: invert(35%) sepia(49%) saturate(1143%) hue-rotate(334deg) brightness(97%) contrast(88%); } /* #D24939 */
.clr-redis { filter: invert(33%) sepia(53%) saturate(1710%) hue-rotate(340deg) brightness(91%) contrast(93%); } /* #DC382D */
.clr-kafka { filter: invert(12%) sepia(0%) saturate(0%) hue-rotate(197deg) brightness(95%) contrast(90%); } /* #231F20 */
.clr-postgres { filter: invert(37%) sepia(56%) saturate(1376%) hue-rotate(206deg) brightness(93%) contrast(90%); } /* #4169E1 */
.clr-influx { filter: invert(65%) sepia(85%) saturate(1476%) hue-rotate(175deg) brightness(99%) contrast(95%); } /* #22ADF6 */
.clr-mqtt { filter: invert(13%) sepia(86%) saturate(3665%) hue-rotate(289deg) brightness(93%) contrast(106%); } /* #660066 */
.clr-xmpp { filter: invert(11%) sepia(60%) saturate(6328%) hue-rotate(204deg) brightness(91%) contrast(108%); } /* #002B5C */
.clr-rabbit { filter: invert(51%) sepia(91%) saturate(508%) hue-rotate(345deg) brightness(101%) contrast(101%); } /* #FF6600 */

/* Light mode: yellow is near-invisible on pale backgrounds → deepen slightly */
.clr-huggingface { filter: invert(68%) sepia(80%) saturate(900%) hue-rotate(5deg) brightness(95%) contrast(110%); } /* #E6A800 */

/* ── Dark mode overrides ─────────────────────────────────────────────────────
   Pure-black / near-black icons are invisible on dark backgrounds.
   Switch them to white; dark-coloured brand icons get a brighter variant.
   ─────────────────────────────────────────────────────────────────────────── */

/* Near-black → white */
[data-theme="dark"] .clr-flask,
[data-theme="dark"] .clr-express,
[data-theme="dark"] .clr-kafka,
[data-theme="dark"] .clr-aws,
[data-theme="dark"] .clr-langchain {
    filter: brightness(0) invert(1);
}

/* Dark purple #150458 → lighter violet */
[data-theme="dark"] .clr-pandas {
    filter: invert(52%) sepia(55%) saturate(2200%) hue-rotate(248deg) brightness(140%) contrast(90%);
}

/* Dark indigo #412991 → soft indigo */
[data-theme="dark"] .clr-openai {
    filter: invert(62%) sepia(25%) saturate(1400%) hue-rotate(222deg) brightness(130%) contrast(90%);
}

/* Dark magenta #660066 → bright orchid */
[data-theme="dark"] .clr-mqtt {
    filter: invert(58%) sepia(75%) saturate(1800%) hue-rotate(278deg) brightness(135%) contrast(90%);
}

/* Dark navy #002B5C → sky blue */
[data-theme="dark"] .clr-xmpp {
    filter: invert(58%) sepia(65%) saturate(1600%) hue-rotate(198deg) brightness(130%) contrast(90%);
}

/* Yellow → restore full brightness in dark mode (it pops against dark bg) */
[data-theme="dark"] .clr-huggingface {
    filter: invert(86%) sepia(48%) saturate(1312%) hue-rotate(345deg) brightness(101%) contrast(101%);
}