@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@300;400;500;700&display=swap');

/* 
   ====================================================
   HACKTRON ELITE CYBERSECURITY OS THEME
   ====================================================
*/

:root {
    --bg-color: #060606;
    --glass-bg: #111111;
    --text-color: #F5F5F5;
    --primary-color: #F5F5F5;
    --secondary-color: #9A9A9A;
    --accent-color: #F3EAD8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-primary: 'IBM Plex Mono', monospace;
    --font-heading: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    font-family: var(--font-primary) !important;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px) !important;
    background-size: 100px 100px !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

/* Remove Background Glows */
.background-glow {
    display: none !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .logo, .section-title, .hero-content h1 {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 6rem) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    max-width: 800px;
    white-space: nowrap !important;
    margin-left: 4px !important; /* Offset negative font bearing */
    transition: all 0.1s ease !important;
    cursor: crosshair !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-color) !important;
    color: var(--text-color) !important;
}

.greeting {
    margin-left: 4px !important;
}

.hero-subtitle {
    font-family: var(--font-primary) !important;
    color: var(--secondary-color) !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-top: 1.5rem !important;
    margin-left: 4px !important;
}

.hero-text {
    text-align: justify !important;
    line-height: 1.7 !important;
    letter-spacing: 0.02em !important;
    max-width: 600px !important;
    margin-top: 1rem !important;
    margin-left: 4px !important;
}

.cta-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin-top: 2rem !important;
    margin-left: 4px !important;
}

/* Brutalist Cards & Containers */
.glass, .cert-card, .card, .resume-card, .contact-container, .timeline-content, .game-card {
    background: var(--glass-bg) !important;
    border: none !important;
    border-radius: 16px !important; /* Modern rounded corners */
    box-shadow: none !important;
    backdrop-filter: none !important;
    position: relative;
}

/* Removed neon square corners from cards for clean aesthetic */

/* Buttons */
.btn, .tool-btn, button {
    text-transform: uppercase !important;
    font-family: var(--font-primary) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    color: var(--text-color) !important;
    transition: all 0.2s ease !important;
}

.btn:hover, .tool-btn:hover, button:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--secondary-color) !important;
    transform: none !important;
}

/* Fix chat send button border */
.chat-send-btn {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.chat-send-btn:hover {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

/* Active Tools (like Light Mode toggle) */
.btn.active-tool, .active-tool {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    border: none !important;
}
.btn.active-tool i, .active-tool i,
.btn.active-tool svg, .active-tool svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* Navbar */
.navbar {
    background: rgba(6, 6, 6, 0.9) !important;
    border-bottom: none !important;
    backdrop-filter: blur(10px) !important;
}
.nav-links a {
    font-family: var(--font-primary) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--secondary-color) !important;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-color) !important;
}
.nav-links a::after {
    display: none !important; /* Remove underline animation */
}

/* Remove all intense pack glows and gradients */
* {
    text-shadow: none !important;
    box-shadow: none !important;
}
.text-gradient {
    background: none !important;
    -webkit-text-fill-color: var(--text-color) !important;
    color: var(--text-color) !important;
}

/* Forms */
input:not([type="range"]):not([type="color"]), textarea {
    background: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: var(--font-primary) !important;
    color: var(--text-color) !important;
}
input:not([type="range"]):not([type="color"]):focus, textarea:focus {
    border-color: var(--secondary-color) !important;
    outline: none !important;
}

/* Fix Chat Input Bar Textarea Border */
.chat-input-bar textarea {
    border: none !important;
}
.chat-input-bar textarea:focus {
    border: none !important;
}

/* Fix Range Sliders */
input[type="range"] {
    -webkit-appearance: none !important;
    background: rgba(255, 255, 255, 0.3) !important;
    height: 2px !important;
    outline: none !important;
    border-radius: 12px !important;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
}

/* Tags / Pills */
.skill-tag, .exec-tag {
    background: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: var(--font-primary) !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em !important;
}

/* Cybernetic Crosshair Overlay */
.cyber-crosshair-x, .cyber-crosshair-y {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 9998;
}
.cyber-crosshair-x {
    width: 100vw;
    height: 1px;
    left: 0;
    top: -100px;
}
.cyber-crosshair-y {
    height: 100vh;
    width: 1px;
    top: 0;
    left: -100px;
}
.cyber-coords {
    position: fixed;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-primary);
    font-size: 10px;
    pointer-events: none;
    z-index: 9999;
    top: -100px;
    left: -100px;
    padding: 4px;
    line-height: 1.2;
}

/* ASCII Background Element */
.ascii-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: 8px;
    line-height: 8px;
    color: rgba(255, 255, 255, 0.02);
    white-space: pre;
    z-index: -1;
    pointer-events: none;
    user-select: none;
    text-align: center;
}

/* System Status Overlay */
.system-status {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-family: var(--font-primary);
    font-size: 9px;
    color: var(--secondary-color);
    z-index: 9999;
    pointer-events: none;
    text-transform: uppercase;
}
.system-status span {
    display: block;
    margin-bottom: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   CIRCULAR HUD AUDIO BUTTON WITH LOGO ONLY (GREEN WHEN ON)
   ========================================================================== */
.hud-audio-pill {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: #aaaaaa !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hud-audio-pill i,
.hud-audio-pill svg {
    color: #aaaaaa !important;
    fill: #aaaaaa !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    filter: none !important;
}

.hud-audio-pill:hover {
    transform: translateY(-3px) scale(1.08) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

.hud-audio-pill:hover i,
.hud-audio-pill:hover svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Turned ON: turn vibrant neon green */
.hud-audio-pill.enabled {
    background: rgba(0, 255, 102, 0.18) !important;
    color: #00ff66 !important;
    box-shadow: 0 0 16px rgba(0, 255, 102, 0.4), inset 0 0 8px rgba(0, 255, 102, 0.2) !important;
}

.hud-audio-pill.enabled i,
.hud-audio-pill.enabled svg {
    color: #00ff66 !important;
    fill: #00ff66 !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.6)) !important;
}

.hud-audio-pill.enabled:hover {
    background: rgba(0, 255, 102, 0.28) !important;
    box-shadow: 0 0 24px rgba(0, 255, 102, 0.6), inset 0 0 10px rgba(0, 255, 102, 0.3) !important;
}

.hud-audio-pill.enabled:hover i,
.hud-audio-pill.enabled:hover svg {
    color: #00ff66 !important;
    fill: #00ff66 !important;
}

@media (max-width: 768px) {
    .hud-audio-pill {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        font-size: 1rem !important;
    }
}

/* IDE Sandbox Overrides */
.ide-hero-card {
    background: var(--bg-color) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    margin-left: 4px !important;
}
.ide-topbar {
    background: var(--glass-bg) !important;
    border-bottom: none !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}
.ide-tab {
    background: transparent !important;
    border: none !important;
    border-right: none !important;
    border-top-left-radius: 16px !important;
    color: var(--secondary-color) !important;
    font-family: var(--font-primary) !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
}
.ide-run-btn {
    background: var(--primary-color) !important;
    color: #000 !important;
    border-top-right-radius: 16px !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    box-shadow: none !important;
    font-family: var(--font-primary) !important;
}
.ide-run-btn:hover {
    background: #e0e0e0 !important;
    color: #000 !important;
    box-shadow: none !important;
    transform: none !important;
}
.ide-code-area {
    background: #000 !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}
.ide-textarea {
    color: var(--text-color) !important;
    font-family: var(--font-primary) !important;
}

/* Match Certificates exactly to Arcade style */
.certificates-page .cert-icon-container i {
    color: var(--primary-color) !important;
}

.certificates-page .cert-info p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    font-family: var(--font-primary) !important;
}

/* Hacker Theme Modal Overrides */
.modal-content {
    background: #050505 !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8) !important;
    height: 85vh !important;
}
.modal-header {
    background: #111 !important;
    border-bottom: none !important;
    padding: 0.8rem 1rem !important;
    display: flex !important;
    align-items: center !important;
}
.modal-header h3 {
    font-family: var(--font-primary) !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em !important;
    color: var(--text-color) !important;
}
.modal-header h3::before {
    content: "[ ROOT@SECURE ] ~ ";
    color: var(--secondary-color);
}
.close-modal {
    top: 0.7rem !important;
    right: 1rem !important;
    font-size: 0 !important; /* Hide the &times; */
    color: var(--secondary-color) !important;
    transition: all 0.2s !important;
}
.close-modal::after {
    content: "[ X ]";
    font-size: 1rem !important;
    font-family: var(--font-primary) !important;
}
.close-modal:hover::after {
    color: #ff0055 !important;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
}
.pdf-viewer-container {
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    background: #000 !important;
    padding: 2px !important; /* Tiny border gap */
}
.pdf-viewer-container iframe {
    filter: invert(0) !important; /* Keeps PDF colors intact */
    opacity: 0.95;
}

/* ==========================================================================
   GLOBAL ROUNDED CORNER SYSTEM (16px/12px)
   Overrides brutalist sharp edges for a modern premium feel.
   ========================================================================== */

/* Cards, Panels, and Containers: 16px */
.glass, .card, .glass-panel, .project-card, .resume-card, .contact-container, 
.timeline-content, .game-card, .stat-card, .ide-hero-card, .terminal-card, 
.modal-content, .quake-terminal-hud {
    border-radius: 16px !important;
}

/* Headers of Cards: Match top corners */
.modal-header, .ide-topbar, .terminal-header, .term-header {
    border-radius: 16px 16px 0 0 !important;
}

/* Bottom of Cards: Match bottom corners */
.pdf-viewer-container, .ide-code-area, .term-body, .terminal-body {
    border-radius: 0 0 16px 16px !important;
}

/* Buttons, Inputs, Tags, and Small Modules: 12px */
.btn:not(.social-links a), input:not([type="range"]):not([type="color"]), textarea, select,
.skill-tag, .exec-tag, .ide-run-btn, .ide-tab, .game-btn, .nav-links a,
.tooltip-inner {
    border-radius: 12px !important;
}

/* Enforce circular elements explicitly to prevent 12px overrides */
.profile-img-container, .profile-img, .profile-img-container::before, 
.timeline-dot, .social-links a, .term-dot, .color-dot {
    border-radius: 50% !important;
}

/* ==========================================================================
   GLOBAL UNIFIED ICON DESIGN SYSTEM
   ========================================================================== */

/* 1. Strip all containers that wrap icons from having backgrounds/borders */
.social-links a,
.footer-socials a,
.project-links a,
.game-icon,
.cert-icon-container,
.icon-box,
.stat-icon,
.feature-icon,
.timeline-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 8px !important; /* Keep slight spacing for flex rows */
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
}

/* Fix margin for standalone icons if needed */
.icon-box, .cert-icon-container, .game-icon {
    margin: 0 0 1rem 0 !important;
}

/* 2. Unified Idle State for ALL Icons globally */
i[class*="fa-"],
i.fas,
i.fab,
i.fa-solid,
i.fa-brands,
svg.icon,
.icon {
    display: inline-block !important;
    color: #AAAAAA !important;
    opacity: 0.95 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: scale(1) !important;
}

svg[class*="icon"] path,
svg[class*="fa-"] path {
    fill: #AAAAAA !important;
    transition: fill 0.3s ease, transform 0.3s ease, filter 0.3s ease !important;
}

/* Space out icon if it's inside a text button */
.btn i, .tool-btn i, .contact-btn i {
    margin-right: 8px !important;
}

/* 3. Unified Hover State for ALL Icons globally */
a:hover > i[class*="fa-"],
button:hover > i[class*="fa-"],
.game-card:hover .game-icon i,
.certificate-card:hover .cert-icon-container i,
.about-card:hover .icon,
.project-card:hover .project-links a i,
.exec-card:hover .exec-icon i,
.article-card:hover .article-icon i,
i[class*="fa-"]:hover,
i.fas:hover,
i.fab:hover,
i.fa-solid:hover,
i.fa-brands:hover,
svg.icon:hover,
.icon:hover {
    color: #FFFFFF !important;
    opacity: 1 !important;
    transform: scale(1.08) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
}

a:hover > svg[class*="fa-"] path,
button:hover > svg[class*="fa-"] path,
svg[class*="icon"]:hover path {
    fill: #FFFFFF !important;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4)) !important;
}

/* Ensure no backgrounds pop up on hover for containers */
.social-links a:hover,
.footer-socials a:hover,
.project-links a:hover,
.icon-box:hover,
.game-icon:hover,
.cert-icon-container:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important; /* Move transform to the <i> tag */
}

/* Fix active-tool (Light Mode button) icon disappearing on hover */
.btn.active-tool:hover i, .active-tool:hover i,
.btn.active-tool:hover svg, .active-tool:hover svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}
/* GLOBAL BORDER REMOVAL CATCH-ALL */
.glass, .card, .exec-card, .project-card, .cert-card, .game-card, .article-card, .resume-card, .about-card, .contact-container, .contact-form, .contact-form input, .contact-form textarea, .btn, .submit-btn, .contact-btn, .tool-btn, button, input, textarea, select, .pill, .tag, .exec-tag, .skill-tag, .ide-hero-card, .modal-content, .dsa-container, .quake-terminal-hud, .quake-terminal-header, .hud-terminal-pill, .terminal-window, .term-header, .terminal-card, .id-status-module, .id-auth-label {
    border: none !important;
}

/* Fix for game and cert icon boundaries disappearing on hover */
.games-page .game-card:hover .game-icon,
.games-page .game-card .game-icon:hover,
.certificates-page .certificate-card:hover .cert-icon-container,
.certificates-page .cert-icon-container:hover {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Ensure run button icon stays visible on light grey hover */
button.ide-run-btn:hover i,
button.ide-run-btn:hover svg,
button.ide-run-btn:hover svg[class*="fa-"] path {
    color: #000 !important;
    fill: #000 !important;
    text-shadow: none !important;
    filter: none !important;
}

/* ==========================================================================
   INTERNSHIP EXPERIENCE & ABOUT SECTION ICON DESIGN LANGUAGE MATCH
   ========================================================================== */
/* Strip container box from Internship Experience icons so they float cleanly */
.exec-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure both Internship and About section icons share identical floating styling, pure white default, size, and weight */
.exec-icon i,
.exec-icon svg,
.about-card .icon,
.about-card i,
.about-card svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    opacity: 0.95 !important;
    font-size: 2.5rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

/* Identical hover interaction: slight brightening (1.0 opacity), subtle glow, and smooth scale */
.exec-card:hover .exec-icon i,
.exec-card:hover .exec-icon svg,
.exec-card:hover .exec-icon svg path,
.about-card:hover .icon,
.about-card:hover i,
.about-card:hover svg,
.about-card:hover svg path {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    opacity: 1 !important;
    transform: scale(1.08) !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4)) !important;
    background: transparent !important;
}

/* ==========================================================================
   BUTTON VISIBILITY & MONOCHROME VERTICAL BARS
   ========================================================================== */
/* Ensure buttons do not look like they are floating in air by adding a clean, visible light background and border */
.btn:not(.chat-send-btn):not(.ide-run-btn),
.tool-btn,
.tab-btn,
.read-more,
.cert-link,
.play-btn,
.contact-btn,
.contact-links a,
.social-links a,
.footer-socials a,
.project-links a,
.submit-btn,
.category-list li,
#hero-cli-trigger,
button:not(.ide-run-btn):not(.chat-send-btn):not(.hamburger):not(.nav-links button) {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #FFFFFF !important;
}

/* Hover state for buttons */
.btn:not(.chat-send-btn):not(.ide-run-btn):hover,
.tool-btn:hover,
.tab-btn:hover,
.read-more:hover,
.cert-link:hover,
.play-btn:hover,
.contact-btn:hover,
.contact-links a:hover,
.social-links a:hover,
.footer-socials a:hover,
.project-links a:hover,
.submit-btn:hover,
.category-list li:hover,
#hero-cli-trigger:hover,
button:not(.ide-run-btn):not(.chat-send-btn):not(.hamburger):not(.nav-links button):hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
    color: #FFFFFF !important;
}

/* Active tab button */
.tab-btn.active,
.category-list li.active {
    background: rgba(255, 255, 255, 0.22) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

/* Sleek monochrome vertical bar for section headings (About, Experience, Skills, Projects) */
.pinned-heading .section-title::after,
.section-title::after {
    background: #FFFFFF !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================================================
   METALLIC MONOCHROME CYBER RAIL & MATCHING NODES/TRACES (SILVER/GREY/WHITE)
   ========================================================================== */
@keyframes cyberSilverPulse {
    0% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 16px rgba(180, 180, 180, 0.2);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.7), 0 0 28px rgba(200, 200, 200, 0.4);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 16px rgba(180, 180, 180, 0.2);
        filter: brightness(1);
    }
}

/* Sleek luminous silver/grey/white metallic timeline rail */
#experience .timeline::before,
.timeline::before {
    left: 11px !important;
    width: 4px !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #888888 50%, #444444 100%) !important;
    background-size: 100% 100% !important;
    animation: cyberSilverPulse 4s infinite ease-in-out !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), inset 0 0 3px rgba(255, 255, 255, 0.5) !important;
}

/* Timeline nodes: solid glowing white nodes (no black inside) */
#experience .timeline-dot-connector,
.timeline-dot-connector,
.timeline-dot {
    width: 14px !important;
    height: 14px !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.85), 0 0 22px rgba(255, 255, 255, 0.45) !important;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover state: solid white node with a brilliant red glow! (No red lines) */
#experience .timeline-item:hover .timeline-dot-connector,
#experience .timeline-item:hover .timeline-dot,
#experience-container .timeline-item:hover .timeline-dot-connector,
#experience-container .timeline-item:hover .timeline-dot,
#experience .timeline-dot-connector:hover,
#experience .timeline-dot:hover,
#experience-container .timeline-dot-connector:hover,
#experience-container .timeline-dot:hover,
.timeline-item:hover .timeline-dot-connector,
.timeline-item:hover .timeline-dot,
.timeline-dot-connector:hover,
.timeline-dot:hover {
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 0 5px #cbd5e1, 0 0 12px #94a3b8, 0 0 25px #64748b, 0 0 50px rgba(71, 85, 105, 0.85), 0 0 80px rgba(51, 65, 85, 0.7) !important;
    transform: scale(1.25) !important;
}

/* Horizontal trace connecting dot to card in luminous white (never turns red) */
.timeline-dot-connector::after {
    background: linear-gradient(90deg, #FFFFFF, rgba(200, 200, 200, 0.15)) !important;
    height: 1.5px !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

/* ==========================================================================
   MONOCHROME THEME: CARD TITLES (GREY ON HOVER) & BADGES/TAGS
   ========================================================================== */
/* On hover, company name / titles become sleek grey instead of cyan */
.exec-card:hover .exec-company,
.timeline-item:hover .exec-company,
.timeline-content:hover h3,
.project-card:hover h3,
.cert-card:hover h3,
.game-card:hover h3,
.article-card:hover h3,
.about-card:hover h3 {
    color: #cccccc !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.25) !important;
}

/* Above tags (AI/ML INTERN, DATA SCIENCE INTERN) and skill tags use monochrome theme */
.exec-badge,
.exec-tag,
.skill-tag,
.tag,
.role-badge,
.intern-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    font-family: monospace !important;
    padding: 5px 14px !important;
    font-size: 0.84rem !important;
    border-radius: 20px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Make technical skill tags compact, sleek, and beautiful */
.skill-tag {
    padding: 6px 15px !important;
    font-size: 0.86rem !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    margin: 4px !important;
    display: inline-block !important;
}

.exec-tag {
    border-radius: 6px !important;
}

.exec-badge:hover,
.exec-tag:hover,
.skill-tag:hover,
.tag:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border: none !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   SUPER-SPECIFIC OVERRIDE: REMOVE SQUARE BOX ON CONTACT SEND BUTTON HOVER
   ========================================================================== */
button.btn.primary.chat-send-btn,
button.btn.primary.chat-send-btn:hover,
button.btn.primary.chat-send-btn:focus,
button.btn.primary.chat-send-btn:active,
.chat-input-bar button.chat-send-btn,
.chat-input-bar button.chat-send-btn:hover,
.chat-input-bar button.chat-send-btn:focus,
.chat-input-bar button.chat-send-btn:active,
.chat-send-btn,
.chat-send-btn:hover,
.chat-send-btn:focus,
.chat-send-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    backdrop-filter: none !important;
    transform: none !important;
}

/* Reduce glow on contact send button icon to very minimal on hover */
button.btn.primary.chat-send-btn:hover i,
button.btn.primary.chat-send-btn:hover svg,
button.btn.primary.chat-send-btn:hover svg path,
.chat-input-bar button.chat-send-btn:hover i,
.chat-input-bar button.chat-send-btn:hover svg,
.chat-input-bar button.chat-send-btn:hover svg path {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.15) !important;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.15)) !important;
}

/* ==========================================================================
   BULLETPROOF: REMOVE SOLID BORDERS FROM ALL BUTTONS & TOOLBAR BUTTONS
   ========================================================================== */
.btn,
.btn.primary,
.btn.secondary,
.tool-btn,
.tab-btn,
.read-more,
.cert-link,
.play-btn,
.drawing-controls .btn,
.drawing-controls .btn.active-tool,
.drawing-controls button,
.drawing-controls button.active-tool,
.control-group button,
.control-group a.btn,
.category-list li,
#hero-cli-trigger,
button:not(.ide-run-btn):not(.hamburger):not(.nav-links button),
a.btn:not(.ide-run-btn) {
    border: none !important;
    outline: none !important;
}

/* Hover & Active state: ensure no solid borders appear on hover or active either */
.btn:hover,
.btn.primary:hover,
.btn.secondary:hover,
.tool-btn:hover,
.tab-btn:hover,
.tab-btn.active,
.read-more:hover,
.cert-link:hover,
.play-btn:hover,
.drawing-controls .btn:hover,
.drawing-controls .btn.active-tool:hover,
.drawing-controls button:hover,
.drawing-controls button.active-tool:hover,
.control-group button:hover,
.control-group a.btn:hover,
.category-list li:hover,
.category-list li.active,
#hero-cli-trigger:hover,
button:not(.ide-run-btn):not(.hamburger):not(.nav-links button):hover,
a.btn:not(.ide-run-btn):hover {
    border: none !important;
    outline: none !important;
}

/* ==========================================================================
   BULLETPROOF CONTACT LINKS & SOCIAL BUTTONS HOVER VISIBILITY
   ========================================================================== */
.contact-btn,
.contact-links a,
.social-links a,
.footer-socials a,
.project-links a {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.contact-btn i,
.contact-btn svg,
.contact-links a i,
.contact-links a svg,
.social-links a i,
.social-links a svg,
.footer-socials a i,
.footer-socials a svg,
.project-links a i,
.project-links a svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    transition: all 0.3s ease !important;
}

.contact-btn:hover,
.contact-links a:hover,
.social-links a:hover,
.footer-socials a:hover,
.project-links a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border: none !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

.contact-btn:hover i,
.contact-btn:hover svg,
.contact-btn:hover svg path,
.contact-links a:hover i,
.contact-links a:hover svg,
.contact-links a:hover svg path,
.social-links a:hover i,
.social-links a:hover svg,
.social-links a:hover svg path,
.footer-socials a:hover i,
.footer-socials a:hover svg,
.footer-socials a:hover svg path,
.project-links a:hover i,
.project-links a:hover svg,
.project-links a:hover svg path {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) !important;
}
